LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-03-2004, 07:43 PM   #1
marvelous
LQ Newbie
 
Registered: Oct 2003
Location: Taipei
Posts: 10

Rep: Reputation: 0
Shutting Down The Computer


I use Mandrake 9.1. And every time I shut down my computer, at the end of the messages, it always says that : "Code : Bad EIP Value", or something else, and I must turn off the computer by press the button power from the computer case. Any idea?

Last edited by marvelous; 03-03-2004 at 07:44 PM.
 
Old 03-03-2004, 07:55 PM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
try modprobe apm
before shutting down.

EIP is extended instruction pointer i think. but that doesn't do you any good.
 
Old 03-03-2004, 07:57 PM   #3
marvelous
LQ Newbie
 
Registered: Oct 2003
Location: Taipei
Posts: 10

Original Poster
Rep: Reputation: 0
modprobe apm? what is that?sorry, I am a new user in Linux. Thanks for your reply.
 
Old 03-03-2004, 08:20 PM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
a command to run as root.
apm is a power management kernel module.
modprobe tries to load a module.
a lot of times when linux will not shut down correctly, the apm module is not loaded.
 
Old 03-11-2004, 10:38 AM   #5
marvelous
LQ Newbie
 
Registered: Oct 2003
Location: Taipei
Posts: 10

Original Poster
Rep: Reputation: 0
I've entered the command "modprobe apm" in a Root Console , but it says "modprobe : Can't locate module apm" any idea?
 
Old 03-11-2004, 11:17 AM   #6
KidMW14
Member
 
Registered: Mar 2004
Location: Boston
Distribution: Mandrake 9.2
Posts: 34

Rep: Reputation: 15
Upgrading

Try upgrading to 9.2 because it has a lot of fixes. http://www.linuxiso.org/distro.php?distro=29 . Download i586.
 
Old 03-11-2004, 02:23 PM   #7
soloist
LQ Newbie
 
Registered: Jul 2003
Distribution: RH9 MDK9.2+10.0
Posts: 24

Rep: Reputation: 15
Should I use apm on a desktop?

I have similar problem.
In both Mandrake 9.2 (lilo) and 10 Community (grub), when I shut down I see the entire shutdown sequence ending with

Halting System.
Power down_

and then it just stops.
The computer remains on, doing nothing.

It is an Asus P4P800 Deluxe motherboard.

So does the advice given here about APM still apply?

I was about to install APM, but then I stopped where it said this module is for laptops.

I wonder if there is some bios setting that I need to change.
Any thoughts?

Thanks,

O
 
Old 03-11-2004, 06:07 PM   #8
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
apm does a lot of stuff. shutting down is one of them. some computers will not power off without the apm module, some will.

marvelous-i would have thought the apm module was included with any distribution. did you compile your own kernel?
 
Old 03-11-2004, 09:34 PM   #9
soloist
LQ Newbie
 
Registered: Jul 2003
Distribution: RH9 MDK9.2+10.0
Posts: 24

Rep: Reputation: 15
no APM support in kernel

Thanks for that information. I installed APM package, but when I ran APM it reported: no APM support in kernel.

I'm running the SMP kernel version from Mandrake 10 community.

There is an "ACPI" flag in the bios, should I toggle that?
 
Old 03-12-2004, 01:01 AM   #10
kingka
Member
 
Registered: Aug 2003
Location: mechelen (belgium)
Distribution: debian gnu/linux (sid)
Posts: 99

Rep: Reputation: 15
Quote:
marvelous-i would have thought the apm module was included with any distribution. did you compile your own kernel?
I think it is included in the kernel that ships with most distributions, but for example with my AMD (athlon xp 1800) it doesn't work even if apm module is loaded (after <shutdown -h> I still have to turn off the computer manually), with my other pc (an intel pentium 233 mhz) apm worked immediately after install.

I've been looking for a solution when I was running Suse 8.0 but never found one. So I learned to live with it but it hurts... pushing that stupid power-off button each time
 
Old 03-12-2004, 02:31 AM   #11
marvelous
LQ Newbie
 
Registered: Oct 2003
Location: Taipei
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by whansard
apm does a lot of stuff. shutting down is one of them. some computers will not power off without the apm module, some will.

marvelous-i would have thought the apm module was included with any distribution. did you compile your own kernel?
no, I don't compile the kernel. by the way, When I use AMD Athlon XP1700+ , with IWILL XP333 motherboard, and RedHat 9.0 as OS , it have the same problem that I have to shutdown the computer manually with push the button. Now, my CPU is getting burned , and now it is Duron 1G, with the same motherboard, and Mandrake 9.1 as OS, and the old problem is still the same. By the way, I plan to try Fedora Core.
 
Old 03-15-2004, 09:07 AM   #12
soloist
LQ Newbie
 
Registered: Jul 2003
Distribution: RH9 MDK9.2+10.0
Posts: 24

Rep: Reputation: 15
I fixed my shutdown problem by enabling APCI in the Mandrake Control Center. Thanks to all for suggestions.
 
Old 08-01-2004, 12:09 AM   #13
PopsTX
LQ Newbie
 
Registered: Jul 2004
Location: West Texas
Distribution: Debian 3.1
Posts: 5

Rep: Reputation: 0
Mandrake 10 Shutdown

I realize this thread is aging but, it is still VERY relevant. I thought I'd add one more tid-bit to Soloist's solution that some other "Fresh Out-O-The-Box" Newbie such as myself might find useful.

Enabling JUST ACPI did not help my beat-up HP but, enabling both ACPI and Force No APIC did the trick!

Both actions can be enabled/disabled in the Mandrake Control Center.

This is my first experience with LINUX and I will attest... I'm impressed. The Mandrake distribution is Slick! One last... Finding much need information (HELP) is easier to find Here than on Mandrake's site. Thanks!
 
Old 08-01-2004, 01:03 AM   #14
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
poweroff

In fedora core 2, it works (either in gnome or with fluxbox) to simply open a terminal window and enter the command "poweroff". It shuts everything down, halts the system, and shuts off the power.
 
  


Reply



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
Shutting Down Computer, from Fluxbox.. ? jmr0311 Linux - Software 4 08-19-2004 11:59 PM
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
shutting down computer w/o KVM jonfa Linux - Networking 6 05-29-2001 05:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:21 AM.

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