Jump to content

Mandrake 10.0 not shutting down [solved]


Guest Team Suzuki
 Share

Recommended Posts

Guest Team Suzuki

Hi,

 

I'm a complete newbee when it comes to Linux & Mandrake 10.0

 

When I go to shut my machine down everything runs fine untile I get to the Shutting Down the System... Press Esc for verbose mode part. The progress bar gets to about 95% then just freezes and the only thing that I can do is either hold the power button for 10 seconds or hit the restart button.

 

Any help would be greatly received.

 

Cheers,

Link to comment
Share on other sites

Guest Team Suzuki
Dumb question: have you tried pressing Esc?

 

Hi,

 

Yeap, tried Esc and after that every other button on the keyboard, nothing worked :wall:

Link to comment
Share on other sites

Guest Team Suzuki

I managed to enter the verbose mode as sugested above and here is the list:

 

Stopping dm: ^[^[ [ OK ]

Stopping devfsd daemon: [ OK ]

Stopping down X Font Server: [ OK ]

Stopping numlock: [ OK ]

Stopping kheader: [ OK ]

Stopping partmon: [ OK ]

Stopping xinetd: [ OK ]

Stopping atd: [ OK ]

Stopping crond: [ OK ]

Saving random seed: [ OK ]

Shutting down kernel logger: [ OK ]

Shutting down system logger: [ OK ]

Stopping portmap services: [ OK ]

Shutting down loopback interface: [ OK ]

Starting killall: [ OK ]

Sending all processes the TERM signal... [ OK ]

Sending all processes the KILL signal... [ OK ]

Syncing hardware clock to system time [ OK ]

Turn off swap: [ OK ]

Unmounting file systems: [ OK ]

Unmounting proc file system: [ OK ]

Halting system...

md: stopping all md devices.

md: md0 switched to read-only mode.

Power down.

_

 

This is as far as it gets then the screen freezes and I can't do anything ;)

Edited by Team Suzuki
Link to comment
Share on other sites

It can mean a lot of different things. Seeing your machine spec (PII 350, just what I still had 2 month ago :)), I'd rather say you use APM, not ACPI.

 

In such case, you can try first to add an "apm" line to your /etc/modprobe.preload file.

If that does not work, then try and change your kernel's append line. Add " apm=on apm=power-off" (that should be in /etc/lilo.conf) and run /sbin/lilo -v afterwards as root.

 

In either case you'll have to reboot to see the difference.

If neither works, come back and tell us. If I went too fast and you need details, ask and someone's bound to answer :)

 

Anyway, don't worry, your machine is OK. All will be fine.

 

Yves.

Link to comment
Share on other sites

Guest Team Suzuki

I feel a bit silly but:

 

1: I can't find any file called modprobe.preload in the /etc directory

2: If I did/fingers cross in the future can find it, I really need to know how to add an "apm" line

3: If there is any why in MDK 10 to do screen shots then I could show you what is in the /etc directory

 

Any further help would be great.

Link to comment
Share on other sites

1. To locate the file /etc/modprobe.preload open terminal, and type:

ls /etc/ |grep mod

Post the output here. It could be that your installation of Mandrake 10 is still using kernel 2.4.x. Mandrake 10 was the first version using kernel 2.6.x by default, but it may be that in your case the installer had to fall back to the previous version 2.4.x. If that's the case, you should edit /etc/modules. To find out, which kernel is your system using, type

uname -r

 

2. To add anything to those files, open it in editor, and add the line "apm" in the end of the file. E.g. /etc/modprobe.preload should look as follows.

# /etc/modprobe.preload: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line.  Comments begin with
# a `#', and everything on the line after them are ignored.
# this file is for module-init-tools (kernel 2.5 and above) ONLY
# for old kernel use /etc/modules

apm

3. The tool you are looking for is called ksnapshot. But you should be able to locate the files using the method described in 1.

Link to comment
Share on other sites

Guest Team Suzuki

Hi Coverup,

 

Thanks for all the info, please see below a ksnapshot of points 1 & 2:

 

modkernar0.jpg

 

The issue with the computer not shutting down I have now resloved as follows:

 

>Alt+F2 >mcc >Boot >Boot loader >uncheck "Enable ACPI" >Checked "Force No Local APIC" >rebooted, and for the last time had to manualy turn the computer off. Shuts down every time now without fail :P , so I guess I don't need to add "apm" to the /etc/modprobe.preload file.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...