[olug] Finding the CDR device

Jay Swackhamer Jay at RebootTheUser.com
Sat Apr 3 19:47:21 UTC 2004


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
>


-- 
Jay Swackhamer
Reboot The User
15791 West Dodge Road
Suite 135
Omaha, NE 68118
(402) 933-6449
(402) 933-6456 Fax
http://www.RebootTheUser.com


More information about the OLUG mailing list