You are not logged in.

#1 2012-12-23 01:19:54

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

[solved?] possible reasons for random shutdowns

Several months ago, my laptop started to suddenly shutdown for no apparent reason. Initially, I assumed it was overheating. Lenovo had a look, found nothing but replaced the thermal paste anyway, gave it back.

The issue continued so somebody from IT stuck my laptop in a server room on top of a hot computer and stress tested it for a few hours. Conclusion: can find nothing wrong, definitely not a heat problem! (Laptop never went above 65.) They ran a bunch of hardware tests as part of this, got my cable and adaptor tested etc.

Next theory: issue had only ever occurred on one level of the building (in my office) and it turned out there had been another issue with another laptop in that area and it turned out to be shutting down to protect itself due to spikes in the power supply. A UPS solved that issue. One is currently on order for me.

Meanwhile, last weekend I had the issue occur twice in a friend's house in Birmingham. Even more worrying, however, I just had it happen here at home even though I use the machine extensively here and have never seen this happen here before.

I'm guessing this rules out the environmental hypothesis although I'm by no means certain of this.

That leaves: hardware or software.

Hardware is a pain - Lenovo already ran it for 48 hours straight and found nothing. Moreover, although I have paid to extend the warranty and although they've taken my money, I've so far been entirely unsuccessful in getting Lenovo's system to recognise the extension. In any case, with the holidays and everything I'd rather be sure of what I'm dealing with before giving the machine up for an extended period of time. I cannot reliably reproduce the issue so it is hard to troubleshoot.

So I would like to know what possible software issues might trigger apparently random shutdowns.

The shutdowns are immediate. One minute I am working on some document or whatever. The next the machine is off. journalctl shows nothing except:

-- Reboot --

If it was a hardware protection feature, would this get logged?

It does not reboot - it powers off - but I always have issues with reboot since I switched to systemd. Generally, it just powers off instead. [Oh, and before anybody tries to blame systemd, the random shutdowns started before I switched to systemd.]

I've checked the RAM.

Any suggestions, however unlikely, are welcome at this point.

Last edited by cfr (2013-04-13 23:42:03)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#2 2012-12-23 05:53:09

hellomynameisphil
Member
From: /home/phil/Vancouver
Registered: 2009-10-02
Posts: 257
Website

Re: [solved?] possible reasons for random shutdowns

Random shutdowns on a laptop suggest an issue with the battery. Do these shutdowns occur when you're on AC or on battery or both/either? Have you tried removing the battery and plugging the machine in? I suppose it's possible that the battery could somehow be causing issues even if the computer is plugged in, though I've never heard of that happening and I don't know how it would work. Just a theory with no substance, but you may still want to do some troubleshooting around that if you have no better leads.

Offline

#3 2012-12-23 06:01:05

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: [solved?] possible reasons for random shutdowns

I agree that the "-- Reboot --" message seems to rule out hardware. I would check for loose connections nevertheless. Does it happen if you leave it to idle for a few hours? Alternatively, pick it up and rotate it and shake it gently.

I would also check the bios for triggers that could shut it down.

Do you have any function keys that could be responsible if the keyboard were faulty?

I have no idea what could kill it instantly in software. Buggy low-level software (bios interaction?, kernel modules?), something killing start-up processes, malware/rootkit?

You may be afflicted by the curse of Richard M. Stallman. Those who do not refer to the system as GNU/Linux are doomed to experience a system without GNU software. Repent and donate to the EFF lest you suffer eternally.

edit:
I really need to refresh tabs before replying. I just saw the previous post. The battery is such an obvious potential culprit that I just assumed this was occurring while using the adapter.

Last edited by Xyne (2012-12-23 06:04:42)


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#4 2012-12-23 11:13:35

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: [solved?] possible reasons for random shutdowns

This has only occurred while plugged into AC. On the other hand, I use it on AC a lot more than I do on battery but the fact that it has never occurred on battery is at least suggestive.

I had a look inside and couldn't see anything obviously loose but I will try the gentle rotation/shaking routine.

I have the usual function keys. I doubt that I've hit any which could have triggered this just because the times it has happened I've typically been typing normally and the function keys are all on the top row.

