Most recent kernel where this bug did *NOT* occur: Distribution: Hardware Environment: Software Environment: Problem Description: Kernel-boot hangs on battery. When pluggin in ac, system starts normal. Steps to reproduce: Boot without ac plugged in.
Created attachment 10840 [details] Boot with ac plugged in + lapic
Created attachment 10841 [details] Boot with ac plugged in + nolapic
Created attachment 10842 [details] Boot on battery + lapic System hangs first at "[ 0.273000] NET: Registered protocol family 2"; pressing a button the start goes on. Second hang at "[ 0.838000] scsi1 : sata_sil"; Here I plugged shortly ac-cable in and removed it again.
Created attachment 10843 [details] Boot on battery + nolapic
Created attachment 10844 [details] .config
Does booting w/ clocksource=acpi_pm avoid the problem?
Further discussion on LKML http://lkml.org/lkml/2007/3/19/200
Created attachment 10849 [details] Bootlog 2.6.20.3: on ac + lapic
Created attachment 10850 [details] Bootlog 2.6.20.3: on battery + lapic
Created attachment 10873 [details] dmesg from 2.6.20 on battery with WARN_ON_ONCE patch
Created attachment 10889 [details] dmidecode
Created attachment 10890 [details] dmidecode patched kernel (2.6.21-rc4-git5 + "nolapic_timer")
Created attachment 10891 [details] Bootlog 2.6.21-rc4-git5 + "nolapic_timer" on AC
Created attachment 10892 [details] Bootlog 2.6.21-rc4-git5 + "nolapic_timer" on Battery
Patch to disable local apic timer on the kernel command line solved the problem. The final patch detects the known broken nx6325 via dmi quirk and disables the local apic timer on those systems.
Patch can be found on http://lkml.org/lkml/diff/2007/3/21/138/1
Created attachment 10994 [details] Bootlog when on AC (after Andi Kleen's patch)
Created attachment 10995 [details] Bootlog when on battery (after Andi Kleen's patch)