Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo install on Asus G73jh shuts down after ~10 minutes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
rjolley
n00b
n00b


Joined: 14 Sep 2003
Posts: 16
Location: Stone Mountain, GA

PostPosted: Thu Feb 01, 2018 6:37 pm    Post subject: Gentoo install on Asus G73jh shuts down after ~10 minutes Reply with quote

I decided to wipe out Windows on my old Asus G73jh laptop and install Gentoo. The install using a LiveDVD on a USB drive went without a problem.

When I booted the laptop with the newly installed Gentoo, everything came up cleanly. However, after about 10 minutes, the laptop shutdown with no warning. When I powered on the laptop, it came up fine, but then shut down again after 10 minutes.

If the machine is booted with the USB drive, it will run without issue for days. It's been up for 8.5 days so far.

I don't see anything in the logs which leads me to a reason the laptop is shutting down. I tried taking the kernel used on the LiveDVD, but that didn't work. I used the config settings from the LiveDVD and created a new kernel. No love there either.

What can I do to track down this issue? I'd like to use this laptop for some projects, but if I can't get this working, I'll either have to switch to another distro or go back to Windows.

Thanks.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7132
Location: Saint Amant, Acadiana

PostPosted: Thu Feb 01, 2018 7:28 pm    Post subject: Reply with quote

You could check if CPU usage is too high causing thermal shutdown. Or you could switch to another distro or go back to Windows.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
rjolley
n00b
n00b


Joined: 14 Sep 2003
Posts: 16
Location: Stone Mountain, GA

PostPosted: Thu Feb 01, 2018 8:27 pm    Post subject: Reply with quote

I was hoping I wouldn't have to resort to changing distros because I like Gentoo better than the others, but that is an option.

I've looked at the CPU usage using top up until the machine died and didn't see any problems. There was no indication of overheating or battery problems. Since the laptop runs with the LiveDVD without rebooting, I don't think it's related to that, unless the LiveDVD doesn't shut down based on those factors.

Is sar the best way to track the CPU usage, or is there another utility that would do a better job?

Is there a way to log the reason for a shutdown that has a very verbose setting?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13982

PostPosted: Fri Feb 02, 2018 2:58 am    Post subject: Reply with quote

What type of shutdown is this? Does the system perform an orderly shutdown, as if someone had run shutdown -h now? Does it freeze (unlikely given the description)? Does it behave as if the wall power was removed while the battery was dead (that is, instant transition to off, with no software shutdown actions)?

My first suspect would be a hardware watchdog that needs to be reminded not to kill the system, but it would be a bit unusual since (1) watchdogs usually reboot, rather than halt, and (2) the LiveDVD likely would not have any user processes prepared for watchdog-calming work, so if the LiveDVD works, then taking its kernel should also have worked.

Before you switch installed distributions, please try a LiveCD/LiveDVD from some other distribution to see if that live environment also avoids the automatic shutdown. If that works, boot that other live environment into its most minimal configuration. Similarly, please try booting the installed system into the most minimal configuration available: no X server, no user logins, and as few system services as possible.

If you use any out-of-tree kernel modules, blacklist them and reboot to remove them. Test whether the system is stable with a completely untainted kernel.
Back to top
View user's profile Send private message
rjolley
n00b
n00b


Joined: 14 Sep 2003
Posts: 16
Location: Stone Mountain, GA

PostPosted: Fri Feb 02, 2018 6:21 am    Post subject: Reply with quote

Thanks for the ideas.

The system dies as if the power was removed. I've noticed that I'm not able to start the laptop up right after it dies, but can after a few minutes. That would lead me to think it's heat related, but it doesn't make sense why it runs fine from the LiveDVD.

I'll grab another LiveDVD and see how that performs. Maybe I'll give Ubuntu a shot.

I've only used gentoo-sources for the kernel, currently using 4.14. I just tried booting into recovery mode and the system died in less than 10 minutes. I did the same with the battery out and got the same result.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13982

PostPosted: Sat Feb 03, 2018 1:52 am    Post subject: Reply with quote

Right after it dies, try testing the temperature by touch. If heat killed it, it may be very hot to the touch, so test carefully. Compare that to its temperature after an extended run where it does not die. If the dead case is notably hotter, perhaps you are missing some userspace configuration change that puts the laptop into a colder operating mode.
Back to top
View user's profile Send private message
rjolley
n00b
n00b


