are there known problems with trying to access IDE CD/RWs directly
through the IDE drivers, rather than using SCSI emulation? i've tried
testing cdrecord using the "dev=ATAPI:x,y,z" option, and am having
no luck.
would this be the right forum to supply details?
rday
p.s. using 2.6.0-test1 kernel.
On Sun, 20 Jul 2003, Robert P. J. Day wrote:
> are there known problems with trying to access IDE CD/RWs directly
> through the IDE drivers, rather than using SCSI emulation? i've tried
> testing cdrecord using the "dev=ATAPI:x,y,z" option, and am having
> no luck.
If you don't have ide-scsi emulation, use dev=dev/hdX
I never really understood what ATAPI: is for. Presumably you need it
for PCATA found in notebooks.
regards
Markus
> are there known problems with trying to access IDE CD/RWs directly
> through the IDE drivers, rather than using SCSI emulation? i've tried
> testing cdrecord using the "dev=ATAPI:x,y,z" option, and am having
> no luck.
Take a look at
http://www.codemonkey.org.uk/post-halloween-2.5.txt
Excerpt:
CD Recording.
~~~~~~~~~~~~
- Jens Axboe added the ability to use DMA for writing CDs on
ATAPI devices. Writing CDs should be much faster than it
was in 2.4, and also less prone to buffer underruns and the like.
- Updated cdrecord in rpm and tar.gz can be found at
*.kernel.org/pub/linux/kernel/people/axboe/tools/
- With the above tools, you also no longer need ide-scsi in order to use
an IDE CD writer.
- Ripping audio tracks off of CDs now also uses DMA and should be
notably faster. You can also find an updated cdda2wav at the same location.
- Send good/bad reports of audio extraction with cdda2wav and burning with
the modified cdrecord to Jens Axboe <[email protected]>
- Currently only 'open by device name' works in cdrecord.
cdrecord -dev=/dev/hdX -inq
- More info at http://lwn.net/Articles/13538/ & http://lwn.net/Articles/13160/
Rudo.
On Sun, 20 Jul 2003, Markus Plail wrote:
> On Sun, 20 Jul 2003, Robert P. J. Day wrote:
> > are there known problems with trying to access IDE CD/RWs directly
> > through the IDE drivers, rather than using SCSI emulation? i've tried
> > testing cdrecord using the "dev=ATAPI:x,y,z" option, and am having
> > no luck.
>
> If you don't have ide-scsi emulation, use dev=dev/hdX
> I never really understood what ATAPI: is for. Presumably you need it
> for PCATA found in notebooks.
this is on a laptop -- dell inspiron 8100. i guess i should have
mentioned that. :-(
rday
On Sun, Jul 20, 2003 at 12:26:53PM +0200, Rudo Thomas wrote:
> > are there known problems with trying to access IDE CD/RWs directly
> > through the IDE drivers, rather than using SCSI emulation? i've tried
> > testing cdrecord using the "dev=ATAPI:x,y,z" option, and am having
> > no luck.
>
> Take a look at
> http://www.codemonkey.org.uk/post-halloween-2.5.txt
>
> Excerpt:
>
> CD Recording.
> ~~~~~~~~~~~~
> - Jens Axboe added the ability to use DMA for writing CDs on
> ATAPI devices. Writing CDs should be much faster than it
> was in 2.4, and also less prone to buffer underruns and the like.
> - Updated cdrecord in rpm and tar.gz can be found at
> *.kernel.org/pub/linux/kernel/people/axboe/tools/
>...
@Dave:
What about writing "You need cdrecord >= 2.0 for this." instead?
> Rudo.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
On Mon, Jul 21 2003, Adrian Bunk wrote:
> On Sun, Jul 20, 2003 at 12:26:53PM +0200, Rudo Thomas wrote:
> > > are there known problems with trying to access IDE CD/RWs directly
> > > through the IDE drivers, rather than using SCSI emulation? i've tried
> > > testing cdrecord using the "dev=ATAPI:x,y,z" option, and am having
> > > no luck.
> >
> > Take a look at
> > http://www.codemonkey.org.uk/post-halloween-2.5.txt
> >
> > Excerpt:
> >
> > CD Recording.
> > ~~~~~~~~~~~~
> > - Jens Axboe added the ability to use DMA for writing CDs on
> > ATAPI devices. Writing CDs should be much faster than it
> > was in 2.4, and also less prone to buffer underruns and the like.
> > - Updated cdrecord in rpm and tar.gz can be found at
> > *.kernel.org/pub/linux/kernel/people/axboe/tools/
> >...
>
> @Dave:
> What about writing "You need cdrecord >= 2.0 for this." instead?
We already cleared this with Joerg some weeks ago, I'm sure the next
version of the post-halloween document will reflect reality. You need
1.11a38 or newer.
--
Jens Axboe
On Monday 21 Jul 2003 15:49, Jens Axboe wrote:
> On Mon, Jul 21 2003, Adrian Bunk wrote:
> > On Sun, Jul 20, 2003 at 12:26:53PM +0200, Rudo Thomas wrote:
> > > Take a look at
> > > http://www.codemonkey.org.uk/post-halloween-2.5.txt
> > >
> > > Excerpt:
> > >
> > > CD Recording.
> > > ~~~~~~~~~~~~
> > > - Jens Axboe added the ability to use DMA for writing CDs on
> > > ATAPI devices. Writing CDs should be much faster than it
> > > was in 2.4, and also less prone to buffer underruns and the like.
> > > - Updated cdrecord in rpm and tar.gz can be found at
> > > *.kernel.org/pub/linux/kernel/people/axboe/tools/
> > >...
> >
> > @Dave:
> > What about writing "You need cdrecord >= 2.0 for this." instead?
>
> We already cleared this with Joerg some weeks ago, I'm sure the next
> version of the post-halloween document will reflect reality. You need
> 1.11a38 or newer.
However I get this rather unhelpful warning from my installed copy of
cdrecord.
# cdrecord -prcap dev=/dev/hdc
Cdrecord 2.01a16 (i686-pc-linux-gnu) Copyright (C) 1995-2003 J?rg Schilling
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.7'
The only other writing programme I'd be interested in at the moment is cdrdao.
This definitely doesn't like non-SCSI devices, unless there is an updated
version of this one too that I don't know about.
--
Ian.