LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-18-2007, 08:47 PM   #1
mahesh_infinity
LQ Newbie
 
Registered: Jan 2007
Posts: 16

Rep: Reputation: 0
Problem while shutting the computer in Fedora 7


Hi Community,

I have installed Fedora 7 a fresh DVD copy. Everything is super cool.

Problem:

After finishing my work,when i try to shut down my computer, it never shuts down......

It stops all the processes and stops here.........

Turning off swap: [ok]
Turning off Quotas: [ok]
Unmounting pipe file system: [ok]
Halting system...
md: Stopping all md devices.
Synchrinizing SCSI cache for disk sda:
ACPI: PCI interrupt for device 0000:01:08.0 disabled
System halted.
cursor keeps blinking........

Please provide me your inputs to rectify this shut down issues.......

Your help will be appreciated.......

Thanks and Best Regards,
Mahesh M
 
Old 11-18-2007, 11:51 PM   #2
Greenfuse
Member
 
Registered: Nov 2004
Distribution: gentoo, arch centos
Posts: 166

Rep: Reputation: 24
Try disabling ACPI at boot and see if that helps.

I assume you are using the grub bootloader.

Edit the /boot/grub/grub.conf file and add acpi=off at the end of the line that starts with the word 'kernel' so it looks a bit like this:
Code:
title Fedora Core 
root (hd0,1)
kernel /vmlinuz-2.6.10-1.1155_FC4 ro root=/dev/hda1 acpi=off
You will need to be root in order to do the editing.

let me know if you need to know more about how to do this.

good luck
 
Old 11-19-2007, 03:24 AM   #3
mahesh_infinity
LQ Newbie
 
Registered: Jan 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Problem while shutting the computer in Fedora 7

Quote:
Originally Posted by Greenfuse View Post
Try disabling ACPI at boot and see if that helps.

I assume you are using the grub bootloader.

Edit the /boot/grub/grub.conf file and add acpi=off at the end of the line that starts with the word 'kernel' so it looks a bit like this:
Code:
title Fedora Core 
root (hd0,1)
kernel /vmlinuz-2.6.10-1.1155_FC4 ro root=/dev/hda1 acpi=off
You will need to be root in order to do the editing.

let me know if you need to know more about how to do this.

good luck

Hi Greenfuse,

My current grub.conf looks like this:

title Fedora (2.6.20-2925.9.fc7xen)
root (hd0,6)
kernel /boot/xen.gz-2.6.20-2925.9.fc7
module /boot/vmlinuz-2.6.20-2925.9.fc7xen ro root=LABEL=/ rhgb quiet
module /boot/initrd-2.6.20-2925.9.fc7xen.img


After your inputs grub.conf looks like this:

title Fedora (2.6.20-2925.9.fc7xen)
root (hd0,6)
kernel /boot/xen.gz-2.6.20-2925.9.fc7 ro root=/dev/hda6 apci=off
module /boot/vmlinuz-2.6.20-2925.9.fc7xen ro root=LABEL=/ rhgb quiet
module /boot/initrd-2.6.20-2925.9.fc7xen.img

Note: I have not yet implemented your inputs. Please validate my understanding above and correct me if i am going wrong.

Also please tell me what will be effect by inserting "ro root=/dev/hda6 apci=off"

Best Regards,
Mahesh M
 
Old 11-19-2007, 05:44 AM   #4
Greenfuse
Member
 
Registered: Nov 2004
Distribution: gentoo, arch centos
Posts: 166

Rep: Reputation: 24
I had in mind something like:

kernel /boot/xen.gz-2.6.20-2925.9.fc7 apci=off

not:

kernel /boot/xen.gz-2.6.20-2925.9.fc7 ro root=/dev/hda6 apci=off

Adding this boot parameter will turn off ACPI power management. ACPI is there to help the computer go to sleep when it needs to and then wake up again. Useful for laptops. Sometimes it can have an effect on shutting down so I thought you might try disabling it and see if it makes a difference.
 
