Re: DMA on CDWriter

2001-12-07 Thread Andrew Mike


--- David Aikema <[EMAIL PROTECTED]> wrote:
> [root@david david]# hdparm -d /dev/hdd
> /dev/hdd: No such file or directory

In which case it's telling the simple truth that you
don't have a /dev/hdd node?


> 
> >
> > here is a list of what I think are relevant
> modules loaded on my machine

> near the same number of modules the only ones
> that I can see that might 
> be relevant are scsi_mod and ide_scsi 

this is true as so far as connecting to (say) /dev/sr0

the problem you have is that the hdparm utility is not
needing any of that (it's irrelevant whether they are
loaded for that purpose, or not). I supplied my lsmod
just to make sure we were both on the same planet.

you're problem appears to be at a much lower level
than the drivers behind /dev/hdd (/dev/sr0) and more
likely to be simply that you don't have hdd in the
node tree.



__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: DMA on CDWriter

2001-11-23 Thread Mike Andrew

On Fri, 23 Nov 2001 12:10, David Aikema wrote:

> Nothing like that will work as the drive is seen as scsi
>
> eg. with my ide burner... which without scsi emulation would be seen as
> /dev/hdd

This threw me so I tried out

hdparm -d /dev/hdd #get dma setting

and

hdparm -d 1 /dev/hdd  #set dma

all seems ok.

'dev/hdd' incidentally is /dev/scd1 using the ide-scsi.o module on my system. 
I have no /dev/hdd as such.

here is a list of what I think are relevant modules loaded on my machine
---
ide-scsi7712   0
sr_mod
cdrom  27488   0  [sr_mod]
ncr53c8xx  53504   1  (autoclean)
sd_mod 11056   1  (autoclean)
scsi_mod   0   4  (autoclean) [ppa ide-scsi ncr53c8xx sd_mod]
---

I am on kernel 2.4.13, and I appear to have no problem, or have misunderstood

http://linux.nf -- [EMAIL PROTECTED]

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: DMA on CDWriter

2001-11-23 Thread Guy Van Sanden

Do you mean a real SCSI drive? or an emulated one?
hdparm can set some options on a SCSI device, but things like DMA etc. are reserved
for IDE only. 
This means you can't set DMA (or PIO etc.) on an IDE drive with SCSI emulation.


And you need DMA enabled to burn at 16X or higher.  (I read this in an article,
and I can't write above 12X on my writer, it seems the drive receives insufficient
data to sustain the write, while the 20MB buffer in memory is 100% full).

Thanks

Guy

On Thu, 22 Nov 2001 21:26:24 -0800 (PST) Net Llama <[EMAIL PROTECTED]>
wrote regarding Re: DMA on CDWriter:

NL> 
NL> --- David Aikema <[EMAIL PROTECTED]> wrote:
NL> > On Thursday 22 November 2001 11:14 am, Net Llama wrote:

 

NL> What version of hdparm do you have?  My v3.9 has no problems working
NL> with the SCSI drive in my box.
NL> 
NL> =
NL> 
NL> Lonni J. Friedman  [EMAIL PROTECTED]
NL> 
NL> Linux Step-by-step help:   http://netllama.ipfox.com
NL> 
NL>  .
NL> 
NL> __
NL> Do You Yahoo!?
NL> Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
NL> http://geocities.yahoo.com/ps/info1
NL> ___
NL> Linux-users mailing list
NL> Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users
NL> 

__
Get Your FREE FlashMail Address now at http://www.flashmail.com
It's Free, Easy, & Fun !!!
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: DMA on CDWriter

2001-11-22 Thread David Aikema

On Thursday 22 November 2001 09:26 pm, Net Llama wrote:
> --- David Aikema <[EMAIL PROTECTED]> wrote:
> > On Thursday 22 November 2001 11:14 am, Net Llama wrote:
> > > > hdparm refuses because it sees a SCSI device.
> > >
> > > Why do you think that the drive can't write at 16X without DMA?
> > >
> > > Have you looked at the man page for hdparm?  I see a number of
> >
> > options
> >
> > > that may help, such as -E which sets a CDROM drive speed.  I'd say
> > > before you mess with any hdparm settings you see what the current
> > > settings are (-v) and what the drive is capable of (-i).
> >
> > Nothing like that will work as the drive is seen as scsi
> >
> > eg. with my ide burner... which without scsi emulation would be seen
> > as
> > /dev/hdd
> > [root@david david]# hdparm -i /dev/scd0
> > /dev/scd0 not supported by hdparm
>
> What version of hdparm do you have?  My v3.9 has no problems working
> with the SCSI drive in my box.

v4.1 from the Mandrake 8.1 install cd

David Aikema
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: DMA on CDWriter

2001-11-22 Thread Net Llama


--- David Aikema <[EMAIL PROTECTED]> wrote:
> On Thursday 22 November 2001 11:14 am, Net Llama wrote:
> 
> > > hdparm refuses because it sees a SCSI device.
> >
> > Why do you think that the drive can't write at 16X without DMA?
> >
> > Have you looked at the man page for hdparm?  I see a number of
> options
> > that may help, such as -E which sets a CDROM drive speed.  I'd say
> > before you mess with any hdparm settings you see what the current
> > settings are (-v) and what the drive is capable of (-i).
> 
> Nothing like that will work as the drive is seen as scsi
> 
> eg. with my ide burner... which without scsi emulation would be seen
> as 
> /dev/hdd
> [root@david david]# hdparm -i /dev/scd0
> /dev/scd0 not supported by hdparm

What version of hdparm do you have?  My v3.9 has no problems working
with the SCSI drive in my box.

=

Lonni J. Friedman  [EMAIL PROTECTED]

Linux Step-by-step help:   http://netllama.ipfox.com

 .

__
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: DMA on CDWriter

2001-11-22 Thread David Aikema

On Thursday 22 November 2001 11:14 am, Net Llama wrote:

> > hdparm refuses because it sees a SCSI device.
>
> Why do you think that the drive can't write at 16X without DMA?
>
> Have you looked at the man page for hdparm?  I see a number of options
> that may help, such as -E which sets a CDROM drive speed.  I'd say
> before you mess with any hdparm settings you see what the current
> settings are (-v) and what the drive is capable of (-i).

Nothing like that will work as the drive is seen as scsi

eg. with my ide burner... which without scsi emulation would be seen as 
/dev/hdd
[root@david david]# hdparm -i /dev/scd0
/dev/scd0 not supported by hdparm

David Aikema
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: DMA on CDWriter

2001-11-22 Thread Net Llama


--- Guy Van Sanden <[EMAIL PROTECTED]> wrote:
> Hello
> 
> How can I enable DMA on an IDE writer in Linux?
> I need SCSI-emulation to use the writer, but that disables DMA.
> 
> It seems that my 16X CDWriter cannot write at that speed without DMA. 
> It only
> works at 12X, and uses up a lot of CPU resources.
> Is there any way to switch DMA back on?
> hdparm refuses because it sees a SCSI device.

Why do you think that the drive can't write at 16X without DMA?

Have you looked at the man page for hdparm?  I see a number of options
that may help, such as -E which sets a CDROM drive speed.  I'd say
before you mess with any hdparm settings you see what the current
settings are (-v) and what the drive is capable of (-i).



=

Lonni J. Friedman  [EMAIL PROTECTED]

Linux Step-by-step help:   http://netllama.ipfox.com

 .

__
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



DMA on CDWriter

2001-11-22 Thread Guy Van Sanden

Hello

How can I enable DMA on an IDE writer in Linux?
I need SCSI-emulation to use the writer, but that disables DMA.

It seems that my 16X CDWriter cannot write at that speed without DMA.  It only
works at 12X, and uses up a lot of CPU resources.
Is there any way to switch DMA back on?
hdparm refuses because it sees a SCSI device.

Thanks for any help.

Kind regards

Guy
__
Get Your FREE FlashMail Address now at http://www.flashmail.com
It's Free, Easy, & Fun !!!
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users