Debian

無法在 Debian 9.2 中讀取音頻 CD

  • November 26, 2017

我正在執行帶有 Plextor PX-716A DVD-Drive 的 debian 9.2 機器作為/dev/sr0. 我想使用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。我現在迷路了,遠未完成翻錄!

我想听聽你對這個問題的建議。任何想法接下來要檢查什麼?

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

我浪費了時間,但我學到了一些東西。希望我上面描述的調查對某人有所幫助。

引用自:https://unix.stackexchange.com/questions/406147