TL;DR - 此错误是由于文件系统问题还是硬件问题(卡或笔记本电脑)造成的
所以当我刚刚下班回家时,我的树莓派没有响应。坏消息,因为我家里的 LAN 是 DHCP、DNS 等。
将其连接到电视,插入电源,文件系统错误。显然它由于某种原因重新启动,并且由于错误而无法挂载 root fs。
没问题,关闭电源,取出卡,将其放入我的笔记本电脑中,想着我会很fsck.ext4
高兴地运行...
笔记本电脑看不到任何分区。当我检查时,/var/log/syslog
我看到 mmc 内容正在加载,但随后似乎出现了与实际块设备之一相关的错误,然后就什么也没有了。
所以...
此内核错误是否是由于我所知的文件系统错误造成的,而我唯一的解决方案是重新映像该卡?
或者这是一个硬件错误,并且驱动程序无法为我的设备正确加载,并且我需要找到其他硬件来修复已知的文件系统错误?
或者这是一个硬件错误,我的卡坏了,圆周率上的 fs 错误只是由于硬件故障而奇怪,我需要一张新卡,当然还要在上面放一个新图像?
笔记本电脑是运行 Mint 19 内核 4.15.x 的旧 Acer
谢谢!
有趣的部分来自/var/log/syslog
-
Aug 28 21:31:42 darkstar kernel: [ 607.172855] mmc0: Tuning timeout, falling back to fixed sampling clock
Aug 28 21:31:52 darkstar kernel: [ 617.180830] mmc0: Timeout waiting for hardware interrupt.
Aug 28 21:31:52 darkstar kernel: [ 617.180840] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
Aug 28 21:31:52 darkstar kernel: [ 617.180877] mmc0: sdhci: Sys addr: 0x001080c8 | Version: 0x00001502
Aug 28 21:31:52 darkstar kernel: [ 617.180884] mmc0: sdhci: Blk size: 0x00007200 | Blk cnt: 0x00000000
Aug 28 21:31:52 darkstar kernel: [ 617.180891] mmc0: sdhci: Argument: 0x076f4f80 | Trn mode: 0x0000003b
Aug 28 21:31:52 darkstar kernel: [ 617.180899] mmc0: sdhci: Present: 0x1fff0000 | Host ctl: 0x0000001f
Aug 28 21:31:52 darkstar kernel: [ 617.180906] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000000
Aug 28 21:31:52 darkstar kernel: [ 617.180913] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
Aug 28 21:31:52 darkstar kernel: [ 617.180920] mmc0: sdhci: Timeout: 0x0000000a | Int stat: 0x00000000
Aug 28 21:31:52 darkstar kernel: [ 617.180927] mmc0: sdhci: Int enab: 0x02ff008b | Sig enab: 0x02ff008b
Aug 28 21:31:52 darkstar kernel: [ 617.180934] mmc0: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
Aug 28 21:31:52 darkstar kernel: [ 617.180941] mmc0: sdhci: Caps: 0x176ec8b0 | Caps_1: 0x03002177
Aug 28 21:31:52 darkstar kernel: [ 617.180948] mmc0: sdhci: Cmd: 0x0000123a | Max curr: 0x00000000
Aug 28 21:31:52 darkstar kernel: [ 617.180955] mmc0: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0x00000900
Aug 28 21:31:52 darkstar kernel: [ 617.180962] mmc0: sdhci: Resp[2]: 0x00000900 | Resp[3]: 0x00000900
Aug 28 21:31:52 darkstar kernel: [ 617.180967] mmc0: sdhci: Host ctl2: 0x0000804b
Aug 28 21:31:52 darkstar kernel: [ 617.180976] mmc0: sdhci: ADMA Err: 0x00000001 | ADMA Ptr: 0x000000014ee69204
Aug 28 21:31:52 darkstar kernel: [ 617.180979] mmc0: sdhci: ============================================
Aug 28 21:31:52 darkstar kernel: [ 617.181054] mmc0: Unexpected interrupt 0x04000000.
Aug 28 21:31:52 darkstar kernel: [ 617.181058] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
Aug 28 21:31:52 darkstar kernel: [ 617.181065] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00001502
Aug 28 21:31:52 darkstar kernel: [ 617.181072] mmc0: sdhci: Blk size: 0x00007200 | Blk cnt: 0x00000000
Aug 28 21:31:52 darkstar kernel: [ 617.181078] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000033
Aug 28 21:31:52 darkstar kernel: [ 617.181085] mmc0: sdhci: Present: 0x1fff0001 | Host ctl: 0x0000001f
Aug 28 21:31:52 darkstar kernel: [ 617.181093] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000000
Aug 28 21:31:52 darkstar kernel: [ 617.181100] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
Aug 28 21:31:52 darkstar kernel: [ 617.181107] mmc0: sdhci: Timeout: 0x0000000a | Int stat: 0x00000000
Aug 28 21:31:52 darkstar kernel: [ 617.181113] mmc0: sdhci: Int enab: 0x02ff008b | Sig enab: 0x02ff008b
Aug 28 21:31:52 darkstar kernel: [ 617.181120] mmc0: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
Aug 28 21:31:52 darkstar kernel: [ 617.181131] mmc0: sdhci: Caps: 0x176ec8b0 | Caps_1: 0x03002177
Aug 28 21:31:52 darkstar kernel: [ 617.181138] mmc0: sdhci: Cmd: 0x00000c1a | Max curr: 0x00000000
Aug 28 21:31:52 darkstar kernel: [ 617.181145] mmc0: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0x00000900
Aug 28 21:31:52 darkstar kernel: [ 617.181152] mmc0: sdhci: Resp[2]: 0x00000900 | Resp[3]: 0x00000900
Aug 28 21:31:52 darkstar kernel: [ 617.181157] mmc0: sdhci: Host ctl2: 0x0000800b
Aug 28 21:31:52 darkstar kernel: [ 617.181166] mmc0: sdhci: ADMA Err: 0x00000001 | ADMA Ptr: 0x000000014ee69204
Aug 28 21:31:52 darkstar kernel: [ 617.181169] mmc0: sdhci: ============================================
Aug 28 21:31:52 darkstar kernel: [ 617.181757] mmcblk0: error -110 sending stop command, original cmd response 0x0, card status 0x400900
答案1
日志中的最后一个 mmcblk0 错误很大程度上表明是硬件错误。我怀疑你能否重新格式化该卡。