PLEXTOR DVD & SCSI emu

Stefan Lambrev stefan.lambrev at sun-fish.com
Mon Oct 9 10:49:35 UTC 2006


Hello,

There are some weird problems with those dvd burners & atapicam.

acd0: DMA limited to UDMA33, controller found non-ATA66 cable
acd0: DVDR <PLEXTOR DVDR PX-716AL/1.01> at ata1-master UDMA33
acd1: DMA limited to UDMA33, controller found non-ATA66 cable
acd1: DVDR <PLEXTOR DVDR PX-716AL/1.01> at ata1-slave UDMA33

I compile kernel with device atapicam and followed all steps from:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM
and on dmesg now I have:

cd1 at ata1 bus 0 target 0 lun 0
cd1: <PLEXTOR DVDR   PX-716AL 1.01> Removable CD-ROM SCSI-0 device
cd1: 33.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present 
- tray open
cd2 at ata1 bus 0 target 1 lun 0
cd2: <PLEXTOR DVDR   PX-716AL 1.01> Removable CD-ROM SCSI-0 device
cd2: 33.000MB/s transfers
cd2: Attempt to query device size failed: NOT READY, Medium not present 
- tray open

(cd0 is Light-On external DVD burner connected via USB)

While burning DVDs with growisofs is working perfect I have problems 
reading them :)
The only way to mount/read the DVD is to use /dev/acd0/1 - /dev/cd1,2 
just does not work.

When I try to access /dev/cd1,2 I have :

Oct  9 11:50:09 thor kernel: (cd2:ata1:0:1:0): READ TOC/PMA/ATIP {MMC 
Proposed}. CDB: 43 0 0 0 0 0 0 0 4 0
Oct  9 11:50:09 thor kernel: (cd2:ata1:0:1:0): CAM Status: SCSI Status Error
Oct  9 11:50:09 thor kernel: (cd2:ata1:0:1:0): SCSI Status: Check Condition
Oct  9 11:50:09 thor kernel: (cd2:ata1:0:1:0): ILLEGAL REQUEST asc:24,0
Oct  9 11:50:09 thor kernel: (cd2:ata1:0:1:0): Invalid field in CDB
Oct  9 11:50:09 thor kernel: (cd2:ata1:0:1:0): Unretryable error
Oct  9 11:50:09 thor kernel: (cd2:ata1:0:1:0): READ TOC/PMA/ATIP {MMC 
Proposed}. CDB: 43 0 0 0 0 0 0 0 4 0
Oct  9 11:50:09 thor kernel: (cd2:ata1:0:1:0): CAM Status: SCSI Status Error
Oct  9 11:50:09 thor kernel: (cd2:ata1:0:1:0): SCSI Status: Check Condition
Oct  9 11:50:09 thor kernel: (cd2:ata1:0:1:0): ILLEGAL REQUEST asc:24,0
Oct  9 11:50:09 thor kernel: (cd2:ata1:0:1:0): Invalid field in CDB
Oct  9 11:50:09 thor kernel: (cd2:ata1:0:1:0): Unretryable error

It's not a big deal as I have the needed access using /dev/acd0,1, but 
the some
apps can only work with SCSI devices :(

Also is there any app in base that can tell me what is the label (Volume 
ID) of the DVD, or other
useful info ? :) - like "cd-info" from ports/multimedia/vcdimager/

-- 
Best Wishes,
Stefan Lambrev
ICQ# 24134177



More information about the freebsd-stable mailing list