Bug 5031
Summary: | Sempron 2800+ (1.6GHz) sleeps half as long as it should | ||
---|---|---|---|
Product: | Timers | Reporter: | Keith Hellman (khellman) |
Component: | Interval Timers | Assignee: | john stultz (john.stultz) |
Status: | REJECTED DUPLICATE | ||
Severity: | normal | CC: | john.stultz, zwane |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.12.4 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
cpufreq-info with apic boot
cpufreq without apic boot dmesg with apic boot dmesg without apic boot config for 2.6.12.4 and dmesg/cpufreq output files |
Description
Keith Hellman
2005-08-08 22:46:14 UTC
*** Bug 5032 has been marked as a duplicate of this bug. *** Could you please boot with noapic? Also does the clock run twice as fast if you enable; CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE and CONFIG_CPU_FREQ_GOV_PERFORMANCE Created attachment 5584 [details]
cpufreq-info with apic boot
Created attachment 5585 [details]
cpufreq without apic boot
Created attachment 5586 [details]
dmesg with apic boot
Created attachment 5587 [details]
dmesg without apic boot
Created attachment 5588 [details]
config for 2.6.12.4 and dmesg/cpufreq output files
Good News, but first: - yes, this seems to be the same defect as #3927, sorry for submitting the duplicate - no, it doesn't seem to be the same as #3341. differences include twice as fast versus 3x as fast, but probably most importantly, I can reproduce the timing defect very reliably. none of this 90% of the time its 2x, 10% its ok, & only cold boots change the state. Now the Good News I promised: booting with noapic does in fact remedy the problem. this is the case with 2.6.12.4 stock as well as the debian 2.6.8-k7 debian package (for what that's worth). I can't believe I didn't try noapic before posting. Seems like such the obvious parameter to try. Here is something intersting: cpufreq reports my CPU at 800MHz when I boot with noapic and (I can raise it to 1.6GHz without any detrimental effects), and cpufreq reports my CPU at 1.6GHz when the I boot without noapic and my machine has a 2x clock. I've posted relevent files. Thanks again for all of your help, I would be happy to test any patches that would allow me to turn the apic support back on, just let me know. Agreed, I'm marking this as a dupe of #3927. If you want to use apic mode, you can alternatively use "no_timer_check" to work around this issue. *** This bug has been marked as a duplicate of 3927 *** I'm not sure if I should be posting this at the #3927 or here. I've tried the no_timer_check kernel param (this time against debian's 2.6.11 k7 kernel, sorry, I had already removed the stock kernel) and it doesn't work, in fact it fails in a strange way: - with 'debug' and 'no_timer_check' as kernel params - boots till the powernow_k8 module loads, then it stalls - I have to generate interrupts by scratching the touchpad to make the boot continue - finally, the boot absolutely halts after usbcore is loaded and the usb bus is (I assume) being probed. Since the boot never finishes, I don't have dmesg output. If there is a way to record this and you'd like to see it, let me know and I'll try to provide a log. BTW thanks for adding me to the #3927 CC list. |