public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Problems with scsi emulation
@ 2003-06-02  4:55 Douglas Gilbert
  1970-01-13  6:22 ` Agustín Herrera
  0 siblings, 1 reply; 4+ messages in thread
From: Douglas Gilbert @ 2003-06-02  4:55 UTC (permalink / raw)
  To: linux-kernel, agusmdp

 > I'm using a customized 2.4.20 kernel (red hat 9) with
 > scsi emulation, scsi  cdrom & scsi generic support
 > options enabled in .config and hdx-ide-scsi in
 > lilo.conf. apps as cdrecord or cdrdao take up all my
 > cpu time (I have a duron 1.1 gz, kt133, 192mb sdram,
 > 30 gb 5400 rpm hd). in windows (with dma enabled) Nero d
 > oesn't take up any (or almost) cpu time...
 > is this an issue of the linux-kernel or a configuration
 > problem?

Due to many problems with DMA locking up on ATAPI writers
earlier in the lk 2.4 series, Linux takes a very
conservative approach and turns off DMA.
It can be turned back on with:
  # hdparm -d 1 /dev/hdb
assuming your cdwriter is found at /dev/hdb (even
though the ide-scsi driver "owns" that device
and you address it as /dev/scd0 ). You can get
faster DMA modes with the addition of the "-X"
switch in hdparm but that should not be necessary.

Doug Gilbert


^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: Problems with scsi emulation
@ 2003-06-06  4:18 Jonathan Woithe
  0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Woithe @ 2003-06-06  4:18 UTC (permalink / raw)
  To: linux-kernel; +Cc: Jonathan Woithe, dgilbert, agusmdp

Doug Gilbert wrote:
> Due to many problems with DMA locking up on ATAPI writers
> earlier in the lk 2.4 series, Linux takes a very
> conservative approach and turns off DMA.

Really?  That doesn't seem to be the case with my ATAPI CD writer under stock
2.4.20.  At the start of this year I found that DMA was turned on by default
for my writer AND that having DMA turned on was usually fatal for burning (a
kernel oops would occur).  For reference an earlier posting of mine to lkml:
  http://www.ussg.iu.edu/hypermail/linux/kernel/0303.1/0384.html

> It can be turned back on with:
>   # hdparm -d 1 /dev/hdb

I found that to ensure a reliable CD writing, I had to manually turn DMA OFF
under stock 2.4.20 just to get reliable writing.  If I have DMA on I can
almost guarantee a kernel oops before the CD is complete under 2.4.20.

Given that the original correspondant was using Redhat 9.0, I'm guessing
that the advise about turning DMA back on refers to the Redhat
custom kernel in Redhat 9.0 as opposed to stock 2.4.20.  In my experience
DMA just doesn't work in stock 2.4.20 for what it's worth.

Regards
  jonathan
-- 
* Jonathan Woithe    jwoithe@physics.adelaide.edu.au                        *
*                    http://www.physics.adelaide.edu.au/~jwoithe            *
***-----------------------------------------------------------------------***
** "Time is an illusion; lunchtime doubly so"                              **
*  "...you wouldn't recognize a subtle plan if it painted itself purple and *
*   danced naked on a harpsichord singing 'subtle plans are here again'"    *

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Problems with scsi emulation
@ 2003-06-01 18:28 Agustín Herrera
  0 siblings, 0 replies; 4+ messages in thread
From: Agustín Herrera @ 2003-06-01 18:28 UTC (permalink / raw)
  To: linux-kernel

I'm using a customized 2.4.20 kernel (red hat 9) with scsi emulation, scsi 
cdrom & scsi generic support options enabled in .config and hdx-ide-scsi in 
lilo.conf.
apps as cdrecord or cdrdao take up all my cpu time (I have a duron 1.1 gz, 
kt133, 192mb sdram, 30 gb 5400 rpm hd).
in windows (with dma enabled) Nero doesn't take up any (or almost) cpu 
time...
is this an issue of the linux-kernel or a configuration problem?

_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger: 
http://messenger.yupimsn.com/


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

end of thread, other threads:[~2003-06-06  4:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-02  4:55 Problems with scsi emulation Douglas Gilbert
1970-01-13  6:22 ` Agustín Herrera
  -- strict thread matches above, loose matches on Subject: below --
2003-06-06  4:18 Jonathan Woithe
2003-06-01 18:28 Agustín Herrera

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox