Posted: Sun 07 Jun 2020, 10:00
@mash
@bigpup
are either / both of you booting directly from ssd??
@bigpup
are either / both of you booting directly from ssd??
READ-ONLY Archive
https://oldforum.puppylinux.com/
The kernel configs for 4.14.160 as shipped have:bigpup wrote: Need the kernel driver.
r8822be.ko
I am booting from an internal emmc drive.peebee wrote:@mash
@bigpup
are either / both of you booting directly from ssd??
I'm booting from USB flash drive.@mash
@bigpup
are either / both of you booting directly from ssd??
I just downloaded that initrd and indeed it doesn't conatin the 'Please wait...' part.. intriguing if that causes the problem!mash wrote: This is initrd which worked for me:
https://www.mediafire.com/file/op0b95ae ... 06.gz/file
Hi @bigpupbigpup wrote:For my WIFI problem I tried changing to the 5.7.1 64bit kernel.
I find it hard to get my head around the possibility that the contents of the 'init' script could be causing the problem, since it works fine in other machines, including mine.mash wrote: This is initrd which worked for me:
https://www.mediafire.com/file/op0b95ae ... 06.gz/file
It is not a problem in all computers.I find it hard to get my head around the possibility that the contents of the 'init' script could be causing the problem, since it works fine in other machines, including mine
Well maybe my commit is buggy! That shouldn't happen so either I revert the commit or put in further tests to make sure we booted off the particular device. Latter is the real solution.mash wrote:OK, I think I got it. This post should be prepended by Jean-Luc Picard's facepalm.
"The problem" exists only in some circumstances which I describe. I am curious if anyone of you tried to boot from SD card and succeeded because my SD card and/or reader was the case of the problem.
So, the problem exists only on my HP Probook machine that I boot in UEFI native mode and only if I insert SD card before/during boot. Since I use that card to store big SFS files it is almost always present in my built-in reader.
HP Probooks are known to have a little bit faulty UEFI firmware - e.g. you cannot boot from SD card in UEFI mode even if you set it in UEFI/BIOS settings.
Actually reverting this commit: https://github.com/puppylinux-woof-CE/w ... ce73f08d0b (just edited initrd manually as 01micko wrote) makes problem disappear. So, not waiting text but grep -> tail piping (?).
So for me there are 2 workarounds:
1. remove SD card when booting
2. edit initrd manually from some working puppy
Thanks peebee and 01micko for directing me.
I still can't get my head aroud the ides that there is a coding bug in that code that is directly causing a kernel panic.01micko wrote:Well maybe my commit is buggy! That shouldn't happen so either I revert the commit or put in further tests to make sure we booted off the particular device. Latter is the real solution.
Do you know what kernel config is needed?gyro wrote:If it is a "module" issue, it can be fixed with a recompiled kernel,
Got the needed firmware installed.bigpup wrote:ScPup64 20.01+6
Frugal install using save folder.
Using the 5.4.6 kernel.
No wifi support for my wifi hardware.Code: Select all
Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter [10ec:b822] • Kernel Driver: r8822beS • Memory Used: 768.00 KB • Path: /lib/modules/4.19.23/kernel/drivers/staging/rtlwifi/r8822be.ko • Description: Realtek 802.11n PCI wireless core • Description: PCI basic driver for rtlwifi • Description: Realtek 8822BE 802.11n PCI wireless
gyro wrote:I still can't get my head aroud the ides that there is a coding bug in that code that is directly causing a kernel panic.01micko wrote:Well maybe my commit is buggy! That shouldn't happen so either I revert the commit or put in further tests to make sure we booted off the particular device. Latter is the real solution.
I wonder if it has to do with lack of support for mmc devices in Puppy kernels.
For some hardware, typical Puppy kernels depend on a module from '/lib/modules/4.4.187/kernel/drivers/mmc/host' to support a local mmc device. But for most of the 'init' script, the kernel has no access to it's modules, since the zdrv is not available yet.
This is true for my Lenevo ThinkPad, which has an internal mmc device but needs '/lib/modules/4.4.187/kernel/drivers/mmc/host/sdhci-acpi.ko' to access it. The result is the 'init' script cannot see the mmc device.
This could be tested by "mash" by booting with his SD card out, then after inserting the SD card, see if "lsmod" shows any of the modules in '/lib/modules/4.4.187/kernel/drivers/mmc/host/'
An alternative would be to use http://www.murga-linux.com/puppy/viewtopic.php?t=118416.
If it is a "module" issue, it can be fixed with a recompiled kernel, or http://www.murga-linux.com/puppy/viewtopic.php?t=118416.
I also gather that "Quirky" kernels might have better support for mmc devices.
gyro
Of course not.peebee wrote:Do you know what kernel config is needed?gyro wrote:If it is a "module" issue, it can be fixed with a recompiled kernel,
Thanks
What evidence do you have for such a statement?01micko wrote:I'm suspecting that peebee's kernel has the necessary driver compiled into the kernel image.
No, it doesn't. I looked into dmesg and run diff on lsmod output before and after inserting SD card, and nothing.This could be tested by "mash" by booting with his SD card out, then after inserting the SD card, see if "lsmod" shows any of the modules in '/lib/modules/4.4.187/kernel/drivers/mmc/host/'
Hi bigpup,bigpup wrote:Got the needed firmware installed.bigpup wrote:ScPup64 20.01+6
Frugal install using save folder.
Using the 5.4.6 kernel.
No wifi support for my wifi hardware.Code: Select all
Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter [10ec:b822] • Kernel Driver: r8822beS • Memory Used: 768.00 KB • Path: /lib/modules/4.19.23/kernel/drivers/staging/rtlwifi/r8822be.ko • Description: Realtek 802.11n PCI wireless core • Description: PCI basic driver for rtlwifi • Description: Realtek 8822BE 802.11n PCI wireless
Need the kernel driver.
r8822be.ko
This source package has the needed driver.
I have used this to get driver for other Puppies.
Realtek source package for wifi
https://github.com/rtlwifi-linux/rtlwifi-next
running make and make install get errors.
Yes I unzipped the package.
Have the devx and kernel sources sfs's loaded.
Can someone try compiling this driver package.
Code: Select all
# modinfo r8822be.ko
filename: /initrd/mnt/dev_save/scpup64/ScPup64save/root/r8822be-master/r8822be.ko
description: Realtek 802.11n PCI wireless core
license: GPL
author: Larry Finger <Larry.FInger@lwfinger.net>
author: Realtek WlanFAE <wlanfae@realtek.com>
author: lizhaoming <chaoming_li@realsil.com.cn>
description: PCI basic driver for rtlwifi
license: GPL
author: Larry Finger <Larry.FInger@lwfinger.net>
author: Realtek WlanFAE <wlanfae@realtek.com>
author: lizhaoming <chaoming_li@realsil.com.cn>
firmware: rtlwifi/rtl8822befw.bin
description: Realtek 8822BE 802.11n PCI wireless
license: GPL
author: Larry Finger <Larry.Finger@lwfinger.net>
author: Realtek WlanFAE <wlanfae@realtek.com>
description: Realtek 802.11n PCI wireless core
license: GPL
author: Larry Finger <Larry.FInger@lwfinger.net>
author: Realtek WlanFAE <wlanfae@realtek.com>
description: Realtek 802.11n PCI wireless core
license: GPL
author: Larry Finger <Larry.FInger@lwfinger.net>
author: Realtek WlanFAE <wlanfae@realtek.com>
alias: pci:v000010ECd0000B822sv*sd*bc*sc*i*
depends: mac80211,cfg80211
retpoline: Y
name: r8822be
vermagic: 5.4.6-lxpup64 SMP mod_unload modversions
parm: debug_level:int
parm: swenc:Set to 1 for software crypto (default 0)
(bool)
parm: ips:Set to 0 to not use link power save (default 1)
(bool)
parm: swlps:Set to 1 to use SW control power save (default 0)
(bool)
parm: fwlps:Set to 1 to use FW control power save (default 1)
(bool)
parm: msi:Set to 1 to use MSI interrupts mode (default 1)
(bool)
parm: dma64:Set to 1 to use DMA 64 (default 0)
(bool)
parm: aspm:Set to 1 to enable ASPM (default 1)
(int)
parm: debug:Set debug level (0-5) (default 0)
parm: debug_mask:Set debug mask (default 0) (ullong)
parm: disable_watchdog:Set to 1 to disable the watchdog (default 0)
(bool)