LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mandriva won't turn off computer (https://www.linuxquestions.org/questions/linux-newbie-8/mandriva-won%27t-turn-off-computer-330880/)

obstinatesod 06-06-2005 11:06 AM

Mandriva won't turn off computer
 
Hi, I have a shutdown problem with Mandiva, when I shut down it won't turn off the computer, I had the same bother with Mandrake 10. can you help? Adrian

visaris 06-06-2005 11:13 AM

This sounds like you have a motherboard that doesn't support ACPI (Advanced Configuration and Power Interface) or your kernel does not support ACPI.. Maybe someone else knows how to check / turn this on?

win32sux 06-06-2005 11:18 AM

first thing you wanna do is determine whether your board uses APM or ACPI for power management... which is it??

rose_bud4201 06-06-2005 12:38 PM

Linux can't shut down the PC without a power management module, it just doesn't know how.

Mandriva has an option in the Control Center (under Boot Options, I believe) to enable acpi when booting. If you don't have apm turned on already (`lsmod` should tell you which modules you have already), try enabling acpi and see how it goes. Don't use both of them, though - they don't play nicely together, from what I've seen on google.

...One of these days I'll get around to fixing this for myself, too...

obstinatesod 06-06-2005 04:00 PM

acpi
 
Hi, I tried acpi, and it asked for a cd and reset my boot menu, but still wouldn't shut down.( I should explain: I have spent the past 3 days on the General forum trying to add Mandriva to my boot menu ) I have 2 Hard drives one with XP and Mandriva and one with XP and Suse. I got it all back but had to repair Suse and edit the grub file menu.
I did read an article a few weeks ago with a similar problem, I think they're advice was a bios fix,out of my depth on that one. thanks for your help, Adrian
just to mention suse 9.2 shuts down ok

win32sux 06-06-2005 04:06 PM

Re: acpi
 
Quote:

Originally posted by obstinatesod
just to mention suse 9.2 shuts down ok
post the output of these commands from the suse installation:
Code:

ps aux | grep acpi
Code:

lsmod | grep apm

obstinatesod 06-07-2005 02:17 AM

acpi/apm
 
Hi , this is what I got when I typed in your code:

aaria5@linux:~> su
Password:
linux:/home/aaria5 # ps aux | grep acpi
root 6 0.0 0.0 0 0 ? S< 07:36 0:00 [kacpid]
root 5266 0.0 0.0 1388 532 ? Ss 07:37 0:00 /usr/sbin/acpid -c /etc/acpi/events.ignore
root 6747 0.0 0.0 2604 704 pts/1 S+ 08:13 0:00 grep acpi
linux:/home/aaria5 #
linux:/home/aaria5 # lsmod | grep apm
linux:/home/aaria5 #
I didn't get anything when I typed: lsmod | grep apm

win32sux 06-07-2005 08:23 AM

what bootloader are you using?? i assume it's been installed from the suse installation, right?? make sure there's an "acpi=on" appended to the section for mandrake... go ahead and post the conf file if you want the thread subscribers to have a look...

obstinatesod 06-07-2005 12:19 PM

conf file
 
Hi, Mandriva loaded Lilo by default, I then had to change it to Grub so that I could add it to the Suse Grub boot menu. But the problem was the same when I only had Manrake running, it goes through the shutdown proccess but at the last step to turn off it makes the bios noise but stays on. Q, where and how do I get the conf file?and what is the conf file? (enjoying this but very new) thanks Adrian

win32sux 06-07-2005 12:34 PM

Re: conf file
 
Quote:

Originally posted by obstinatesod
Hi, Mandriva loaded Lilo by default, I then had to change it to Grub so that I could add it to the Suse Grub boot menu.
i'm not sure what you mean here...

Quote:

But the problem was the same when I only had Manrake running, it goes through the shutdown proccess but at the last step to turn off it makes the bios noise but stays on.
yes, that's normal for an acpi board when the acpi daemon isn't running or for an apm board when the apm module isn't loaded... in your case it's acpi, so your objective is to get the acpid running on startup... that is done by adding the "acpi=on" option to the respective line in your bootloader's conf file...

Quote:

where and how do I get the conf file?and what is the conf file?
a conf/config file is any file that stores configuration details... in this case it's your bootloader's conf file... since your bootloader is GRUB, the conf file will probably be /etc/grub.conf... but you need to determine whether you are using the grub from the suse install or the one from the mandrake install, as you can't be using both at the same time... once you know which you are using then you can post the conf file here and we'll show you how to edit it... to post it here just post the output of:
Code:

cat /etc/grub.conf

obstinatesod 06-07-2005 01:41 PM

Hi sorry for not being clear, try this link it will explain far better than I can http://www.linuxquestions.org/questi...1&goto=newpost that I have 2 drives with 4 operating systems, to get both Linux's to work on a boot menu I had to make both loaders either Lilo or Grub,(with a lot of help from your associates)

this is what I got from Mandriva with the code you gave me:
[aaria5@localhost ~]$ su
Password:
[root@localhost aaria5]# cat /etc/grub.conf
cat: /etc/grub.conf: No such file or directory
[root@localhost aaria5]#

and this is what I get from Suse 9.2:
aaria5@linux:~> su
Password:
linux:/home/aaria5 # cat /etc/grub.conf
root (hd1,5)
install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0) /boot/grub/stage20x8000 (hd1,5)/boot/grub/menu.lst
quit
linux:/home/aaria5 #


All times are GMT -5. The time now is 06:45 PM.