Slackware 10.2: Shutdown Problem

Status
Not open for further replies.

infraRed

Solid State Member
Messages
9
I've tried the following commands:

shutdown -h now
poweroff
telinit 0
halt

but my system doesn't shut down.

Instead, it goes to some sort of a standby mode, I don't really know how to explain it, the machine becomes more quiet, but it stays switched on (even the monitor).

Here is the output I get after I issue a shutdown command:

shutdown.jpg



What I would like to do, is to completely switch the machine off. How do I do that?
(I've used other Linux distributions before, and the shutdown commands worked fine.)

Thank you.
 
the general said:
try shutdown -r now
That'll reboot

Instead take a look in your scripts that actually shutdown the computer. Mine live in "/etc/init.d/" although they often live in "/etc/rc.d/". In rc0.d is the shutdown script. I had a similar problem - although i think there was still stuff on the screen - it just hung for ages. To solve it i commented out the line that read "umount -n /proc" ... come to think of it i think there was a message saying "unable to unmount proc" so that would have been logical! But you might find something in your script that makes sense to change.

I think there is also something to do with powersave that may or may not allow your system to actually power off - i cant remember what though, there is just this vague memory of something related to it in the back of my head - if you enabled/disabled something it meant the computer couldnt kill the power or something... sorry i cant tell you more - if it comes to me i'll post again, although i might be thinking something completely different here - i just cant remember!!!.
 
Rebooting works fine, there's no problem with that.

I've read the shutdown script in rc.0, but it way over my head...
I've attached it to this post, so if anyone could look at it and give me a hint what I should change, it would be great.

I've also noticed that rc.0 is a symbolic link to rc.6. I don't know if that's how it's supposed to be...?

@fitzjj
That powersave thing you're talking about, any idea where I should look for it? Is it a system function or should I look for it in BIOS...?


Thanks for your help.
 

Attachments

  • rc.0.txt
    5.6 KB · Views: 37
infrared: which kernel did you install when you installed Slackware.

Inbetween time, open /etc/rc.d/rc.modules with your favourite editor, find the line
Code:
#/sbin/modprobe apm
and uncomment it, (remove the #). You'll need to reboot before this takes effect
 
When I uncomment that line, errors appear after "shutdown", but the same problem still remains.

Slackware 10.2 uses 2.4.31 kernel, and during the install I chose bare.i.
 
If you have modern hardware I would consider compiling the newest kernel for your computer. It will give you more speed and possibly fix your problem.

Its pretty cool to see a girl using linux too :) (I am asuming from your photobucket link)
 
infraRed said:
When I uncomment that line, errors appear after "shutdown", but the same problem still remains.

Slackware 10.2 uses 2.4.31 kernel, and during the install I chose bare.i.
Please post the errors and also your computer hardware specs. It may be your computer is either so old or so new it doesn't support apm.

Apm has been depricated by ACPI, so hopefully installing the bareacpi.i kernel should do the trick. Unless there is some feature on the motherboard that isn't support by the older 2.4 kernel series. But I'd like to see the error messages.
 
Here is the error message (some of the hexadecimal values change every time I try to shutdown):
Code:
general protection fault: fdf4
CPU:	0
EIP:	0050:[<00007a53>]	Not tainted
EFLAGS:	00010003
eax: 0000fdf7	ebx: 00000001	ecx: 00000003	edx: 00000000
esi: 0000705e	edi: 00000292	ebp: 67890000	esp: cc02fddc
ds: 0050	es: 0000	ss: 0018
Process poweroff (pid: 3524, stackpage=cc02f000)
Stack: 02927222 705e0000 00000000 fdfe6789 0001cc02 00000000 00030000 53070000
       00000000 00000000 704d0058 70220000 00006ff5 00160000 00406f22 bffffdb0
       d007017d 00000010 bffffdb0 00000292 00000010 00000010 000035a6 00000000
Call Trace:	[<d087017d>] [<c0110000>] [<d0870292>] [<d08702c1>] [<d0870527>]
   [<c0121775>] [<c0107162>] [<c0121b74>] [<c012020d>] [<c012030f>] [<c012056d>]
   [<c0120e88>] [<c0114a04>] [<c0114c62>] [<c0108a93>]
Code: Bad EIP value.
 /etc/rc.d/rc.0: line 218: 3524 Segmentation fault	poweroff

Computer specs:

Motherboard: Gigabyte GA-K8U ULI1689 S754
Processor: AMD Sempron 2600+
 
Status
Not open for further replies.
Back
Top Bottom