Old 11-19-2007, 07:50 AM   #5
mahesh_infinity
LQ Newbie
 
Registered: Jan 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Problem while shutting the computer in Fedora 7

Quote:
Originally Posted by Greenfuse View Post
I had in mind something like:

kernel /boot/xen.gz-2.6.20-2925.9.fc7 apci=off

not:

kernel /boot/xen.gz-2.6.20-2925.9.fc7 ro root=/dev/hda6 apci=off

Adding this boot parameter will turn off ACPI power management. ACPI is there to help the computer go to sleep when it needs to and then wake up again. Useful for laptops. Sometimes it can have an effect on shutting down so I thought you might try disabling it and see if it makes a difference.
Hi Greenfuse,

Thanks a lot for your active participation....

I implemented apci=off in the kernel line of grub.conf.....
I saved the file and shutdown my computer but still i am facing same problem.

I dont know what to do and i am forcing my system to shutdown.....which is not a good idea....


Thanks and Best Regards,
Mahesh M
 
Old 11-19-2007, 04:49 PM   #6
Greenfuse
Member
 
Registered: Nov 2004
Distribution: gentoo, arch centos
Posts: 166

Rep: Reputation: 24
Quote:
I implemented apci=off in the kernel line of grub.conf.....
I saved the file and shutdown my computer but still i am facing same problem.
Did you restart the computer so it is booted with acpi=off then try to shut down?

Some other things you might want to try are:

Other boot parameters such as
kernel ... acpi=off noapic
kernel ... acpi=force

Does Fedora 7 have a 'failsafe' boot option? If so, try it.

Check the ACPI settings in your BIOS
Upgrade your kernel
Upgrade to Fedora 8

Note - you can change the boot parameters when you start the computer. When the grub screen is up, select the start option you want to change and press 'e'. Then go to the line that you want to edit (the one that starts with 'kernel') and press the 'e' key again. Type in or delete the boot parameters at the end of the line, press 'Enter' then press 'b' to boot the computer. The changes you make in this way are temporary and apply only to that boot up. This might be easier (and safer) than editing grub.conf

Good Luck
 
Old 11-20-2007, 05:11 AM   #7
mahesh_infinity
LQ Newbie
 
Registered: Jan 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Greenfuse View Post
Did you restart the computer so it is booted with acpi=off then try to shut down?

Some other things you might want to try are:

Other boot parameters such as
kernel ... acpi=off noapic
kernel ... acpi=force

Does Fedora 7 have a 'failsafe' boot option? If so, try it.

Check the ACPI settings in your BIOS
Upgrade your kernel
Upgrade to Fedora 8

Note - you can change the boot parameters when you start the computer. When the grub screen is up, select the start option you want to change and press 'e'. Then go to the line that you want to edit (the one that starts with 'kernel') and press the 'e' key again. Type in or delete the boot parameters at the end of the line, press 'Enter' then press 'b' to boot the computer. The changes you make in this way are temporary and apply only to that boot up. This might be easier (and safer) than editing grub.conf

Good Luck
Hi Greenfuse,

After adding acpi=off in the kernel line of grub.conf, i tried to shutdown my computer but still i am facing same problem.

After your suggestion i first restarted and then shutdown....didn't work.

I will upgrade my kernel today and can you guide me in checking ACPI settings under BIOS.

can you also tell me where to add these parameters(exactly please):
kernel ... acpi=off noapic
kernel ... acpi=force

Thanks and Best Regards,
Mahesh M
 
Old 11-20-2007, 05:38 AM   #8
Greenfuse
Member
 
Registered: Nov 2004
Distribution: gentoo, arch centos
Posts: 166

Rep: Reputation: 24
Quote:
I will upgrade my kernel today and can you guide me in checking ACPI settings under BIOS.
BIOS varies from motherboard to motherboard so you might just have to look and see what settings there are relating to ACPI. You might find some useful ideas here

