[Gllug] How can a write to a re-writable cd?

Richard Cohen richard at vmlinuz.org
Thu Jun 28 10:22:35 UTC 2001


On Thu, 28 Jun 2001, Lesh wrote:

> Hi,
> I'm using a HP cd writer 9300 series and Linux 2.4 loads the scsi-ide
> module to handle it.  Although ytree can read from disks that are mounted
> a simple command like od -ha /dev/hdd returns zero size even though media
> is loaded.  It seems impossible to write to this device.  Is there
> something silly I'm missing or is it just not possible to write to cd
> writers (or mine in particular).  I'm using Mandrake 8.0.
> Using fdisk also complains about the zero size and syslog suggests that
> command (0) (Test Unit Ready) fails!

Okay - one thing you seem confused about (and feel free to correct me if I'm
wrong):  When you load the ide-scsi module, your CD-RW, ATAPI though it may
be, appears as a SCSI device, *not* an IDE device.  Therefore, the /dev/hdd
device node no longer refers to your CD-RW - it will probably be /dev/scd0
(assuming you don't have any other SCSI CD-ROM devices in your machine).

Once you've done that, one other thing to try is to run 'cdrecord -scanbus'
which will scan your SCSI bus (in this case, the emulated one on top of the
ATAPI drive) and return a list of devices.  Your CD-RW will almost certainly
be 0,0,0 or something similar.  You can then use 'cdrecord dev=<dev>
speed=<speed> -v <ISOimagename>' to burn a CD.

> I'd happily alter the scsi-ide.c module (which emulates a SCSI interface
> for ide drives) if I knew where I could get an ATAPI spec for the drive,
> but the HP web site seems to have only "user" documentation - nothing
> seriously technical.

Not necessary - I don't think.

> Thanking you in advance,
> Lesh.
> lzz at breathemail.net

Cheers
Richard


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list