LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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



Reply
 
Search this Thread
Old 07-04-2010, 05:06 PM   #1
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: *buntu, Vector
Posts: 499

Rep: Reputation: 102Reputation: 102
System crashes


Recently (within the last week or so) I've been having system crashes.

Numlock responds, mouse pointer responds.
Music stops playing, GUI does not respond, Caps Lock does nothing, Ctrl+Alt+F1 does nothing, Alt+SysRq+R,E,I,S,U,B does nothing. I have to hit the reset switch.

The crashes have only ever happened when a Youtube video is playing, and usually I'm on another tab. EDIT: On the 16th July they happened when nowhere near Youtube

I'm running Arch Linux 64-bit, KDE 4 desktop environment, Firefox web browser, official flash plugin, and the nvidia graphics driver. I update my system fairly regularly (usually at least weekly).

Any ideas as for how to resolve this, pointers to log files that might be informative, etc?

Last edited by cantab; 07-16-2010 at 04:36 PM. Reason: crashes even when Youtube not playing
 
Old 07-04-2010, 07:19 PM   #2
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
Does it happen if you use the open source 'nv' or 'nouveau' drivers? If not, it's clearly related to the nvidia driver and something you should report to them: http://nvnews.net/vbulletin/forumdisplay.php?f=14
 
Old 07-08-2010, 05:03 PM   #3
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: *buntu, Vector
Posts: 499

Original Poster
Rep: Reputation: 102Reputation: 102
Well I've only just got round to changing to the nv drivers. With it being an intermittent problem will take a few days to be sure.
 
Old 07-10-2010, 06:25 PM   #4
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: *buntu, Vector
Posts: 499

Original Poster
Rep: Reputation: 102Reputation: 102
Just had the same kind of crash happen under the nouveau driver. The Youtube video wasn't even the active tab, I was scrolling down another webpage and BAM!

It didn't crash under the nv driver (though that could simply be luck), but that lacks features I really need, specifically xv support.
 
Old 07-12-2010, 12:31 PM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
I don't know if this will help, but I like to watch YouTube in HTML5 using Chromium, no Flash.

Also the flashplayer package somehow failed to update/install, so I went with Gnash and it seems to play embedded YouTube videos fine.
 
Old 07-12-2010, 12:41 PM   #6
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: *buntu, Vector
Posts: 499

Original Poster
Rep: Reputation: 102Reputation: 102
Don't like Chromium, but I could give Gnash a go.
 
Old 07-12-2010, 01:04 PM   #7
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
Chromium is the only browser I tried that can even run the HTML5 player. The other popular browsers should probably catch up soon.
 
Old 07-16-2010, 04:35 PM   #8
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: *buntu, Vector
Posts: 499

Original Poster
Rep: Reputation: 102Reputation: 102
Well today I've just had two crashes without going anywhere near flash. Once while doing ordinary web browsing, the second while watching a video on mplayer.

Seriously, this is like the bad old days of Windows 98. Not what I expect from my GNU/Linux system.
 
Old 07-17-2010, 12:54 PM   #9
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: *buntu, Vector
Posts: 499

Original Poster
Rep: Reputation: 102Reputation: 102
OK, some progress.

Ruled out: Temperature issues, memory problems, being hacked.
(Took the cover off and added a second case fan, still crashed. Ran memtest86+, passed. Ran chkrootkit from a livecd and also checked /etc/passwd, nothing found.)

