[Debburn-devel] Re: Trouble running wodim on dev=0, 0, 0 and dev=0, 1, 0 simultaneously

scdbackup at gmx.net scdbackup at gmx.net
Sat Dec 9 19:38:39 CET 2006


Hi,

i wanted to prepare an analogous error message about cdrecord
but had to notice that cdrecord does not keep cdrecord from
accessing dev=0,1,0 while it is burning to dev=0,0,0.

Shell #1:
  $ cdrecord -v dev=0,0,0 /dvdbuffer/fertig.iso
  
Shell #2:

  $ cdrecord dev=0,1,0 -v -atip
  Cdrecord-ProDVD-Clone 2.01.01a22 (i686-pc-linux-gnu) Copyright (C) 1995-2006 Jörg Schilling
  ...
  Current: CD-RW
  ...
    Capacity  Blklen/Sparesz.  Type
       18450             2048  Formatted Media

  $ wodim dev=0,1,0 -v -atip
  TOC Type: 1 = CD-ROM
  scsidev: '0,1,0'
  scsibus: 0 target: 1 lun: 0
  Error trying to open /dev/sg0 exclusively (Device or resource busy)... retrying in 1 second.
  Error trying to open /dev/sg0 exclusively (Device or resource busy)... retrying in 1 second.
  Error trying to open /dev/sg0 exclusively (Device or resource busy)... retrying in 1 second.
  Error trying to open /dev/sg0 exclusively (Device or resource busy)... retrying in 1 second.
  Error trying to open /dev/sg0 exclusively (Device or resource busy)... giving up.
  scsidev: 'ATA:0,1,0'
  devname: 'ATA'
  scsibus: 0 target: 1 lun: 0
  wodim: No such file or directory. 
  Cannot open SCSI driver!
  For possible targets try 'wodim -scanbus'.
  For possible transport specifiers try 'wodim dev=help'.
  For IDE/ATAPI devices configuration, see the file README.ATAPI.setup from
  the wodim documentation.

  $ cdrskin dev=0,1,0 -v -atip
  cdrskin 0.2.7 : limited cdrecord compatibility wrapper for libburn
  ...
  Current: CD-RW
  ...
    1T speed low:  4 1T speed high: 10

So wodim has the double problem of blocking /dev/sg0
and reactiing overly sensitive on blocked /dev/sg0.

cdrecord does not block but reacts on blocked /dev/sg0.

cdrskin blocks /dev/sg0 but does not react unless it is
sent onto /dev/sg0 explictely. (The happy offender.)


Have a nice day :)

Thomas




More information about the Debburn-devel mailing list