您尚未登录。

#1 2015-02-04 20:06:46

Yangff
会员
注册时间: 2013-10-14
帖子: 17

最近经常性的突然卡死

触发没有什么规律, 似乎在待机再启动后容易出现.
journalctl -b -1并没有看出有什么奇怪的问题...
似乎是哪里死循环或者死锁之类的, 不响应任何输入, ssh也上不去了.

这要怎么调试或者有什么其他的日志可以看吗..

离线

#2 2015-02-05 10:24:26

atmouse
会员
注册时间: 2011-08-24
帖子: 701

Re: 最近经常性的突然卡死

虽然写了4行,但是我还是不知道是什么卡死了

离线

#3 2015-02-05 16:10:04

Yangff
会员
注册时间: 2013-10-14
帖子: 17

Re: 最近经常性的突然卡死

atmouse 说:

虽然写了4行,但是我还是不知道是什么卡死了

因为我也没有其他线索, 我觉得是哪个内核态的代码死循环或者死锁了, 而且因为是笔记本完全没有办法调试. dmesg只能看到本次启动之后的情况..

离线

#4 2015-02-06 15:28:58

atmouse
会员
注册时间: 2011-08-24
帖子: 701

Re: 最近经常性的突然卡死

我的意思是要描述症状,
比如,硬盘灯狂闪没有?
比如,Alt + SysRq + REISUB 还有用么
内核什么版本
journal没有奇怪的东西,那也要发出来,发dmesg

用最少硬件法有用么
还有试过livecd会么,

最近好多人电脑电源故障

离线

#5 2015-02-11 14:59:02

Yangff
会员
注册时间: 2013-10-14
帖子: 17

Re: 最近经常性的突然卡死

atmouse 说:

我的意思是要描述症状,
比如,硬盘灯狂闪没有?
比如,Alt + SysRq + REISUB 还有用么
内核什么版本
journal没有奇怪的东西,那也要发出来,发dmesg

用最少硬件法有用么
还有试过livecd会么,

最近好多人电脑电源故障

都没有..reisub我下次试试.
所以我想问有其他可以恢复崩溃后现场的方法吗.

2月 04 15:55:39 Yangff NetworkManager[339]: <info>    nameserver '218.85.152.99'
2月 04 15:55:39 Yangff NetworkManager[339]: <info>    nameserver '218.85.157.99'
2月 04 15:55:39 Yangff NetworkManager[339]: <info>  (wlp5s0): DHCPv4 state changed unknown -> bound
2月 04 15:55:39 Yangff NetworkManager[339]: <info>  (wlp5s0): Activation: Stage 5 of 5 (IPv4 Configure Commit) scheduled...
2月 04 15:55:39 Yangff NetworkManager[339]: <info>  (wlp5s0): Activation: Stage 5 of 5 (IPv4 Commit) started...
2月 04 15:55:39 Yangff NetworkManager[339]: <info>  (wlp5s0): device state change: ip-config -> ip-check (reason 'none') [70 80 0]
2月 04 15:55:39 Yangff NetworkManager[339]: <info>  (wlp5s0): Activation: Stage 5 of 5 (IPv4 Commit) complete.
2月 04 15:55:39 Yangff NetworkManager[339]: <info>  (wlp5s0): device state change: ip-check -> secondaries (reason 'none') [80 90 0]
2月 04 15:55:39 Yangff NetworkManager[339]: <info>  (wlp5s0): device state change: secondaries -> activated (reason 'none') [90 100 0]
2月 04 15:55:39 Yangff NetworkManager[339]: <info>  NetworkManager state is now CONNECTED_LOCAL
2月 04 15:55:40 Yangff NetworkManager[339]: <info>  NetworkManager state is now CONNECTED_GLOBAL
2月 04 15:55:40 Yangff NetworkManager[339]: <info>  Policy set '自动 Tenda_547FF0' (wlp5s0) as default for IPv4 routing and DNS.
2月 04 15:55:40 Yangff NetworkManager[339]: <info>  Writing DNS information to /usr/bin/resolvconf
2月 04 15:55:40 Yangff NetworkManager[339]: <info>  (wlp5s0): Activation: successful, device activated.
2月 04 15:55:41 Yangff ntpd[574]: Listen normally on 8 wlp5s0 192.168.0.106:123
2月 04 15:55:41 Yangff ntpd[574]: new interface(s) found: waking up resolver
2月 04 15:56:48 Yangff systemd[623]: Time has been changed
2月 04 15:57:12 Yangff sslocal[564]: 2015-02-04 15:57:12 INFO     connecting www.google-analytics.com:80 from 127.0.0.1:59927
2月 04 15:57:12 Yangff sslocal[564]: 2015-02-04 15:57:12 INFO     connecting www.google-analytics.com:80 from 127.0.0.1:59929
2月 04 15:57:36 Yangff sslocal[564]: 2015-02-04 15:57:36 INFO     connecting pagead2.googlesyndication.com:80 from 127.0.0.1:59974
2月 04 15:57:36 Yangff sslocal[564]: 2015-02-04 15:57:36 INFO     connecting pagead2.googlesyndication.com:80 from 127.0.0.1:59976
2月 04 15:59:07 Yangff org.gnome.Terminal[694]: (gnome-terminal-server:2209): GLib-GIO-WARNING **: Failed to parse translated string 'visible-name\u0004'Unnamed'' for key 'visible-name' in schema 'org.gnome.Terminal.Legacy.Profile': 0:expected value
2月 04 15:59:07 Yangff org.gnome.Terminal[694]: (gnome-terminal-server:2209): GLib-GIO-WARNING **: Using untranslated default instead.
2月 04 16:00:33 Yangff sslocal[564]: 2015-02-04 16:00:33 INFO     connecting autoproxy-gfwlist.googlecode.com:443 from 127.0.0.1:60015
2月 04 16:00:34 Yangff sslocal[564]: 2015-02-04 16:00:34 INFO     connecting clients1.google.com:80 from 127.0.0.1:60017

