[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cdrecord-2.01.01a21 refuses work on Linux 2.4 if non-ide-scsi DVD-ROM is present



Hi,

regrettably cdrecord-2.01.01a21 seems to be unusable on my
Linux 2.4 system which has 2 burners under ide-scsi and
1 DVD-ROM not under ide-scsi.

I downloaded 
  ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-2.01.01a21.tar.gz
made my usual "#define HZ 100" in libscg/scsi-linux-sg.c, compiled,
and ran

  $ cdrecord -scanbus
  Cdrecord-ProDVD-Clone 2.01.01a21 (i686-pc-linux-gnu) Copyright (C) 1995-2006 Jörg Schilling
  cdrecord: Read-only file system. Cannot open '/dev/hdg'. Cannot open SCSI driver.
  cdrecord: For possible targets try 'cdrecord -scanbus'.
  cdrecord: For possible transport specifiers try 'cdrecord dev=help'.


"Read-only" obviously doesn't mean file access permissions:
  brw-rw-rw-    1 root     disk      34,   0 Sep 23  2003 /dev/hdg

It seems to be a true regression in relation to my system:

  $ /usr/bin/cdrecord-2.01.01a12-hz100 -scanbus
  Cdrecord-ProDVD-Clone 2.01.01a12 (i686-pc-linux-gnu) Copyright (C) 1995-2006 Jörg Schilling
  Linux sg driver version: 3.1.25
  Using libscg version 'schily-0.8'.
  scsibus0:
        0,0,0     0) '_NEC    ' 'DVD_RW ND-4570A ' '1.02' Removable CD-ROM
        0,1,0     1) 'HL-DT-ST' 'DVDRAM GSA-4082B' 'A201' Removable CD-ROM

With the newest version it is not even possible to address
a single known drive:

  $ cdrecord dev=0,0,0 -atip
  Cdrecord-ProDVD-Clone 2.01.01a21 (i686-pc-linux-gnu) Copyright (C) 1995-2006 Jörg Schilling
  ... same complaint about /dev/hdg and refusal to work ...


The situation on my system is as follows:
  Linux 2.4.21 ( SuSE 9.0)
  /dev/hdc -> /dev/sg0 , /dev/sr0, dev=0,0,0
  /dev/hde -> /dev/sg1 , /dev/sr1, dev=0,1,0
  /dev/hdg    is a DVD-ROM without ide-scsi emulation

(libburn encounters this /dev/hdg too. It gets ignored
because open(2) returns error 30 "Read-only file system".)


Have a nice day :)

Thomas



Reply to: