PDA

View Full Version : Lockup on boot/shutdown - Green spots on black background



mcarle1
11th January 2007, 11:01 AM
I have recently upgraded a computer from FC3 to FC6. Under FC3 I would occasionally get a lock up on shutdown where the screen would go black with green spots on it (mainly black). This only happened once every couple of months however.

After upgrading to FC6, I am having the same thing happening, but now it is much more frequent and it happens on both startup and shutdown. I would say it happens about 1 in 5 startup/shutdown cycles.

It seems to me like a hardware problem (maybe video card), but I cannot understand why it has now become much more frequent. In addition, it never happens while the system is running - only on startup/shutdown.

The computer is a P4 3GHz with a GeForce FX 5600. I am using Nvidia 8776 drivers.

I would be very grateful if anyone has any ideas.

InKo
11th January 2007, 11:17 AM
did you find any suspects in /var/log/messages?

paul matthijsse
11th January 2007, 12:29 PM
my guess is that is not your hardware, but something with X drivers or configurations. I had similar problems with FC4, during bootup my screen was trembling and stayed like that, also when in X. Rebooting (sometimes several times) solved that. I found out that adding "vga=773" at the boot prompt was the solution.

Now with FC6 on the same machine, I see this nearly always while shutting down the system, after X has closed and the terminal says which services are being stopped. No big problem, only ugly. Startup is ok btw.

One thing I stopped doing is that once my video works like it has to, I do not upgrade X stuff anymore. That gave me these problems in the past.

I suggest you do a search on this forum for your videocard and/or those drivers.

EDIT: And have a look (as su) at /var/log/Xorg.0.log as well.

Paul.

mcarle1
12th January 2007, 08:15 AM
Thank you both for your ideas. I will have a look at /var/log/messages and Xorg.0.log next time it does it. I guess it might also be worth trying a different driver version.

mcarle1
15th January 2007, 10:29 AM
I can't see any sign of a problem in Xorg.0.log. I have included some pieces of my /var/log/messages below, but I can't see any problems. I have noted the point at which logging stops due to the freeze. It seemed to be happening around the same time as smartd started/stopped, but I have tried disabling it and the problem still exists. Any more ideas?

On startup:


...
Jan 14 10:31:07 mythtv avahi-daemon[2706]: Registering HINFO record with values 'I686'/'LINUX'.
Jan 14 10:31:08 mythtv avahi-daemon[2706]: Server startup complete. Host name is mythtv.local. Local service cookie is 2604709120.
Jan 14 10:31:09 mythtv avahi-daemon[2706]: Service "SFTP File Transfer on mythtv" (/services/sftp-ssh.service) successfully established.
Jan 14 10:31:13 mythtv lircd-0.8.1-CVS[2807]: lircd(userspace) ready
Jan 14 10:31:14 mythtv smartd[2825]: smartd version 5.36 [i386-redhat-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Jan 14 10:31:14 mythtv smartd[2825]: Home page is http://smartmontools.sourceforge.net/
Jan 14 10:31:14 mythtv smartd[2825]: Opened configuration file /etc/smartd.conf
Jan 14 10:31:14 mythtv smartd[2825]: Configuration file /etc/smartd.conf parsed.
Jan 14 10:31:14 mythtv smartd[2825]: Device: /dev/hda, opened
Jan 14 10:31:14 mythtv smartd[2825]: Device: /dev/hda, found in smartd database.
Jan 14 10:31:14 mythtv smartd[2825]: Device: /dev/hda, is SMART capable. Adding to "monitor" list.
Jan 14 10:31:14 mythtv smartd[2825]: Device: /dev/sda, opened
Jan 14 10:31:14 mythtv smartd[2825]: Device: /dev/sda, found in smartd database.
Jan 14 10:31:14 mythtv smartd[2825]: Device: /dev/sda, is SMART capable. Adding to "monitor" list.
Jan 14 10:31:14 mythtv smartd[2825]: Monitoring 2 ATA and 0 SCSI devices
Jan 14 10:31:15 mythtv smartd[2827]: smartd has fork()ed into background mode. New PID=2827.

------------- SYSTEM DIES HERE -------------

Jan 14 10:31:15 mythtv init: open(/dev/pts/0): No such file or directory
Jan 14 10:31:15 mythtv last message repeated 5 times
Jan 14 10:31:16 mythtv pcscd: winscard.c:219:SCardConnect() Reader E-Gate 0 0 Not Found
Jan 14 10:31:16 mythtv last message repeated 3 times
Jan 14 10:31:17 mythtv kernel: agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
Jan 14 10:31:17 mythtv kernel: agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
Jan 14 10:31:17 mythtv kernel: agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
Jan 14 10:31:29 mythtv lircd-0.8.1-CVS[2807]: accepted new client on /dev/lircd
Jan 14 10:31:29 mythtv lircd-0.8.1-CVS[2807]: initializing '/dev/hiddev0'
Jan 14 10:31:31 mythtv lircd-0.8.1-CVS[2807]: accepted new client on /dev/lircd
...


On shutdown:


...
Jan 14 14:19:13 mythtv kernel: end_request: I/O error, dev fd0, sector 0
Jan 14 14:19:25 mythtv kernel: end_request: I/O error, dev fd0, sector 0
Jan 14 14:19:25 mythtv kernel: Buffer I/O error on device fd0, logical block 0
Jan 14 14:19:37 mythtv kernel: end_request: I/O error, dev fd0, sector 0
Jan 14 14:19:37 mythtv kernel: Buffer I/O error on device fd0, logical block 0
Jan 14 14:19:38 mythtv shutdown[4656]: shutting down for system reboot
Jan 14 14:19:38 mythtv lircd-0.8.1-CVS[2807]: removed client
Jan 14 14:19:38 mythtv lircd-0.8.1-CVS[2807]: closing '/dev/hiddev0'

------------- SYSTEM DIES HERE -------------

Jan 14 14:19:39 mythtv smartd[2827]: smartd received signal 15: Terminated
Jan 14 14:19:39 mythtv smartd[2827]: smartd is exiting (exit status 0)
Jan 14 14:19:40 mythtv avahi-daemon[2706]: Got SIGTERM, quitting.
...

paul matthijsse
15th January 2007, 11:55 AM
Sorry, can't make any educated comments based on those logs, except for that I/O error on dev fd0. Linux does not like I/O errors and indeed can freeze when it encouters one. But dev fd0, isn't that the floppy drive? Perhaps the thing stays mounted or something, due to your system hangs? Does anything tries to write to or read from floppy? Can you unmount it and see if your problem persists of disappears?

Paul.

mcarle1
15th January 2007, 12:22 PM
Sorry, can't make any educated comments based on those logs, except for that I/O error on dev fd0. Linux does not like I/O errors and indeed can freeze when it encouters one. But dev fd0, isn't that the floppy drive? Perhaps the thing stays mounted or something, due to your system hangs?


The system doesn't have a floppy drive in it. Maybe I should try to disable it in the BIOS if that hasn't already been done.

mcarle1
20th January 2007, 05:24 AM
Unfortunately disabling the floppy drive didn't help.

mcarle1
5th February 2007, 02:44 AM
I've finally managed to upgrade the nvidia driver to 9746. Now the same thing happens but the screen is just black - no more green dots.

mcarle1
14th February 2007, 10:29 AM
I've disabled graphical boot. Now it only locks up on shutdown. Maybe it is something to do with X shutting down.