Bug 12220

Summary: "Kernel reboots if Powersupply of the Laptop is connected or disconnected v2"
Product: Other Reporter: Thomas (SMA.TFG)
Component: OtherAssignee: other_other
Severity: high CC: alan, rui.zhang, SMA.TFG
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.28_rc8 Tree: Mainline
Regression: No
Bug Depends on:    
Bug Blocks: 11711, 56331    
Attachments: Minimal Kernelconfig with everything disabeld - Cashes also
Acpi Dump 2.6.28_rc8
Dmesg of 2.6.28-rc8
lspci of 2.6.28-rc8
lsusb of 2.6.28-rc8
Kernel Config for my 2.6.28_rc8
Bios Settings
All Data whitch I could collect from the Suse Rescue CD

Description Thomas 2008-12-14 07:01:00 UTC
This Bug is a enhancement to bug nr: 11711
I opend this second Bugreport to make it more easy to read the hole stuff.
I compressed the answers of bug 11711 to this overview.
Latest working kernel version: ?
Earliest failing kernel version: ?
Distribution: Gentoo Linux 2008.1 / vanilla-kernel umasked
Hardware Environment: Laptop details later
Software Environment: none at this Point nothing other loaded
Problem Description: System Crashes if PowerSupply is plugged or unplugged
Itś not a duplicate of bug: #11658.
Steps to reproduce: Unplug Power Cord

Some information:

- The Crash is done as a reboot, you have no chance to get information form Scrren. (Like a Reset). You can't find anything in the var/log/messages file.

- booting with kernel param init=/bin/bash and playing with the cord --> crash

This Problem doesn't exist in Bios, Windows or Dos. Even if i plug/unplug
power supply at the beginning of the Kernel, it doesn't matter. The bug is
located shortly before the SATA Drivers. The SATA Driver it self is not the
Problem, because I used the old SATA Driver and had the same thing.

- Setting of CONFIG_X86_RESERVE_LOW_64K=y  doesn't help.

- System crashes also without acpi video drivers

If I try to boot with acpi=off apm=off usb=off
System hangs at io scheduler cfq registered (default) Don't know why.

New Questions:
Is it possible to disable the kernel free process? because befor the free I can
unplug the power supply, after the free system crashes ?

Something I recognized.

If I use a Suse 11.0 Disk with rescue mode an boot this. The System dosn't crash If I unplug the power cord. The Disk has a 2.6.25 pre kernel!

Now I thought I use my gentoo and install 2.6.25. I unplugged and System crashed. Do you have any idea where the differece could be. PS. 2.6.25 would not work because I have a Mavell chipset, but only the thought, that the system could stay alive with this Kernel is interesting. Could It be that Suse is applying a microcode update or something ?? Or a DST file ?
Comment 1 Thomas 2008-12-14 07:03:24 UTC
Created attachment 19290 [details]
Minimal Kernelconfig with everything disabeld - Cashes also
Comment 2 Thomas 2008-12-14 07:03:51 UTC
Created attachment 19291 [details]
Acpi Dump 2.6.28_rc8
Comment 3 Thomas 2008-12-14 07:04:14 UTC
Created attachment 19292 [details]
Dmesg of 2.6.28-rc8
Comment 4 Thomas 2008-12-14 07:04:37 UTC
Created attachment 19293 [details]
lspci of 2.6.28-rc8
Comment 5 Thomas 2008-12-14 07:04:56 UTC
Created attachment 19294 [details]
lsusb of 2.6.28-rc8
Comment 6 Thomas 2008-12-14 07:05:17 UTC
Created attachment 19295 [details]
Comment 7 Thomas 2008-12-14 07:06:39 UTC
Created attachment 19296 [details]
Kernel Config for my 2.6.28_rc8
Comment 8 Thomas 2008-12-14 07:18:00 UTC
Created attachment 19297 [details]
Bios Settings
Comment 9 Zhang Rui 2008-12-14 17:32:36 UTC
*** Bug 11711 has been marked as a duplicate of this bug. ***
Comment 10 Thomas 2008-12-15 15:36:37 UTC
Created attachment 19319 [details]
All Data whitch I could collect from the Suse Rescue CD

I couldn't do a acpidump because this tool is not included in SuSEś rescue mode.