Here's what I did and what happened: 1) cd /usr/src/gentoo-sources-2.4.22-r5 2) make mrproper 3) cp ../gentoo-sources-2.4.22-r3/.config . 4) make oldconfig 5) make menuconfig (set platform from Athlon to Athlon XP) 6) make dep && clean bzImage modules modules_install 7) I installed the kernel On reboot I got a lot of kernel oops' complaining about being "Unable to handle kernel NULL pointer dereference at virtual address 00000108". As I figured out, this happens each time one of the init script tries to do something with PIDs and when I execute 'ps' from the console, I get the same kernel oops' as on boot (after that ps segfaults). I have attached one of the plain oops messages (all the others complain about the same virtual address as well) as "oops.txt", the result of "ksymoops < oops.txt > ksmoops.txt" as ksmoops.txt and the .config used to compile the kernel. If I've missed something, I'm sorry, but I'm quite unfamiliar with kernel debugging. Please let me know if you need anything more/other. All gentoo-sources prior 2.4.22-r4 worked fine on my system with basically the same .config, so I guess the bug is not limited to my system and will affect a lot of other users as well. Therefor I set the Severity to critical, please adjust if I'm wrong.
Created attachment 23811 [details] The .config used.
Created attachment 23813 [details] One of the oops messages.
Created attachment 23814 [details] The output of ksymoops for oops.txt.
bug confirmed. the same effects for me.
Created attachment 23825 [details] kernel was compiled with this config (it works for -r4 and earlier)
Double-confirmed. I've reproduced the error on two different x86 machines.
Created attachment 23842 [details] config for a pentium III that is having the errors
Created attachment 23843 [details] config for an athlon that is having the errors (works with r4)
You guys don't have to keep confirming and attaching configs. I know what the problem is, and I'm working on a fix
Okay, can someone rm the patch from their distfiles dir, and remerge. Make sure it pulls the new patch from dev.gentoo.org. It should have an md5sum of 7f4a97d9c29f7dfc959a7a7efb077e29 This should fix the oopsing. I'm waiting to get confirmation that it is fixed before I bump it.
The new patch set works well. No more kOOOps and ps functional again.
How do I manage to get the patch from dev.gentoo.org? It just won't work: rm /usr/portage/distfiles/gentoo-sources-2.4.22-r5.patch.bz2 bash-2.05b# emerge -u --deep world Calculating world dependencies ...done! >>> emerge (1 of 1) sys-kernel/gentoo-sources-2.4.22-r5 to / >>> Downloading http://gentoo.oregonstate.edu/distfiles/gentoo-sources-2.4.22-r5.patch.bz2 --09:04:31-- http://gentoo.oregonstate.edu/distfiles/gentoo-sources-2.4.22-r5.patch.bz2 => `/usr/portage/distfiles/gentoo-sources-2.4.22-r5.patch.bz2' Resolving gentoo.oregonstate.edu... 128.193.0.3 Connecting to gentoo.oregonstate.edu[128.193.0.3]:80... connected. HTTP request sent, awaiting response... 404 Not Found 09:04:31 ERROR 404: Not Found. >>> Downloading http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/gentoo-sources-2.4.22-r5.patch.bz2 --09:04:31-- http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/gentoo-sources-2.4.22-r5.patch.bz2 => `/usr/portage/distfiles/gentoo-sources-2.4.22-r5.patch.bz2' Resolving distro.ibiblio.org... 152.2.210.109 Connecting to distro.ibiblio.org[152.2.210.109]:80... connected. HTTP request sent, awaiting response... 404 Not Found 09:04:35 ERROR 404: Not Found. >>> Downloading http://dev.gentoo.org/~iggy/gentoo-sources-2.4.22-r5.patch.bz2 --09:04:35-- http://dev.gentoo.org/%7Eiggy/gentoo-sources-2.4.22-r5.patch.bz2 => `/usr/portage/distfiles/gentoo-sources-2.4.22-r5.patch.bz2' Resolving dev.gentoo.org... 128.193.0.39 Connecting to dev.gentoo.org[128.193.0.39]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3,766,950 [text/plain] 100%[========================================================================================>] 3,766,950 119.76K/s ETA 00:00 09:05:07 (114.99 KB/s) - `/usr/portage/distfiles/gentoo-sources-2.4.22-r5.patch.bz2' saved [3766950/3766950] !!! Couldn't download gentoo-sources-2.4.22-r5.patch.bz2. Aborting.
Can confirm patch works. Thanks
Take a look at the ebuild, get the download address and wget "manually". ;)
Edit the needed digest file in /usr/portage/sys-kernel/gentoo-sources/files/digest-gentoo-sources-2.4.22-r5 Change to: MD5 75dc85149b06ac9432106b8941eb9f7b linux-2.4.22.tar.bz2 29528612 MD5 7f4a97d9c29f7dfc959a7a7efb077e29 gentoo-sources-2.4.22-r5.patch.bz2 3766950
Confirmed, new patch set solves the problem for me. Thank you.
DO we have to do this manually, or will there be a -r6 in the next days?
Just remerge gentoo-sources manually. I don't know when -r6 will be out.
Does this mean the fix is in the r5 sources now?
yes it is
Everything's working fine here now, too, thanks Brian. Since everybody seems to be pleased with the patch, I'm changing the bug status to fixed.
the new patch worked for me too, except for lm-sensors-2.7.0: sensors-detect still segfaults, and no sensor is detected by gkrellm2 when i load the usual modules. do you think it has something to do with this -r5 patch, or should i open a new bug?
If I remember correctely, there already has been an issue with 2.7.x lm-sensors and the new i2c modules, which has been fixed in 2.8.x. So try to upgrade to the current lm-sensors stable (2.8.1) and use the i2c modules from the kernel sources (and not from the i2c ebuild). gentoo-sources-2.4.22-r5 and lm-sensors 2.8.1 are running fine on several machines over here, so I guess you should also be fine then!
i'm afraid i can't use lm-sensors > 2.7.0 because i'm using bttv too.
*** Bug 38986 has been marked as a duplicate of this bug. ***
Can the owner/admin update the Summary so it hits more searches... (I searched for "gentoo-sources oops" and didn't get anything that was 2.4.22 and opened a new bug)