Joined: 14 Sep 2003
Posts: 16
Location: Stone Mountain, GA

PostPosted: Sat Feb 03, 2018 8:35 am    Post subject: Reply with quote

Just ran the laptop for ~24 hours with kubuntu run from a USB drive with no issues.

Started the laptop with the installed Gentoo and it shutdown after a few minutes again. The temperature of the bottom of the laptop wasn't much different that it was after the 24 hour run.

Any ideas of what userspace configurations I can look at changing? It's worth a try.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13982

PostPosted: Sat Feb 03, 2018 6:09 pm    Post subject: Reply with quote

Sorry, no. If you had reported that Gentoo overheated and the live environment ran cool, we could look at user programs relating to throttling and temperature management. Since your observed results seem to indicate heat is not the problem, I do not know where to look next. Leave the thread open. Perhaps someone else will have an idea.
Back to top
View user's profile Send private message
szatox
Veteran
Veteran


Joined: 27 Aug 2013
Posts: 1751

PostPosted: Sat Feb 03, 2018 7:26 pm    Post subject: Reply with quote

Actually, it still may be heat related.
Do you hear the fan spin? Does it produce a stream of hot air?
Is there any difference between idling system and one with CPU fully loaded? (You can load it with a few forks of "yes >/dev/null &" .) E.g. does either of them run significantly longer? Or spins the fan up?
Does initramfs have the same problem as fully booted system? Add "debug" to kernel's boot line to enter initramfs, maybe you have some misbehaving service there.

Finally.... Does your bios have any diagnostic stuff built in? Perhaps there are some logs you could check to find out the reason behind those sudden shutdowns.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5855

PostPosted: Sat Feb 03, 2018 8:18 pm    Post subject: Reply with quote

Exactly 10 minutes? X11 or console? Is acpid running?
Back to top
View user's profile Send private message
rjolley
n00b
n00b


Joined: 14 Sep 2003
Posts: 16
Location: Stone Mountain, GA

PostPosted: Sat Feb 03, 2018 9:56 pm    Post subject: Reply with quote

Not exactly 10 minutes. Haven't timed it, but 10 minutes seems to be the longest it'll stay up when booting off the HD. It boots to console. Yes, acpid is enabled.

I don't hear the fan ramp up while the system is up and idling. No stream of hot air. It will ramp up when I am compiling, but the system won't shut down if I booted from USB.

I'll try the change to the boot line. Is there anything I should be looking at in particular?

I haven't found anything in the BIOS with diagnostic information. I'll look around and see if there's a way to get that info.

Thanks for the help, everyone. Much appreciated.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Sat Feb 03, 2018 11:18 pm    Post subject: Reply with quote

Just let it shutdown, then reboot with a livecd, mount the partition and copy/save the dmesg (this way, you'll have what dmesg has said before shutdown).
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5855

PostPosted: Sun Feb 04, 2018 1:01 am    Post subject: Reply with quote

If it's UEFI, you might want to compile in the pstore driver for that too. If there's a kernel panic involved the whole log gets saved in nvram.
Back to top
View user's profile Send private message
rjolley
n00b
n00b


Joined: 14 Sep 2003
Posts: 16
Location: Stone Mountain, GA

PostPosted: Fri Feb 16, 2018 6:34 pm    Post subject: Reply with quote

Brief update:

After a busy week of not being able to work on the install, while working on something else in my office, I had to unplug and move the laptop, so it shutdown after running out of juice. When I powered it back on, I decided to let it boot to the installed Gentoo and work on trying to find another solution to attempt. The laptop has been up for over 2 days so far with no issues. I'm currently running a portage update to the system that's been running for at least 18 hours with no problem.

I'm not sure what changed to get the system to run without shutting down. I'll see what I can find out.

Thanks for the help and advice.
Back to top
View user's profile Send private message
sao98021
Tux's lil' helper
Tux's lil' helper


Joined: 03 Apr 2012
Posts: 144
Location: Michigan

PostPosted: Mon Mar 19, 2018 10:13 pm    Post subject: Reply with quote

maybe weird voltages were a contributing factor, ive had this happen during brown outs
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum