rsyslog 在写入外部存储时似乎会触发 sdhci 转储

rsyslog 在写入外部存储时似乎会触发 sdhci 转储

根据我所读到的内容,rsyslog 通常用于处理日志并将其发送到其他位置,无论是本地(外部存储、特定分区等)还是远程(例如日志服务器)。但是,我正在尝试配置 rsyslog 以将日志存储在外部存储设备(SD 卡)中,但我遇到了sdhci内核驱动程序问题。首先,这里有rsyslog 配置

正如您所看到的,日志被存储在/data/logsSD 卡中lsblk 输出节目。尽管如此,我还是能看到一个奇怪的事情消息。显然内核正在创建/dev/mmcblk0外部存储节点,其列表如下mmc0

jul 26 11:03:40 pabx2 kernel: mmc0: new ultra high speed SDR104 SDXC card at address 59b4
jul 26 11:03:40 pabx2 kernel: mmcblk0: mmc0:59b4 SD    58.9 GiB 
jul 26 11:03:40 pabx2 kernel:  mmcblk0: p1

但是sdhci转储与!有关mmc1,它是内部存储,而不是外部存储!

jul 26 11:50:18 pabx2 kernel: mmc1: Timeout waiting for hardware interrupt.
jul 26 11:50:18 pabx2 kernel: mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
jul 26 11:50:18 pabx2 kernel: mmc1: sdhci: Sys addr:  0x00000008 | Version:  0x00001002
jul 26 11:50:18 pabx2 kernel: mmc1: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000008
jul 26 11:50:18 pabx2 kernel: mmc1: sdhci: Argument:  0x0056c808 | Trn mode: 0x0000002b
jul 26 11:50:18 pabx2 kernel: mmc1: sdhci: Present:   0x1fff0001 | Host ctl: 0x0000003c
jul 26 11:50:18 pabx2 kernel: mmc1: sdhci: Power:     0x0000000a | Blk gap:  0x00000080
jul 26 11:50:18 pabx2 kernel: mmc1: sdhci: Wake-up:   0x00000000 | Clock:    0x00000207
jul 26 11:50:18 pabx2 kernel: mmc1: sdhci: Timeout:   0x00000006 | Int stat: 0x00000000
jul 26 11:50:18 pabx2 kernel: mmc1: sdhci: Int enab:  0x03ff000b | Sig enab: 0x03ff000b
jul 26 11:50:18 pabx2 kernel: mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
jul 26 11:50:18 pabx2 kernel: mmc1: sdhci: Caps:      0x546ec881 | Caps_1:   0x00000805
jul 26 11:50:18 pabx2 kernel: mmc1: sdhci: Cmd:       0x0000193a | Max curr: 0x00000000
jul 26 11:50:18 pabx2 kernel: mmc1: sdhci: Resp[0]:   0x00000000 | Resp[1]:  0x00000000
jul 26 11:50:18 pabx2 kernel: mmc1: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
jul 26 11:50:18 pabx2 kernel: mmc1: sdhci: Host ctl2: 0x0000000c
jul 26 11:50:18 pabx2 kernel: mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x0000000182ff6200
jul 26 11:50:18 pabx2 kernel: mmc1: sdhci: ============================================

您认为这是为什么?内部存储设备的硬件中断与外部存储有什么关系?当触发这些转储时,系统(Debian 10 Buster)会变得非常慢,以至于无法运行、无法使用。

谢谢你们。

相关内容