Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Danilo Godec <danci@kibla.org>
To: axp-list@redhat.com
Subject: Re: IDE I/O slows down 164SX to a crawl
Date: Tue, 12 Oct 1999 11:30:09 +0200 (MET DST)	[thread overview]
Message-ID: <Pine.LNX.3.95.991012111322.3543A-100000@server.kibla.org> (raw)
In-Reply-To: <199910120649.AA01082@sharon.qkal.sap-ag.de>

On Tue, 12 Oct 1999 krebs@qkal.sap-ag.de wrote:

> this is normal as long as you use PIO mode to access ide.
> that's the reason why i wrote an dma driver for the SX's ide chip
> cypress CY82C693. the driver is part of the offical IDE kernel
> patches you can get them from
> 
> ftp://ftp.kernel.org/pub/linux/kernel/people/hedrick/

Actually, I do use those patches, but they don't seem to do the trick for
me.

Here is how my IDE devices are setup (hdparm complains some with cd-roms,
but still manages to turn on the DMA):

[/root]# hdparm /dev/hda
 
/dev/hda: 
 multcount = 1 (on) 
 I/O support = 1 (32-bit) 
 unmaskirq = 0 (off) 
 using_dma = 1 (on) 
 keepsettings = 0 (off) 
 nowerr = 0 (off) 
 readonly = 0 (off) 
 readahead = 8 (on) 
 geometry     = 8894/15/63, sectors = 8404830, start = 0

[/root]# hdparm /dev/hdb
 
/dev/hdb: 
 HDIO_GET_MULTCOUNT failed: Input/output error
 I/O support = 1 (32-bit) 
 unmaskirq = 1 (on) 
 using_dma = 1 (on) 
 keepsettings = 0 (off) 
 HDIO_GET_NOWERR failed: Input/output error
 readonly = 0 (off) 
 BLKRAGET failed: Input/output error
 HDIO_GETGEO failed: Invalid argument


(/dev/hdc is another cd-rom, having exactly the same settings as /dev/hdb)

Maybe the problem is in using ide-scsi emulation? If I don't load the
ide-scsi module, I cannot use hdparm on /dev/hdb and /dev/hdc. And maybe,
when the ide-scsi module is loaded, hdparm doesn't REALLY switch the
cd-roms to DMA? 

Any further ideas? 

    D.



  reply	other threads:[~1999-10-12  9:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-12  6:40 IDE I/O slows down 164SX to a crawl Danilo Godec
1999-10-12  6:49 ` krebs
1999-10-12  9:30   ` Danilo Godec [this message]
1999-10-12 11:51     ` krebs
read-only archive

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