LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 11-09-2004, 08:01 AM   #1
ksas025
LQ Newbie
 
Registered: Nov 2004
Posts: 6

Rep: Reputation: 0
Exclamation Gentoo, X locks up after long idle time


Hello Forum,

I have a real problem here. I have recently installed Gentoo on two IBM Think centre desktops. The desktops are pretty meaty with P4 3Ghz 1GB of Ram and 110 GB HD. Anyways gentoo installed great and works great throughout the day but the next day (after the boxes have been sitting idle overnight) X acts very funny. My consoles do not respond (Eterm) and when I attempt to open a new one I get a console window but no prompt!? The confusing part is that the computer is not locked. I can SSh into the box and check processes and everything LOOKS fine from there but the console on the X display remains practically unusable. After about 5 minutes or so of palying with the semi-locked X display it disappears and I am forced to reboot the machine if I wish to use X. And this happens on BOTH machines with almost identical software.

I have disabled power management in the BIOS and that did not help. I am forced to think that it might be the window manager (which is Enlightenment 0.9.5) but I would hate to switch to another. My next suspect is the on-board video card which is an Intel 865G chipset (i think). If it is the on-board video what are my options there? After that I pretty much out of options. There are some shared video ram settings in the BIOS that I have played with but that did not help either.

Please any ideas will be helpfull!

Alex
 
Old 11-09-2004, 10:48 AM   #2
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Did you turn off the screensaver?
 
Old 11-09-2004, 12:07 PM   #3
ksas025
LQ Newbie
 
Registered: Nov 2004
Posts: 6

Original Poster
Rep: Reputation: 0
You know, I have been looking for how to do that but I cant seem to find out how. I am not even sure if I have a screensaver enabled. Is it enabled by default? Where should I look to disable?

I have also re-compiled my kernel-2.6.9 to include support for APM but X is still complaining about not finding /dev/apm. Do you think that could have anything to do with it?
 
Old 11-09-2004, 01:33 PM   #4
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Lets see... only locks up when its been sitting idle for along time...

I think perhaps /dev/apm is outdated? who knows though, they replace too many directorys for me to keep track of...

anyway. You could try setting a small rodent on the keyboard and making it jump around all night :-D, that way it would stay active... Other than that... look for the xscreensaver process to be running... if it is, try killing it and maybe that'll keep the problems at bay.
 
Old 11-09-2004, 02:45 PM   #5
ksas025
LQ Newbie
 
Registered: Nov 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Code:
 PID TTY          TIME CMD
    1 ?        00:00:00 init
    2 ?        00:00:00 migration/0
    3 ?        00:00:00 ksoftirqd/0
    4 ?        00:00:00 events/0
    5 ?        00:00:00 khelper
    6 ?        00:00:00 kacpid
   21 ?        00:00:00 kblockd/0
   22 ?        00:00:00 khubd
   32 ?        00:00:00 pdflush
   33 ?        00:00:00 pdflush
   35 ?        00:00:00 aio/0
   34 ?        00:00:00 kswapd0
  623 ?        00:00:00 kseriod
  676 ?        00:00:00 ata/0
  677 ?        00:00:00 khpsbpkt
  704 ?        00:00:00 reiserfs/0
  926 ?        00:00:00 devfsd
 6083 ?        00:00:00 syslog-ng
 6319 ?        00:00:00 sshd
 6362 ?        00:00:00 cron
 6397 ?        00:00:00 gdm
 6398 ?        00:00:00 gdm
 6415 tty1     00:00:00 agetty
 6421 tty2     00:00:00 agetty
 6422 tty3     00:00:00 agetty
 6423 tty4     00:00:00 agetty
 6424 tty5     00:00:00 agetty
 6501 ?        00:01:55 X
 6425 tty6     00:00:00 agetty
 6744 ?        00:00:41 enlightenment
 6760 ?        00:00:00 ssh-agent
 6762 ?        00:00:00 Eterm
 6764 ?        00:00:00 multi-gnome-ter
 6765 pts/0    00:00:00 bash
 6769 ?        00:00:00 mgt-pty-helper
 6770 pts/1    00:00:00 bash
 6783 pts/0    00:00:00 tail
 6863 ?        00:00:00 sshd
 6865 pts/2    00:00:00 bash
 6869 pts/2    00:00:00 ps
Here is my process list and I dont see any type of xscreensaver running. /dev/apm could be outdated but it does'nt even exist! So you think apm could be the culprit? I went ahead and used the xset command to disable screensaver and dpms. Too bad Ill have to wait till tomorrow to see if that works. Thanks for your input.

Any other ideas would still be helpful. anyone.. anyone?

Last edited by ksas025; 11-09-2004 at 02:47 PM.
 
Old 11-10-2004, 07:11 AM   #6
ksas025
LQ Newbie
 
Registered: Nov 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Well, still did not work. I came into work this morning and X freaked out. I have disabled screen blanking and dpms and still nothing. The symptoms are much the same. X freezes after a long period of idle time then the screen goes blank and I am forced to reboot. When I look at the X logs it lists a warning about not being able to find /dev/apm. Does anyone know how to create that? Should it be created when kernel support is compiled in for that?

UPDATE:

I am going to add some logs here in the hope that someone will have some knowledge of what is going on with my linux box.

*.daemon:
Code:
ov  9 02:09:46 lookout gdmgreeter[6548]: No default session link found. Using Failsafe GNOME.
Nov  9 10:22:42 lookout gdm[6900]: gdm already running. Aborting!
Nov  9 10:23:12 lookout devfsd[924]: error calling: "unlink" in "GLOBAL"
Nov  9 10:23:12 lookout devfsd[924]: error calling: "unlink" in "GLOBAL"
Nov  9 10:23:12 lookout devfsd[924]: error calling: "unlink" in "GLOBAL"
Nov  9 10:23:12 lookout devfsd[924]: error calling: "unlink" in "GLOBAL"
Nov  9 10:37:18 lookout init: Switching to runlevel: 6
Nov  9 10:38:21 lookout gdmgreeter[6546]: No default session link found. Using Failsafe GNOME.
Nov  9 12:40:55 lookout gdmgreeter[6553]: No default session link found. Using Failsafe GNOME.
Nov  9 14:27:14 lookout gdmgreeter[7549]: No default session link found. Using Failsafe GNOME.
Nov  9 14:27:18 lookout gdm[6410]: Master rebooting...
Nov  9 14:27:18 lookout init: Switching to runlevel: 6
Nov  9 14:28:11 lookout gdmgreeter[6540]: No default session link found. Using Failsafe GNOME.
Nov  9 14:41:51 lookout gdmgreeter[6618]: No default session link found. Using Failsafe GNOME.
Nov  9 14:46:55 lookout gdmgreeter[6668]: No default session link found. Using Failsafe GNOME.
Nov 10 02:47:22 lookout gdm[6398]: gdm_slave_xioerror_handler: Fatal X error - Restarting :0
Nov 10 09:22:05 lookout gdmgreeter[6550]: No default session link found. Using Failsafe GNOME.
Nov 10 09:44:27 lookout gdmgreeter[6726]: No default session link found. Using Failsafe GNOME.
Nov 10 09:44:32 lookout gdm[6407]: Master rebooting...
Nov 10 09:44:32 lookout init: Switching to runlevel: 6
Nov 10 09:45:27 lookout init: Activating demand-procedures for 'A'
Nov 10 09:45:29 lookout devfsd[924]: error calling: "unlink" in "GLOBAL"
Nov 10 09:45:29 lookout devfsd[924]: error calling: "unlink" in "GLOBAL"
Nov 10 09:45:32 lookout gdmgreeter[6618]: No default session link found. Using Failsafe GNOME.
Nov 10 09:47:40 lookout init: Switching to runlevel: 6
Nov 10 09:48:33 lookout init: Activating demand-procedures for 'A'.
Xorg.*: WW, no EE exist in the log.
Code:
 (WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(WW) I810(0): Extended BIOS function 0x5f11 not supported.
(WW) I810(0): Bad V_BIOS checksum
*(WW) (1280x1024,ibm_mon) mode clock 135MHz exceeds DDC maximum 110MHz
(WW) (1280x1024,ibm_mon) mode clock 157.5MHz exceeds DDC maximum 110MHz
*(WW) (1600x1200,ibm_mon) mode clock 162MHz exceeds DDC maximum 110MHz
(WW) (1600x1200,ibm_mon) mode clock 175.5MHz exceeds DDC maximum 110MHz
(WW) (1600x1200,ibm_mon) mode clock 189MHz exceeds DDC maximum 110MHz
(WW) (1600x1200,ibm_mon) mode clock 202.5MHz exceeds DDC maximum 110MHz
(WW) (1600x1200,ibm_mon) mode clock 229.5MHz exceeds DDC maximum 110MHz
*(WW) (1920x1440,ibm_mon) mode clock 234MHz exceeds DDC maximum 110MHz
(WW) (1920x1440,ibm_mon) mode clock 297MHz exceeds DDC maximum 110MHz
(WW) (1920x1440,ibm_mon) mode clock 341.35MHz exceeds DDC maximum 110MHz
(WW) I810(0): Extended BIOS function 0x5f05 failed.
(WW) I810(0): Failed to set refresh rate to 70Hz.
(WW) I810(0): Extended BIOS function 0x5f61 not supported.
If somebody sees something that looks familiar, please let me know.

Thanks

Alex


Last edited by ksas025; 11-10-2004 at 12:23 PM.
 
  


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
Mandrake 9.2 network locks up from time to time Mugatu Mandriva 9 12-23-2006 04:18 PM
Screen goes blank after being idle 4 a long time & then all input devices freeze! hari_seldon99 Linux - General 10 07-13-2005 12:31 AM
Long Time Reader - 1st Time Poster prissed LinuxQuestions.org Member Intro 1 08-10-2004 11:13 AM
Screen goes blank after being idle 4 a long time & then all input devices freeze! hari_seldon99 Linux - Newbie 2 01-28-2004 07:45 PM
monitor locks up when idle marsonist Linux - General 10 02-18-2003 09:29 AM


All times are GMT -5. The time now is 03:42 PM.

Main Menu
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