系统不断尝试访问/读取我笔记本电脑的空 CD 驱动器

系统不断尝试访问/读取我笔记本电脑的空 CD 驱动器

我使用的是一台 16 到 18 年的笔记本电脑,一台 Clevo Zeus M3CW,我最近在其上安装了 antiX Linux 19.3。内核版本为4.9.235(针对486编译)。

现在,每当我启动时,内核都会抱怨来自设备/dev/sr0(我的笔记本电脑的内置 CD-ROM)的 I/O 错误。lsblk关于该设备的说明如下:

# lsblk -o +VENDOR,MODEL | head -1 ; lsblk -o +VENDOR,MODEL | grep sr0
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT VENDOR   MODEL
sr0     11:0    1  1024M  0 rom             TEAC     DW-224E-A

驱动器是空的 - 里面没有 CD。

稍后,当系统运行时,我会收到无数dmesg条目,如下所示:

[   53.250051] sr 1:0:0:0: [sr0] tag#0 unaligned transfer
[   53.250056] sr 1:0:0:0: [sr0] tag#0 unaligned transfer
[   53.250066] sr 1:0:0:0: [sr0] tag#0 unaligned transfer
[   53.250071] sr 1:0:0:0: [sr0] tag#0 unaligned transfer
[   53.250076] sr 1:0:0:0: [sr0] tag#0 unaligned transfer

还有这个:

[   53.312725] REISERFS warning (device sr0): sh-2006 read_super_block: bread failed (dev sr0, block 16, size 512)
[   53.312746] sr 1:0:0:0: [sr0] tag#0 unaligned transfer
[   53.312754] REISERFS warning (device sr0): sh-2006 read_super_block: bread failed (dev sr0, block 128, size 512)
[   53.359602] sr 1:0:0:0: [sr0] tag#0 unaligned transfer
[   53.359617] EXT4-fs (sr0): unable to read superblock
[   53.405593] sr 1:0:0:0: [sr0] tag#0 unaligned transfer
[   53.405606] EXT4-fs (sr0): unable to read superblock
[   53.464594] sr 1:0:0:0: [sr0] tag#0 unaligned transfer
[   53.464608] EXT2-fs (sr0): error: unable to read superblock
[   53.533449] sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[   53.533461] sr 1:0:0:0: [sr0] tag#0 Sense Key : Medium Error [current] 
[   53.533478] sr 1:0:0:0: [sr0] tag#0 Add. Sense: Unable to recover table-of-contents
[   53.533490] sr 1:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 02 00
[   53.533516] SQUASHFS error: squashfs_read_data failed to read block 0x0
[   53.533528] squashfs: SQUASHFS error: unable to read squashfs_super_block

还有这些:

[ 2852.951421] sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 2852.951431] sr 1:0:0:0: [sr0] tag#0 Sense Key : Medium Error [current] 
[ 2852.951444] sr 1:0:0:0: [sr0] tag#0 Add. Sense: Unable to recover table-of-contents
[ 2852.951453] sr 1:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 07 ff fc 00 00 02 00
[ 2852.951458] blk_update_request: 1680 callbacks suppressed
[ 2852.951462] blk_update_request: I/O error, dev sr0, sector 2097136
[ 2852.951509] sr 1:0:0:0: [sr0] tag#0 unaligned transfer
[ 2852.951514] blk_update_request: I/O error, dev sr0, sector 2097136
[ 2852.951521] buffer_io_error: 1670 callbacks suppressed
[ 2852.951525] Buffer I/O error on dev sr0, logical block 2097136, async page read
[ 2852.951540] sr 1:0:0:0: [sr0] tag#0 unaligned transfer
[ 2852.951544] blk_update_request: I/O error, dev sr0, sector 2097137
[ 2852.951550] Buffer I/O error on dev sr0, logical block 2097137, async page read
[ 2852.951563] sr 1:0:0:0: [sr0] tag#0 unaligned transfer

我还应该注意到,如果我插入 CD,它会自动安装并读取良好。

我的问题:

  1. 是什么让内核/dev/sr0一直尝试读取?特别是在引导时,当/etc/fstabgrub 配置中没有也没有提到它时。
  2. 我怎样才能让内核放弃这个设备?从一开始还是在失败了几次之后?

相关内容