Bug 12984

Summary: kernel panic when booting
Product: ACPI Reporter: harald.schilly
Component: Config-OtherAssignee: ykzhao (yakui.zhao)
Status: CLOSED PATCH_ALREADY_AVAILABLE    
Severity: blocking CC: shaohua.li, yakui.zhao
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.28-11-generic Subsystem:
Regression: No Bisected commit-id:
Attachments: panic on booting
acpidump for hp 2140 netbook
lspci -vxxx for hp 2140 netbook

Description harald.schilly 2009-03-31 16:57:56 UTC
Created attachment 20761 [details]
panic on booting

I have a HP 2140 netbook. I use the ubuntu netbook remix distribution, version jaunty from 29.3.2008 https://wiki.ubuntu.com/UNR

On booting, it issues a kernel panic. I have the feeling, that it is related to the DC power plug. If it is plugged in, the panic always happens, if not, only somtimes. Attached is a screenshot. 

2.6.28-11-generic
#38-Ubuntu SMP Fri Mar 27 09:00:52 UTC 2009
Comment 1 ykzhao 2009-04-01 00:46:04 UTC
Will you please add the boot option of "nolapic_timer" and see whether the issue still exists?
   Will you please boot the system with ACPI disabled(by adding the option of "acpi=off" ) and attach the output of acpidump, lspci -vxxx?
   Thanks.
Comment 2 harald.schilly 2009-04-01 06:59:54 UTC
Adding "nolapic_timer" made it worse, it then always panics.

I'll try the rest later and provide you with the acpi outputs...
Comment 3 harald.schilly 2009-04-01 18:43:27 UTC
Created attachment 20769 [details]
acpidump for hp 2140 netbook
Comment 4 harald.schilly 2009-04-01 18:44:14 UTC
Created attachment 20770 [details]
lspci -vxxx for hp 2140 netbook
Comment 5 harald.schilly 2009-04-01 18:45:09 UTC
those both acpi dumps were made with the boot option acpi=off
Comment 6 ykzhao 2009-04-03 01:38:49 UTC
Will you please boot the system with battery and attach the output of dmesg?
    Will you please also try the previous kernel and see whether the box can be booted?(For example: 2.6.27/28)

    Will you please try the following boot option and see whether the box can be booted?
    a. idle=poll
    b. processor.max_cstate=1 (The processor should be compiled as built-in module).
    If it can be booted, please attach the output of dmesg.
    thanks.
Comment 7 harald.schilly 2009-04-06 12:58:52 UTC
idle=poll and the problem persists/can't boot at all

and processor.max_cstate=1 is the same

As I told in the ticket, it's a 2.6.28 kernel from ubuntu jaunty (for the netbook remix). I can try 2.6.29.
Comment 8 Shaohua 2009-04-08 01:33:53 UTC
please try a latest kernel, like 2.6.29.
Comment 9 harald.schilly 2009-04-12 10:01:07 UTC
finally, i managed to compile 2.6.29.1, configured with (more or less) the same config file as ubuntu's.
booting with DC power plugged worked, and acpi is loaded and shows battery status, temperature, etc. in /proc/acpi

so, it is either a configuration problem with the old kernel (that was silently fixed when importing those settings) or it is fixed in 2.6.29.1.

what's not working now is wlan, but that's another topic ;)
Comment 10 Shaohua 2009-04-13 00:52:34 UTC
invalid or patch is already available per comment #9