[olug] Finding the CDR device

Adam Lassek hayai2 at cox.net
Tue Apr 6 03:23:54 UTC 2004


There's a much easier way to do this. You're using cdrecord 2.00.3,
which should be new enough. I'm using 2.01_alpha27 but I believe 1.11a
works. Replace the dev=6,0 line with dev=ATAPI:/dev/hdd. No scsi
emulation necessary.

I'm kind of ashamed of linux that it took us this long to support atapi
burning natively.

On Sat, 2004-04-03 at 13:47, Jay Swackhamer wrote:
> If you are using a 2.4 kernel you will need to have ide-scsi
> setup in your kernel and pass the option hdd=ide-scsi  to the kernel at
> boot time.
> 
> for 2.6 you should pass hdd=ide-cd and use the atapi device, but if you
> dont have a new enough version of cdrecord, you will have to use the scsi
> emulation(ide-scsi) with 2.6 also.
> 
> with ide-scsi installed, you should see the correct device when you do a
> 'scanbus'
> 
> > I've installed a IDE CD-RW drive on a lab box.  The device is /dev/hdd.
> > I'd
> > like to test writing by writing an iso of Damnsmall Linux.  The man pages
> > for
> > cdrecord suggest using "dev=6,0" as the typical writing device So...
> >
> > root at jukebox:~/shares/damnsmall# cdrecord -V -v speed=12 -data dev=0,6
> > damnsmall-0.6.1.iso
> > Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
> > TOC Type: 1 = CD-ROM
> > scsidev: '0,6'
> > scsibus: 0 target: 0 lun: 6
> > cdrecord: No such device. Cannot open '/dev/pg0'. Cannot open SCSI driver.
> > cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are
> > root.
> > cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
> >
> > Well! That's ugly.  Let's try
> >
> > root at jukebox:~/shares/damnsmall# cdrecord -scanbus
> > Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
> > cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open
> > SCSI
> > driver.
> > cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are
> > root.
> > cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
> >
> > Ooooooo.  That's Bad.
> >
> > What should I try next?
> >
> > Dave Thacker
> > -----------------
> > "The hard part of hunting elephants is carrying the decoys" -- Fortune
> >
> >
> >
> > _______________________________________________
> > OLUG mailing list
> > OLUG at olug.org
> > http://lists.olug.org/mailman/listinfo/olug
> >
-- 
"The obvious mathematical breakthrough would be development 
of an easy way to factor large prime numbers."
-- Bill Gates from The Road Ahead, p265



More information about the OLUG mailing list