VIA C3 Crashes with CPU Freq Scaling (longhaul)
Hello, I don't know whether to send this to the mailing list or where you send patches or something. I'm not subscribed to this mailing list, so I sure hope that when you reply, please make sure my email is included.
Anyway, this is my laptop's hardware
VIA C3 C5C 933MHz, VIA PN266-VT8235, ProSavage DDR (yes I ran cpuburn and memtest86+, they all passed)
With the custom kernels I built, they would always crash after about two hours. I spent lots of time tweaking the kernel, making monolithic builds, modularized builds, leaving this/that out... but it always crashed. I thought it was a direct rendering issue for a year, and tried to solve that, but once I used the Ubuntu kernel, I knew at once that instability had nothing to do with direct rendering, for 3D worked fine for days in a row.
So eventually I narrowed it down to this: it doesn't matter what frequency governor you have, as long as you have the longhaul module modprobed, or compiled straight into the kernel, your VIA based CPU will hang. Hard.
Details can be found here: http://tinyurl.com/k7wlw
As you can see from the thread, this hanging issue (pun intended) has its origins in kernel 2.4, and is distribution independent and extends across all C3 CPUs. I can verify that it is distro independent (Gentoo to Ubuntu all had same probs) and 2.6.11 to 2.6.14 always had stability issues. I didn't see any traces of a longhaul.ko change in the changelog for 2.6.15.
CRASH/HANG description
Personally, what I saw was this: I would start my computer. and use it normally, X and a couple progs, or sometimes no X. It crashed without X too, in Gentoo.
On my Ubuntu install, it usually doesn't crash until about 2 hours into uptime. Then I would do something that required a frequency change, like scrolling down in Firefox or running OpenOffice or even just moving the mouse around to click on a hyperlink. The mouse pointer would just stop there, pinging the laptop over the network does not get a reply, and the brightness of the screen (which I can adjust even in the BIOS) cannot be changed. Of course, Caps Lock and Scroll Lock and Num Lock don't light up at this point. If I boot into a kernel without CPU Frequency scaling support FOR MY PROCESSOR, it doesn't ever crash.
I posted this on Linuxquestions.org. But they've all gone in the wrong direction. I firmly believe something is wrong in the longhaul code and it needs a serious overhaul, especially since this crash dates from kernel 2.4.
If you need any more information, please ask, although I may not be able to get it - after all, the computer is so shell-shocked by the hang that it doesn't even have the senses to generate any sort of Kernel Panic message.
Randomshinichi
--
....pi......pi......kaaaaaaa....
AMD Throughbred-A 1533MHz, 768MB PC2100 RAM, Maxtor 6EL040, NV25 Ti4200 128MB
_______________________________________________
Cpufreq mailing list
[email protected]
http://lists.linux.org.uk/mailman/listinfo/cpufreq