根本就没有崩溃时候的记录...(崩溃发生在16:00后大概十几分钟)
比如这是另外一次的记录...

2月 04 17:40:38 Yangff org.gnome.Terminal[747]: Fontconfig warning: "/etc/fonts/conf.d/26-ms_vista_cjk.conf", line 169: Having multiple values in <test> isn't supported and may not work as expected
2月 04 17:40:38 Yangff org.gnome.Terminal[747]: Fontconfig warning: "/etc/fonts/conf.d/26-ms_xp_cjk.conf", line 16: Having multiple values in <test> isn't supported and may not work as expected
2月 04 17:40:38 Yangff org.gnome.Terminal[747]: Fontconfig warning: "/etc/fonts/conf.d/26-ms_xp_cjk.conf", line 35: Having multiple values in <test> isn't supported and may not work as expected
2月 04 17:40:38 Yangff org.gnome.Terminal[747]: Fontconfig warning: "/etc/fonts/conf.d/26-ms_xp_cjk.conf", line 58: Having multiple values in <test> isn't supported and may not work as expected
2月 04 17:40:38 Yangff org.gnome.Terminal[747]: Fontconfig warning: "/etc/fonts/conf.d/26-ms_xp_cjk.conf", line 69: Having multiple values in <test> isn't supported and may not work as expected
2月 04 17:40:38 Yangff org.gnome.Terminal[747]: Fontconfig warning: "/etc/fonts/conf.d/26-ms_xp_cjk.conf", line 85: Having multiple values in <test> isn't supported and may not work as expected
2月 04 17:40:38 Yangff org.gnome.Terminal[747]: Fontconfig warning: "/etc/fonts/conf.d/26-ms_xp_cjk.conf", line 103: Having multiple values in <test> isn't supported and may not work as expected
2月 04 17:40:38 Yangff org.gnome.Terminal[747]: Fontconfig warning: "/etc/fonts/conf.d/26-ms_xp_cjk.conf", line 114: Having multiple values in <test> isn't supported and may not work as expected
2月 04 17:40:38 Yangff org.gnome.Terminal[747]: Fontconfig warning: "/etc/fonts/conf.d/26-ms_xp_cjk.conf", line 125: Having multiple values in <test> isn't supported and may not work as expected
2月 04 17:40:38 Yangff org.gnome.Terminal[747]: Fontconfig warning: "/etc/fonts/conf.d/48-localmac.conf", line 25: Having multiple <family> in <alias> isn't supported and may not work as expected
2月 04 17:40:38 Yangff org.gnome.Terminal[747]: Fontconfig warning: "/etc/fonts/conf.d/48-localmac.conf", line 25: Having multiple <family> in <alias> isn't supported and may not work as expected
2月 04 17:40:38 Yangff org.gnome.Terminal[747]: Fontconfig warning: "/etc/fonts/conf.d/48-localmac.conf", line 25: Having multiple <family> in <alias> isn't supported and may not work as expected
2月 04 17:40:38 Yangff org.gnome.Terminal[747]: Fontconfig warning: "/etc/fonts/conf.d/48-localmac.conf", line 25: Having multiple <family> in <alias> isn't supported and may not work as expected
2月 04 17:40:38 Yangff org.gnome.Terminal[747]: Fontconfig warning: "/etc/fonts/conf.d/48-localmac.conf", line 25: Having multiple <family> in <alias> isn't supported and may not work as expected
2月 04 17:40:38 Yangff org.gnome.Terminal[747]: Fontconfig warning: "/etc/fonts/conf.d/48-localmac.conf", line 25: Having multiple <family> in <alias> isn't supported and may not work as expected
2月 04 17:40:38 Yangff org.gnome.Terminal[747]: Fontconfig warning: "/etc/fonts/conf.d/48-localmac.conf", line 39: Having multiple <family> in <alias> isn't supported and may not work as expected
2月 04 17:40:38 Yangff org.gnome.Terminal[747]: Fontconfig warning: "/etc/fonts/conf.d/48-localmac.conf", line 39: Having multiple <family> in <alias> isn't supported and may not work as expected
2月 04 17:40:40 Yangff systemd[672]: Time has been changed

这是我这次启动后的dmesg, 不过还没有发生卡死...(不然也没有dmesg可以看了..)
https://gist.github.com/Yangff/503e679a74863c15d865
其中包含若干次休眠后启动.

reisub等下次出问题的时候试试吧..
关键是这个问题没法方便的复现...
指示灯除了cpu都不闪, cpu也只闪几下, 但是cpu温度明显升高...
livecd不用考虑了...

[yangff@Yangff ~]$ uname -a
Linux Yangff 3.18.5-1-ARCH #1 SMP PREEMPT Fri Jan 30 07:31:50 CET 2015 x86_64 GNU/Linux

离线

页脚