The malware/rootkit possibility is worrying. I'm reasonably careful about the stuff I install. What would the best way to investigate that be?

There is nothing at all suspicious in the BIOS. Believe me, I've been over the BIOS (and so have the IT department) a number of times. (It is my personal machine but I use it for work as well - hence their involvement. Especially since this was originally happening only in my office.)

It has never happened while the computer was idling - I've always been actively using it.

I'll try referring to it as GNU/Linux while I'm at it.

It is hard to troubleshoot just because it is so apparently random. I can't change something and test it in any straightforward way...


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#5 2012-12-23 14:24:35

defears
Member
Registered: 2010-07-26
Posts: 218

Re: [solved?] possible reasons for random shutdowns

The reboot message is weird. Put a live Ubuntu cd in for a day or 2 and see if it happens to rule out current software. Maybe a 1 or 2 release old distro to rule out regressions.

Things I've personnaly experienced with this same problem over the years.
1) Weird opengl bug with Nvidia. Nouveau was fine.
2) Kernel regression.
3) Bad battery. Which doesn't help when you need the battery for it to work at all.
4) Most recent. Fan in power supply only stopped working. Power supply itself would shutdown on over temp but no log in bios because no sensor in power supply.

Offline

#6 2012-12-23 14:25:00

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,848

Re: [solved?] possible reasons for random shutdowns

Cfr, 1 thing  not many people know is that laptops never shut down completely UNLESS you remove the battery and the AC adapter.

As long as either battery or AC is present, some parts of the laptop will keep power.

To perform a real cold boot, you have to remove both battery and AC.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2012-12-23 14:38:22

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,422
Website

Re: [solved?] possible reasons for random shutdowns

This is an admittedly odd idea, but if odd brainstorming is needed perhaps it's worth consideration:

If this happens primarily (or exclusively) while plugged into AC, I wonder if there could be a short in the wire, adaptor, or jack.  Such shorts or bad connections are common, even if these symptoms would not be the norm.

With a charged batter in the computer, a transient loss of AC power should not cause any problem, unless the hardware fails to switch from AC to batter power appropriately.

One potential way to get an idea of whether this could be would be to remove the battery and run on AC power with no battery installed.  This way if there is a short or bad connection in the wire/jack then the problem should happen *more* often - particularly if your jiggle the wire a bit.

But again, this is a hairbrained idea.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#8 2012-12-23 16:10:48

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: [solved?] possible reasons for random shutdowns

Thanks. The adaptor, cable etc. was "PAT tested" by the electricals person in our building and they checked the fuse etc. in the plug as well. Moreover, the laptop never usually has a problem switching from AC to battery and back. My battery is more than adequate for this sort of purpose and, if the battery did run low, the laptop would automatically suspend to RAM. Also, I know if this happens because, among other things, the display is set to dim on switch to battery. When the power supply has disappeared due to a power cut or just unplugging it, the switch has always been flawless.

I've just been jiggling and shaking and rotating the laptop itself as suggested above with no effect whatsoever. I've also tried pressing around the edges of the casing just in case I'm somehow putting pressure somewhere and that's affecting things. (I assume if it was pressure due to typing or touchpad, it would be happening all the time.)

I've also just spent a while jiggling the adaptor and both parts of the cable - also with no effect.

The one thing which makes me reluctant to test sans battery is that I've read that the batteries in ThinkPads serve some sort of protective function in case of issues with the power supply and that you shouldn't use them without the battery for that reason. (Somewhere on Lenovo's site but it was months ago so I can't remember where to check the details.) In case there is an issue with the power, I'd obviously rather not fry the laptop. (But it seems weird if it happens in several places in that case...)

I'm not sure about the cold boot comment. Do you think a cold boot might help? If so, I already performed one yesterday as I opened the back to look for loose connections. So if a cold boot might help, I'll just have to see. I've done cold boots before, though, after opening it up to look for issues following shutdowns.

