From owner-freebsd-questions Sat Apr 27 10:11:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mta01-svc.ntlworld.com (mta01-svc.ntlworld.com [62.253.162.41]) by hub.freebsd.org (Postfix) with ESMTP id 76CA437B400 for ; Sat, 27 Apr 2002 10:11:36 -0700 (PDT) Received: from lungfish.ntlworld.com ([80.4.0.215]) by mta01-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020427171135.HFGY28297.mta01-svc.ntlworld.com@lungfish.ntlworld.com>; Sat, 27 Apr 2002 18:11:35 +0100 Received: from tuatara.goatsucker.org (tuatara.goatsucker.org [192.168.1.6]) by lungfish.ntlworld.com (8.11.6/8.11.6) with ESMTP id g3RHBZV91968; Sat, 27 Apr 2002 18:11:35 +0100 (BST) (envelope-from scott@tuatara.goatsucker.org) Received: (from scott@localhost) by tuatara.goatsucker.org (8.11.6/8.11.6) id g3RHBXj12876; Sat, 27 Apr 2002 18:11:33 +0100 (BST) (envelope-from scott) Date: Sat, 27 Apr 2002 18:11:33 +0100 From: Scott Mitchell To: atk2@arctic.org Cc: freebsd-questions@FreeBSD.ORG Subject: Re: checking hard disk -- hdparm like tool? Message-ID: <20020427181133.C296@fishballoon.dyndns.org> References: <20020427152617.B296@fishballoon.dyndns.org> <20020427144716.14334.qmail@twinlark.arctic.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020427144716.14334.qmail@twinlark.arctic.org>; from atk2@arctic.org on Sat, Apr 27, 2002 at 02:47:16PM -0000 X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Apr 27, 2002 at 02:47:16PM -0000, atk2@arctic.org wrote: > I did that -- and it does say dma -- but I think it is dma 2 (ata33). The > drive is ata 133 and I was hoping for ata 100 (which freebsd supports). There > is nothing in the var log messages or otherwise to indicate which dma mode it > is in. > > I'm hoping to get ppp working tomorrow and then will do a cvs-update to get > atacontrol (I'm running off of the 4.5 release cd's). > > Wish the info sysctrl/boot messages had more details. Here's the ATA-related stuff I get at boot time: atapci0: port 0xd400-0xd40f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 ... ad0: 57241MB [116301/16/63] at ata0-master UDMA100 acd0: DVD-ROM at ata1-master using UDMA66 I've also got 'hw.ata.atapi_dma=1' on /boot/loader.conf to make sure the DVD uses DMA, since it does seem to work properly with this drive. There should be similar stuff in your boot messages telling you what modes the drives are using. > There is a dvd drive as slave -- and I was able to set it from the default > pio mode to dma mode. I get about 2.5MB/S off the dvd and 10MB/S off the hard > drive. However, if the dvd plays while the hard disk is active hard disk > drops to about 200KB/S (thought as master it would stay near peak). Oh > well... If those are the only two ATA devices in the system, put the DVD on a separate cable -- performance will suck if you try to access two devices on the same cable no matter what DMA mode they're in. Speaking of cables, make sure you've got the disk on a proper 80-way UDMA100 cable. Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott.mitchell@mail.com | 0xAA775B8B | -- Anon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message