無法在 Debian 9.2 讀取音訊 CD

無法在 Debian 9.2 讀取音訊 CD

我正在運行 debian 9.2 機器,並配有 Plextor PX-716A DVD 驅動器作為/dev/sr0.我想用 將音樂 CD 翻錄為 MP3 abcde。當我嘗試啟動時abcde

$ abcde -V -d /dev/sr0
CDDB method 0: cddb
Executing customizable pre-read function... done.
Getting CD track info... [WARNING] something went wrong while querying the CD... Maybe a DATA CD?
[WARNING] Error trying to calculate disc ids without lead-out information.

經過一些調查,我嘗試了cdparanoia,但沒有成功:

$ cdparanoia -vsQ
cdparanoia III release 10.2 (September 11, 2008)

Using cdda library version: 10.2
Using paranoia library version: 10.2
Checking /dev/cdrom for cdrom...
    Testing /dev/cdrom for SCSI/MMC interface
        SG_IO device: /dev/sr0

CDROM model sensed sensed: PLEXTOR DVDR   PX-716A 1.08 

Checking for SCSI emulation...
    Drive is ATAPI (using SG_IO host adaptor emulation)

Checking for MMC style command set...
    Drive is MMC style
004: Unable to read table of contents header

Unable to open disc.  Is there an audio CD in the drive?

我也做了同樣的事情cd-discid

$ cd-discid 
cd-discid: /dev/cdrom: CDROMREADTOCHDR: Input/output error

我還考慮了權限問題,所以我驗證了:

$ ls -al /dev/sr0
brw-rw----+ 1 root cdrom 11, 0 Nov 21 22:32 /dev/sr0

我使用的用戶在群組中cdrom

為了確保我的驅動器正常工作,我在裡面放了一張 DVD。我可以安裝它並存取內容,因此 DVD 光碟機沒有損壞。我在 CD 播放器上嘗試了該 CD,它工作正常,我還嘗試了另一張音樂 CD,得到了相同的結果。

最後我認為我的 DVD 光碟機無法讀取音樂 CD,所以我檢查cd-info

$ cd-info /dev/sr0
cd-info version 0.83 i686-pc-linux-gnu
Copyright (c) 2003, 2004, 2005, 2007, 2008, 2011 R. Bernstein
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
CD location   : /dev/sr0
CD driver name: GNU/Linux
   access mode: IOCTL

Vendor                      : PLEXTOR 
Model                       : DVDR   PX-716A  
Revision                    : 1.08
Hardware                                  : CD-ROM or DVD
Can eject                                 : Yes
Can close tray                            : Yes
Can disable manual eject                  : Yes
Can select juke-box disc                  : No

Can set drive speed                       : No
Can read multiple sessions (e.g. PhotoCD) : Yes
Can hard reset device                     : Yes

Reading....
  Can read Mode 2 Form 1                  : Yes
  Can read Mode 2 Form 2                  : Yes
  Can read (S)VCD (i.e. Mode 2 Form 1/2)  : Yes
  Can read C2 Errors                      : Yes
  Can read IRSC                           : Yes
  Can read Media Channel Number (or UPC)  : Yes
  Can play audio                          : Yes
  Can read CD-DA                          : Yes
  Can read CD-R                           : Yes
  Can read CD-RW                          : Yes
  Can read DVD-ROM                        : Yes

Writing....
  Can write CD-RW                         : Yes
  Can write DVD-R                         : Yes
  Can write DVD-RAM                       : No
  Can write DVD-RW                        : No
  Can write DVD+RW                        : No
__________________________________

Disc mode is listed as: No information
++ WARN: error in ioctl CDROMREADTOCHDR: Input/output error

cd-info: Can't get first track number. I give up.

正如您所讀到的,該驅動器能夠讀取音樂。最後我嘗試安裝vlcmplayer但沒有成功讀取CD。我現在迷路了,離完成撕裂還很遠!

我想聽聽您對這個問題的建議。有什麼想法接下來要檢查什麼嗎?

答案1

在嘗試使用另一個 DVD 光碟機後,我能夠使用abcde.所以我可以回答我自己的問題並確認史蒂芬的建議,我的第一個驅動器壞了。

我失去了時間,但我學到了一些東西。希望我上述的調查對某人有幫助。

相關內容