Now, checked logs. In Xorg.0.log, found
Code:
[  5656.221] [mi] EQ overflowing. The server is probably stuck in an infinite loop.
[  5656.243] 
Backtrace:
[  5656.293] 0: /usr/bin/X (xorg_backtrace+0x28) [0x498588]
[  5656.293] 1: /usr/bin/X (mieqEnqueue+0x1f4) [0x4952f4]
[  5656.293] 2: /usr/bin/X (xf86PostMotionEventP+0xc4) [0x476504]
[  5656.293] 3: /usr/lib/xorg/modules/input/evdev_drv.so (0x7eff0d86f000+0x3ccf) [0x7eff0d872ccf]
[  5656.293] 4: /usr/bin/X (0x400000+0x707d7) [0x4707d7]
[  5656.294] 5: /usr/bin/X (0x400000+0x106513) [0x506513]
[  5656.294] 6: /lib/libpthread.so.0 (0x7eff13482000+0xf1c0) [0x7eff134911c0]
[  5656.294] 7: /lib/libc.so.6 (ioctl+0x7) [0x7eff124be5b7]
[  5656.302] 8: /usr/lib/libdrm.so.2 (drmIoctl+0x28) [0x7eff0ed0c568]
[  5656.302] 9: /usr/lib/libdrm.so.2 (drmCommandWrite+0x1b) [0x7eff0ed0e82b]
[  5656.302] 10: /usr/lib/libdrm_nouveau.so.1 (0x7eff0e6ce000+0x2d8d) [0x7eff0e6d0d8d]
[  5656.302] 11: /usr/lib/libdrm_nouveau.so.1 (nouveau_bo_map_range+0xfe) [0x7eff0e6d139e]
[  5656.302] 12: /usr/lib/libdrm_nouveau.so.1 (0x7eff0e6ce000+0x1f1d) [0x7eff0e6cff1d]
[  5656.302] 13: /usr/lib/libdrm_nouveau.so.1 (nouveau_pushbuf_flush+0x1af) [0x7eff0e6d047f]
[  5656.302] 14: /usr/lib/xorg/modules/drivers/nouveau_drv.so (0x7eff0e8d3000+0x21b04) [0x7eff0e8f4b04]
[  5656.302] 15: /usr/lib/xorg/modules/libexa.so (0x7eff0e06f000+0xcc96) [0x7eff0e07bc96]
[  5656.302] 16: /usr/lib/xorg/modules/libexa.so (0x7eff0e06f000+0xdcba) [0x7eff0e07ccba]
[  5656.302] 17: /usr/bin/X (0x400000+0xc604b) [0x4c604b]
[  5656.302] 18: /usr/bin/X (0x400000+0xbe41e) [0x4be41e]
[  5656.302] 19: /usr/bin/X (0x400000+0x2804c) [0x42804c]
[  5656.302] 20: /usr/bin/X (0x400000+0x2173a) [0x42173a]
[  5656.302] 21: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7eff12415c4d]
[  5656.302] 22: /usr/bin/X (0x400000+0x212f9) [0x4212f9]
Googling reveals this Ubuntu bug, which seems like it might be related. Doesn't help that X seems good at giving uninformative error messages.
I've put
Code:
Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection
in my xorg.conf. Will see if that helps. Or maybe I could try removing xorg.conf altogether and seeing if the autoconfig gets it right?

Another weird aspect of the symptoms: If amarok is playing a track, the current track plays out, but the next one does not start. Dunno what to make of that.

EDIT:Also, how can I change the thread title, now that it's clear the problem is not necessarily related to flash?

Last edited by cantab; 07-17-2010 at 12:58 PM.
 
Old 07-18-2010, 12:11 PM   #10
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: *buntu, Vector
Posts: 499

Original Poster
Rep: Reputation: 102Reputation: 102
Well, it crashed under the Linux Mint LiveCD too. So it's not a problem with my Arch install. I've now pulled the nvidia card and switched to the onboard graphics. Still running off LiveCDs, will see if it crashes again, if not I think I can blame the nvidia card. And my system is a LOT quieter now, seems the tiny little fan on the card was by far the loudest.
 
Old 07-18-2010, 03:12 PM   #11
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 55
You could also try an ATI card (I have the HD 4350 and it works fine with FGLRX) and see if that helps.

May I ask: What model nVidia card do you have?
 
Old 07-18-2010, 03:17 PM   #12
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: *buntu, Vector
Posts: 499

Original Poster
Rep: Reputation: 102Reputation: 102
It's a GeForce 210, quite low end. The onboard graphics are a Raedon 2100.
 
