TL;DR - 此错误是由于文件系统问题还是硬件问题(卡或笔记本电脑)引起的
所以我刚才下班回家的时候我的树莓派没有反应。坏消息,因为它是我家里 LAN 的 DHCP、DNS 等。
把它拿到电视上,插上电源,文件系统错误。显然它由于某种原因重新启动,并且由于错误而无法安装根文件系统。
没问题,关闭电源,取出卡,将其放入我的笔记本电脑中,以为我会运行fsck.ext4
并开心......
笔记本电脑看不到任何分区。当我检查时,/var/log/syslog
我看到正在加载 mmc 内容,但随后似乎是与实际块设备之一相关的错误,然后什么也没有。
所以...
这个内核错误是由于我所知道的文件系统错误引起的吗?我唯一的解决办法是重新映像卡?
或者这是一个硬件错误,驱动程序没有为我的设备正确加载,我需要找到其他硬件来修复已知的文件系统错误?
或者这是硬件错误,我的卡坏了,pi 上的 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
您日志中的最后一个 mmcblk0 错误非常指向硬件错误。我怀疑你能否重新格式化卡。