Re: Long timeout when booting >= 2.6.38

From: Christian Hoffmann
Date: Wed May 04 2011 - 15:40:23 EST



Hmm. So I really wonder why it refuses to switch to acpi_pm when you
select it on the kernel command line.

Does "echo acpi_pm> /sys/devices/system/clocksource/clocksource0/current_clocksource"
work ?

Yes, that seems to work:

root@c3po:~# echo acpi_pm > /sys/devices/system/clocksource/clocksource0/current_clocksource
root@c3po:~# dmesg | grep clocksource
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-2.6.39-rc5-ch+ root=/dev/mapper/vg-root ro quiet splash vt.handoff=7 clocksource=acpi_pm
[ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.39-rc5-ch+ root=/dev/mapper/vg-root ro quiet splash vt.handoff=7 clocksource=acpi_pm
[ 1.463754] Switching to clocksource tsc
[ 1.470700] Override clocksource acpi_pm is not HRT compatible. Cannot switch while in HRT/NOHZ mode
[ 125.808622] Switching to clocksource acpi_pm


Ok. That excludes HPET. So the only difference left is the late
registration of TSC which happens _AFTER_ the hang.

Can you boot the non working kernel with "lpj=28098860" on the kernel
command line ?

The dmesg output with lpj is here (and it still hangs):

http://pastebin.com/raw.php?i=wZWrbc7Z

Kind regards,

Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/