ubuntu17.10 系统死机

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu17.10 系统死机

#31

帖子 poloshiao » 2018-01-25 11:34

Jan 25 10:20:45 widon-desktop kernel: [ 3.876162] kfd kfd: kgd2kfd_probe failed
1. https://ask.fedoraproject.org/en/questi ... -graphics/
When I booted the 4.13 kernel, the amd card worked. I tested it with Opensuse tumbleweed (kernel 4.14.x) and I had the same problem, so I believe it's something about kernel 4.14.x. I did this question in the spanish ask.fedora and a guy told me something about enabling IOMMU from the BIOS. I don't know what is that.

1-1. 看看 你目前使用的 kernel 版本
uname
Jan 25 10:20:45 widon-desktop kernel: [ 8.223466] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
2. 這個以後有時間再討論
Jan 25 10:20:45 widon-desktop kernel: [ 8.835063] ACPI Warning: SystemIO range 0x0000000000000B00-0x0000000000000B08 conflicts with OpRegion 0x0000000000000B00-0x0000000000000B0F (\SOR1) (20170728/utaddress-247)
Jan 25 10:20:45 widon-desktop kernel: [ 8.835070] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
3. 試試 安裝 可以使用在這個主版的其它 ACPI driver
http://forum.ubuntu.com.cn/viewtopic.ph ... 3#p3201083
左手按住 Alt 不放
右手 依序 按下 (中間稍微間隔 1 ~ 3 秒鐘)
SysRq 鍵 (即 Print Screen 鍵)
r
e
i
s
u
b
會不會 有所反應
我的死机是完全死了,按什么都没有反应啊。
4. 如果連 Magic SysRq 都無法使用 試著懷疑是不是 kernel painic
4-1. https://help.ubuntu.com/community/KernelPanic
KernelPanic
4-2. 建議
4-2-1. 試試 Ubuntu 17.10 其它版本的 Linux kernel
4-2-2. 試試 升級到 Ubuntu 18.04 或 降級到 Ubuntu 16.04 目的 嘗試更換其它 Linux kernel 版本
4-2-3. 試試 Windows 或 其它 發行版本

5. 從你每次貼上來的錯誤訊息 幾乎都不同 你也可以試試
5-1. 從 開機選單 選擇 Memory test (memtest86+)
讓它超個 2 ~ 3 循環看看 是否 all pass
5-2. 你的主機板 是否完全沒瑕疵
头像
widon1104
帖子: 839
注册时间: 2008-07-17 10:55

Re: ubuntu17.10 系统死机

#32

帖子 widon1104 » 2018-01-26 12:57

今天12:48分死机了,magic sysrq都不能使用,应该是内核panic了。

widon@widon-desktop:~$ uname -a
Linux widon-desktop 4.14.15-041415-generic #201801231530 SMP Tue Jan 23 20:33:21 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
我的内核是最新的

我试过多个版本的内核,4.4.111,4.14.13等等,无一例外,都会死机

现在在用ubuntu17.10,不想用ubuntu16.04,不习惯

附件有一个最近我的电脑内核panic的照片,不知道对定位问题有没有帮助。
附件
system crash.jpg
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu17.10 系统死机

#33

帖子 poloshiao » 2018-01-26 13:13

附件有一个最近我的电脑内核panic的照片,不知道对定位问题有没有帮助。
system crash.jpg
出現 Segmentation fault (記憶體區段錯誤) 的訊息

參閱
1. https://en.wikipedia.org/wiki/Segmentation_fault
Segmentation fault
2. https://zh.wikipedia.org/wiki/%E8%A8%98 ... F%E8%AA%A4
記憶體區段錯誤
3. https://askubuntu.com/questions/138407/ ... tion-fault
What is a segmentation fault?
4. 建議
4-1. 注意 發生在執行特定程式時 發生
4-2. 還是 經常發生 無論執行什麼程式 這種情形 執行檢測 RAM 看看
5-1. 從 開機選單 選擇 Memory test (memtest86+)
讓它超個 2 ~ 3 循環看看 是否 all pass
fuhuizn
帖子: 947
注册时间: 2006-01-06 22:55
系统: ubuntu
联系:

Re: ubuntu17.10 系统死机

#34

帖子 fuhuizn » 2018-01-26 14:17

放弃新的 wayland 显示服务器,还很不成熟,换成熟稳定的 Xorg
头像
widon1104
帖子: 839
注册时间: 2008-07-17 10:55

Re: ubuntu17.10 系统死机

#35

帖子 widon1104 » 2018-01-26 15:19

fuhuizn 写了:放弃新的 wayland 显示服务器,还很不成熟,换成熟稳定的 Xorg
我用的就是xorg
头像
widon1104
帖子: 839
注册时间: 2008-07-17 10:55

Re: ubuntu17.10 系统死机

#36

帖子 widon1104 » 2018-01-27 11:50

poloshiao 写了:
附件有一个最近我的电脑内核panic的照片,不知道对定位问题有没有帮助。
system crash.jpg
出現 Segmentation fault (記憶體區段錯誤) 的訊息

