LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-24-2007, 01:15 PM   #1
nomb
Member
 
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Rep: Reputation: 58
FC6 - Shutdown Question


I'm having a problem on my mythbox which is running FC6. When I shutdown the computer the screen goes black and I see the mouse cursor. It doesn't go into the shutdown process at all. This is using the shutdown command from the command prompt. When I click the shutdown button in KDE nothing the same thing happens. However when I use reboot, it reboots correctly. Another note, originally on shutdown it did finish until it got to the end and you saw acpi_poweroff. Which I'm assuming is the command to turn off the computer but it isn't working. Any help would be appreciated thank you.

Nomb
 
Old 01-24-2007, 05:21 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Your machine may not be apci compliant. Give this a try. On boot when it gets to the kernel choices hit the e key and add the option ' noapci ' to the end of the kernel line. Hit b to boot. Shutdown and see if that works.

Brian
 
Old 01-25-2007, 05:29 AM   #3
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Rep: Reputation: 34
So did that work????
I've got exactly the same problem, but it doesn't happen every time, probably about 80% fail 20% OK. I'm fairly sure this machine is apci compliant, but I'll give that trick a try and see what happens.

This machine also goes into hibernate OK which is effectivelly the same as shutdown + saving current state.
Also responds perfectly well to "halt" from a root terminal.
 
Old 01-25-2007, 06:52 AM   #4
Ryptyde
Member
 
Registered: Jun 2004
Location: Tragic City,Michigan,USA
Distribution: Fedora 23 Fedora 22
Posts: 244

Rep: Reputation: 39
I had the same problem a while back along with others who were having "shutdown" problems. This is the solution that works for me and others who had same problem.
Quote:
Originally Posted by Jack Malmostoso
Hi guys,
I have been having this same problem on my old PIII 550 on a BX440 motherboard with a 1999 BIOS.

That said, the kernel argument that does the trick is "acpi=force". You have to edit /boot/grub/menu.lst so that your "kernel" lines read something like this:
Code:
kernel /boot/vmlinuz-2.6.XX-XXXX acpi=force ro root=LABEL=/ rhgb quiet
Quote:
If you put the argument at the end of the file, it won't do anything, cause it won't be parsed correctly.
I have tested this solution and it works just perfectly.
Hopefully this should get your machine to stop completely.

Last edited by Ryptyde; 01-25-2007 at 06:54 AM.
 
Old 01-25-2007, 07:28 AM   #5
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Rep: Reputation: 34
Quote:
Originally Posted by Ryptyde
I had the same problem a while back along with others who were having "shutdown" problems. This is the solution that works for me and others who had same problem.

Code:
kernel /boot/vmlinuz-2.6.XX-XXXX acpi=force ro root=LABEL=/ rhgb quiet

Hopefully this should get your machine to stop completely.
Thanks Ryptyde, I was wondering why acpi was still starting up, was going to try and move the comand to where you have it.
Strange thing is, although acpi has still been starting it's been shutting down OK.
I hate intermitent problems!!! You don't know when they are fixed.

I'll try your suggestion for a while and see what happens, I'll try and remember to get back here with results.
 
Old 01-25-2007, 08:56 AM   #6
nomb
Member
 
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Original Poster
Rep: Reputation: 58
Thank you to all who replyed. I will be home (finally) later tonight and will try all the solutions posted here. I would ssh in and make the modifications but my work blocks my dyndns host and I haven't found a bounce around yet...

nomb
 
