Issues with cdrsin and USB devices on RHEL5
OS: LINUX RHEL5.2 2.6.18-92.1.6.el5
CDRSKIN VERSION:
cdrskin 0.4.8 : limited cdrecord compatibility wrapper for libburn
Cdrecord 2.01-Emulation Copyright (C) 2006-2008, see libburnia-project.org
libburn interface : 0.4.8
libburn in use : 0.4.8
cdrskin version : 0.4.8
Version timestamp : 2008.05.17.080001
Build timestamp : -none-given-
SYSTEM:
System with one IDE (cdrecord=1001,0,0) and one USB burner (cdrecord=1,0,0).
PROBLEM:
cdrskin cannot see the USB burner.
Note that hda is my hard disk, I don't know why cdrskin tries to use it.
1)
# cdrskin --devices
cdrskin 0.4.8 : limited cdrecord compatibility wrapper for libburn
Note: If this hangs for a while then there is a drive with
unexpected problems (e.g. ill DMA).
One may exclude such a device file by removing r- and w-
permissions for all cdrskin users.
cdrskin: scanning for devices ...
cdrskin: SORRY : Cannot open busy device '/dev/hda'
cdrskin: ( Most recent system error: 16 'Device or resource busy' )
cdrskin: ... scanning for devices done
cdrskin: Overview of accessible drives (1 found) :
-----------------------------------------------------------------------------
0 dev='/dev/hdc' rwrw-- : 'HL-DT-ST' 'DVDRAM GSA-4163B'
-----------------------------------------------------------------------------
2)
# cdrskin -scanbus
cdrskin 0.4.8 : limited cdrecord compatibility wrapper for libburn
cdrskin: scanning for devices ...
cdrskin: SORRY : Cannot open busy device '/dev/hda'
cdrskin: ( Most recent system error: 16 'Device or resource busy' )
cdrskin: ... scanning for devices done
Using libburn version '0.4.8'.
cdrskin: NOTE : There was 1 drive not shown.
cdrskin: HINT : To surely see all drives try option: --devices
cdrskin: HINT : or try options: dev=ATA -scanbus
# cdrskin dev=ATA -scanbus
cdrskin 0.4.8 : limited cdrecord compatibility wrapper for libburn
cdrskin: scanning for devices ...
cdrskin: SORRY : Cannot open busy device '/dev/hda'
cdrskin: ( Most recent system error: 16 'Device or resource busy' )
cdrskin: ... scanning for devices done
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Using libburn version '0.4.8'.
scsibus1:
1,0,0 0) 'HL-DT-ST' 'DVDRAM GSA-4163B' 'A105' Removable CD-ROM
#
3) Using devices as seen by cdrecord:
cdrskin dev=1001,0,0 -v -data ciao.iso
cdrskin dev=/dev/hdc -v -data ciao.iso
cdrskin dev=ATA:1,0,0 -v -data ciao.iso
all write to the IDE burner
Trying 1,0,0 as cdrecord recognises it
cdrskin dev=1,0,0 -v -data ciao.iso
fails
cdrskin 0.4.8 : limited cdrecord compatibility wrapper for libburn
cdrskin: verbosity level : 1
cdrskin: FATAL : Cannot find /dev/* with Bus,Target,Lun = 1,0,0
cdrskin: HINT : This drive may be in use by another program currently
4)
# ls /dev/sr*
ls: /dev/sr*: No such file or directory
# ls /dev/sc*
/dev/scd0
# ls /dev/sg*
/dev/sg0
#
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
Vendor: HL-DT-ST Model: BD-RE BE06LU10 Rev: YE03
Type: CD-ROM ANSI SCSI revision: 00
sr0: scsi3-mmc drive: 51x/51x writer dvd-ram cd/rw xa/form2 cdda tray
sr 1:0:0:0: Attached scsi CD-ROM sr0
sr 1:0:0:0: Attached scsi generic sg0 type 5
usb-storage: device scan complete
5)
# cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 2.01.01a42 (i686-pc-linux-gnu) Copyright (C)
1995-2008 Jörg Schilling
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.9'.
scsibus1:
1,0,0 100) 'HL-DT-ST' 'BD-RE BE06LU10 ' 'YE03' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
scsibus1001:
1001,0,0 100100) 'HL-DT-ST' 'DVDRAM GSA-4163B' 'A105' Removable
CD-ROM
1001,1,0 100101) *
1001,2,0 100102) *
1001,3,0 100103) *
1001,4,0 100104) *
1001,5,0 100105) *
1001,6,0 100106) *
1001,7,0 100107) *
#
cdrecord writes to both of them
--
giulioo@pobox.com
Reply to: