LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-07-2005, 11:52 PM   #1
Astro96
LQ Newbie
 
Registered: Jul 2003
Distribution: Ubuntu 6.06 and Fedora Core 5
Posts: 9

Rep: Reputation: 0
Reboot instead of shutdown on Dell Dimension 4100?


Hello,
I am using Fedora Core 3 on a Dell Dimension 4100 with the standard power supply and motherboard. The system is used mostly for recording TV (using MythTV) and it works great. However, often (although certainly not always) after recording a show the system will automatically shut it self down (it is supposed to do that) but about 3 seconds after shutdown (the drives spin down and everything) it powers up. Then the system boots. It acts like it was given a reboot comand.

I am not using any funny commands to shut the system down and often it works. Can anyone think of a reason why it would reboot instead of shutdown so sporadically?

Thank you!
Astro96
 
Old 05-08-2005, 03:18 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,117

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
I have never managed to get mythtv working, but I am aware that it has the facility to "wake up" a turned-off computer, if your BIOS supports this feature. The idea is that you can tell the BIOS to turn on the computer at a certain time (ie a few minutes before you want to start recording). Maybe you have this feature enabled? Check your myth setup / BIOS settings.
 
Old 05-08-2005, 11:05 AM   #3
Astro96
LQ Newbie
 
Registered: Jul 2003
Distribution: Ubuntu 6.06 and Fedora Core 5
Posts: 9

Original Poster
Rep: Reputation: 0
No, I know for a fact that my BIOS does not support that function. It would have saved me a huge wake-on-lan hassle!

Also, in case anyone wanted to know the command that I am using to shut the system down is

sudo /sbin/halt -p

it is being run as root so I guess that the sudo is unnecessary

I tried running that command from the terminal and it shutdown correctly.

Astro96
 
Old 05-14-2005, 08:46 PM   #4
Astro96
LQ Newbie
 
Registered: Jul 2003
Distribution: Ubuntu 6.06 and Fedora Core 5
Posts: 9

Original Poster
Rep: Reputation: 0
Hi,
I have one more thing to add -- Once the machine is in a reboot instead of shutdown cycle, the only way to turn it off is to pull the power. Everything I tried short of that produced a reboot.

Astro96
 
Old 05-15-2005, 03:00 AM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,117

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Well, something must be telling your PC to restart.

Above, you mention having had a "wake on LAN hassle", and I wonder if this is somehow waking your PC up. Does it shutdown properly if you have the LAN disconnected?
 
Old 05-19-2005, 07:46 AM   #6
Astro96
LQ Newbie
 
Registered: Jul 2003
Distribution: Ubuntu 6.06 and Fedora Core 5
Posts: 9

Original Poster
Rep: Reputation: 0
Hi,
Thanks for your reply. I did tried disconnecting the LAN cable during a cycle like this and it did not make a difference so I don't think it is wake on LAN. It seems like Fedora Core 3 is telling the machine to reboot instead of shutdown even though it goes to run level 0.

Thanks!
Astro96
 
Old 05-19-2005, 03:43 PM   #7
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,117

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Sorry, I am not familiar with FC3 but something appears to be misconfigured. It is probably quite simple - but... where to find it?

As you & I are the only ones following this thread, may I suggest you re-post it and hope someone else has the experience to help you? Altenatively, you might try another distribution of linux, sometimes this helps.

One other thing, and this is just a guess - you say in the above (8-5-2005) that you are running as root : root has global permissions, maybe you should try running these programs as a regular user that doesn't default to root's permissions. Perhaps there is something in your local user defaults that is needed but not being applied correctly because you are running as root.

I'd sugggest you do some investicgations, and repost your queries.

Good luck, and persevere -it is worth it in the end!
 
Old 05-24-2005, 05:08 PM   #8
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
It may be worth verifying that your system does indeed go into runlevel 0 instead of runlevel 6. There are distribution dependant issues with where these things are, and I'm using a SuSE system right now. Things are probably the same, but no guarantees.

You should have a folder at /etc/inittab.d and in it there should be a bunch of scripts and folders. These are used when runlevels are changed. Two of the folders, rc0.d and rc6.d are for shutdown and reboot (respectively). In each of them, there should be one script each (usually a link to a script, but who's counting). These are the scripts that actually prepare your system to halt or restart. I'd try this:

add a bunch of echo statements to each of the two scripts right after the initial comments, something like:

Code:
#! /bin/sh
#
#This program was written by so-and-so
#And is meant to do such-and-such and reboot the system
#written on 01-01-01 in never never land

#added code to learn what is wrong with shutdown
echo "rebooting..."
echo "rebooting..."
echo "rebooting..."
If you have different text in each file, you will be able to see it when you tell the system to shut down. This way, you will know if you are entering runlevel 0 or runlevel 6. This will not solve anything on it's own, but will be valuable to learn where the problem might be.



Last edited by gd2shoe; 05-24-2005 at 05:09 PM.
 
Old 05-27-2005, 01:31 PM   #9
Astro96
LQ Newbie
 
Registered: Jul 2003
Distribution: Ubuntu 6.06 and Fedora Core 5
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks. I will give that a try (although I think it is going to runlevel 0 becuase it says "INIT: Entering runlevel 0")

Astro96
 
Old 05-30-2005, 01:11 AM   #10
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
Yeah, that would be a pretty big hint
 
Old 06-22-2005, 10:46 AM   #11
jrehm
LQ Newbie
 
Registered: Jun 2005
Posts: 1

Rep: Reputation: 0
I'm having the same reboot issue on two new Dell OptiPlex machines with WinXP Pro. I'm wondering if there's something going on with Dell in general.
 
Old 06-28-2005, 05:55 PM   #12
Astro96
LQ Newbie
 
Registered: Jul 2003
Distribution: Ubuntu 6.06 and Fedora Core 5
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by jrehm
I'm having the same reboot issue on two new Dell OptiPlex machines with WinXP Pro. I'm wondering if there's something going on with Dell in general.
Hmmm, that is interesting. I still haven't solved my issue, but if you find anything let me know.

Does yours reboot every time? My will shutdown normally about half of the time.

Astro96
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need good ACPI config for Dell Inspirion 4100 running FC3, kernel 2.6.10 mmeckes Linux - Laptop and Netbook 0 04-17-2005 01:30 PM
Slaskware new install on dell inspiron 4100 hardraj Linux - Laptop and Netbook 3 08-02-2004 11:46 AM
Dell Inspiron 4100 Mandrake 9.0 sound problems xezton Linux - Laptop and Netbook 1 09-29-2003 05:05 AM
RedHat 8.0 on a Dell Dimension 4100 patazathoth Linux - Distributions 2 11-08-2002 10:38 AM
RedHat 7.2 on Dell inspiron 4100 uniquex999 Linux - Software 0 01-10-2002 10:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:58 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