Old 01-25-2007, 09:32 AM   #7
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
FYI, the most recent update to kdm seems to have broken the logoff/shutdown functionality. You would only see the problem if your /etc/sysconfig/desktop file has the DISPLAYMANAGER set to KDE. Mine looks like this now:
Code:
$ cat /etc/sysconfig/desktop
DESKTOP=KDE
DISPLAYMANAGER=GNOME
#DISPLAYMANAGER=KDE
#DISPLAYMANAGER=XDM
which fixed my shutdown problem. (GNOME is the default setting, so -- if you've never changed it -- this is not likely to be your problem.)

<edit>
I prefer the kdm because it gives you much better control over the login screen and, for example, lets you change the background for the KDE start-up. It also used to be required for the "switch user" functionality to be available, but that's no longer the case.
</edit>

Last edited by PTrenholme; 01-25-2007 at 09:38 AM.
 
Old 01-25-2007, 10:29 AM   #8
nomb
Member
 
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Original Poster
Rep: Reputation: 58
Ok so your saying, since I'm using KDE (which is my first time) then that file has gdm by default. But it should be kdm. Is that right?

No wait ur saying since I'm using kde my display manager is kde so i need to go change the display manager setting to be gnome.

Is that correct?

Last edited by nomb; 01-25-2007 at 10:31 AM.
 
Old 01-25-2007, 11:09 AM   #9
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by nomb
Ok so your saying, since I'm using KDE (which is my first time) then that file has gdm by default. But it should be kdm. Is that right?

No wait ur saying since I'm using kde my display manager is kde so i need to go change the display manager setting to be gnome.

Is that correct?
No, the dm setting is, essentially, independent of the windowing environment.

The "display manager" is the layer between the screen and the windowing environment. In Fedora you have three choices, gdm, kdm, and xdm, unless you've added (via yum or some other, deliberate, method) another choice. All three of the default display managers will support either GNOME or KDE as your windowing envronment.

On Fedora the default choice is gdm since the default environment is GNOME, but that choice works for either GNOME and KDE (and several other desktop environments) so most users will never change it. And, really, you shouldn't change it unless you have a need to do so.

To see what you have set, do a cat /etc/sysconfig/desktop. I suspect that you've never changed that file, and that it will contain the default settings:
Code:
$ cat /etc/sysconfig/desktop
DESKTOP=GNOME
DISPLAYMANAGER=GNOME
If this is the case, you should probably leave it alone. Only if your dm setting is KDE would the problem I described be relevant. If it is KDE, try setting it to GNOME. The DESKTOP setting is, perty much, irrelevant since you can over-ride it from the login menu.
 
Old 01-26-2007, 01:50 AM   #10
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Rep: Reputation: 34
So, this is weird, I have FC4 & FC6 on this machine, core 4 has no shutdown problems, /etc/sysconfig/desktop has
DESKTOP=GNOME
no mention of displaymanager.

FC6 wich has intermitent shutdown problems, /etc/sysconfig/desktop is blank!!!!
But I think the display manager is gdm, gnome is certainly the default desktop.

I've probably down too many things at once here, last night added the acpi=force to grub.conf and have just added DESKTOP=GNOME and DISPLAY=GNOME to the blank desktop file.
 
Old 01-26-2007, 04:08 AM   #11
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Rep: Reputation: 34
Sorry guys, neither of them worked, it's just failed to shut down again. And it was going so well, must have shutdown at least 5 times without a hickup.

Was that meant to be noacpi=force, instead of acpi=force?
Are we trying to stop acpi or force it to happen??

Can't see how this is possible but there seems to be a correlation with me using wine, I'll do some more experimenting.
 
Old 01-26-2007, 06:40 AM   #12
Ryptyde
Member
 
Registered: Jun 2004
Location: Tragic City,Michigan,USA
Distribution: Fedora 23 Fedora 22
Posts: 244

Rep: Reputation: 39
decrepit you can check this link where I found my solution maybe there is something there that will suggest more options.

Shutdown_Problem

.
 
Old 01-26-2007, 08:49 AM   #13
nomb
Member
 
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Original Poster
Rep: Reputation: 58
They did have some good ideas in that thread aswell. To answer you question it would be acpi=force. But there are a few other options in the above thread.
 
Old 01-26-2007, 10:07 AM   #14
james.farrow
Member
 
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 296

Rep: Reputation: 31
What happens when you type poweroff or init 0 at the command prompt as root?
 
Old 01-26-2007, 10:29 AM   #15
nomb
Member
 
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Original Poster
Rep: Reputation: 58
same exact thing happens.

nomb
 
  


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
Easy question: yum update on FC6-x86_64 bugmenot60 Fedora 2 01-17-2007 11:31 AM
FC6 SMP Arch Question cuco76 Fedora 1 12-12-2006 11:52 AM
XEN. Problem with install guest FC6 (i386) on platform FC6 (x86_64) Alex_Saf Fedora 0 12-04-2006 01:15 AM
FC6 64 bit install question barn63 Fedora - Installation 5 11-30-2006 09:57 AM
shutdown question plisken Linux - General 18 02-12-2003 09:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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