Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
I use Linux (Mandriva 2005LE) and It hangs "randomly". The screen "freezes" but I can move mouse on the screen (but cursor shape doesnt change). Keyboard is not working (I cannot switch to console ctrl+alt+F1 etc.) and I have to push reset button.
The question is how to find out what is wrong - some error log. (I am almost newbie in Linux)
I viewed /var/log/messages but found nothing (no error message related to the hang) then I looked at all other files and dirs in /var/log and also nothing.
How can I find out what happned and why the system hangs.
system configuration:
hw:
via a7v600
Athlon XP 1700+
geforce 3 (generic drivers)
WiFi ralink RT2500 (1.0.3b drivers - i tried 1.0 stable but system also hangs)
rtl 8139 network (integrated ethernet card disabled in bios)
hdd 40GB (ata100)
Try "dmesg", which prints out critical messages.
Most likely this sounds like a hardware issue. Random freezes is very likely not at all related to the software. Maybe some bad RAM or overheating components.
Do you have another OS installed on the computer? Does it freeze up as well?
i tried dmesg but found nothing strange.
- I ran memtest86 (on boot CD Mandriva2005) and RAM is OK
- I have WindowsXP installed too. It shown bluescreen with fatal error but only when firewall (kerio or adorons) was installed.
I think it could be something with wifi card but its strange that without external firewall installed it never hangs (win XP). And in fact I dont know about settings of this win because that computer is not mine but my brothers and I didint install win XP and set it up (I know that brother has changed some things in win but I dont know what and how )
And in fact I have Mandriva 2005 on my notebook too and it hang the same way but only once or twice. And so I suppose that the problem is probably in Linux and I want to find whats wrong ...
Actually, I agree that it's most probably a hardware problem. memtest coming back OK doesn't really mean much. To find out if it really is a software or a hardware issue, try compiling a kernel.
gcc + linux kernel source is about the least buggy combination you can have. If it fails, it's almost certainly because the hardware has a problem and not because the software is faulty.
Compile a kernel (you don't have to keep or use it afterwards) once or twice, see what happens, and let us know.
Something to consider: Linux tends to use all memory pretty much 'at random, while Windows apps will often use the same portion of memory each time they run. This is why some apps always seem to crash a Windows that runs fine the rest of the time, while Linux crashes randomly: Linux will address the bad RAM at any time, while Windows is more likely to only address it at predictable intervals.
It hanged (or ?hang? not sure with this irregular word) again (when setting up the kernel before compilation ). This time (when hanged) I connected it to other PC (via LAN) and I examined that at least some processes must had been running (SAMBA server - I conected and connection was working ...) so it seems that only screen (Xorg ? KDE ?) and keyboard stops (but mouse works).
I also have to mention that install process of madriva on my notebook hanged the same way several times but it had never happened with other distro (Federa2) or older Mandrake and these didint hang at all (never).
I still think that the problem could be somewhere in Mandriva2005 ... maybe. Or Wifi.
- I have the latest rt2500 driver already intstalled (rt2500 driver supplied with kernel does not support MAC changig and I need it).
Then I killed wine and "frozen" screen melt up and computer is working again (without restart).
But wine was running the first time - so "hangs" before could not had been caused by wine.
Other thing is that /var/log/messages contains similar kernel error only for about two hangs of about 15 (other are without any error). So problem is elsewhere.
This is unfortunately a bit of a (un)known issue in Linux. It seems to be down to X locking up (which will also lock the keyboard) but no one has a satisfactory answer as yet.
There's a lengthy thread over at NvNews where it was thought to be down to Nvidia drivers. However, the same issue has been reported on ATI cards. There are a few workarounds knocking around (personally i have to reduce my AGP 8x down to 4x). Unfortunately it's mostly a mystery
Just got the same oom message from my Athlon system with a Matrox G450 video card, so it appears that the problem might affect most if not all video cards. I do have it enabled to AGP 4x, so maybe that's the problem. I've only had this happen once and I was running KDE. Haven't had it happen with GNOME.
I fixed this issue on my own box (with a GeForce FX 5200) by changing xorg.conf to use the nVidia AGP driver instead of the kernel driver (AGPGART). This was by changing/adding the line:
Code:
Option "NvAgp" "1"
to the video card "Device" section in xorg.conf. See the first entry of Appendix D of the nVidia README.txt file for details.
AGPGART must be either be disabled or an unloaded module for this to work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.