From: "Shinichi Kudo" Subject: VIA C3 Crashes with CPU Freq Scaling (longhaul) Date: Sat, 4 Mar 2006 03:30:39 +0800 Message-ID: <8be2e100603031130rb3cce9n42a77075dcb4c1eb@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_7806_15275935.1141414239648" Return-path: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: cpufreq-bounces@lists.linux.org.uk Errors-To: cpufreq-bounces+glkc-cpufreq=m.gmane.org+glkc-cpufreq=m.gmane.org@lists.linux.org.uk To: cpufreq@lists.linux.org.uk, davej@codemonkey.org.uk ------=_Part_7806_15275935.1141414239648 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 ------=_Part_7806_15275935.1141414239648 Content-Type: application/octet-stream; name=lspci Content-Transfer-Encoding: 7bit X-Attachment-Id: f_ekcvx7mx Content-Disposition: attachment; filename="lspci" 0000:00:00.0 Host bridge: VIA Technologies, Inc. P/KN266 Host Bridge Subsystem: VIA Technologies, Inc. P/KN266 Host Bridge Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- Reset- FastB2B- Capabilities: [80] Power Management version 2 Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 0000:00:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) Subsystem: Realtek Semiconductor Co., Ltd. RT8139 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- Reset+ 16bInt+ PostWrite+ 16-bit legacy interface ports at 0001 0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) (prog-if 00 [UHCI]) Subsystem: Unknown device 17c4:0230 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR-