LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-08-2006, 07:00 PM   #1
elmurado
LQ Newbie
 
Registered: Dec 2005
Posts: 27

Rep: Reputation: 15
Question Fedora Core standby or hibernates erratically


Hi,
I have FC4 loaded on an old p3 box with 256 Mb RAM, two Western Digital 20Gb drives.

i have set it up as a headless box so i can VNC into it and not have a monitor attached.

However, the issue I get is this--if i do have a monitor attached or not.

the system seems to go into sleep mode and no amount of keyboard action/mouse action will wake it up.

also, after a certain amount of time, when it does 'sleep' it will stop replying to pings.

so the only thing I can do is hard reboot.

Has anyone seen this thing before--how do i manage power settings or how do i find look through logs which might point to some kind of BIOS/ACPI/APM setting which is doing this.

Weird thing is, the screen goes blank but the monitor does not go into standby(the power light stays green).
 
Old 03-09-2006, 08:29 AM   #2
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
What CPU is it specifically? What chipset?

Here are some ideas.

* Read the Fedora release notes on how to forcefully disable APM and ACPI. See if that changes anything.
* Log in using some remote shell (ssh or telnet) and run 'top' for a while to see what launches or uses large amounts of CPU - around the time you might expect this odd behavior.
* Look into '/var/log/messages' to see if there is any extra information there.
* Try booting into runlevel 3 only (no X-server) and see if changes.
* Try a newer (or older kernel) - NOTE however that this may make things worse - sometimes.

Some problems I've had in the past (which are probably totally unrelated, but just some ideas).
* Faulty BIOS which would put the computer into a odd state.
* A X-server problem which would somehow run away, ignore input and lock all input/output -- BUT the network would still work.
 
Old 03-10-2006, 12:24 AM   #3
elmurado
LQ Newbie
 
Registered: Dec 2005
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks mjmwired.
Is there a command i can run to list components and CPU speed etc? does top do this with some switch?
 
Old 03-10-2006, 07:36 AM   #4
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
The 'top' command does give some resource usage information, such as amount of cpu used, memory consumption, and most importantly the highest processes running.

If you want to see cpu information run:
cat /proc/cpuinfo
(but this is static information, as it does not change)
If you want to see your devices run:
/sbin/lspci
 
Old 03-12-2006, 05:43 PM   #5
elmurado
LQ Newbie
 
Registered: Dec 2005
Posts: 27

Original Poster
Rep: Reputation: 15
What you said here:
"* A X-server problem which would somehow run away, ignore input and lock all input/output -- BUT the network would still work"
seems to actually be relevant.
I get to work this morning and I can't vnc to the box--but it seems like the network card is working-i have an Apache server running on the box in question which had obviously been accepting connections from clients on our LAN. (i could see this from last logins). Did you work out how to solve the X-server problem?

As for running in level 3-would this disable apache/Mysql?

TIA
 
Old 03-12-2006, 08:26 PM   #6
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
I never found the exact root cause of the problem. I had some varying success after upgrading both the bios and kernel on the system. Which may have had nothing to do with it, but reduced the problem. In the end, I guessed it was poor chipset on the motherboard and replaced the motherboard. Since then, I've never had the problem.

Using runlevel 3 will not prevent apache/mysql. Just make sure they are both enabled for runlevel 3 and 5:

# chkconfig --level 35 httpd on
# chkconfig --level 35 mysqld on
 
Old 03-12-2006, 08:30 PM   #7
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Some BIOSes have an automatic sleep feature. I had a machine do this and it was a simple matter of changing one setting in the BIOS (telling it never to put the machine in sleep mode).
 
Old 03-12-2006, 09:26 PM   #8
elmurado
LQ Newbie
 
Registered: Dec 2005
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks guys. Checking now.
Now if this is a server and not a notebook--there shouldn't be any reason to have the apmd daemon running, should there? I can't see why it is--I didn't set it to run on install and don't remember turning it on so I'm guessing it runs by default.
 
  


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
Severe problems with Fedora Core 1 and Fedora Core 2 installatiom TheOneKEA Fedora - Installation 2 07-14-2004 02:12 PM
Fedor Core 2 Monitor Standby Work Around harley51 Fedora 1 07-06-2004 08:42 PM
Fedora Core 2 Monitor Standby Mode harley51 Fedora 3 06-01-2004 06:39 AM
Fedora Core 2 - Just days away! Final comments on Fedora Core 1 lrt2003 Fedora 3 05-12-2004 02:09 AM
Fedora install problem - laptop goes into standby mode GrahamUK25 Linux - Newbie 3 01-17-2004 11:16 AM


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