Using cdrecord on 2.6.9
David Bandel
david.bandel
Sat Oct 30 09:23:55 PDT 2004
On Sat, 30 Oct 2004 07:57:50 -0400, Kurt Wall <kwall at kurtwerks.com> wrote:
> On Fri, Oct 22, 2004 at 11:08:45PM -0500, David Bandel took 64 lines to write:
> > 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:
>
> Would this be a DMA problem, as Collins suggested?
No, actually, the unit is borken. Replaced with another and it works
as it should.
>
> > rip out all the SCSI emulation (especially from the boot sequence),
> > but also all the modules.
>
> Hmm. I was able to get it *detected* using "hdd=ide-scsi". But, I'll give
> this a shot after rebuilding the kernel without SCSI emulation.
you don't need to rebuild, just remove the line above and the
ide--scsi, sr_mod, sg, modules. My system still has all the modules,
I just don't load them.
>
> > 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.
>
> Looks like it's time for me to re-read the cdrecord manual page. It's been
> awhile since I updated cdrecord, too, so perhaps it's time to upgrade.
>
> > 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.
>
> Good stuff, David. Thanks.
It works here with a CDR that isn't borken.
Ciao,
David A. Bandel
--
Focus on the dream, not the competition.
- Nemesis Air Racing Team motto
More information about the Linux-users
mailing list