From owner-freebsd-questions Sat Apr 27 8: 8: 0 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rain.macguire.net (sense-sea-MegaSub-1-125.oz.net [216.39.144.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FF7637B405 for ; Sat, 27 Apr 2002 08:07:54 -0700 (PDT) Received: (from roo@localhost) by rain.macguire.net (8.11.6/8.11.6) id g3RF6AR72574; Sat, 27 Apr 2002 08:06:10 -0700 (PDT) (envelope-from roo) Date: Sat, 27 Apr 2002 08:06:10 -0700 From: Benjamin Krueger To: atk2@arctic.org Cc: scott.mitchell@mail.com, freebsd-questions@FreeBSD.ORG Subject: Re: checking hard disk -- hdparm like tool? Message-ID: <20020427080610.O65643@rain.macguire.net> 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-PGP-Key: http://www.macguire.net/benjamin/public_key.asc 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 * atk2@arctic.org (atk2@arctic.org) [020427 07:47]: > 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. > > 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... > > Alan > > ||From scott.mitchell@mail.com Sat Apr 27 07:26:20 2002 > > ||Do 'man ata' and read up on the various sysctl knobs for tuning ATA > ||performance. Note that some of these can only be set at boot time, in > ||/boot/loader.conf. > > ||DMA should be enabled by default for disks... you don't have it sharing a > ||cable with a slow old CD drive or anything, do you? Also make sure that > ||you're using good quality ATA-66 cables and check what's reported in the > ||boot messages for your controller and drives. > > ||HTH, > > || Scott (I have this memorized now. Isn't that cute?) Definately make sure that your atapi cdrom is running in dma mode. FreeBSD by default doesn't run atapi drives in dma mode because some atapi devices have issues in dma mode, despite claims to the otherwise. Instructions on enabling dma for your drive can be found in ata(4) (which you already read, however you may not have realized what that section was for). That should help. -- Benjamin Krueger "Life is far too important a thing ever to talk seriously about." - Oscar Wilde (1854 - 1900) ---------------------------------------------------------------- Send mail w/ subject 'send public key' or query for (0x251A4B18) Fingerprint = A642 F299 C1C1 C828 F186 A851 CFF0 7711 251A 4B18 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message