Ubuntu“mmc0:等待硬件命令中断超时”错误,没有 SD 卡

Ubuntu“mmc0:等待硬件命令中断超时”错误,没有 SD 卡

昨天,我在新的迷你电脑上安装了全新的 Ubuntu(它附带了 Win 10 Pro)。迷你电脑是 Belink u55。现在我遇到的问题是,我不断在屏幕上看到很多错误(当我将电脑插入屏幕时,在 SSH 上我看不到它)。错误如下并不断重复:

[  196.315177] mmc0: Timeout waiting for hardware cmd interrupt.
[  196.319708] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[  196.324254] mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x0000a402
[  196.328819] mmc0: sdhci: Blk size:  0x00000000 | Blk cnt:  0x00000000
[  196.333387] mmc0: sdhci: Argument:  0x00000000 | Trn mode: 0x00000000
[  196.337946] mmc0: sdhci: Present:   0x01ff0001 | Host ctl: 0x00000001
[  196.342488] mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
[  196.347106] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x0000a707
[  196.351659] mmc0: sdhci: Timeout:   0x00000000 | Int stat: 0x00018000
[  196.356198] mmc0: sdhci: Int enab:  0x00ff0003 | Sig enab: 0x00ff0003
[  196.360735] mmc0: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000001
[  196.365272] mmc0: sdhci: Caps:      0x67ea64b2 | Caps_1:   0x00000000
[  196.369809] mmc0: sdhci: Cmd:       0x00000502 | Max curr: 0x00000001
[  196.374378] mmc0: sdhci: Resp[0]:   0x00000000 | Resp[1]:  0x00000000
[  196.378934] mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[  196.383456] mmc0: sdhci: Host ctl2: 0x00000000
[  196.387955] mmc0: sdhci: ============================================

我在谷歌上搜索了一下,发现很多人都有同样的问题AskUbuntu 主题已修复,这似乎与 SD 卡有关。但是我没有插入 SD 卡(我也不打算使用),我尝试了建议的修复方法,在文件中添加“ options sdhci debug_quirks=0x40 ”,但遗憾的是这没有奏效。有人能帮我更好地理解这个问题并帮助我解决它吗?因为我对 Linux 还不够熟练,无法做到这一点,但是我想在我的 PC 上运行 Linux 而不是 Windows 来运行 homeassistand 和其他 docker 实例。在提供可能修复方法的线程之一(对我不起作用)中,有人向 OP 询问“ lspci -vn ”和“ lsusb ”的输出,所以我想输出可能有用,所以这里是:

root@homeserverkevin:/home/kevin# lsusb
Bus 001 Device 002: ID 8087:8001 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 002 Device 003: ID 8087:0a2a Intel Corp.
Bus 002 Device 002: ID 046d:c30e Logitech, Inc. UltraX Keyboard (Y-BL49)
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

root@homeserverkevin:/home/kevin# lspci -vn
00:00.0 0600: 8086:1604 (rev 09)
        Subsystem: 8086:1604
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>
        Kernel driver in use: bdw_uncore

00:02.0 0300: 8086:1616 (rev 09) (prog-if 00 [VGA controller])
        Subsystem: 8086:1616
        Flags: bus master, fast devsel, latency 0, IRQ 47
        Memory at a9000000 (64-bit, non-prefetchable) [size=16M]
        Memory at b0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 4000 [size=64]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [a4] PCI Advanced Features
        Kernel driver in use: i915
        Kernel modules: i915

00:03.0 0403: 8086:160c (rev 09)
        Subsystem: 111e:10ec
        Flags: bus master, fast devsel, latency 0, IRQ 50
        Memory at aa214000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

00:14.0 0c03: 8086:9cb1 (rev 03) (prog-if 30 [XHCI])
        Subsystem: 8086:7270
        Flags: bus master, medium devsel, latency 0, IRQ 44
        Memory at aa200000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [70] Power Management version 2
        Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
        Kernel driver in use: xhci_hcd

00:16.0 0780: 8086:9cba (rev 03)
        Subsystem: 8086:7270
        Flags: bus master, fast devsel, latency 0, IRQ 48
        Memory at aa21c000 (64-bit, non-prefetchable) [size=32]
        Capabilities: [50] Power Management version 3
        Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Kernel driver in use: mei_me
        Kernel modules: mei_me

00:1b.0 0403: 8086:9ca0 (rev 03)
        Subsystem: 8086:7270
        Flags: bus master, fast devsel, latency 32, IRQ 49
        Memory at aa210000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 3
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

00:1c.0 0604: 8086:9c94 (rev e3) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 42
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 00003000-00003fff
        Memory behind bridge: aa100000-aa1fffff
        Prefetchable memory behind bridge: 00000000c0000000-00000000c00fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: 8086:7270
        Capabilities: [a0] Power Management version 3
        Capabilities: [100] #00
        Capabilities: [200] L1 PM Substates
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1c.3 0604: 8086:9c96 (rev e3) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 43
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        Memory behind bridge: aa000000-aa0fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: 8086:7270
        Capabilities: [a0] Power Management version 3
        Capabilities: [100] #00
        Capabilities: [200] L1 PM Substates
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1d.0 0c03: 8086:9ca6 (rev 03) (prog-if 20 [EHCI])
        Subsystem: 8086:7270
        Flags: bus master, medium devsel, latency 0, IRQ 23
        Memory at aa21a000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Capabilities: [98] PCI Advanced Features
        Kernel driver in use: ehci-pci

00:1f.0 0601: 8086:9cc5 (rev 03)
        Subsystem: 8086:7270
        Flags: bus master, medium devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>
        Kernel driver in use: lpc_ich
        Kernel modules: lpc_ich

00:1f.2 0106: 8086:9c83 (rev 03) (prog-if 01 [AHCI 1.0])
        Subsystem: 8086:7270
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 45
        I/O ports at 40b0 [size=8]
        I/O ports at 40a0 [size=4]
        I/O ports at 4090 [size=8]
        I/O ports at 4080 [size=4]
        I/O ports at 4060 [size=32]
        Memory at aa219000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [70] Power Management version 3
        Capabilities: [a8] SATA HBA v1.0
        Kernel driver in use: ahci
        Kernel modules: ahci

00:1f.3 0c05: 8086:9ca2 (rev 03)
        Subsystem: 8086:7270
        Flags: medium devsel, IRQ 255
        Memory at aa218000 (64-bit, non-prefetchable) [size=256]
        I/O ports at 4040 [size=32]
        Kernel modules: i2c_i801

01:00.0 0200: 10ec:8168 (rev 0c)
        Subsystem: 10ec:0123
        Flags: bus master, fast devsel, latency 0, IRQ 18
        I/O ports at 3000 [size=256]
        Memory at aa100000 (64-bit, non-prefetchable) [size=4K]
        Memory at c0000000 (64-bit, prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, MSI 01
        Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
        Capabilities: [d0] Vital Product Data
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
        Capabilities: [170] Latency Tolerance Reporting
        Kernel driver in use: r8169
        Kernel modules: r8169

02:00.0 0280: 8086:3165 (rev 79)
        Subsystem: 8086:8110
        Flags: bus master, fast devsel, latency 0, IRQ 51
        Memory at aa000000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: [c8] Power Management version 3
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [40] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number d8-f2-ca-ff-ff-45-fb-6e
        Capabilities: [14c] Latency Tolerance Reporting
        Capabilities: [154] L1 PM Substates
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi

其他可能有用的信息:

我正在运行 Ubuntu 18.04.2 LTS - 我认为我没有 SD 卡,因为仍然有空间将 SD 卡放入插槽,但我不能 100% 确定地说迷你电脑的内部运作不需要/在某处使用 SD。

答案1

我买了一台 Beelink BT3-X。制造商相同,问题完全相同。我通过在 BIOS 中完全禁用 SD 卡来“解决”了这个问题。

导航芯片组->SCC配置并禁用SCC eMMC 支持 (D28:F0)

但这意味着我无法使用 SD 插槽

是的...幸运的是我并不打算使用这个插槽。

答案2

我设法通过将 sdhci 模块添加到内核来禁用它们,从而“解决”了这个问题黑名单所以它不会在启动时启动,然后刷新黑名单,因为旧副本仍然存在初始化内存文件系统

不过,我认为这只是意味着我以后无法使用 SD 插槽,所以这不是一个完美的解决方案。如果有人有办法正确修复它,我很乐意听听!

相关内容