LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-02-2009, 04:44 AM   #1
pauljam20
Member
 
Registered: Mar 2009
Location: UK
Distribution: Ubuntu
Posts: 42

Rep: Reputation: 23
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.

Last edited by pauljam20; 12-03-2009 at 05:02 AM.
 
Old 12-03-2009, 07:17 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
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:
Gvfs is a userspace virtual filesystem with backends for things like sftp, ftp, dav, smb, obexftp, etc.
ref. https://fedoraproject.org/wiki/Features/Gvfs
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
this will take a while, what it does is rebuilds the installed rpm's database and

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

Last edited by GlennsPref; 12-03-2009 at 07:19 PM. Reason: view kernel messages in real time ctrl+alt+F12
 
1 members found this post helpful.
Old 12-04-2009, 04:55 AM   #3
pauljam20
Member
 
Registered: Mar 2009
Location: UK
Distribution: Ubuntu
Posts: 42

Original Poster
Rep: Reputation: 23
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:
Originally Posted by GlennsPref View Post
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.

ref. https://fedoraproject.org/wiki/Features/Gvfs
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
this will take a while, what it does is rebuilds the installed rpm's database and

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
 
Old 12-04-2009, 05:28 AM   #4
pauljam20
Member
 
Registered: Mar 2009
Location: UK
Distribution: Ubuntu
Posts: 42

Original Poster
Rep: Reputation: 23
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.
 
Old 12-04-2009, 06:59 AM   #5
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
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"
    Identifier     "Monitor0"
    VendorName     "MEA"
    ModelName 	   "1280x1024 @ 50 Hz"#"DV177/SB"
    HorizSync      31.5 - 64.3
    VertRefresh    50.0 - 70.0
    Option         "DPMS"
EndSection
otherwise uninstall a package like this...
urpme monitor-edid-2.5-1mdv2010.0.x86_64

See how you go. Regards Glenn
Quote:
/usr/lib/mozilla/plugins/npwrapper.so
is only necessary for viewing flash in a web page.

Last edited by GlennsPref; 12-04-2009 at 07:03 AM.
 
1 members found this post helpful.
Old 12-04-2009, 09:15 AM   #6
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
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,
 
1 members found this post helpful.
Old 12-04-2009, 11:44 AM   #7
pauljam20
Member
 
Registered: Mar 2009
Location: UK
Distribution: Ubuntu
Posts: 42

Original Poster
Rep: Reputation: 23
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.
 
Old 12-04-2009, 05:34 PM   #8
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
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:
I haven't been able to find out which is the display driver.
typing lsmod in a terminal will list all the loaded modules(drivers) on your system.

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:
intel 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device
Code:
lsmod | grep intel
If you have an intel based system that is bound to show a few modules,
(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
what this command does is
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

Last edited by GlennsPref; 12-04-2009 at 05:35 PM.
 
1 members found this post helpful.
Old 12-06-2009, 09:09 AM   #9
rolf
Member
 
Registered: Jul 2001
Location: Oakland, CA
Distribution: Mageia 5 x86_64
Posts: 187

Rep: Reputation: 33
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
 
1 members found this post helpful.
Old 12-07-2009, 07:15 AM   #10
pauljam20
Member
 
Registered: Mar 2009
Location: UK
Distribution: Ubuntu
Posts: 42

Original Poster
Rep: Reputation: 23
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:
Originally Posted by rolf View Post
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
 
Old 12-07-2009, 08:03 AM   #11
pauljam20
Member
 
Registered: Mar 2009
Location: UK
Distribution: Ubuntu
Posts: 42

Original Poster
Rep: Reputation: 23
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:
Originally Posted by GlennsPref View Post
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.......

cheers Glenn
 
Old 12-07-2009, 08:13 AM   #12
rolf
Member
 
Registered: Jul 2001
Location: Oakland, CA
Distribution: Mageia 5 x86_64
Posts: 187

Rep: Reputation: 33
Quote:
Simply edit your command line on the gfxboot by pressing [F3], then choose Default, end add i915.modeset=0 to the command line. Just press [Enter] to boot your computer
This refers to the graphical grub boot menu. Something like the attached screenie but with more choices, such as failsafe, perhaps a windows installation. When you see this menu screen, press F3 and add the i915.modeset=0 switch at the end of the kernel command line, separated by a space. In the linked post, I give more verbose instructions from the point of view of using the text grub menu, which I do, some of which apply to editing the menu entry for the graphical boot, also.

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
Attached Thumbnails
Click image for larger version

Name:	mandriva2.jpg
Views:	22
Size:	14.3 KB
ID:	2144  
 
1 members found this post helpful.
Old 12-07-2009, 07:40 PM   #13
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Hi, this could be another problem.
Quote:
fs.inotify.max_user_watches to 65536 in /etc/sysctl.conf
and may well be the culprit of your latest crash.

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
like this....using vi in a shell(cli) (if sudo is not setup, su to root first....
Code:
sudo vi /etc/sysctl.conf

press i to go to insert mode.
use arrows keys to navigate to the end of the file
copy this line....
fs.inotify.max_user_watches=65536
paste in to terminal(cli)
hit enter to get a blank line at the end.
press esc to exit insert mode.
press :wq to write the file and quit.
type exit to leave root if necessary.
after you have rebooted the kernel, test.
wait for a crash.....I hope you don't get any more.

please don't disregard rolf's advise.
Quote:
pressing [F3], then choose Default, end add i915.modeset=0 to the command line. Just press [Enter] to boot your computer
regards Glenn

Last edited by GlennsPref; 12-07-2009 at 07:42 PM.
 
1 members found this post helpful.
Old 12-08-2009, 12:50 PM   #14
pauljam20
Member
 
Registered: Mar 2009
Location: UK
Distribution: Ubuntu
Posts: 42

Original Poster
Rep: Reputation: 23
Mandriva Linux 2010.0 hanging

Rolf
Quote:
Originally Posted by rolf View Post
This refers to the graphical grub boot menu...
Your second post convinced me - and thanks for the simple explanation! I tried this on boot up and the PC ran for 24 hours without any problems, even using the F-Spot screensaver (although that didn't work properly until I rebooted), so I think you've cracked it! I've tried to find out what it does and I think it switches Kernel Mode-Setting off - I sort-of understand that, and that it is a new thing, which possibly needs development or is not suitable for my graphics card.

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!
 
Old 12-08-2009, 12:51 PM   #15
pauljam20
Member
 
Registered: Mar 2009
Location: UK
Distribution: Ubuntu
Posts: 42

Original Poster
Rep: Reputation: 23
Mandriva Linux 2010.0 hanging

Thanks Ernie - point taken!
Quote:
Originally Posted by ernie View Post
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,
 
  


Reply

Tags
hang, mandriva



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Mandriva Linux 2010, code name Adelie, is out! LXer Syndicated Linux News 0 11-04-2009 11:30 PM
Mandriva Linux 2010 RC2 Includes Moblin 2.0 downloadtube Linux - News 0 10-12-2009 03:07 AM
LXer: Mandriva Linux 2010 RC2: The End Is Near LXer Syndicated Linux News 0 10-12-2009 01:40 AM
LXer: Mandriva Linux 2010 RC2 available for tests LXer Syndicated Linux News 0 10-10-2009 07:50 PM
LXer: Mandriva Linux 2010 Alpha 1 released LXer Syndicated Linux News 0 06-22-2009 11:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration