Mint 11 Won't Shutdown

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
gdawg
Level 1
Level 1
Posts: 27
Joined: Sun Mar 20, 2011 5:30 pm

Mint 11 Won't Shutdown

Post by gdawg »

Hi - I'm having a shutdown problem. Mint won't shutdown properly and it doesn't make any difference if I try using the menu or using the terminal ('sudo /sbin/shutdown -r or -h 0,1,etc'). I'm forced to use the power-off button on my computer to shutdown. I also have same problem with Ubuntu 10.04. I'm running win 7 and numerous Linux distributions on a Dell Inspiron 530S Desktop using 2 hard drives. Any help with this will be appreciated.
Linux gdawg-Inspiron-530s 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux
Linux gdawg-Inspiron-530s 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux

Teucca
Level 2
Level 2
Posts: 75
Joined: Sat Sep 26, 2009 3:06 pm
Location: Helsinki (gothenburgh)
Contact:

Re: Mint 11 Won't Shutdown

Post by Teucca »

Hi! Shutdown problem can be caused by Libre Office Quickstarter.
http://helpsite.org/libreoffice/
Linux Mint Suomi guide
MINT is an easy, logical, adaptable, inspiring, user-friendly operating system.
The changes are new opportunities
Help Site Instructions

User avatar
xenopeek
Level 24
Level 24
Posts: 24276
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Mint 11 Won't Shutdown

Post by xenopeek »

Perhaps ACPI is not detected on your system? Check if ACPI is enabled by running the following command on the terminal:

Code: Select all

if [ -t `acpi_available` ]; then echo "enabled"; else echo "disabled"; fi
Regardless of the result, please also share the output of the following, to check your BIOS ACPI support:

Code: Select all

sudo dmidecode | sed -n '/^BIOS Information$/,/^$/p'
Image

gdawg
Level 1
Level 1
Posts: 27
Joined: Sun Mar 20, 2011 5:30 pm

Re: Mint 11 Won't Shutdown

Post by gdawg »

Here are the results of suggested commands:

Code: Select all

jane@localhost ~> if [ -t `acpi_available` ]; then echo "enabled"; else "disabled"; fi
bash: acpi_available: command not found
enabled
jane@localhost ~> sudo dmidecode | sed -n '/^BIOS Information$/,/^$/p'
[sudo] password for jane: 
BIOS Information
        Vendor: Dell Inc.
        Version: 1.0.5
        Release Date: 09/14/2007
        Address: 0xE0000
        Runtime Size: 128 kB
        ROM Size: 2048 kB
        Characteristics:
                ISA is supported
                PCI is supported
                PNP is supported
                APM is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                Boot from CD is supported
                Selectable boot is supported
                BIOS ROM is socketed
                EDD is supported
                5.25"/360 kB floppy services are supported (int 13h)
                5.25"/1.2 MB floppy services are supported (int 13h)
                3.5"/720 kB floppy services are supported (int 13h)
                3.5"/2.88 MB floppy services are supported (int 13h)
                Print screen service is supported (int 5h)
                8042 keyboard services are supported (int 9h)
                Serial services are supported (int 14h)
                Printer services are supported (int 17h)
                CGA/mono video services are supported (int 10h)
                ACPI is supported
                USB legacy is supported
                LS-120 boot is supported
                ATAPI Zip drive boot is supported
                BIOS boot specification is supported
                Function key-initiated network boot is supported
                Targeted content distribution is supported
        BIOS Revision: 1.0
Thanks for your help.
Linux gdawg-Inspiron-530s 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux

User avatar
xenopeek
Level 24
Level 24
Posts: 24276
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Mint 11 Won't Shutdown

Post by xenopeek »

Weird, acpi_available is part of the default installed powermgmt-base package. You need that package for APM and ACPI functions. Did you perhaps remove software from the default installation? Check if this package is indeed not installed:

Code: Select all

dpkg -l powermgmt-base
If it is not installed, I suggest you install it.
Image

gdawg
Level 1
Level 1
Posts: 27
Joined: Sun Mar 20, 2011 5:30 pm

Re: Mint 11 Won't Shutdown

Post by gdawg »

Hi - Here are results of latest commands:

Code: Select all

 jane@gdawg-Inspiron-530s ~ $ dpkg -l powermgmt-base
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  powermgmt-base 1.31           Common utils and configs for power managemen
jane@gdawg-Inspiron-530s ~ $ sudo apt-get install dpkg -l powermgmt-base-1.31
[sudo] password for jane: 
E: Command line option 'l' [from -l] is not known.
jane@gdawg-Inspiron-530s ~ $ sudo apt-get install  powermgmt-base-1.31
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package powermgmt-base-1.31
E: Couldn't find any package by regex 'powermgmt-base-1.31'
jane@gdawg-Inspiron-530s ~ $ sudo apt-get install  powermgmt-base
Reading package lists... Done
Building dependency tree       
Reading state information... Done
powermgmt-base is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
 
I sure appreciate your help. Thank you.
Linux gdawg-Inspiron-530s 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux

User avatar
xenopeek
Level 24
Level 24
Posts: 24276
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Mint 11 Won't Shutdown

Post by xenopeek »

That's the same version I have installed. You mention you also have the problem with Ubuntu. Do you need to add any boot parameters (in Grub) to both to boot your machine successfully?

As for the acpi_available not running, I can only imagine two reasons:
1. The file was deleted;
2. The path doesn't include /sbin.
Both seem awfully crazy, but please run next two commands to check.

Code: Select all

ls -l /sbin/acpi_available
echo $PATH
Image

gdawg
Level 1
Level 1
Posts: 27
Joined: Sun Mar 20, 2011 5:30 pm

Re: Mint 11 Won't Shutdown

Post by gdawg »

Hi - Here are results of last commands:

Code: Select all

jane@gdawg-Inspiron-530s ~ $ ls -l /sbin/acpi_available
-rwxr-xr-x 1 root root 5496 2009-12-25 01:26 /sbin/acpi_available
jane@gdawg-Inspiron-530s ~ $ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
Both Ubuntu 10.04 and Mint 11 are booting OK. Thanks again for your help.
Linux gdawg-Inspiron-530s 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux

User avatar
xenopeek
Level 24
Level 24
Posts: 24276
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Mint 11 Won't Shutdown

Post by xenopeek »

It seems the Dell Inspiron 530S, at least some models, have a Foxconn G33 motherboard that has not so good support for ACPI on Linux. Probably you will have to add a boot paramater, either acpi_osi="something" or acpi_os_name="something". I'd try first with the former; boot your computer and hold shift to get Grub to show, if it isn't shown by default. In the Grub menu highlight the Linux Mint option (with the arrows keys) and press 'e' to edit the boot parameters. On the line that starts with "linux", insert acpi_osi=linux at the end (before any final double-dash --). Then continue the boot and see if you can shutdown now.
Image

gdawg
Level 1
Level 1
Posts: 27
Joined: Sun Mar 20, 2011 5:30 pm

Re: Mint 11 Won't Shutdown

Post by gdawg »

Hi - tried 'acpi_osi=linux'. Sorry to say it didn't work. The end of that line states _ _ _ ro quiet splash vt.handoff=7. I placed 'acpi_osi=linux' before 'vt.handoff=7' and at end but Mint still won't shutdown. I've had it on this computer since I installed it. Thanks for your assistance.
Linux gdawg-Inspiron-530s 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux

overkiller
Level 1
Level 1
Posts: 2
Joined: Sat Feb 11, 2012 6:31 pm

Re: Mint 11 Won't Shutdown

Post by overkiller »

RIGHT ON that fixed it!! I've been struggling w/ Mint not shutting down on two completely different systems for months. It was the LibreOffice "quickstarter". I disabled it and VIOLA my system shuts down, logs out and reboots flawlessly! Thank you for the tip!

BTW I did a quick Google on "Linux Mint wont shut down" and this post was the first one. Gotta love the interweb!

Thanks again!

User avatar
tonywhelan
Level 1
Level 1
Posts: 41
Joined: Sun Jun 10, 2012 10:47 pm
Location: Canberra, Australia

Re: Mint 11 Won't Shutdown

Post by tonywhelan »

On new build of Mint 13 Maya, Cinnamon, but using gnome classic session.

Allwas working well, till I installed a couple of auto-shutdown utilities (incl gShutdown). I uninstalled them as I wasn't happy with them, but then I started to have the reported problem with PC not shutting down when I told it to.

Finally, uninstalled gnome-power-manager and the problem disappeared.

Post Reply

Return to “Software & Applications”