linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to use "ATAPI:" protocol for IDE CD/RWs??
@ 2003-07-20 10:08 Robert P. J. Day
  2003-07-20 10:24 ` Markus Plail
  2003-07-20 10:26 ` Rudo Thomas
  0 siblings, 2 replies; 7+ messages in thread
From: Robert P. J. Day @ 2003-07-20 10:08 UTC (permalink / raw)
  To: Linux kernel mailing list


  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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: how to use "ATAPI:" protocol for IDE CD/RWs??
  2003-07-20 10:08 how to use "ATAPI:" protocol for IDE CD/RWs?? Robert P. J. Day
@ 2003-07-20 10:24 ` Markus Plail
  2003-07-20 10:30   ` Robert P. J. Day
  2003-07-20 10:26 ` Rudo Thomas
  1 sibling, 1 reply; 7+ messages in thread
From: Markus Plail @ 2003-07-20 10:24 UTC (permalink / raw)
  To: linux-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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: how to use "ATAPI:" protocol for IDE CD/RWs??
  2003-07-20 10:08 how to use "ATAPI:" protocol for IDE CD/RWs?? Robert P. J. Day
  2003-07-20 10:24 ` Markus Plail
@ 2003-07-20 10:26 ` Rudo Thomas
  2003-07-20 22:28   ` Adrian Bunk
  1 sibling, 1 reply; 7+ messages in thread
From: Rudo Thomas @ 2003-07-20 10:26 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: Linux kernel mailing list

>   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 <axboe@suse.de>
- 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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: how to use "ATAPI:" protocol for IDE CD/RWs??
  2003-07-20 10:24 ` Markus Plail
@ 2003-07-20 10:30   ` Robert P. J. Day
  0 siblings, 0 replies; 7+ messages in thread
From: Robert P. J. Day @ 2003-07-20 10:30 UTC (permalink / raw)
  To: Markus Plail; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: how to use "ATAPI:" protocol for IDE CD/RWs??
  2003-07-20 10:26 ` Rudo Thomas
@ 2003-07-20 22:28   ` Adrian Bunk
  2003-07-21 14:49     ` Jens Axboe
  0 siblings, 1 reply; 7+ messages in thread
From: Adrian Bunk @ 2003-07-20 22:28 UTC (permalink / raw)
  To: Robert P. J. Day, Linux kernel mailing list, Dave Jones, Jens Axboe

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: how to use "ATAPI:" protocol for IDE CD/RWs??
  2003-07-20 22:28   ` Adrian Bunk
@ 2003-07-21 14:49     ` Jens Axboe
  2003-07-21 20:59       ` Ian Hastie
  0 siblings, 1 reply; 7+ messages in thread
From: Jens Axboe @ 2003-07-21 14:49 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Robert P. J. Day, Linux kernel mailing list, Dave Jones

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: how to use "ATAPI:" protocol for IDE CD/RWs??
  2003-07-21 14:49     ` Jens Axboe
@ 2003-07-21 20:59       ` Ian Hastie
  0 siblings, 0 replies; 7+ messages in thread
From: Ian Hastie @ 2003-07-21 20:59 UTC (permalink / raw)
  To: linux-kernel

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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-07-21 20:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-20 10:08 how to use "ATAPI:" protocol for IDE CD/RWs?? Robert P. J. Day
2003-07-20 10:24 ` Markus Plail
2003-07-20 10:30   ` Robert P. J. Day
2003-07-20 10:26 ` Rudo Thomas
2003-07-20 22:28   ` Adrian Bunk
2003-07-21 14:49     ` Jens Axboe
2003-07-21 20:59       ` Ian Hastie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).