Old 07-18-2010, 03:34 PM   #13
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 55
Quote:
Originally Posted by cantab View Post
Code:
[  5656.221] [mi] EQ overflowing. The server is probably stuck in an infinite loop.
[  5656.243] 
Backtrace:
[  5656.293] 0: /usr/bin/X (xorg_backtrace+0x28) [0x498588]
[  5656.293] 1: /usr/bin/X (mieqEnqueue+0x1f4) [0x4952f4]
[  5656.293] 2: /usr/bin/X (xf86PostMotionEventP+0xc4) [0x476504]
[  5656.293] 3: /usr/lib/xorg/modules/input/evdev_drv.so (0x7eff0d86f000+0x3ccf) [0x7eff0d872ccf]
[  5656.293] 4: /usr/bin/X (0x400000+0x707d7) [0x4707d7]
[  5656.294] 5: /usr/bin/X (0x400000+0x106513) [0x506513]
[  5656.294] 6: /lib/libpthread.so.0 (0x7eff13482000+0xf1c0) [0x7eff134911c0]
[  5656.294] 7: /lib/libc.so.6 (ioctl+0x7) [0x7eff124be5b7]
[  5656.302] 8: /usr/lib/libdrm.so.2 (drmIoctl+0x28) [0x7eff0ed0c568]
[  5656.302] 9: /usr/lib/libdrm.so.2 (drmCommandWrite+0x1b) [0x7eff0ed0e82b]
[  5656.302] 10: /usr/lib/libdrm_nouveau.so.1 (0x7eff0e6ce000+0x2d8d) [0x7eff0e6d0d8d]
[  5656.302] 11: /usr/lib/libdrm_nouveau.so.1 (nouveau_bo_map_range+0xfe) [0x7eff0e6d139e]
[  5656.302] 12: /usr/lib/libdrm_nouveau.so.1 (0x7eff0e6ce000+0x1f1d) [0x7eff0e6cff1d]
[  5656.302] 13: /usr/lib/libdrm_nouveau.so.1 (nouveau_pushbuf_flush+0x1af) [0x7eff0e6d047f]
[  5656.302] 14: /usr/lib/xorg/modules/drivers/nouveau_drv.so (0x7eff0e8d3000+0x21b04) [0x7eff0e8f4b04]
[  5656.302] 15: /usr/lib/xorg/modules/libexa.so (0x7eff0e06f000+0xcc96) [0x7eff0e07bc96]
[  5656.302] 16: /usr/lib/xorg/modules/libexa.so (0x7eff0e06f000+0xdcba) [0x7eff0e07ccba]
[  5656.302] 17: /usr/bin/X (0x400000+0xc604b) [0x4c604b]
[  5656.302] 18: /usr/bin/X (0x400000+0xbe41e) [0x4be41e]
[  5656.302] 19: /usr/bin/X (0x400000+0x2804c) [0x42804c]
[  5656.302] 20: /usr/bin/X (0x400000+0x2173a) [0x42173a]
[  5656.302] 21: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7eff12415c4d]
[  5656.302] 22: /usr/bin/X (0x400000+0x212f9) [0x4212f9]
Googling reveals this Ubuntu bug, which seems like it might be related. Doesn't help that X seems good at giving uninformative error messages.
Please note that an infinite loop is a programming error (something like this):

Code:
float x = 0.1;
while (x != 1.1) {
    printf("x = %f\n", x);
    x = x + 0.1;
}
An infinite loop, by definition, is a loop (as in for or while) that unconditionally returns back to where it started from, which can cause a program to hang. Supposedly, that is what your X is reporting.
 
Old 07-20-2010, 07:01 PM   #14
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: *buntu, Vector
Posts: 499

Original Poster
Rep: Reputation: 102Reputation: 102
Well, I downgraded and am now posting from Arch again. No hangups...yet.

The procedure was roughly as follows. Note that I also had to redo my X setup to use the ATI graphics.

Boot from a LiveCD.
Change Arch's /etc/pacman.conf to use the Arch Rollback Machine. The 20th June is the last date to have Xorg 1.7, though I used the 19th.
Change Arch's /etc/inittab to boot to runlevel 3.
If you normally use the network manager system tray applet, download the package for cnetworkmanager. I could NOT get my wireless working using iwconfig and ifconfig for some reason.
Reboot into Arch.
If needed, install cnetworkmanager and then use it to connect to the internet.
pacman -Syy, pacman -Suuf
edit xorg.conf if needed
init 5 (or maybe startx, but that fails if KMS is in use) to check things work
set inittab back to boot into runlevel 5
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can't play youtube videos vinic222 Linux - Newbie 29 10-13-2010 06:05 PM
whole fedora 10 crashes (and reboots) on playing videos in full screen mode manoj_isi Linux - Hardware 1 03-17-2010 10:57 AM
Fedora 11 Playing youtube videos ceantuco Linux - Newbie 14 11-11-2009 11:20 PM
Flashplayer 10 crashes firefox when I try to watch youtube videos fullscreen Slacker Steve Slackware 18 12-21-2008 02:22 AM
LXer: Youtube-dl - Download videos from Youtube in openSUSE LXer Syndicated Linux News 1 08-14-2008 09:10 AM


All times are GMT -5. The time now is 05:27 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration