无法在 Linux 上播放音频 CD:“设备 sr0 上的缓冲区 I/O 错误”

无法在 Linux 上播放音频 CD:“设备 sr0 上的缓冲区 I/O 错误”

我有一台配备松下驱动器的 Thinkpad R61,正如标题所述,我无法播放音频 CD。插入 CD 后,系统日志显示:

Aug 26 10:39:36 localhost kernel: sr 3:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
Aug 26 10:39:36 localhost kernel: sr 3:0:0:0: [sr0] Sense Key : 0x5 [current]
Aug 26 10:39:36 localhost kernel: Info fld=0x0
Aug 26 10:39:36 localhost kernel: sr 3:0:0:0: [sr0] ASC=0x64 ASCQ=0x0
Aug 26 10:39:36 localhost kernel: sr 3:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 40 00
Aug 26 10:39:36 localhost kernel: end_request: I/O error, dev sr0, sector 0
Aug 26 10:39:36 localhost kernel: Buffer I/O error on device sr0, logical block 0
Aug 26 10:39:36 localhost kernel: Buffer I/O error on device sr0, logical block 1
Aug 26 10:39:36 localhost kernel: Buffer I/O error on device sr0, logical block 2
Aug 26 10:39:36 localhost kernel: Buffer I/O error on device sr0, logical block 3
Aug 26 10:39:36 localhost kernel: Buffer I/O error on device sr0, logical block 4
Aug 26 10:39:36 localhost kernel: Buffer I/O error on device sr0, logical block 5
Aug 26 10:39:36 localhost kernel: Buffer I/O error on device sr0, logical block 6
Aug 26 10:39:36 localhost kernel: Buffer I/O error on device sr0, logical block 7
Aug 26 10:39:36 localhost kernel: Buffer I/O error on device sr0, logical block 8
Aug 26 10:39:36 localhost kernel: Buffer I/O error on device sr0, logical block 9
Aug 26 10:39:36 localhost kernel: sr 3:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
Aug 26 10:39:36 localhost kernel: sr 3:0:0:0: [sr0] Sense Key : 0x5 [current]
Aug 26 10:39:36 localhost kernel: Info fld=0x0
Aug 26 10:39:36 localhost kernel: sr 3:0:0:0: [sr0] ASC=0x64 ASCQ=0x0
Aug 26 10:39:36 localhost kernel: sr 3:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 02 00
Aug 26 10:39:36 localhost kernel: end_request: I/O error, dev sr0, sector 0

我不知道这是否是硬件问题,所以我尝试了外部 DVD 驱动器,但还是出现了同样的错误。
为了播放 CD,我尝试了不同的程序:xmms2、cdcd、mplayer 和 sound-juicer 以及不同的 CD(如果这有关系的话,都是原装的),但都没有成功。

我也尝试了不同的内核版本,实际上我使用的是自定义版本,使用 debian 预编译版本(包 linux-image-2.6.32-5-amd64)但仍然没有成功。

以下是相关的内核配置:

#
# SCSI device support
#
CONFIG_SCSI_MOD=y
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
# CONFIG_SCSI_TGT is not set
# CONFIG_SCSI_NETLINK is not set
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=y
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_CHR_DEV_SG=y
# CONFIG_CHR_DEV_SCH is not set
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not set
CONFIG_SCSI_WAIT_SCAN=m

#
# SCSI Transports
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
# CONFIG_SCSI_LOWLEVEL is not set
# CONFIG_SCSI_DH is not set
# CONFIG_SCSI_OSD_INITIATOR is not set
CONFIG_ATA=y
# CONFIG_ATA_NONSTANDARD is not set
# CONFIG_ATA_VERBOSE_ERROR is not set
CONFIG_ATA_ACPI=y
# CONFIG_SATA_PMP is not set
CONFIG_SATA_AHCI=y
# CONFIG_SATA_SIL24 is not set
CONFIG_ATA_SFF=y
# CONFIG_SATA_SVW is not set
CONFIG_ATA_PIIX=y

这里的输出是hdparm -i /dev/sr0

/dev/sr0:

 Model=MATSHITADVD-RAM UJ-850, FwRev=RB11, SerialNo=HB5

答案1

Debian 漏洞攻击了你!Debian 漏洞攻击了你!Debian 漏洞攻击了你!你死了……你想让你的财物被识别吗?(y/n)

嗯哼。

似乎你已经击中了实际的 Debian 错误。简而言之,udev 规则有点混乱,因此开箱即用,仅支持数据 CD。

好消息是,这个错误现在应该已经修复了。你apt-get update && apt-get upgrade最近跑步了吗?

相关内容