Quote:
can you also tell me where to add these parameters(exactly please):
kernel ... acpi=off noapic
kernel ... acpi=force
I meant you could try putting different parameters at the end of the same line that you changed before and seeing if any of them works

kernel /boot/xen.gz-2.6.20-2925.9.fc7 apci=off noapic

or


kernel /boot/xen.gz-2.6.20-2925.9.fc7 apci=force
 
Old 11-20-2007, 06:02 AM   #9
mahesh_infinity
LQ Newbie
 
Registered: Jan 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Greenfuse View Post
BIOS varies from motherboard to motherboard so you might just have to look and see what settings there are relating to ACPI. You might find some useful ideas here



I meant you could try putting different parameters at the end of the same line that you changed before and seeing if any of them works

kernel /boot/xen.gz-2.6.20-2925.9.fc7 apci=off noapic

or


kernel /boot/xen.gz-2.6.20-2925.9.fc7 apci=force
Hi Greenfuse,

Some good news....after adding acpi=off,re-starting and shutting down my comp...

Before change:

Turning off swap: [ok]
Turning off Quotas: [ok]
Unmounting pipe file system: [ok]
Halting system...
md: Stopping all md devices.
Synchrinizing SCSI cache for disk sda:
ACPI: PCI interrupt for device 0000:01:08.0 disabled (This line we have removed making "acpi=off")
System halted.
cursor keeps blinking........

After change:

Turning off swap: [ok]
Turning off Quotas: [ok]
Unmounting pipe file system: [ok]
Halting system...
Synchrinizing SCSI cache for disk sda:
System halted.
cursor keeps blinking........

Note: What is this doing "Synchrinizing SCSI cache for disk sda:"


I wonder why system is halted even after shutting down, is it waiting for it's girlfriend...

Thanks and Regards,
Mahesh M
 
Old 11-21-2007, 08:02 AM   #10
mahesh_infinity
LQ Newbie
 
Registered: Jan 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mahesh_infinity View Post
Hi Greenfuse,

Some good news....after adding acpi=off,re-starting and shutting down my comp...

Before change:

Turning off swap: [ok]
Turning off Quotas: [ok]
Unmounting pipe file system: [ok]
Halting system...
md: Stopping all md devices.
Synchrinizing SCSI cache for disk sda:
ACPI: PCI interrupt for device 0000:01:08.0 disabled (This line we have removed making "acpi=off")
System halted.
cursor keeps blinking........

After change:

Turning off swap: [ok]
Turning off Quotas: [ok]
Unmounting pipe file system: [ok]
Halting system...
Synchrinizing SCSI cache for disk sda:
System halted.
cursor keeps blinking........

Note: What is this doing "Synchrinizing SCSI cache for disk sda:"


I wonder why system is halted even after shutting down, is it waiting for it's girlfriend...

Thanks and Regards,
Mahesh M
Dear Greenfuse,

What i need to do to resolve this problem and see shutdown happening correctly.

Thanks and Regards,
Mahesh M
 
Old 11-21-2007, 02:17 PM   #11
Greenfuse
Member
 
Registered: Nov 2004
Distribution: gentoo, arch centos
Posts: 166

Rep: Reputation: 24
Sorry for the delay Mahesh, I was busy yesterday. I would like to see if we can solve this problem.

Have you looked at your BIOS settings yet? The two important settings in this kind of situation are:

Plug and Play OS
Sometimes called PnP OS, this setting must be turned off (disabled) with Linux. With this setting switched off, the operating system has more control over hardware. This might be part of your problem.

Power management settings
See if ACPI is enabled and look at some other settings which you might want to change. Turn all Power Management settings off (disable) to start with. If the computer shuts down then try turning them back on one at a time (power management is useful) to see which settings caused the problem

Do you know how to enter the CMOS setup and change the BIOS settings? When the computer first starts then you will see a quick message like "Press ** to enter setup" with ** being a key such as <Del> or <F2>. Press the key and you will enter 'setup' which provides information about the motherboard, devices connected to the motherboard, and how the operating system can interact with these.