These issues appeared several months ago and I've reproduced the issue with the LTS kernel a while back. So if it is a regression, it has been around for a bit. I might try a live Ubuntu USB. (I don't have an optical drive.) The problem is that a negative result won't really prove anything because the issue is so random. Given that yesterday is the first time it has ever happened to me at home and that even in my office I've sometimes gone three or four days without problem, a couple of days testing won't cut it. (And will make it difficult for me to get stuff done!) It might be best to wait and try it in my office after the holidays - if it worked for, say, a week there without issue, that would strongly suggest something in my Arch setup. (Or something about the hdd, I guess.)

Somebody suggested modules so, for the record, here's output from lsmod:

Module                  Size  Used by
usb_storage            47385  0 
uas                    11120  0 
efivars                12441  1 
fuse                   69213  3 
hid_generic             1114  0 
usbhid                 37036  0 
hid                    85974  2 hid_generic,usbhid
rfcomm                 33792  8 
bnep                    8858  2 
ipt_REJECT              2282  2 
ip6t_REJECT             2797  2 
xt_LOG                 12055  6 
xt_limit                1978  6 
xt_tcpudp               2472  4 
nf_conntrack_ipv4       7799  5 
nf_defrag_ipv4          1340  1 nf_conntrack_ipv4
nf_conntrack_ipv6       7512  5 
nf_defrag_ipv6          6318  1 nf_conntrack_ipv6
xt_recent               8603  12 
xt_conntrack            3298  10 
nf_conntrack           64101  3 xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6
iptable_filter          1457  1 
ip_tables              16947  1 iptable_filter
ip6table_filter         1397  1 
ip6_tables             18519  1 ip6table_filter
x_tables               17000  11 ip6table_filter,xt_recent,ip_tables,xt_tcpudp,xt_limit,xt_conntrack,xt_LOG,iptable_filter,ipt_REJECT,ip6_tables,ip6t_REJECT
nls_cp437               5954  1 
vfat                   10120  1 
fat                    48403  1 vfat
uvcvideo               72788  0 
videobuf2_vmalloc       2469  1 uvcvideo
videobuf2_memops        2283  1 videobuf2_vmalloc
coretemp                6071  0 
kvm_intel             124718  0 
snd_hda_codec_hdmi     24529  1 
videobuf2_core         24073  1 uvcvideo
videodev              100860  2 uvcvideo,videobuf2_core
snd_hda_codec_conexant    47159  1 
btusb                  12373  0 
kvm                   374014  1 kvm_intel
media                  10406  2 uvcvideo,videodev
joydev                  9992  0 
arc4                    2040  2 
bluetooth             192234  22 bnep,btusb,rfcomm
iwldvm                171052  0 
mac80211              426350  1 iwldvm
snd_hda_intel          26181  2 
snd_hda_codec          98034  3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
thinkpad_acpi          62562  0 
snd_hwdep               6429  1 snd_hda_codec
snd_pcm                75735  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc          7218  2 snd_pcm,snd_hda_intel
microcode              12346  0 
snd_timer              18935  1 snd_pcm
nvram                   5907  1 thinkpad_acpi
snd                    60189  12 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_hda_codec,snd_hda_intel,thinkpad_acpi
rts_pstor             401665  0 
atl1c                  33647  0 
psmouse                71952  0 
iwlwifi               125182  1 iwldvm
iTCO_wdt                5256  0 
iTCO_vendor_support     1930  1 iTCO_wdt
cfg80211              177109  3 iwlwifi,mac80211,iwldvm
rfkill                 15605  5 cfg80211,thinkpad_acpi,bluetooth
soundcore               5443  1 snd
i2c_i801                9572  0 
evdev                  10267  25 
serio_raw               4690  0 
pcspkr                  1900  0 
mei                    32666  0 
lpc_ich                10610  0 
ac                      2537  0 
thermal                 8120  0 
battery                 6774  0 
wmi                     8380  0 
nfs                   127008  0 
lockd                  64905  1 nfs
sunrpc                186134  2 nfs,lockd
fscache                40996  1 nfs
acpi_cpufreq            5934  0 
mperf                   1300  1 acpi_cpufreq
processor              26856  1 acpi_cpufreq
ext4                  440435  10 
crc16                   1360  2 ext4,bluetooth
jbd2                   78802  1 ext4
mbcache                 6027  1 ext4
sha256_generic         10262  2 
ablk_helper             1973  0 
aes_x86_64              7556  5 
aes_generic            26139  1 aes_x86_64
cbc                     2737  1 
dm_crypt               15800  1 
dm_mod                 72106  35 dm_crypt
sd_mod                 29560  4 
crc32c_intel            1988  0 
ghash_clmulni_intel     4278  0 
cryptd                  8742  2 ghash_clmulni_intel,ablk_helper
ahci                   21361  3 
libahci                20024  1 ahci
libata                167757  2 ahci,libahci
scsi_mod              133434  5 uas,usb_storage,libata,rts_pstor,sd_mod
ehci_hcd               41817  0 
usbcore               150472  6 uas,btusb,uvcvideo,usb_storage,ehci_hcd,usbhid
usb_common               955  1 usbcore
i915                  496012  3 
video                  11277  1 i915
button                  4663  1 i915
i2c_algo_bit            5392  1 i915
intel_agp              10745  1 i915
intel_gtt              15660  2 i915,intel_agp
drm_kms_helper         32878  1 i915
drm                   218903  4 i915,drm_kms_helper
i2c_core               20708  6 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,videodev

