Using cdrecord on 2.6.9

David Bandel david.bandel
Sat Oct 23 00:24:31 PDT 2004


On Fri, 22 Oct 2004 22:34:43 -0400, Kurt Wall <kwall at kurtwerks.com> wrote:
> 
> Okay, how the heck do I use cdrecord on kernel 2.6.9? I know that
> "hdd=ide-scsi" has gone away in the 2.6 kernel, replaced by "hdd=scsi".
> The kernel at least saw this boot param, as this snippet from dmesg shows:
> 
> Kernel command line: BOOT_IMAGE=269 ro video=rivafb:1600x1200 hdd=scsi
> ide_setup: hdd=scsi
> 
> It's also properly detected my IDE CD-RW:
> 
> hdd: OPTORITE CD-RW CW4802, ATAPI CD/DVD-ROM drive
> [...]
> ide-cd: passing drive hdd to ide-scsi emulation.

I have an Optorite as well and it has been giving me fits.  Won' t
work any more with SCSI emulation.  Unfortunately, I get a warning
using IDE and a hang, but the gist of what you should now be doing is:

rip out all the SCSI emulation (especially from the boot sequence),
but also all the modules.

once the above is done, try:
cdrecord ATA: -scanbus

In your cdrecord (in /etc), put:
CDR_DEVICE=cdrw
cdrw=ATA:1,0,0  12      16m     ""

the cdrw line is ATA: followed by the value returned by cdrecord ATA:
-scanbus for your cdrw device, followed by the recording speed,
followed by the buffer size, followed by "" or perhaps burnfree.

> 
> So far, so good. No joy with cdrecord -scanbus, though:
> 
> # cdrecord -scanbus
> drecord 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'.
> 
> Am I missing drivers? This all worked just fine under 2.4.2x.

Mine returns warnings about a broken IDE then hangs when I try to use
it, so I'm not yet sure what I'm missing, but the above should help
get you started.

Ciao,

David A. bandel
-- 
Focus on the dream, not the competition.
            - Nemesis Air Racing Team motto


More information about the Linux-users mailing list