You are not logged in.
Pages: 1
So about a week ago I was doing some work and my laptop just shut off without any warning. Okay, random crash. I can accept that maybe a cosmic ray came and flipped a bit, causing my system to crash. A few days later, it happened again. I started searching the forums, went through all 17 pages of results from "system crash" and read any thread that sounded like it might pertain to my problem (ended up being about 20 threads to read). So I learned about pacman -Syu (hooray for learning!) and updated everything, realizing that I probably ought to have everything updated before posting here. I happened again last night, just as though the battery had been taken out of my laptop. A few observations:
1. There was no particular action I performed that caused this (as in I didn't run some specific command and BOOM)
2. Each time I had Chromium, Intellij, and some terminals open
3. I was running on battery power
4. I have a button on my battery that lets me see the battery levels, and each time it was at the about 50% level (it's only a rough estimate).
In reading through the forums, I also learned about the journalctl command and ran that this morning to see what I could find. I don't really know what I am looking for, other than at the time it happened, I found a -- Reboot -- line. The next couple lines up are an hour before, so it doesn't seem like I should find much there (though I very well could be wrong). I've looked through /var/log/* to see if I could find anything in the logs that was useful, but I am new to looking in those, so I'm not really sure what I am even looking for. If you want me to post one of the logs from there, let me know and I will. I also ran dmesg but I really don't know what to look for in there either. One thing I did find in there was something about the AC Adapter and [Firmware bug]: Invalid critical threshold (0) on line 614. Maybe that has something to do with it?
I've thought about it maybe being a hardware problem, but that doesn't seem likely since this has only happened when I've been running on battery power. I've been on for 15+ hours at a time with no problem while plugged in (literally the day before the first time this happened).
So how do I diagnose this problem? I don't really know where to go from here or where to do more research. I know the answer is probably on Google somewhere, but I honestly don't know what else to search for. My goal here is to fix the problem, but also to LEARN how to fix the problem so if something like this happens again I will know what tools I have available to start fixing. What ideas do you have?
Here is my dmesg output: http://pastebin.com/MbQybKBJ
Here is my journalctl output (containing the whole day leading up to the crash): http://pastebin.com/uj72bPva
P.S. This is my first post here and I tried my best to follow the standards. Am I off on anything, should I change something to better follow the standards?
P.P.S. In preparing to post, there are some sticky threads that help you learn how to best make a post. One of these threads had this link on how to ask questions: http://www.catb.org/~esr/faqs/smart-questions.html. To anyone who hasn't read this, read it. It's really good. I haven't made my way through it all yet, but so far it has been awesome.
Last edited by archer112358 (2016-03-26 05:29:20)
Offline
Hi, and welcome to the forums. Some things you could try:
* Check thermal management settings; "shut off without warning" sounds like overheating
* Install mcelog and check its output with
journalctl -u mcelog.servicehttps://wiki.archlinux.org/index.php/Ma … _exception
* Try booting to a virtual console, and reproducing the error there
* Upgrade to the latest BIOS
* Use a different kernel version, such as linux-lts
* Try booting with the acpi=off kernel parameter
https://wiki.archlinux.org/index.php/Kernel_parameters
* Try in a different distribution
* Google if others have similar issues with the same notebook model. Is this your laptop?
http://www.hp.com/ctg/Manual/c02842252.pdf
lspci -v helps in identifying hardware components.
P.S. Since you ask, pastebin.com is typically frowned upon due to ads and being a popular platform for malware. Two good alternatives:
https://ptpb.pw/f
http://gist.github.com/
Last edited by Alad (2016-03-25 22:30:14)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Thanks for the alternatives for pastbin! I'll use one of those next time. So quick update: I'm not sure I am running this correctly, but I started mcelog like this:
systemctl start mcelog.serviceThen went on with my business. When it crashed, I booted back up and ran the command you gave me to see the output. It only gave me 2 lines:
-- Logs begin at Mon 2015-08-31 22:52:04 MDT, end at Fri 2016-03-25 13:25:40 MDT. --
Mar 25 10:48:27 arch systemd[1]: Started Machine Check Exception Logging Daemon.
Mar 25 10:48:27 arch mcelog[2745]: mcelog: failed to prefill DIMM database from DMI dataWhen I was reading the man page for mcelog, it mentioned that a /var/log/mcelog file would be created. Not sure if I am understanding that right, but anyway the file was not there after I booted back up.
I haven't tried your other suggestions just yet, I want to do one at a time to see what works, starting with hopefully getting better log information using mcelog. So another thing, I paid closer attention to my battery life, and it's at about 30% that it dies. I tried booting back up right after it crashed and I got to the grub menu, then it shut off again. It did this a few times, so I tried booting into windows which is on a separate disk (going to the boot menu and selecting my other hard drive), but it shut off there as well. I finally plugged in my computer, then about 5 minutes later tried booting up and it worked.
I just realized I hadn't done your suggested google search, I'll do that right now. And yes, that is my laptop model. I figured this was a big enough update to post anyway.
Offline
I just did some basic googling for my particular model shutting down unexpectedly, and there has turned out to be a LOT of material out there. So this is making me wonder more about this being a hardware issue, but I will do a lot more research on this and report back. This may not be an Arch problem after all...
Offline
Okay I think I have the answer to what is going on. I went onto Windows to test out my battery, and sure enough, a little after it hit 30%, BOOM. Shuts off. I hadn't ever learned about battery calibration before, but it sounds like I need to calibrate it so the battery internals can report correct power values to the OS. Or just assume that my battery will die at about 30%, if calibration doesn't end up working. I think over time this will happen to laptop batteries, even if you take good care of it. If you don't take good care of it, then it might be a little more extreme, like dying at 30%. So battery calibration seems to be the solution. Thanks for your help, I still learned a lot about other things to try when problems like this arise.
Offline
Pages: 1