I did wonder about the watchdogs and whether I should try turning (any of?) them off. But I suspect this thought just shows my ignorance of these things.

I don't think there's a fan in my power supply - it is just a brick type adaptor between the AC and the laptop.  If it is the battery, it would be odd that it only ever happens when I'm plugged into AC. (Again, I use it a lot more on AC and the problem is random so this need not mean much.) One difference between battery and AC is that laptop-mode tools is configured to disable the NMI watchdog on battery.  But again, I don't understand enough of what this means to know whether this is even vaguely relevant.

My graphics is intel so I'm not using any closed source drivers from Nvidia or ATI. The driver is currently set to use the default acceleration. QT is using default rendering (X11/XRender) rather than Raster or the experimental OpenGL.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#9 2012-12-23 16:28:06

Lord Bo
Member
Registered: 2012-11-11
Posts: 168

Re: [solved?] possible reasons for random shutdowns

So it happens only when plugged into AC and you always have the battery inside the slot? Then it might be useful to look at edge cases: When it happens, is the battery fully loaded, or uncharged? How old is the battery? How much charge has it left (if it is old, it might have very reduced capacity). You should be able to monitor your battery with some tool, or with a script, which reads /proc/apci/... (I dont remember the file, but you'll figure that out yourself). One guess: If some wire of your AC Adapter is loose, your battery might charge and discharge without you noticing it; then you will observe "random" shutdowns.

Offline

#10 2012-12-23 18:22:00

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,728

Re: [solved?] possible reasons for random shutdowns

You stated that It only happens when you are using it.  Any chance you could be dealing with some sort of electromagnetic susceptibility issues?

Perhaps some electrostatic discharge?  it does not have to be a discharge to the computer itself, sometimes a discharge to a nearby metal plane can upset electronics as well.

Perhaps a strong magnetic or electric field nearby?  A transmitter, perhaps? (Your cell phone has several)

Edit:  What about cables and peripherals?  Are you using a wired Ethernet?  USB printers?  What if you isolate those by unplugging them?

Last edited by ewaller (2012-12-23 18:23:35)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#11 2012-12-23 19:33:33

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: [solved?] possible reasons for random shutdowns

The battery is typically fully charged but it could also be charging. The battery is a fraction more than a year old. I can use the machine on battery only for several hours. The machine does not loose AC power except when that is expected (I unplug it or there is a power cut though the latter is rare). I would notice if it were switching to battery because the machine is setup to behave differently on battery and it does behave differently. (Display dims, sleeps automatically on inactivity, wifi power is reduced, bluetooth is disabled etc.) It is definitely not that the battery is running out and the machine is definitely using AC power.

/sys/class/power_supply/BAT1/capacity
98
/sys/class/power_supply/BAT1/cycle_count
0
/sys/class/power_supply/BAT1/energy_full
48990000
/sys/class/power_supply/BAT1/energy_full_design
62160000
/sys/class/power_supply/BAT1/energy_now
48460000
/sys/class/power_supply/BAT1/power_now
0
/sys/class/power_supply/BAT1/voltage_min_design
11100000
/sys/class/power_supply/BAT1/voltage_now
12794000

There are bound to be cell phones around me in work and I have one. At home, it is usually charging on my desk (near the computer). At work, the laptop is near my desktop but any cell phones are further away e.g. on the other side of the office. My office mate has another desktop, sometimes a laptop and definitely a cell phone on the other side of the office. At home there is also an Airport Express in the same room and two hdds (but these were both off at the time it happened yesterday). The desktops in work don't have wifi or bluetooth. (At least, mine doesn't and I'm guessing my office mate's is similar although he has a newer machine.)