Explore the BIOS using the instructions you will see on the setup screen (study the instructions before you start) and change only the settings that I have described above.

If you cannot get the computer to shut down properly after trying different boot parameters and changing the BIOS then there might be a bug in the Fedora 7 kernel. If it is a bug then a newer version of the kernel might have the bug fixed so upgrading the kernel to a new one could help. I think you can upgrade the kernel using Yum.

Last edited by Greenfuse; 11-21-2007 at 02:21 PM.
 
Old 11-21-2007, 02:41 PM   #12
Greenfuse
Member
 
Registered: Nov 2004
Distribution: gentoo, arch centos
Posts: 166

Rep: Reputation: 24
Another thought - see if it makes a difference if you issue the shut down instruction from the command line. As root:

Code:
shutdown -h now
 
Old 11-24-2007, 12:18 PM   #13
mahesh_infinity
LQ Newbie
 
Registered: Jan 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Greenfuse View Post
Another thought - see if it makes a difference if you issue the shut down instruction from the command line. As root:

Code:
shutdown -h now
Dear Greenfuse,

I have collected following information from my current BIOS configuration:

PCI Configuration:

PCI Slot1 IRQ Priority [Auto]
PCI Slot1 IRQ Priority [Auto]
PCI Slot1 IRQ Priority [Auto]


Boot Configuration:

Plug & play O/S [No]
Numlock [on]
ASE Support [Enabled]


Power:

ACPI

ACPI suspend state [S1 State]
Wake on LAN from S5 [Stay off]

After Power failure [Last State]


Note:

1.Above mentioned configurations are still intact under BIOS conf.
2.I tried "shutdown -h now" system stopped at the same point (System halted).


Thanks and Regards,
Mahesh M
 
Old 11-29-2007, 11:08 AM   #14
mahesh_infinity
LQ Newbie
 
Registered: Jan 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mahesh_infinity View Post
Dear Greenfuse,

I have collected following information from my current BIOS configuration:

PCI Configuration:

PCI Slot1 IRQ Priority [Auto]
PCI Slot1 IRQ Priority [Auto]
PCI Slot1 IRQ Priority [Auto]


Boot Configuration:

Plug & play O/S [No]
Numlock [on]
ASE Support [Enabled]


Power:

ACPI

ACPI suspend state [S1 State]
Wake on LAN from S5 [Stay off]

After Power failure [Last State]


Note:

1.Above mentioned configurations are still intact under BIOS conf.
2.I tried "shutdown -h now" system stopped at the same point (System halted).


Thanks and Regards,
Mahesh M
Hi Greenfuse,

Are you angry on me..
Previous post of mine contains BIOS data.
Please go through when u get some free time.

Thanks,
Mahesh M
 
Old 11-30-2007, 12:13 AM   #15
Greenfuse
Member
 
Registered: Nov 2004
Distribution: gentoo, arch centos
Posts: 166

Rep: Reputation: 24
Hi Mahesh

Your BIOS looks ok to me but I am not too expert on that. Also I do not use Fedora so I cannot give you more specific advice on the BIOS.

I am wondering if you have a bug in your kernel to make the shut down problem.

Like I said before, I think you can use the update program 'yum' to get a newer kernel which might fix the problem. Search the forum here for more information about upgrading the kernel - I have not done this with Fedora,

There is also a good forum just for Fedora problems at http://www.fedoraforum.org/

good luck
 
  


Reply

Tags
fedora



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
Problem Shutting down Fedora 7 Sharath Murthy Fedora 6 11-23-2007 06:31 PM
Shutting Down The Computer marvelous Linux - Newbie 13 08-01-2004 01:03 AM
RH9 shutting computer down by itself shycalais Linux - Newbie 6 10-09-2003 07:55 AM
computer keeps shutting down mjkramer Linux - Newbie 1 10-04-2003 05:40 AM
Computer not shutting down Trebor Linux - Newbie 5 08-15-2003 04:33 AM

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

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