Summary: | 2.6.23 kernel segfaults on reboot or poweroff when executing /sbin/halt | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Richard Scott <gentoo.bugs> |
Component: | New packages | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED NEEDINFO | ||
Severity: | critical | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge info
kernel config as saved by genkernel |
Description
Richard Scott
2008-03-09 11:56:49 UTC
Post your emerge --info and attach kernel .config and relevant syslog output; thanks. Created attachment 145647 [details]
emerge info
Created attachment 145648 [details]
kernel config as saved by genkernel
There are no sys log details as the system has already unmounted any local file systems and stopped any sysloggers. Confused now; according to emerge --info you are using gentoo-sources-2.6.23-r8, the config is from hardened-sources-2.6.23-r7? Which kernels are you having this issue with? I'm having trouble with any and all 2.6.23 kernels. I was testing r8 to see if the issue had been fixed but it hadn't So does 2.6.24 work, or not? Can't reproduce this at all anyway. There is no hardened-sources-2.6.24! Why have all the hardened-source kernels been removed from portage apart from the 2.6.23 range??? I will try with a gentoo-sources-2.6.24 kernel, but its not the one I wanted to use! I've tried gentoo-sources-2.6.24-r3 and its still segfaulting: The last line I see is this error: /etc/init.d/shutdown.sh: line 9: 29910 Segmentation fault /sbin/halt "${opts}" When you get to this stage, are you able to run any commands or anything? I would be interested in seeing dmesg output after the segfault has happened. Alternatively, as root before shutting down run "dmesg -n 8". Then when you shut down and see the segfault, hopefully a kernel crash dump will be printed on screen. You could then capture that with a digital camera or serial console/netconsole and post it here. Hi, When I get to this stage nothing is available to me. All processes have been killed and all filesystems have been unmounted. if I had LVM or RAID these devices would also have been stopped now. The issue I am having is the kernel isn't able to tell my hardware to power off or reboot. It works perfectly with a 2.6.20-r10 kernel, but anything abouve that and the power management doesn't seem to work with my hardware :-( ok, small update. The segfault I am experiencing happens at the same time that the hard drives are powered off at the very end of a shutdown sequence. The system should also poweroff the motherboard etc but it doesn't as it segfaults at that point. I am unable to reboot this system without being there to press and hold in the power button to power off the chassis This is now resolved as of 2.6.24-hardened-r1 Sorry to re-open this bug, but its now back as of 2.6.24-hardened-r2! What changes were made between R1 and R2??? For info, I used the same kernel config file from R1, I just cp'd it to the new name in /etc/kernels and ran genkernel --menuconfig all to rebuild. Does anyone know what the difference is between: K_GENPATCHES_VER="2" K_GENPATCHES_VER="3" My system reboots and shuts down correctly with version 2, but segfaults on version 3 :-( http://dev.gentoo.org/~dsd/genpatches/ has the differences Would you be able to test the latest hardened as this writing which is 2.6.25-r1. Feel free to reopen when you've had a chance to perform the test in comment #18 |