LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Reboot on Shutdown (https://www.linuxquestions.org/questions/linux-newbie-8/reboot-on-shutdown-252310/)

david7812 11-08-2004 02:12 AM

Reboot on Shutdown
 
Hi,

I recently did a new installation of SuSE 9.2 Pro on my laptop (Acer Ferrari 3000), which now is a dualboot system (together with Windows XP).

At my very first shutdown a problem emerged which has followed me since -- when trying to shutdown, e.g., by using commands like "shutdown -h now", "halt", "poweroff", or "Logout -- Turn of Computer" from the KDE menu, my system insists on reboot at the end of the process.

To shutdown "correctly" I have to reboot into Windows XP from GRUB, and do it here. It works fine, but still, it's quite annoying.

Anyone who has got a few ideas about how to resolve this? They would be really appreciated!

Regards,
David

Frustin 11-08-2004 02:51 AM

Quote:

my system insists on reboot at the end of the process.
do you mean it doesnt power off? can you ellaborate please.

ror 11-08-2004 02:53 AM

try disabling APM, you'll actually have to manually power-off but then at least it shouldnt' be rebooting.

david7812 11-08-2004 03:08 AM

Thanks for your replies!

I meant that the computer simply reboots instead of shutdown (the process I mentioned was the "shutdown process").

How do I go about to disable APM? Can I do that from a terminal? A manual power-off is OK, at least if you mean it like typing, e.g., "halt", and then finish off with pressing the power-button.

Regards,
David

ror 11-08-2004 03:13 AM

head over to /etc/rc.d/rc.modules and recomment up
/sbin/modprobe apm

david7812 11-08-2004 05:24 AM

I found the directory "/etc/rc.d/", but have no subdirectory "rc.modules". Only a number of "rc0.d", "rc1.d", ..., "rc6.d" subdirectories. However, I tried something else, namely giving the "boot options":

apm=off
acpi=off
apm=off acpi=on
apm=on acpi=off

but it's the same story. When the computer is shutting down, at the end I get the message "The system will be halted immediately", but right afterwards it reboots anyway. Giving the line:

apm=off acpi=off

makes the machine hang instead. I get:

The system will be halted immediately
Master Resource Control: runlevel 0 has been: reached
Skipped services in runlevel 0: nfs

and nothing more happens.

Don't know if this information helps anyone to help me... but I hope so! :-)

Regards,
David

scuzzman 11-08-2004 06:07 AM

Quote:

Originally posted by david7812


apm=off acpi=off

makes the machine hang instead. I get:

The system will be halted immediately
Master Resource Control: runlevel 0 has been: reached
Skipped services in runlevel 0: nfs


When you manually power down at this point, when you reboot does it force a fsck? If not - I think that did it. The machine appears as though it's been shut down. Simply hit the power button. Runlevel 0 is system halt.

Thymox 11-08-2004 06:17 AM

rc.modules is a file, not a directory.

Edit the file /etc/rc.d/rc.modules
comment out said entry.

david7812 11-08-2004 07:31 AM

Again -- thanks for your replies!

No, there is no forced FSCK at boot, at least I can't recognize one. The system starts as usual. Perhaps that did the trick after all? There are no other concerns to disabling APM and ACPI?

There seems to be no such file "rc.modules" in that directory "/etc/rc.d/". At least I can't find one using "ls -la". Is it possible to automate the APM and ACPI disabling in some other way?

Regards,
David

ror 11-08-2004 12:01 PM

locate rc.modules it should be somewhere

patch_linams 11-19-2004 04:14 PM

hi!

i had the same problem on my laptop (Acer Ferrari 3000). it's an ACPI bug:

http://bugme.osdl.org/show_bug.cgi?id=3669

There is a patch available:

http://bugme.osdl.org/attachment.cgi...34&action=view

Have fun ;)


All times are GMT -5. The time now is 05:59 PM.