LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-06-2011, 05:48 PM   #1
Super TWiT
Member
 
Registered: Oct 2009
Location: Cyberville
Distribution: Debian
Posts: 132

Rep: Reputation: 16
iMac G3 Improper Shutdown?


I gave my iMac G3 to my great-grandmother for her birthday, (she's 99) so she could play games on it, (like gweled, iango, etc). Anyway, I told her she could just push the button on the front to turn it on, and to turn it off. This makes the computer really simple to use, and since this is her first computer simplicity is good. Anyway, I found out that the computer is shutting down improperly, which seems bad. No damage has been done, since she's not really writing files to the drive at all, and I turned off all the background services, so they aren't really writing anything either. How can I make the computer properly shutdown when she presses the button on the front??
 
Old 12-06-2011, 06:00 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Is she holding the power button until the machine goes off, or just pressing it once? What exactly does it do when she hits the button?

You really want to avoid improper shutdowns, as there is always something going on in the background, even if services have been disabled and she isn't actively working on any files. If the computer is on, there are open files that the system is actively reading and writing, and an improper shutdown can corrupt any of those.

For that matter, what filesystem are you using? A more robust filesystem can go a long way to avoiding file corruption.
 
Old 12-06-2011, 08:26 PM   #3
Super TWiT
Member
 
Registered: Oct 2009
Location: Cyberville
Distribution: Debian
Posts: 132

Original Poster
Rep: Reputation: 16
Yeah, it happens if you just tap the power button (e.g. less than a second). Its an EXT3 filesystem, so at least it should be good there. I was thinking of something along the lines of maybe pmud or pbbutton (unfortunately I briefly tried all those programs, and nothing changed)

Last edited by Super TWiT; 12-06-2011 at 08:29 PM.
 
Old 12-17-2011, 07:14 AM   #4
Super TWiT
Member
 
Registered: Oct 2009
Location: Cyberville
Distribution: Debian
Posts: 132

Original Poster
Rep: Reputation: 16
Yeah, it looks like it got corrupted. I am going to go and redo the whole thing. Does anyone have any ideas as to how to make the thing work properly this time around, so I don't end up redoing it again... I noticed on the kernel startup messages, that it seems to be mapping that button to something like /dev/virtual7. (I am going from memory here so I don't know for sure.) Is it possible to have that button execute the halt command when pressed?

Last edited by Super TWiT; 12-17-2011 at 07:40 AM.
 
  


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
fsck after improper shutdown jmkelm08 Linux - Software 1 07-05-2006 02:40 AM
Improper shutdown question... TippyToes Linux - Newbie 3 06-01-2006 03:03 PM
improper shutdown eating up space wincrk Linux - Networking 3 05-03-2006 03:32 AM
Improper shutdown - dead slack :( Bagsis Linux - General 3 02-23-2006 07:46 PM
Improper Shutdown... errrr adubb Linux - General 3 01-30-2006 10:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:41 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