linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SCSI Emulation problem
       [not found] <20030602025306.GA18867@localhost.localdomain>
@ 2003-06-02  2:59 ` Agustín Herrera
  2003-06-02  2:59 ` SCSI Emulation Issues Agustín Herrera
  1 sibling, 0 replies; 3+ messages in thread
From: Agustín Herrera @ 2003-06-02  2:59 UTC (permalink / raw)
  To: linux-admin

I've recently enabled scsi emulation (scsi emulation, scsi generic 
support, scsi cdrom support) for my cdrom and cd-writer.
Unfortunately, cdrdao and cdrecord take up all the processor's time 
when reading and/or writing to these devices. I've run hdparm on all 
devices and I've activated both dma and 32bit accesses.
I'm wondering whether this problem is due to bad configuration or it is 
just a linux-kernel issue (my version is 2.4.20).

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

* SCSI Emulation Issues
       [not found] <20030602025306.GA18867@localhost.localdomain>
  2003-06-02  2:59 ` SCSI Emulation problem Agustín Herrera
@ 2003-06-02  2:59 ` Agustín Herrera
  2003-06-03  9:11   ` Glynn Clements
  1 sibling, 1 reply; 3+ messages in thread
From: Agustín Herrera @ 2003-06-02  2:59 UTC (permalink / raw)
  To: linux-admin

I am using scsi emulation (scsi emulation, scsi generic support, scsi 
cdrom support) for my cdrom and cd-writer.
cdrdao and cdrecord take up all the processor's time when reading 
and/or writing. I've run hdparm on all devices and I've activated both 
dma and 32bit accesses.
I'm wondering whether this problem is due to bad configuration or  it 
is just a linux-kernel issue (my version is 2.4.20).

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

* Re: SCSI Emulation Issues
  2003-06-02  2:59 ` SCSI Emulation Issues Agustín Herrera
@ 2003-06-03  9:11   ` Glynn Clements
  0 siblings, 0 replies; 3+ messages in thread
From: Glynn Clements @ 2003-06-03  9:11 UTC (permalink / raw)
  To: Agustín Herrera; +Cc: linux-admin


Agustín Herrera wrote:

> I am using scsi emulation (scsi emulation, scsi generic support, scsi 
> cdrom support) for my cdrom and cd-writer.
> cdrdao and cdrecord take up all the processor's time when reading 
> and/or writing.

Taking up all of the processor's time, or just locking up the system
while the processor remains (mostly) idle? The latter is more likely.

> I've run hdparm on all devices and I've activated both 
> dma and 32bit accesses.
> I'm wondering whether this problem is due to bad configuration or  it 
> is just a linux-kernel issue (my version is 2.4.20).

Do you have CD drive on the same IDE controller as the hard disk? 
Don't do this.

1. IDE operations "lock" the IDE controller for the duration of the
operation.

2. CD-ROM drives are *slow*. Much slower than hard disks.

A consequence of the above is that, if your CD drive is sharing an IDE
controller with a hard disk, accessing the CD will prevent access to
the hard disk for an extended period.

If you have a hard disk and a CD, make the disk the primary master
(hda) and the CD the secondary master (hdc). If you have two disks and
a CD, make the disks the primary master (hda) and primary slave (hdb),
with the CD as the secondary master (hdc). If you have three disks and
a CD, you need to buy another IDE controller.

-- 
Glynn Clements <glynn.clements@virgin.net>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2003-06-03  9:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20030602025306.GA18867@localhost.localdomain>
2003-06-02  2:59 ` SCSI Emulation problem Agustín Herrera
2003-06-02  2:59 ` SCSI Emulation Issues Agustín Herrera
2003-06-03  9:11   ` Glynn Clements

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).