Debian: Gnome keeps locking -- what would you do in my shoes?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Debian: Gnome keeps locking -- what would you do in my shoes?
I have posted here a few times about my troubles with Gnome hard locking. I started on Ubuntu 9.04 and, with the advice of a helpful LQ expert, migrated to Debian Lenny.
Hardware summary:
Asus P5W DH Deluxe, recently replaced via Asus RMA
2x Western Digital 250GB HDDs, both passed DLG full media scan
4GB OCZ Reaper DDR2 @ PC2-5300
Logitech MX1000 laser mouse
Antec Neo HE 500W PSU
Problem symptoms and background:
Gnome hard locks randomly, regardless of what task I'm performing. It has locked when I was building ffmpeg from source, when I was converting jpegs with imagemagick, and a dozen other random times.
It does not lock consistently (as in every N minutes/hours/days). The average mean time between locks is about 2 weeks, but I went a full 5 weeks before my second to last lock.
I have terminal bound to a key combination, which oftentimes will come up during the hard lock. If I can get to a shell, I can usually issue a /etc/init.d/gdm restart or reboot command successfully. Sometimes I can't, and I have to power off the machine manually, which almost always results in serious filesystem corruption.
Other circumstances:
I run 4 RAID1 disks with mdadm:
md0 is /
md1 is /boot
md2 is /opt
md3 is /home
These were set up in Debian setup and I have not modified default settings.
Troubleshooting I have done already:
Migrated from Ubuntu 9.04 to Debian Stable (Lenny) 5
Run memtest for 12+ hours with no errors
Run full media scan from Western Digital Data Life Guard 5 on both drives with no errors
Exchanged my motherboard through Asus RMA & reseated my CPU heatsink properly with Arctic Silver 5 TIM
Tweaked my PC's environment to ensure adequate cooling (higher RPM fans, etc.)
Reinstalled Debian probably 5 times as a result of filesystem corruption from needing to hard restart
My simple, humble question to you all is: what would you do if you were in my situation?
At this point I suspect maybe a faltering PSU or the outside possibility that a malfunctioning peripheral may cause some kind of interference, but at this point those guesses are as wild as any. The only peripherals I run are a keyboard & mouse. How would you go about troubleshooting this situation? What's the next step?
As always, thank you very much for your time and expertise. Cheers!
I would try some software things first. First try installing another desktop environment (XFCE, LXDE, or KDE) and see if that improves your situation. Just log out and select the new desktop from the session menu. Perhaps some gnome applet is causing things to hang. By the way, is there anything in your syslog around the lockup times?
You could also try updating to Squeeze. It's going to be stable sometime around the end of the year or early next year. It's really a pretty stable OS in itself.
Hardware wise, I'd try the PSU if it's not too much trouble. Make sure to get one with enough capacity in both the 5VDC and 12VDC sides of the supply. My friend had a problem that turned out he was drawing too much power on on side of the supply, even though he was below the 300W total capacity of the supply.
I would try some software things first. First try installing another desktop environment (XFCE, LXDE, or KDE) and see if that improves your situation. Just log out and select the new desktop from the session menu. Perhaps some gnome applet is causing things to hang. By the way, is there anything in your syslog around the lockup times?
You could also try updating to Squeeze. It's going to be stable sometime around the end of the year or early next year. It's really a pretty stable OS in itself.
Hardware wise, I'd try the PSU if it's not too much trouble. Make sure to get one with enough capacity in both the 5VDC and 12VDC sides of the supply. My friend had a problem that turned out he was drawing too much power on on side of the supply, even though he was below the 300W total capacity of the supply.
Hey, thanks for the reply!
I may just go give the new KDE a whirl and see if it has the same issue. I did not notice anything in the syslog last time it happened, but I will be sure to check next time. I know that several times when Gnome locked, the kernel threw an error and Debian asked if I wanted to submit a report to kernel.org. Gnome locked shortly thereafter.
Is there a way to update from Lenny to Squeeze in place? Or must it be done from format/reinstall?
My 500W PSU is definitely taxed to its limits with the HD4890 and 2 HDDs. That is currently my biggest suspicion. An adequate PC Power & Cooling PSU runs upwards of $150 USD so I'm not about to just jump into that without trying everything else first.
You can upgrade pretty easily. Edit the file /etc/apt/sources.list and every place it says "stable" or "lenny" change that word to "squeeze". Then run (as root)
Be aware that squeeze is in active development, and it is possible that some current package state causes a failure of upgrade. But in the past, I've never had trouble doing an upgrade like this. But make sure you have good backups just in case. Dist upgrades pretty much work flawlessly from oldstable to new stable releases, but squeeze won't become stable for another 6 months at least...
OK, so my kernel just threw an "oops" but it didn't result in any hard locking or other problems as far as I can tell. The last thing I did before it threw the oops was install rsnapshot from the lenny repos. Here's the syslog:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.