參閱
1. https://en.wikipedia.org/wiki/Segmentation_fault
Segmentation fault
2. https://zh.wikipedia.org/wiki/%E8%A8%98 ... F%E8%AA%A4
記憶體區段錯誤
3. https://askubuntu.com/questions/138407/ ... tion-fault
What is a segmentation fault?
4. 建議
4-1. 注意 發生在執行特定程式時 發生
4-2. 還是 經常發生 無論執行什麼程式 這種情形 執行檢測 RAM 看看
5-1. 從 開機選單 選擇 Memory test (memtest86+)
讓它超個 2 ~ 3 循環看看 是否 all pass
我做了5个循环,没有错误啊,但是实在不明白为什么会死机。我有另一台电脑也是装的是17.10,没有遇到过死机。
附件
IMG_20180126_204253.jpg
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu17.10 系统死机

#37

帖子 poloshiao » 2018-01-27 12:02

我做了5个循环,没有错误啊,
表示 RAM 硬件 應該可以信賴
我有另一台电脑也是装的是17.10,没有遇到过死机。
硬件瑕疵引起的 kernel panic
應該不被排除
能夠抓到毛病源頭 會收穫不少
經常性徹底清潔 是我經常用來排除這類問題的初步

軟件程式設計引起的 Segmentation fault
則需要有耐心與興趣 才能比對出來
特別是開機引起的 Segmentation fault
跟作業系統無關 跟 firmware 瑕疵或不當設定 有關
向原廠客服人員尋求協助 比較快
我有另一台电脑也是装的是17.10,没有遇到过死机。
有對照組在身邊 應該有助於你抓錯
头像
zmhc010
帖子: 12
注册时间: 2018-01-20 0:27
系统: ubuntu16.04LTS

Re: ubuntu17.10 系统死机

#38

帖子 zmhc010 » 2018-01-27 16:13

给你个建议,还是用16.04lts吧

通过我的 PLK-UL00 上的 Tapatalk发言
头像
widon1104
帖子: 839
注册时间: 2008-07-17 10:55

Re: ubuntu17.10 系统死机

#39

帖子 widon1104 » 2018-02-13 9:42

几天没死机以后,今天在几分钟内死机了2次
应该是内核崩了 Magic SysRq无法使用
widon@widon-desktop:~$ uname -a
Linux widon-desktop 4.14.13-041413-generic #201801101001 SMP Wed Jan 10 10:02:53 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
我的内核是比较新的了,bug应该还在
只好先换最新的内核4.15.3试试了
关键是死机信息看不到,怎么死的都不知道
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu17.10 系统死机

#40

帖子 poloshiao » 2018-02-13 13:24

uname -a
Linux widon-desktop 4.14.13-041413-generic #201801101001 SMP Wed Jan 10 10:02:53 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
1. 看看 跟最近熱門的 Meltdown and Spectre 問題 是否有關

1-1. 參閱
1-1-1. https://askubuntu.com/a/995649
4.14.13 kernels and newer should have the fixes built into them. They may work better then the patched older kernels.
1-1-2. http://forum.ubuntu.com.cn/viewtopic.ph ... 0#p3200870
使用 4.14.13-041413-generic 搜尋
头像
widon1104
帖子: 839
注册时间: 2008-07-17 10:55

Re: ubuntu17.10 系统死机

#41

帖子 widon1104 » 2018-02-27 9:33

widon@widon-desktop:~$ uname -a
Linux widon-desktop 4.15.3-041503-generic #201802120730 SMP Mon Feb 12 07:31:14 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
使用内核4.15.3,今天又死机了
无法知道死机情况

因为我的电脑出现过无法开机的情况(远少于死机次数),把内存条拔出来擦擦灰然后插回去就好了
刚才把主机拆开把内存条卸下来擦擦灰,发现内存条很干净没有灰在上面啊
难道是主机上面其他部件上面有灰导致的死机?
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu17.10 系统死机

#42

帖子 poloshiao » 2018-02-27 12:07

http://forum.ubuntu.com.cn/viewtopic.ph ... 7#p3201167
經常性徹底清潔 是我經常用來排除這類問題的初步
难道是主机上面其他部件上面有灰导致的死机?
恭喜你 似乎抓到 問題的入口 了

濕氣 是另一個必須關心的問題
头像
百草谷居士
帖子: 3910
注册时间: 2006-02-10 16:36
系统: Mint21.1/Deepin20.8

Re: ubuntu17.10 系统死机

#43

帖子 百草谷居士 » 2018-02-27 12:29

硬件导致的问题确实很难处理。我现在办公用的店内,很长时间都会死机,死机时间不确定,后来把独立显卡拔了,只用板载显卡,没事儿了。
debian 12 / 深度系统 20.9 / Mint 21.3

为何热衷于搞发行版的多,搞应用程序开发的少?Linux最多余的就是各种发行版,最缺的就是应用程序,特别是行业应用程序。
头像
widon1104
帖子: 839
注册时间: 2008-07-17 10:55

Re: ubuntu17.10 系统死机

#44

帖子 widon1104 » 2018-02-28 9:53

可能是cpu温度太高了导致的死机
我用bios监控cpu温度,cpu温度在几分钟之内就上升到了74度,然后bios都死了。。
但是我重启继续监控,cpu温度涨到76度,bios还是没死。。
头像
widon1104
帖子: 839
注册时间: 2008-07-17 10:55

Re: ubuntu17.10 系统死机

#45

帖子 widon1104 » 2018-03-02 18:29

我更换了电脑的散热器以后今天18点左右系统还是死机了,死机应该跟cpu温度没什么关系,死机的时候系统温度不高。
:Cry
我觉得是内核里面有bug导致的啊,我的电脑是2010年买的老机子,但是也不是特别慢,还可以用
要怎么样才能知道死机位置,把死机内核协议栈打印出来啊
回复