在多个应用程序中,总线错误的根源可能是什么?

在多个应用程序中,总线错误的根源可能是什么?

我在 MacBook Pro 上运行 Xubuntu,使用 fluxbox 作为窗口管理器。昨天,当我尝试启动 Firefox 时,我收到总线错误,应用程序无法启动。我通过删除并重新安装 Firefox 解决了该问题。今天,emacs 也出现了同样的问题。我没有尝试删除并重新安装 emacs,因此我不确定这样做是否可行,但由于该问题现在已出现在多个应用程序中,因此我推测它指向了一个更大的问题。我对总线错误进行了一些研究,但尚不清楚为什么这个问题会以这种方式出现在不同的应用程序中。

启动失败后,dmesg 报告了此情况,这似乎相关:

[10227.675775] ata3.01: BMDMA stat 0x5
[10227.675782] ata3.01: failed command: READ DMA
[10227.675796] ata3.01: cmd c8/00:08:f8:2e:9f/00:00:00:00:00/fa tag 0 dma 4096 in
[10227.675799]          res 51/40:00:fc:2e:9f/00:00:00:00:00/fa Emask 0x9 (media error)
[10227.675806] ata3.01: status: { DRDY ERR }
[10227.675811] ata3.01: error: { UNC }
[10227.712803] ata3.01: configured for UDMA/133
[10227.712830] ata3: EH complete
[10230.070892] ata3.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[10230.070901] ata3.01: BMDMA stat 0x5
[10230.070908] ata3.01: failed command: READ DMA
[10230.070922] ata3.01: cmd c8/00:08:f8:2e:9f/00:00:00:00:00/fa tag 0 dma 4096 in
[10230.070925]          res 51/40:00:fc:2e:9f/00:00:00:00:00/fa Emask 0x9 (media error)
[10230.070932] ata3.01: status: { DRDY ERR }
[10230.070937] ata3.01: error: { UNC }
[10230.092783] ata3.01: configured for UDMA/133
[10230.092809] ata3: EH complete
[10232.466015] ata3.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[10232.466025] ata3.01: BMDMA stat 0x5
[10232.466032] ata3.01: failed command: READ DMA
[10232.466046] ata3.01: cmd c8/00:08:f8:2e:9f/00:00:00:00:00/fa tag 0 dma 4096 in
[10232.466049]          res 51/40:00:fc:2e:9f/00:00:00:00:00/fa Emask 0x9 (media error)
[10232.466056] ata3.01: status: { DRDY ERR }  
[10232.466061] ata3.01: error: { UNC }
[10232.488693] ata3.01: configured for UDMA/133
[10232.488721] sd 2:0:1:0: [sda] Unhandled sense code
[10232.488726] sd 2:0:1:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[10232.488734] sd 2:0:1:0: [sda] Sense Key : Medium Error [current] [descriptor]
[10232.488745] Descriptor sense data with sense descriptors (in hex):
[10232.488750]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00 
[10232.488773]         0a 9f 2e fc 
[10232.488783] sd 2:0:1:0: [sda] Add. Sense: Unrecovered read error - auto reallocate  failed
[10232.488794] sd 2:0:1:0: [sda] CDB: Read(10): 28 00 0a 9f 2e f8 00 00 08 00
[10232.488815] end_request: I/O error, dev sda, sector 178204412
[10232.488852] ata3: EH complete

关于问题的根源您有什么建议吗?

答案1

看起来您的硬盘或控制器状况不佳。也可能是一些较小的问题,例如驱动器和 MB 之间的电缆有点松动(不过,如果您有笔记本电脑,则不确定是否有电缆)。

答案2

对我来说,这些错误清楚地表明存在中等(硬盘表面)问题。您的磁盘至少有一个坏扇区,编号为 178204412。由于无法自动恢复(读取错误),数据已丢失。您可以尝试找出受影响的数据,但这可能非常复杂。尝试对您的文件系统进行完整的 fsck,并尝试尽可能多地备份。

相关内容