[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#412194:



Hello again,


i hope, i may take the liberty of presenting you a working solution. So the late grave bug (sorry for this again!) hopefully will be closed quite soon.


a) testing info

Running 2.6.18-4-k7 without "nosmp" i looked what clocksources are actually available and which one is used:

www:~# cat  /sys/devices/system/clocksource/clocksource0/*
jiffies tsc pit
pit

Well, although "jiffies" and "tsc" were present and even of higher position and value, 2.6.18-4-k7 still chose "pit" as clocksource. Interestingly acpi_pm was neither shown nor detected (dmesg log):

#ACPI: Unable to locate RSDP
#...
#ACPI: Interpreter disabled.
#Linux Plug and Play Support v0.97 (c) Adam Belay
#pnp: PnP ACPI: disabled

As i do not use "acpi=off" or any similar it is hard to guess, why exactly 2.6.18-4-k7 fails to detect the ACPI Root System Description Pointer. Useless to say, why my previous "clocksource=acpi_pm" was pretty braindead. :D


b) possible solution (at least over here :P)

No problem, life is great without ACPI, as far as i currently believe :P, so let's slap 2.6.18-4-k7 for serving us "pit" and not using the Time Step Clock ("tsc") we can enjoy since the very first pentium cpu and that 2.6.18-4-k7 has already detected above:

www:~# echo "tsc" > /sys/devices/system/clocksource/clocksource0/ current_clocksource
www:~# cat  /sys/devices/system/clocksource/clocksource0/*
jiffies tsc pit
tsc
www:~#

Now, once "tsc" is on command everything runs smooth again. No freezes. Just smp heaven as it used to be. :)

I decided to put "clocksource=tsc" as a boot option for 2.6.18-4-k7. Rebooted. And my 2.6.18-4-k7 system is up for hours without freezes again.


@ Figaro <ynegorp_at_charter_dot_net>: Please test this, as it is important to know, whether this solution is usefull for your system also. Please let us know asap, so Steve can close this grave thingy, disable or downgrade "pit"-support in favour of "tsc" and heat up the autobuilders. Thank you! 8)

@ Steve: As i don't exactly know, whether some user might truly need "pit" on k7-platform as clocksource, i leave the above described decision up to you..:P (shame on me!)


Thank you all very much!


Alexander Schories
Tuebingen, Germany



Reply to: