LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-18-2008, 08:57 PM   #1
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 18.04, Bodhi 5.0
Posts: 691

Rep: Reputation: 45
Shutdown, Doesn't - but Does Give Halt Error


I've looked all over the place for this one, but can't find a solution.

I recently installed Kubuntu 7.10 on my IBM T20 laptop. With all the other distros I've thrown at this platform, none have ever failed to properly shutdown and power off. Except for now.

In Kubuntu I've gone to System Settings -> Advanced -> System Administration -> Login Manager -> Shutdown tab (in Administrator mode). I've tried the /sbin/ shutdown, /sbin/stop, /sbin/poweroff, and /sbin/halt entries for the Shutdown dropdown box. In all cases when I select "Turn Off" from the logoff menu selection, the GUI shuts down fine, and all the runs are properly terminated, killed, etc. The message "Will now halt" is displayed, but instead of powering off another error type message is displayed that states "halt: unable to iterate IDE devices: no such file or directory". this is followed by the message "System halted". The system goes quiet, but the power light is still on and the screen still has a display of the last messages. At this point I can press the power button and the power does go off.

This bizarre and maddening, but it seems like there may be a configuration problem somewhere ro some shutdown scripts are honked up.

Where to look?
 
Old 02-19-2008, 08:27 AM   #2
jolphil
Member
 
Registered: May 2002
Location: central florida
Distribution: Linux Mint, ,Mageia,Ubuntu
Posts: 453

Rep: Reputation: 33
Quote:
Where to look?
My first guess would be ACPI..I have had that happen with my desktop too..Sorry I cannot be more specific..
Goodluck,
jolphil
 
Old 02-19-2008, 01:27 PM   #3
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 18.04, Bodhi 5.0
Posts: 691

Original Poster
Rep: Reputation: 45
Yeah, I saw that solution in another post somewhere. I put acpi=off into my grub menu.lst file, but no change. Thanks for the response, though!
 
Old 02-19-2008, 01:43 PM   #4
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
you should try to delete the 'hddown="-h"' line in your /etc/init.d/halt shutdown script.
 
Old 02-19-2008, 02:19 PM   #5
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 18.04, Bodhi 5.0
Posts: 691

Original Poster
Rep: Reputation: 45
I will give that a try!!

In the meantime, based on someone else's suggestion, I added this to /etc/modules:

apm power_off=1

That did result in a complete power down of the system, although I did notice the "halt: ... " notice still being displayed. But I will also look into editing the halt script and test both solutions. Thank you.

UPDATE: I gave your suggestion a try and it worked well. Thanks again.

Last edited by jglen490; 02-19-2008 at 09:54 PM. Reason: Updated comment.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
laptop halt instead of shutdown kafnir Linux - Laptop and Netbook 2 12-01-2007 06:25 PM
shutdown/Halt system from /etc/rc ladio Linux - General 2 09-22-2007 07:12 PM
I lost the halt command and the shutdown!!!! mago Slackware 7 05-07-2005 06:20 AM
unable to 'shutdown' from x... need to shutdown using 'halt' guitarnix Linux - Newbie 5 11-24-2003 02:00 AM
halt, shutdown, and reboot HappyDude Linux - Software 29 07-24-2003 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:36 PM.

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