From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 103AF2F0B1 for ; Fri, 17 Nov 2000 23:32:27 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id eAI4WQ231947 for axp-list@listman.redhat.com; Fri, 17 Nov 2000 23:32:26 -0500 Received: from bob.usuhs.mil (bob.usuf2.usuhs.mil [131.158.186.183]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id eAI4WQD31939 for ; Fri, 17 Nov 2000 23:32:26 -0500 Received: from bob.usuhs.mil (dialin157.usuhs.mil [131.158.7.157]) by bob.usuhs.mil (8.9.3/8.9.3) with ESMTP id XAA10181 for ; Fri, 17 Nov 2000 23:32:12 -0500 (EST) Message-ID: <3A160868.6D24EAE8@bob.usuhs.mil> Date: Sat, 18 Nov 2000 04:41:13 +0000 From: Robert Williams Organization: Uniformed Services University X-Mailer: Mozilla 4.51 [en] (X11; U; Linux 2.2.16-3 i586) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: no hdparm -d1 (dma) after software raid comes up. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors I had dma turned on for my ide devices until I finally got software raid to work. Now both ide disks that are not part of the raid, and those that are, have dma turned off. [root@rw /etc]# /sbin/hdparm -t /dev/hda /dev/hda: Timing buffered disk reads: 64 MB in 17.85 seconds = 3.58 MB/sec (where it was about 25 MB/sec with dma on). What could have gone wrong? Is there something I can use to investigate? Now I get: [root@rw /etc]# /sbin/hdparm /dev/hdb /dev/hdb: multcount = 0 (off) I/O support = 0 (default 16-bit) unmaskirq = 0 (off) using_dma = 0 (off) keepsettings = 0 (off) nowerr = 0 (off) readonly = 0 (off) readahead = 8 (on) geometry = 4982/255/63, sectors = 80041248, start = 0 [root@rw /etc]# /sbin/hdparm -d1 /dev/hdb /dev/hdb: setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted using_dma = 0 (off) [root@rw /etc]# grep -i dma /usr/src/linux/.config CONFIG_BLK_DEV_IDEDMA=y CONFIG_IDEDMA_AUTO=y # CONFIG_SCSI_EATA_DMA is not set CONFIG_SOUND_DMAP=y [for an ide raid 0 set:] [root@rw /etc]# /sbin/hdparm /dev/md3 /dev/md3: BLKROGET failed: Invalid argument geometry = 52608/2/4, sectors = 127298560, start = 0 [for a scsi raid 1 set: ] [root@rw /etc]# /sbin/hdparm /dev/md1 /dev/md1: BLKROGET failed: Invalid argument geometry = 1824/2/4, sectors = 4208896, start = 0 [even the ide device that is not part of the raid:] [root@rw /etc]# /sbin/hdparm /dev/hda /dev/hda: multcount = 0 (off) I/O support = 0 (default 16-bit) unmaskirq = 0 (off) using_dma = 0 (off) keepsettings = 0 (off) nowerr = 0 (off) readonly = 0 (off) readahead = 8 (on) geometry = 26310/16/63, sectors = 26520480, start = 0 [root@rw /etc]# /sbin/hdparm -d1m1 /dev/hda /dev/hda: setting multcount to 1 setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted multcount = 1 (on) using_dma = 0 (off) [root@rw /etc]# /sbin/hdparm /dev/hda /dev/hda: multcount = 1 (on) I/O support = 0 (default 16-bit) unmaskirq = 0 (off) using_dma = 0 (off) keepsettings = 0 (off) nowerr = 0 (off) readonly = 0 (off) readahead = 8 (on) geometry = 26310/16/63, sectors = 26520480, start = 0 [root@rw /etc]# -- Bob Williams, http://bob.usuf2.usuhs.mil/