Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
A few months ago I purchased a used Thinkpad T60 from thinkpaddepot.com. I have Slackware 13.37 and OpenBSD 5.1 installed on it.
The machine locks up hard, quite often. Blank screen, unresponsive to keyboard clicks or anything else. I have the battery out and run it solely on AC (I read somewhere early on that a 'bad' battery can cause this problem) so I typically just unplug and power back on.
I have lightly searched yon Internet for clues and to tell the truth, have found too many. Apparently a lot of people have lockup problems with this model, but the solutions are ... various:
1) replace the 'bad battery' with a good one
2) reseat the RAM
3) disable <something> in the BIOS
4) upgrade the BIOS
5) and so on
I'd like if possible to figure out *what* is really going on before I start attempting a fix. This morning I looked in the system logs and found this:
bash-4.1$ grep lockup syslog.1
Aug 22 10:54:52 catbutt kernel: [188650.915060] radeon 0000:01:00.0: GPU lockup CP stall for more than 10000msec
Aug 22 10:54:52 catbutt kernel: [188650.915106] GPU lockup (waiting for 0x01E7C2C0 lastAug 22 18:56:03 catbutt kernel: [ 3.922908] scsi: <fdomain> Detection failed (no card)
Aug 23 10:42:10 catbutt kernel: [56788.297052] radeon 0000:01:00.0: GPU lockup CP stall for more than 10000msec
Aug 23 10:42:10 catbutt kernel: [56788.297096] GPU lockup (waiting for 0x008DB981 last fence id 0x008DB980)
Aug 25 15:12:13 catbutt kernel: [115089.999102] radeon 0000:01:00.0: GPU lockup CP stall for more than 10000msec
Aug 25 15:12:13 catbutt kernel: [115089.999148] GPU lockup (waiting for 0x01198AB8 last fence id 0x01198AB7)
(yes, my machine is named catbutt)
I don't know, is that significant?
If anyone can recommend some good diagnostic techniques for this situation, I'd be grateful. I'd rather proceed in a meaningful manner than just start at the top of the total list of possibilities and work my way down ... if that's possible, that is.
Start with checking for a bios issue. I think freebsd has some notes on goofy thinkpad bios's and versions that work. It is rare that I ever suggest a bios fix.
Before that though, I run memtest for a few days. See if you can get other hardware diags to run for extended times too. Any lockup can be a result of internal timings and pal or firmware issues. You might not ever be able to get linux to work on it even if windows works perfectly.
radeon 0000:01:00.0: GPU lockup CP stall for more than 10000msec
That's a show stopper. That's what's going on. You have a radeon card, and incorrect drivers.
I'd like to know your kernel, distro and what drivers you have loaded. Try these commands and post the output
Quote:
uname -r
ls /usr/lib(64)/xorg/modules
sudo lspci
Install the xf86-video-ati package, and see if that improves things.
That's a show stopper. That's what's going on. You have a radeon card, and incorrect drivers.
I'd like to know your kernel, distro and what drivers you have loaded. Try these commands and post the output
Install the xf86-video-ati package, and see if that improves things.
Over the past few days I've been leaving the machine at a command prompt when I'm away and, yeah, no lockups. :/
This is a vanilla Slackware 13.37 install. I have the xf86-video-ati package installed:
Well, you have an X1300 card, long obsolete, like my x1250. They're crappy cards, but they work. You can run car racing games as long as you don't exceed 15mph!(=24 kph) :-/.
Remove any binary blob if you installed one.
ati-blah.run --uninstall
and other xf86-video packages if you like, as you only need xf86-video-ati. On Slack-13.37, that should work out of the box. Run these
and post what you get.
Check that the radeon module is not in /etc/modprobe.d/blacklist. Remove the line if it is. I'd ask also for the Slackware part of /etc/lilo.conf and anything to do with video in /etc/modprobe.d.
I haven't a clue what's wrong, but my x1250 runs on a basically vanilla slackware
No binary blobs -- and radeon module is not in blacklist, though the radeonfb module is.
... and:
Code:
root@catbutt:~# grep -e 'WW' -e 'EE' /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 619.426] (WW) The directory "/usr/share/fonts/local" does not exist.
[ 619.426] (WW) The directory "/usr/share/fonts/CID" does not exist.
[ 619.518] (II) Loading extension MIT-SCREEN-SAVER
[ 619.621] (WW) Warning, couldn't open module fbdev
[ 619.621] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 619.635] (WW) Falling back to old probe method for vesa
and ...
Code:
root@catbutt:~# glxinfo |grep render
direct rendering: Yes
OpenGL renderer string: Gallium 0.4 on RV515
GL_NV_blend_square, GL_NV_conditional_render, GL_NV_light_max_exponent,
There are a bunch of fb modules listed in /etc/modprobe.d/blacklist.conf. I mention the radeon one above. Not sure these are of any interest.
Thanks so much for the diagnostic guidance here. I really appreciate it.
I should mention that I've found a few Google hits since posting that seem to indicate this might be a known kernel bug. Thing is, I get hits for a lot of different kernels. :/
IIRC, in 2.6.37.0, the default went to using KMS on radeon, but you would find kernel errors for stuff before that. As new cards get incorporated, stuff crashes and bugs are found.
Lilo.conf looks ok, not screwing things up anyhow.
Quote:
root@catbutt:~# glxinfo |grep render
direct rendering: Yes
OpenGL renderer string: Gallium 0.4 on RV515
GL_NV_blend_square, GL_NV_conditional_render, GL_NV_light_max_exponent,
That basically means you're up and running on the radeon driver - yet the GPU is hanging. radeon has a look at your card and chooses an appropriate dri module. You probably need the r300 driver
(= /usr/lib64/xorg/modules/dri/r300_dri.so). Yours is a new install without a disk disaster?
Any strange messages in /var/log/messages about firmware for the card?
grep firmware /var/log/messages.
You're using the correct driver.
Firmware?
New install of distro; Is everything you need installed (libs particularly) you can check this with
ldd /path/to/executable |grep found
Anything missing shows. That works on libaries too.
Anything funny on the interrupts? Otherwise, it may just be hardware. I would try where the developers lurk on phoronix forums before calling that, however.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.