[Debburn-devel] wodim does not show my SATA and my USB drive

Thomas Schmitt scdbackup at gmx.net
Sun May 25 08:45:49 UTC 2008


on my SuSE 10.2 system (kernel
there are these drives:

  $ cdrskin --devices
   0  dev='/dev/sr0'  rwrw-- :  'TSSTcorp'  'CDDVDW SH-S203B'
   1  dev='/dev/sr1'  rwrw-- :  'PHILIPS'  'SPD3300L'
   2  dev='/dev/hda'  rwrw-- :  'HL-DT-ST'  'DVD-ROM GDR8162B'
   3  dev='/dev/hdc'  rwrw-- :  'LITE-ON'  'LTR-48125S'

but wodim shows only the IDE drives

  $ wodim -version
  cdrecord-yelling-line-to-tell-frontends-to-use-it-like-version 2.01.01a03-dvd 
  Copyright (C) 2006 Cdrkit suite contributors
  Based on works from Joerg Schilling, Copyright (C) 1995-2006, J. Schilling
  $ wodim --devices
  wodim: Overview of accessible drives (2 found) :
   0  dev='/dev/hda'      rwrw-- : 'HL-DT-ST' 'DVD-ROM GDR8162B'
   1  dev='/dev/hdc'      rwrw-- : 'LITE-ON' 'LTR-48125S'
  $ wodim -scanbus
        1000,0,0 100000) 'HL-DT-ST' 'DVD-ROM GDR8162B' '0015' Removable CD-ROM
        1000,1,0 100001) *
        1000,2,0 100002) 'LITE-ON ' 'LTR-48125S      ' '1S05' Removable CD-ROM
        1000,3,0 100003) *
        1000,5,0 100005) *
        1000,6,0 100006) *
        1000,7,0 100007) *

It does not matter whether i am superuser or not.

The missing drives are attached via SATA resp. USB.
They show no unusual peculiarities with their SCSI
  $ cdrskin -scanbus
  0,0,0     0) 'TSSTcorp' 'CDDVDW SH-S203B ' 'SB00' Removable CD-ROM
  4,0,0     1) 'PHILIPS ' 'SPD3300L        ' 'H5S2' Removable CD-ROM
  $ cdrecord -scanbus
  Cdrecord-ProDVD-ProBD-Clone 2.01.01a39 (x86_64-unknown-linux-gnu)
  Copyright (C) 1995-2008 Jörg Schilling
          0,0,0     0) 'TSSTcorp' 'CDDVDW SH-S203B ' 'SB00' Removable CD-ROM
          4,0,0   400) 'PHILIPS ' 'SPD3300L        ' 'H5S2' Removable CD-ROM
      1000,0,0 100000) 'HL-DT-ST' 'DVD-ROM GDR8162B' '0015' Removable CD-ROM
      1001,0,0 100100) 'LITE-ON ' 'LTR-48125S      ' '1S05' Removable CD-ROM


What i can see inside wodim:
In list_devices() all busses except number 1000 get
skipped because usal_havebus() returns 0.
It does this because in scsi-linux-sg.c:usalo_havebus()
usallocal(usalp)->usalfiles[busno][t][l] is -1
for the other busno values with any t,l.
But i got lost when trying to find out how a drive
gets registered in usalfiles[busno][t][l].

If you give me the necessary instructions i am willing
to insert test prints resp. to run wodim in gdb.

It might be interesting to know that the Linux provided
Bus,Lun,Traget address does not work with wodim.
Version reacts gracefully:

  $ cdrkit- dev=4,0,0 -checkdrive
  WARNING: the deprecated pseudo SCSI syntax found as device specification.
  Support for that may cease in the future versions of wodim. For now,
  the device will be mapped to a block device file where possible.
  Run "wodim --devices" for details.
  cdrkit- No such file or directory. 
  Cannot open SCSI driver!
  For possible targets try 'wodim --devices' or '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.

Version 1.1.6 runs into an endless cycle of reporting:

  ... Unable to open this SCSI ID. Trying to map to old ATA syntax.This wo
  rkaround will disappear in the near future. Fix your configuration.Unabl
  e to open this SCSI ID. Trying to map to old ATA syntax.This workaround 
  will disappear in the near future. Fix your configuration.Unable to open
  this SCSI ID. Trying to map to old ATA syntax.This workaround will ...

Both versions do work with "/dev/sr1" rather than "4,0,0".


cdrskit- is not available at
but only at

Given the better behavior with SCSI address 4,0,0
i think that wodim- is much to prefer over

Have a nice day :)


More information about the Debburn-devel mailing list