Mandriva Linux 2010.0 hanging
I get regularly hangs and I can't find any way out of it, I've tried all the ctrl-alt-* key combinations and nothing happens.
I've got a 1.7GHz Intel processor and use Mandriva 2010.0 with Gnome 2.28.0. I only use Linux, am not an expert I don't think it is to do with Mozilla pluginwrapper problems as I've switched to Opera and it still happens - whether or not I'm using a browser. When it happens, the mouse usually continues to work but not always. If I am watching a video or listening to a BBC iPlayer console, the video hangs but the sound carries on without problems. I don't know whether it is relevant, but with the system running now, in system monitor I can see several references to GVFS (is this needed?) and synce-trayicon (I want to use this but can't get it to work). I'd appreciate suggestions as I'm getting fed-up with it, and although I think Linux is a lot better than that other thing, I can't honestly recommend it to friends at the moment. |
Hi, I've been watch your thread and have noticed no replies as yet.
Although I use kde4, and not gnome, I though I may be able to help. Quote:
and http://en.wikipedia.org/wiki/GVFS It uses fuse, and may not be required if you don't need remote access to your desktop. (please correct me If I err) I read that is was mostly useful for remote desktop access, but can't find that reference now. I have a few suggestions that may point you in the right direction. from a command line run....you need to be root or use sudo Code:
rpm --rebuilddb && rpm -Va | grep miss then searches it looking for missing packages. Go through the list installing any thing missing and it's dependant packages. I had initially installed mandriva with both kde4 and lxde desktops, and this is probably how I got gvfs installed. I also found it hogged memory and processor power. I simply removed the package, but as I said, I don't run gnome (or lxde) as my current desktop manager. see how you go, post back here with any questions and we'll continue from there. cheers and regards Glenn ps, sometimes it is worth sitting at console 12 (ctrl+alt+F12) and view the kernel output as the system is running, sometimes revealing a kernel hang, or some such problem that may lead to an answer to this kind of problem. GW |
It only mentioned /usr/lib/mozilla/plugins/npwrapper.so as missing so presumably not a problem unless using Firefox. I have removed GVFS using the software manager. I've only just logged in, but everything still works, I'll watch and see what happens and let you know.
A bit more information: The display card is intel 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device. I haven't been able to find out which is the display driver. The frequency of hanging varies, sometimes quite soon after switching on, but usually after an hour or two. I've checked under "set up the display manager" and find KDM - is this odd because I use the Gnome desktop? KDM KDE display manager - selected GDM Gnome display manager XDM X display manager Quote:
|
Mandriva Linux 2010.0 hanging
It's just hung again.
I was watching the screen created by ctrl-alt-F12 and saw something called cron run and a message containing "unable to read EDID block" and something like "VGA-1 no EDID data". I switched back to the desktop a couple of times without problem, then when I tried again later it had hung. |
Hi, EDID data is the xorg looking to the display monitor chip to find out it's frequency and resolution properties.
You may be able to circumvent this behaviour by editing the /etc/X11/xorg.conf file monitor section. Adding in the properties you want, and that your monitor can do. Here is mine.... Code:
Section "Monitor" urpme monitor-edid-2.5-1mdv2010.0.x86_64 See how you go. Regards Glenn Quote:
|
As cautionary note, and to emphasize the importance that you use the settings for your display, not those Glenn posted (they are for his display). If you try to make your display operate at a frequency or resolution it is not capable of, you could damage it. All the information you need should be included in your displayś user manual. If you do not have a users manual for your display, google for it by manufacturer and model on the WEB.
HTH, |
Mandriva Linux 2010.0 hanging
After I had removed GVFS I couldn't see anything on my desktop or use the file manager - error message, so it looks as though it's needed! I've had to re-install the system.
I'm no expert so am only guessing, but since other things continue to work I don't think it is a kernel problem but something to do with X-windows or the Gnome desktop. |
hi, sorry to cause you to reinstall mandy. Not my intention at all.
I hope it's working ok and have a few tips for you to check out. Quote:
you may need root access to do this. you can cut down that list by grepping (grep) the name you're looking for. Like this....using the info you provided.... Quote:
Code:
lsmod | grep intel (I don't have an intel based system so) I'm running blind here and you may need to change things around to suit your system, btw, this is just info gathering, not changing things. or the chip number.... Code:
lsmod | grep 82845G lists loaded modules, (lsmod) piped (|) through grep searching for the name of the device entered after the term grep. another way to check is lspci, but you already know what the device is called. I think you maybe correct in your assumption that it could be an X problem. A keyboard error may also cause a crash, locking up the terminal. There are updates available for mandy 2010.0, be selective about what you upgrade, you'll get a better understanding of what is required as opposed to what is desired. One last thing, to change the login to gdm, go to MCC (configure your computer), boot, set up display manager. you should see the option there. cheers Glenn |
The 845 chipset driver has a bug that might be related to your problem. I think it would be easy and not hurt to try the workaround I pointed to in another thread: http://www.linuxquestions.org/questi...5/#post3781738
|
Mandriva Linux 2010.0 hanging
Rolf - I've looked into your suggestion, it seems to relate to a problem that occurs on startup, so probably not the answer. Also the line that started "Simply..." in one of the messages was completely beyond me - so I think I'll leave it thanks!
Quote:
|
Mandriva 2010.0 hanging
Glenn
I have logged in as root and typed lsmod, but there were no references to intel or 82845G. I have switched off the screen saver, because a lot of hangs occurred when it was displaying and I have changed to GDM. Since doing this yesterday, the computer has run for ~5 hours before crashing. There may be some clues there... I get occasional crashes of (I think - I should have made a note) the taskbar, which include a comment about increasing fs.inotify.max_user_watches to 65536 in /etc/sysctl.conf. Could this be a problem when a lot of files are opened and closed with browser or screensaver? There is currently no statement like this in this file. Quote:
|
1 Attachment(s)
Quote:
For perspective, the menu entries can be seen in /boot/grub/menu.lst for example: title linux kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=1b785fa1-2ce3-4964-8e5c-43cec6dcaa3c vga=788 speedboot=no initrd (hd0,4)/boot/initrd.img The first line, title, specifies what you see in the menu. The second is the command line for the kernel. This is the line to which you add the kernel switch of interest. The third line points to the initrd, which contains drivers for the hardware on your machine, in order to start the system. This link takes forever to load but it's a report of this switch solving X crashing, not just the startup problem: http://bugs.debian.org/cgi-bin/bugre...?bug=536011#10 Another, perhaps clearer howto for testing the switch by one-time edit of the grub kernel command line: http://blogs.sbsun.com/click/2009/11...d-in-ubun.html |
Hi, this could be another problem.
Quote:
You need root access to save the edit of this file. just copy and paste the line to the end of the list. /etc/sysctl.conf Code:
fs.inotify.max_user_watches=65536 Code:
sudo vi /etc/sysctl.conf please don't disregard rolf's advise. Quote:
|
Mandriva Linux 2010.0 hanging
Rolf
Quote:
As an aside, I recently noticed an error message on boot "loading i915 module cannot open file delete" it hasn't changed since applying your patch, so I don't know whether it is relevant. Thanks for your help - I really appreciate it! |
Mandriva Linux 2010.0 hanging
Thanks Ernie - point taken!
Quote:
|
Glenn
I tried Rolf's suggestion first - mainly because it could be done interactively without committing myself to editing a configuration file. I'm nervous I won't be able to start the system again! I probably shouldn't be so cautious because I could boot into safe mode and edit it back. Anyway, it works as you can see from the relevant message. I'll see how it goes and will try your suggestion if there are any further problems. Thanks very much for your help - I couldn't use Linux without this support. Quote:
|
I hope it works for you. You don't say so I'm prompted to ask, you do know that the command line needs to be edited in /boot/grub/menu.lst for this switch to be applied at each boot? Edits to the command line at the grub boot screen only apply for that boot....
|
I spoke too soon! (See later post with more detail.)
|
Mandriva Linux 2010.0
I had edited the file you mention - this is the file below:
Quote:
color black/cyan yellow/cyan gfxmenu (hd0,0)/boot/gfxmenu default 0 title linux kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=565570de-fbe4-4654-9628-28c392db8bea resume=UUID=4a3af238-0777-4d0d-af85-e25149101ccc splash=silent i915.modeset=0 vga=788 initrd (hd0,0)/boot/initrd.img title linux-nonfb kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=565570de-fbe4-4654-9628-28c392db8bea resume=UUID=4a3af238-0777-4d0d-af85-e25149101ccc i915.modeset=0 initrd (hd0,0)/boot/initrd.img title failsafe kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=565570de-fbe4-4654-9628-28c392db8bea failsafe initrd (hd0,0)/boot/initrd.img title desktop 2.6.31.5-1mnb kernel (hd0,0)/boot/vmlinuz-2.6.31.5-desktop-1mnb BOOT_IMAGE=desktop_2.6.31.5-1mnb root=UUID=565570de-fbe4-4654-9628-28c392db8bea resume=UUID=4a3af238-0777-4d0d-af85-e25149101ccc splash=silent i915.modeset=0 vga=788 initrd (hd0,0)/boot/initrd-2.6.31.5-desktop-1mnb.img title desktop 2.6.31.6-1mnb kernel (hd0,0)/boot/vmlinuz-2.6.31.6-desktop-1mnb BOOT_IMAGE=desktop_2.6.31.6-1mnb root=UUID=565570de-fbe4-4654-9628-28c392db8bea resume=UUID=4a3af238-0777-4d0d-af85-e25149101ccc splash=silent i915.modeset=0 vga=788 initrd (hd0,0)/boot/initrd-2.6.31.6-desktop-1mnb.img |
Mandriva Linux 2010.0 hanging
I spoke too soon! It's ok provided I don't use the computer and the screensaver is off, but if I use the Opera or Firefox browsers it hangs after a varying length of time.
I found another oddity yesterday, using File Browser on a sub-directory of /home/me/pictures, it waited without finding any files, yet Search for Files worked fine so presumably no problem with the disk. Today File Browser finds files. Search doesn't work. Is hanging a problem with Mandrake or Linux in general? I am getting pretty fed up with it now! Should backtrack to Mandriva 2009, or try Ubuntu? |
Clearly, you are having problems, but you can't generalize to Mandriva or Linux or 2010 based only on that. The bulk of stuff works for me and has for 10 years. Many things can go wrong. For example, it could be a drive or the cable or the controller is failing.
One thing you can do is install ide-smart, as root: urpmi -v ide-smart Also as root ide-smart /dev/xxx Where you can discover the pertinent xxx with, as root: fdisk -l Code:
[rolf@localhost ~]$ urpmq -i ide-smart |
Mandriva Linux 2010.0 hanging
Quote:
[root@localhost paul]# ide-smart /dev/sda Id= 1 Status=15 {Prefailure Online } Value=113 Threshold= 6 Passed Id= 3 Status= 3 {Prefailure Online } Value= 99 Threshold= 0 Passed Id= 4 Status=50 {Advisory Online } Value= 99 Threshold= 20 Passed Id= 5 Status=51 {Prefailure Online } Value=100 Threshold= 36 Passed Id= 7 Status=15 {Prefailure Online } Value= 76 Threshold= 30 Passed Id= 9 Status=50 {Advisory Online } Value= 98 Threshold= 0 Passed Id= 10 Status=19 {Prefailure Online } Value=100 Threshold= 97 Passed Id= 12 Status=50 {Advisory Online } Value= 99 Threshold= 20 Passed Id=187 Status=50 {Advisory Online } Value=100 Threshold= 0 Passed Id=189 Status=58 {Advisory Online } Value=100 Threshold= 0 Passed Id=190 Status=34 {Advisory Online } Value= 66 Threshold= 45 Passed Id=194 Status=34 {Advisory Online } Value= 34 Threshold= 0 Passed Id=195 Status=26 {Advisory Online } Value= 91 Threshold= 0 Passed Id=197 Status=18 {Advisory Online } Value=100 Threshold= 0 Passed Id=198 Status=16 {Advisory OffLine} Value=100 Threshold= 0 Passed Id=199 Status=62 {Advisory Online } Value=200 Threshold= 0 Passed Id=200 Status= 0 {Advisory OffLine} Value=100 Threshold= 0 Passed Id=202 Status=50 {Advisory Online } Value=100 Threshold= 0 Passed OffLineStatus=130 {Completed}, AutoOffLine=Yes, OffLineTimeout=7 minutes OffLineCapability=91 {Immediate Auto SuspendOnCmd} SmartRevision=10, CheckSum=101, SmartCapability=3 {SaveOnStandBy AutoSave} [root@localhost paul]# ide-smart /dev/sdb Id= 1 Status=11 {Prefailure Online } Value=100 Threshold= 51 Passed Id= 4 Status=50 {Advisory Online } Value= 93 Threshold= 0 Passed Id= 5 Status=51 {Prefailure Online } Value=253 Threshold= 10 Passed Id= 7 Status=11 {Prefailure Online } Value=253 Threshold= 51 Passed Id= 8 Status=36 {Advisory OffLine} Value=253 Threshold= 0 Passed Id= 9 Status=50 {Advisory Online } Value= 99 Threshold= 0 Passed Id= 12 Status=50 {Advisory Online } Value= 99 Threshold= 0 Passed Id=194 Status=34 {Advisory Online } Value=148 Threshold= 0 Passed Id=197 Status=51 {Prefailure Online } Value=253 Threshold= 10 Passed Id=198 Status=49 {Prefailure OffLine} Value=253 Threshold= 10 Passed Id=199 Status=10 {Advisory Online } Value=100 Threshold= 0 Passed Id=200 Status=11 {Prefailure Online } Value=100 Threshold= 51 Passed Id=201 Status=11 {Prefailure Online } Value=100 Threshold= 51 Passed OffLineStatus=0 {NeverStarted}, AutoOffLine=No, OffLineTimeout=30 minutes OffLineCapability=27 {Immediate Auto SuspendOnCmd} SmartRevision=16, CheckSum=56, SmartCapability=3 {SaveOnStandBy AutoSave} |
The thing is, with disappearing parts of the filesystem, it could be something hardware-related.
Code:
$ urpmq -i memtest86+ |
Hi, another thought, Make sure you do not use us-international key-board settings
Use the default, US-Keyboard, (I use "105-key (intl) PC" for this next part) But try 104-key PC. See how you go. Regards Glenn |
Mandriva Linux 2010.0 hanging
Quote:
|
Quote:
|
I saw the output from ide-smart and, to my eye, it looks normal. If you see a "Fail" in there, it might indicate impending hard drive crash.
On memtest86+, after you install it, reboot, and choose it from the boot menu. It gives you some choices, iirc, so choose what makes sense or it might just have a default run. It tests your memory very thoroughly and comprehensively (in console, so you can't use the computer for anything else) and a full test takes quite a while. As I said, let it run overnight to be sure but my experience is that bad memory is exposed during the first suite of tests. |
Mandriva Linux 2010.0 hanging
Quote:
|
Let me check.
Code:
[root@localhost rolf]# rpm -q memtest86+ |
Mandriva 2010.0 hanging
Quote:
The last twice it hung it was when I was opening an email - I got an error message from Gnome desktop after re-booting - which may have been relating to that, I'll watch this. |
Quote:
|
Mandriva Linux 2010.0 hanging
Quote:
Quote:
|
At some point, you will need to look at the manuals:
man urpmi displays the page for the installation command. Use page and arrow keys to navigate up/down. Type 'q' to quit. At the bottom of this and other man pages, you can find related commands that have their own manual page. For example, Code:
[rolf@localhost ~]$ man urpmi Code:
[rolf@localhost ~]$ man urpmq man:urpmi There is comprehensive online information about this family of commands: http://wiki.mandriva.com/en/Tools/urpmi |
In case it's of any interest, I have exactly the same mouse behaviour I think. In an hour or less, sometimes straight after boot, inevitable hang (mandriva 2009.1, KDE, Gnome.) usually mouse moves but no click response. And someone, Glenn maybe, gave me the shortcut key for opening cli for clean shutdown, as I was pushing the offbutton every hour!
Now I'm running only on a new Ubuntu disk,(because I messed up GRUB loader trying to instal Ubuntu beside my Mandriva) and suddenly no more hangs! So it's definitely in the Mandriva, not hardware failure of my geriatric laptop. When I get access to installed mandriva again, I'll run rpm --rebuilddb etc and see what happens. Meantime I'd better go seeking GRUB repair advice so I can open the hanging mandriva and access my files again. But I'm impressed with ubuntu. |
So sad, ubuntu is an os for lx newbies.
You can do better, I have found Mandriva to be the easiest and most hackable system since win98. and ME It takes patiences and a lot of reading to use Linux effectively. You can do what you want, it just takes time. Regards Glenn |
Mandriva 2010.0 hanging
Quote:
|
Mandriva 2010.0 hanging
Rant warning!
I think I need to emphasise that I am a Linux newbie! My interest in it is as a user, not for a hobby, so I'm not intending to become an expert at using the shell any more than someone buying a car wants to become a mechanic. There are plenty of GUI interfaces for setting up the system, they are easier to use than shell commands and I've found that using shell commands sometimes causes more problems than they solve - possibly because they require more expertise than I have. For example the memory check made my computer unusable - it didn't recognise the hard drives afterwards. I started with Fedora and switched to Mandriva because Fedora needed a lot of work to get working - perhaps it is aimed at professionals rather than home users. The only problem I'm having with Mandriva is the hanging, but it is infuriating as I want to be using the system not fixing it. If Ubuntu is aimed clearly at newbies I'm all for it! Rant over! I wouldn't be able to use Linux without the help I get on this site - thanks. |
Another rant:
This is a Mandriva help forum. It is inappropriate to suggest the use of other distributions here. A user has asked a question, and we should be presenting helpful information intended to solve the problem. If any one wants to suggest using a different distribution, such communication should be sent privately, not in this forum. A private message can be sent by clicking the users name (link) located near the top-left of any posted reply. By so doing, no one will be offended, and you still get your message sent to whom it is intended. |
Mandriva Linux 2010.0 hanging
It looks like my inexperience of Linux led me to choose the wrong distribution for me - my aim is to use Linux for Web browsing, emails and to process music files. I switched to Ubuntu at the beginning of the year, it installed without problems and has worked perfectly ever since!
One of the great things about Linux is that you can try different software until you find what suits you, and you don't waste money on things which don't. Thanks to everyone who tried to help. |
People are different. Computing machines are different. The synthesis of these and many other differences, how the complex new phenomenon is experienced, the order of steps advised and tried, all make for an unpredictable path. Good that you found a solution!
|
All times are GMT -5. The time now is 01:32 AM. |