I use wired ethernet only rarely. In all cases, I've been connected to a wifi network.

Usually, the only peripheral plugged in would be a USB mouse (different mouse at home than work) but last weekend because I was away I was not using a mouse. In at least one of the two mouseless cases, I had nothing but AC plugged in. In the other case, I may also have had a USB key in but I'm not sure about this. At work, I sometimes have a USB printer plugged in but by no means always. At home, the printer is on the wireless network (but yesterday when it shutdown the printer was off). I sometimes use USB keys and a USB hdd but there is no correlation between my use of these and the shutdowns. It has mostly happened with neither of these plugged in. At least the USB hdd has never been plugged in when it has shutdown.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#12 2012-12-24 16:45:39

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 451

Re: [solved?] possible reasons for random shutdowns

from my experience bad memory can cause strange things

including random shutdowns.

ezik

Offline

#13 2012-12-25 00:29:04

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: [solved?] possible reasons for random shutdowns

I have tested the memory with memtest and it did at least two passes without finding any errors. (Maybe three - I can't remember.) Is there any additional test I should run?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#14 2012-12-25 01:07:10

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,728

Re: [solved?] possible reasons for random shutdowns

Let's try a different tack.  Have you had any problems running other operating systems?  In particular, one from the USA's Pacific Northwest?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#15 2012-12-25 02:17:28

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: [solved?] possible reasons for random shutdowns

ewaller wrote:

Let's try a different tack.  Have you had any problems running other operating systems?  In particular, one from the USA's Pacific Northwest?

Sorry, I've never tried. The first thing I did was wipe that particular OS. I have quite literally never booted anything on this machine but some version of GNU/Linux.

Last edited by cfr (2012-12-25 02:18:03)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#16 2012-12-26 17:30:43

unifiedlinux
Member
Registered: 2012-11-03
Posts: 20

Re: [solved?] possible reasons for random shutdowns

Hello,

if you leave the computer in the BIOS, so no operating system is loaded, do you still get the problem ? If yes, it's definitely a hardware issue.

Have a nice day.

Offline

#17 2012-12-26 18:20:16

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: [solved?] possible reasons for random shutdowns

Unfortunately, it is a bit difficult to test. For example, the issue hasn't occurred since I started this thread even though I've had the computer on continuously since then. (It will have been sleeping for a bit but it was on over one night when I ran back ups.) The issue has never occurred when the computer is simply on - even with a full OS loaded and with rsync and everything running - but only when I've been actually using it.

The "reboot" messages still suggest something software to me. How would a "reboot" entry get into the log if it was hardware? Not that I want to rule anything out and the issue is definitely weird enough for me to believe almost anything at this point.

EDIT: I've also run memtest overnight - not BIOS but not the OS - without issue and written random data to the hdd prior to encryption which took over 14 hours. No issue. But generally, I don't see the issue at home anyway. Lenovo also ran the machine for 48 hours straight (booted into Arch) without reproducing the issue.

Last edited by cfr (2012-12-26 18:22:12)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#18 2013-01-01 18:08:05

Lazzu
Member
Registered: 2012-10-27
Posts: 62

Re: [solved?] possible reasons for random shutdowns

I have this same issue with my Lenovo W510 laptop. It only happens when I am doing something, never when the laptop is idle. It usually happens only after longer session of watching videos from youtube or movies from hard disk. It also can happen when I am working with monodevelop, programming with opengl, but it is really rare that way. It never happens if I reboot the laptop myself once in 12-24 hours.

EDIT: It never happened when I had windows 7 installed for about a year.

Last edited by Lazzu (2013-01-01 18:09:00)

Offline

#19 2013-01-01 18:41:17

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: [solved?] possible reasons for random shutdowns

Just to say: rebooting every 12-24 hours is no guarantee in my case. I've seen this happen 5 or 6 times in the space of 3-4 hours in my office.

It's happened to me when I've been doing stuff like using Kile or Firefox - work stuff. I hardly ever watch videos or movies on my laptop, I've never used monodevelop or programmed with opengl. (Indeed, I scarcely know what these are.)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#20 2013-01-03 16:53:13

mandog
Member
From: Peru
Registered: 2008-09-17
Posts: 218

Re: [solved?] possible reasons for random shutdowns

Just a suggestion
Try raising your laptop of the desk so that air can circulate. I had this problem with a hp and it cured it, laptops can overheat in seconds causing them to shutdown due to lack of space underneath for air to flow.


I'm dyslexic Please do not complain about puntuation or spelling and remember most dyslexic people have above average iq.

Offline

#21 2013-01-03 17:21:21

Lazzu
Member
Registered: 2012-10-27
Posts: 62

Re: [solved?] possible reasons for random shutdowns

I do not think that it is overheating problem. I am able to play graphically really intense games and the laptop gets really hot, but it never shuts down. When I was running windows 7 there was only one game that made the laptop overheat. And before it did, I noticed that the game and whole windows started to freeze up or at least slow down quite a bit. This symptom does not occur with this problem, and the laptop is not really that hot when it randomly shuts down.

Thanks for the suggestion anyway. I'm all open for them.

Offline

#22 2013-01-03 22:03:59

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: [solved?] possible reasons for random shutdowns

Overheating has been ruled out in my case by the IT department who deliberately tried to get it to overheat by stressing it in a server room while placing it on top of (another) hot computer. Never went over 65.

Lenovo also tried to get it to overheat for 48 hours and failed. (They replaced the thermal paste anyway when I assured them I'd been using it in suitable conditions i.e. on a hard surface, with a cooling pad to allow air to circulate underneath etc.)

As it happens, in every case where this has occurred, the laptop has been on a portable cooling pad on top of my office desk; on a less portable cooling pad on my desk at home; or on a cooling pad on my lap (at my friend's house). Whatever causes this, it ain't an overheating problem. I know that's the obvious cause but it's not the actual cause in this case.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#23 2013-02-12 11:57:33

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: [solved?] possible reasons for random shutdowns

Looking at the logs from yesterday and today, every time this happens, I get messages such as the following:

Feb 11 16:36:24 localhost wicd[1023]: Throttling autoreconn

repeated many times in everything.log at just the time the laptop shuts itself down. I didn't get journal messages yesterday as the journal disappeared but today, I get the usual "--Reboot--" marker in the journal log so I can be sure the times match.

However, I do also see these messages from wicd at other times i.e. when nothing happens, so I'm not sure whether it could possibly be related or has nothing whatsoever to do with anything.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#24 2013-02-12 13:18:22

Lord Bo
Member
Registered: 2012-11-11
Posts: 168

Re: [solved?] possible reasons for random shutdowns

Maybe you could stop wireless services and wait for the shutdown to occeur - or not.

edit: I don't know if it suffices to stop wireless services, what I meant is, that you could stop wicd and wait.

Last edited by Lord Bo (2013-02-12 13:25:38)

Offline

#25 2013-02-13 00:00:37

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: [solved?] possible reasons for random shutdowns

Today it didn't correspond with any such messages from wicd so I think it was pure coincidence.

What I don't understand is why the problem should be so much more severe when I'm on campus than when I'm at home, for example. Is the damn thing just antisocial?

I am currently incredibly frustrated: I paid for an extended warranty but Lenovo won't look at it until I register the warranty in their system and I can't do that because nobody has given me the authorisation code. And everybody I speak to says somebody else has to give it to me. They've taken my money, damn it, and I've been arguing with them for well over two months. (Email saying it is confirmed; next day, email saying not; person says fine; next person says not; and always, always Somebody Else's Problem. sad)

Lenovo suck - I got a ThinkPad because the things are meant to be reliable. I got an extension for "peace of mind". Grrr!

Last edited by cfr (2013-02-13 00:01:25)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB