From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 16551 invoked from network); 12 Oct 1999 09:30:39 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 12 Oct 1999 09:30:39 -0000 Received: from server.kibla.org (danci@server.kibla.org [193.2.52.195]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id FAA00655 for ; Tue, 12 Oct 1999 05:30:35 -0400 Received: from localhost (danci@localhost) by server.kibla.org (8.8.5/8.8.5) with SMTP id LAA03760 for ; Tue, 12 Oct 1999 11:30:09 +0200 Date: Tue, 12 Oct 1999 11:30:09 +0200 (MET DST) From: Danilo Godec To: axp-list@redhat.com Subject: Re: IDE I/O slows down 164SX to a crawl In-Reply-To: <199910120649.AA01082@sharon.qkal.sap-ag.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.