Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
12-07-2004, 04:11 PM
|
#1
|
Member
Registered: Jan 2004
Location: New Zealand
Distribution: Mint | Sabayon
Posts: 160
Rep:
|
Mandrake 10.1 Shutdown Problem
When shutting down my tuxbox the system never actually 'turns off'. I can't figure out why. I am running Mandrake 10.1 Community on a Sony PCG-581M Vaio Laptop (rather well I might add to anyone interested). Default is KDE 3.2. These are the final lines of the verbose shutdown:
Stuff.. [Ok]
Stuff.. [Ok]
Stuff.. [Ok]
Stuff.. [Ok]
Halting System... [Ok]
md: stopping all md devices.
md: md0 switched to read-only mode.
Shutdown: hda
Power down.
acpi_power_off called
_
('_' is the command prompt)
To turn off the laptop I have to press and hold the power button for a few seconds. Had this problem with an old SGI machine as well. This reads to me like everything has dis-mounted and halted. Do I need to add a script or something to finally power-down?
|
|
|
12-07-2004, 04:53 PM
|
#2
|
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040
Rep:
|
I don't currently use a laptop, but I do know that Linux often is quirky on laptops.
You might want to look at the information on
http://www.linux-on-laptops.com/
where many makers of laptops are categorized, and your machine may well be discussed there.
If not, at least maybe you'll get a lead.
|
|
|
12-07-2004, 04:57 PM
|
#3
|
Member
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240
Rep:
|
hey, I have the same problem running 10.1 CE on my HP laptop. It hangs at "power off" and doesn't power off. I think there is a bug for 10.1 CE but I cannot find it.
|
|
|
12-07-2004, 05:10 PM
|
#4
|
Member
Registered: Jan 2004
Location: New Zealand
Distribution: Mint | Sabayon
Posts: 160
Original Poster
Rep:
|
Thanks guys. See what I can find out and will post here. Don't think the power down on halt is harmful to the system, just a bit of a drag.
If you are using laptops, have you had any problem with media cards?
I have to login as root and mount sda1 located in /mnt/memory_stick. This is also a nuisance. Just wondered if anyone had had problems with this as well?
|
|
|
12-08-2004, 08:44 AM
|
#5
|
Member
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240
Rep:
|
I have had no problem with USB Flash drives. I plug it in, and I don't have to mess with fstab, it loads automatically into /mnt/removable. My flash drive is a SanDisk Mini Cruzer.
|
|
|
12-08-2004, 03:43 PM
|
#6
|
Member
Registered: Jul 2003
Location: Grand Meadow MN
Distribution: Mandrake 2010.2 & Fedora 14
Posts: 99
Rep:
|
My desktop does this as well except the 'Power Down' is the last line. I had MDK 9.2, 10 ce, 10 Official, which all shut my tower down just fine. This started with 10.1 ce & is still doing it in 10.1 Official.
|
|
|
12-08-2004, 03:52 PM
|
#7
|
Member
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240
Rep:
|
I googled this (found from www.linuxforums.org)
Quote:
I have this problem with my desktop. THe solution was to change the ACPI option in lilo.conf to ACPI=force. If you use ACPI rather then APM, this shouldn't be a problem, however I don't know how it would affect APM if you use that instead.
|
|
|
|
12-08-2004, 04:15 PM
|
#8
|
Member
Registered: Jul 2004
Distribution: Mandrake 10.x, Fedora Core 3, Archlinux 0.7, Ubuntu 5.04
Posts: 303
Rep:
|
ACPI is involved with turning off laptops. I've messed around with it on my Compaq Presario and it worked fine with mdk 10.0 official when I recompiled my kernel, but for 10.1 official, recompiling the kernel doesn't help at all. I have yet to figure out the problem, but don't be suprised if your laptop won't boot anymore.
I suggest you envoke ACPI though the lilo bootloader:
linux acpi=on
for example.
If your laptop doesn't boot, don't mess with ACPI any further or you'll probably end up reinstalling mandrake. Simply turning the machine off and then back on will reset the boot option and you'll be safe. If it does boot, try shutting down. If the laptop turns off, you can safely modify the boot options in lilo perminantly.
|
|
|
12-08-2004, 04:29 PM
|
#9
|
Member
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240
Rep:
|
ok, question. these cures all have to do with lilo. I'm running Grub.
I assume that I edit everything the same except in grub.conf instead of lilo.conf.
|
|
|
12-09-2004, 07:17 PM
|
#10
|
Member
Registered: Jul 2004
Distribution: Mandrake 10.x, Fedora Core 3, Archlinux 0.7, Ubuntu 5.04
Posts: 303
Rep:
|
Hit the escape key when grub comes up. (I think that works)
linux acpi=on
|
|
|
12-10-2004, 07:34 AM
|
#11
|
Member
Registered: Jan 2004
Location: New Zealand
Distribution: Mint | Sabayon
Posts: 160
Original Poster
Rep:
|
Thanks for the input guys.
I have installed the same distro on 3 machines now and only my laptop still won't shut-off. I have checked and confimed that ACPI is enabled. Quite odd! Has anyone else had any success remedying this problem? I would not like to compile a new kernel because of one little thing like this. To be honest, I am so impressed with my Mandrake 10.1 on my Vaio PCG-Z1RSP laptop that I no longer have a dual boot. Simply everything works well, only the darn thing won't shut off!
#shutdown -h now --now I said now goddammit!
|
|
|
12-10-2004, 11:43 AM
|
#12
|
Member
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240
Rep:
|
read this thread. I haven't tried to mess around with my grub.conf, yet all the answers you need should be in this thread already.
|
|
|
12-10-2004, 05:40 PM
|
#13
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
BTW: Sometimes the SMP kernels will have problems with ACPI functions and prevent a shutdown.
Also the system tries to unmount the file systems before it calls the halt process.
If something is maintaining open files then halt/poweroff never gets called.
I've seen instances wherein the user has configured the system in such a way that it was unmounting drives in the wrong order.
This caused a higher level drive to be unmounted first...
e.g.
/ - umounted first before
/var - which is a second drive or partiton that is mounted under root.
Of course this doesn't work so the shutdown proceedure barfs...
|
|
|
12-10-2004, 07:13 PM
|
#14
|
Member
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240
Rep:
|
Quote:
Originally posted by caladbolg
ACPI is involved with turning off laptops. I've messed around with it on my Compaq Presario and it worked fine with mdk 10.0 official when I recompiled my kernel, but for 10.1 official, recompiling the kernel doesn't help at all. I have yet to figure out the problem, but don't be suprised if your laptop won't boot anymore.
I suggest you envoke ACPI though the lilo bootloader:
linux acpi=on
for example.
If your laptop doesn't boot, don't mess with ACPI any further or you'll probably end up reinstalling mandrake. Simply turning the machine off and then back on will reset the boot option and you'll be safe. If it does boot, try shutting down. If the laptop turns off, you can safely modify the boot options in lilo perminantly.
|
thanks a ton!! that worked and now my linux box shuts down properly!!!!
(phew. editing ACPIwas the scariest thing I ever have done to a computer)
|
|
|
12-10-2004, 08:22 PM
|
#15
|
Member
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240
Rep:
|
frustration upon frustration.
I changed acpi to on from ht, and my kernel defaults at =ht. I can change it to =on and it will shut down properly once. after that it resets itself back to =ht and once again refuses to shut down. (why didn't they turn acpi on in the first place if they knew the majority of Mandrake 10.1 users used laptops?)
How can I get acpi to always be on?
|
|
|
All times are GMT -5. The time now is 02:13 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|