LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-12-2010, 02:54 PM   #1
David2010
Member
 
Registered: May 2009
Posts: 255

Rep: Reputation: 23
Gentoo System keeps crashing every 6 hours?


Ok this one kind of puzzles me.

I was installing "wine" last night and since I knew it was going to take a while I closed the lid of the laptop and turned it upside down on the floor. (I always turn the laptop upside down when not using it otherwise might overheat)

When I woke up this morning roughly 8 hours after I went to sleep the machine was turned off.

Using the "last -x | grep shutdown | head -1" it stated that it went down at roughly 6 hours from when I went to sleep.

The program I was installing got finished installing but I never set up an auto-shutdown program or anything of the sort.

If this isn't a problem with linux then its a problem with my bios. If its a problem with my bios I will just have to live with it because my bios is locked.

/var/log/messages says this:

Code:
alexslaptop logger: ACPI event unhandled: battery BAT1 00000080 00000001
alexslaptop shutdown[14933]: shutting down for system halt
alexslaptop init: Switching to runlevel: 0
alexslaptop sshd[18178]: Received signal 15; terminating.
alexslaptop acpid: client 12958[0:0] has disconnected
alexslaptop logger: ACPI event unhandled: ac_adapter ADP1 00000080 00000000
alexslaptop acpid: exiting
alexslaptop syslog-ng[17672]: Termination requested via signal, terminating;
alexslaptop syslog-ng[17672]: syslog-ng shutting down; version='3.1.1'
 
Old 07-12-2010, 03:27 PM   #2
Awatto
Member
 
Registered: Aug 2003
Location: Halifax, NS
Distribution: Debian, Gentoo, Ubuntu, Fedora
Posts: 128

Rep: Reputation: 30
You say "keeps crashing". Has this happened more than one?

You could do a memory check, to make sure that it is working fine, but it looks like it might have something to do with your battery, given that it triggered some event right before shutting down?

The event was not handled, but you should investigate what this event is (it may be that is has switched to battery power for some reason, as things are not being handled correctly?)

Perhaps http://www.gentoo.org/doc/en/power-management-guide.xml will lead you in the right direction?
 
Old 07-12-2010, 03:47 PM   #3
David2010
Member
 
Registered: May 2009
Posts: 255

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by Awatto View Post
You say "keeps crashing". Has this happened more than one?

You could do a memory check, to make sure that it is working fine, but it looks like it might have something to do with your battery, given that it triggered some event right before shutting down?

The event was not handled, but you should investigate what this event is (it may be that is has switched to battery power for some reason, as things are not being handled correctly?)

Perhaps http://www.gentoo.org/doc/en/power-management-guide.xml will lead you in the right direction?
The RAM is fine. I already did a scan on that a couple days back.

As for the battery having issues that is very likely considering the power adapter was kinda... hacked together.

The laptop was given to me and the power adapter was in really bad shape AKA broken. So using two wires and a LOT of electric tape I pieced the whole thing back together safely and it worked.

From a viewing perspective the laptop appears to charge perfectly.

The crash has happened twice so far.
 
Old 07-12-2010, 03:57 PM   #4
Awatto
Member
 
Registered: Aug 2003
Location: Halifax, NS
Distribution: Debian, Gentoo, Ubuntu, Fedora
Posts: 128

Rep: Reputation: 30
Were both crashes after 6 hours? Or different time-frames.

If the power cable was hacked together, you may have a problem with the power cable intermittently cutting out?

As far as I can see, it looks like

Code:
alexslaptop logger: ACPI event unhandled: battery BAT1 00000080 00000001
the batter is kicking in. What is the line just before this?
 
Old 07-12-2010, 05:15 PM   #5
David2010
Member
 
Registered: May 2009
Posts: 255

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by Awatto View Post
Were both crashes after 6 hours? Or different time-frames.

If the power cable was hacked together, you may have a problem with the power cable intermittently cutting out?

As far as I can see, it looks like

Code:
alexslaptop logger: ACPI event unhandled: battery BAT1 00000080 00000001
the batter is kicking in. What is the line just before this?
hm... I really do need to get another power adapter for it.

Code:
Jul 11 23:57:06 alexslaptop logger: ACPI event unhandled: battery BAT1 00000080 00000001
Jul 11 23:57:23 alexslaptop logger: ACPI event unhandled: battery BAT1 00000080 00000001
Jul 11 23:57:40 alexslaptop logger: ACPI event unhandled: battery BAT1 00000080 00000001
Jul 11 23:57:57 alexslaptop logger: ACPI event unhandled: battery BAT1 00000080 00000001
Jul 11 23:58:13 alexslaptop logger: ACPI event unhandled: battery BAT1 00000080 00000001
Jul 11 23:58:30 alexslaptop logger: ACPI event unhandled: battery BAT1 00000080 00000001
Jul 11 23:58:47 alexslaptop logger: ACPI event unhandled: battery BAT1 00000080 00000001
Jul 11 23:59:04 alexslaptop logger: ACPI event unhandled: battery BAT1 00000080 00000001
Jul 11 23:59:20 alexslaptop logger: ACPI event unhandled: battery BAT1 00000080 00000001
Jul 11 23:59:37 alexslaptop logger: ACPI event unhandled: battery BAT1 00000080 00000001
Upon further investigation it appears like the power was disconnected during most of the night. (Even though it was plugged in) What was strange though is the battery was 100% charged when I woke up this morning.

The power didn't go out last night because all the clocks were at the correct time.
 
Old 07-12-2010, 06:43 PM   #6
Awatto
Member
 
Registered: Aug 2003
Location: Halifax, NS
Distribution: Debian, Gentoo, Ubuntu, Fedora
Posts: 128

Rep: Reputation: 30
Well hopefully that solves the mystery then.

As for a new power adapter, nonsense! Keep pulling it apart and re-wiring it until it works! :-)
 
  


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
System resetting every 24 hours blunsky Linux - Hardware 2 09-21-2009 08:48 AM
Gentoo: Thunar crashing vampirex Linux - Desktop 4 07-12-2008 08:27 AM
System goes to lunch after about 24 hours EwanG Linux - General 6 11-01-2004 08:27 PM
Mplayer crashing in Gentoo 2004.2 Hayate Linux - Software 2 08-12-2004 04:20 PM
System slowing down after a few hours?? BajaNick Linux - General 23 04-24-2004 04:02 AM


All times are GMT -5. The time now is 02:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration