From owner-freebsd-current@FreeBSD.ORG Thu Jan 12 19:43:28 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C22416A41F; Thu, 12 Jan 2006 19:43:28 +0000 (GMT) (envelope-from chris@haakonia.hitnet.rwth-aachen.de) Received: from ms-dienst.rz.rwth-aachen.de (ms-2.rz.RWTH-Aachen.DE [134.130.3.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id D32B243D49; Thu, 12 Jan 2006 19:43:27 +0000 (GMT) (envelope-from chris@haakonia.hitnet.rwth-aachen.de) Received: from circe (circe.rz.RWTH-Aachen.DE [134.130.3.36]) by ms-dienst.rz.rwth-aachen.de (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0ISZ005TLW4EEL@ms-dienst.rz.rwth-aachen.de>; Thu, 12 Jan 2006 20:43:26 +0100 (MET) Received: from talos.rz.RWTH-Aachen.DE ([134.130.3.22]) by circe (MailMonitor for SMTP v1.2.2 ) ; Thu, 12 Jan 2006 20:43:26 +0100 (MET) Received: from bigboss.hitnet.rwth-aachen.de (bigspace.hitnet.RWTH-Aachen.DE [137.226.181.2]) by smarthost.rwth-aachen.de (8.13.1/8.13.1/1) with ESMTP id k0CJfoCG013054; Thu, 12 Jan 2006 20:41:50 +0100 Received: from lorien.hitnet.rwth-aachen.de ([137.226.181.92] helo=haakonia.hitnet.rwth-aachen.de) by bigboss.hitnet.rwth-aachen.de with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1Ex8M1-0005so-SW; Thu, 12 Jan 2006 20:43:25 +0100 Received: by haakonia.hitnet.rwth-aachen.de (Postfix, from userid 1001) id 7B0393F429; Thu, 12 Jan 2006 20:43:25 +0100 (CET) Date: Thu, 12 Jan 2006 20:43:25 +0100 From: Christian Brueffer In-reply-to: <43C59717.7000203@FreeBSD.org> To: =?iso-8859-1?Q?S=F8ren?= Schmidt Message-id: <20060112194325.GA54099@haakonia.hitnet.RWTH-Aachen.DE> MIME-version: 1.0 Content-type: multipart/signed; boundary=NzB8fVQJ5HfG6fxh; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline User-Agent: Mutt/1.5.11 X-Operating-System: FreeBSD 6.0-STABLE X-PGP-Key: http://people.FreeBSD.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D References: <43C59717.7000203@FreeBSD.org> Cc: current@FreeBSD.org Subject: Re: PATCH: DMA enabled dump for ATA please test X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2006 19:43:28 -0000 --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 12, 2006 at 12:39:03AM +0100, S=F8ren Schmidt wrote: >=20 > Evening! >=20 > Originally I wanted to finally add dump functionality to ata-raid, but=20 > quickly discovered that it would be a pain todo the old way. > So I decided to reuse strategy for dumping by implementing polled mode=20 > in ATA, and have dump simply call strategy. > (This could be generalised for all drivers, and would make driver=20 > writing easier). > Now this also gave me the chance to use DMA on dumps, and that does do=20 > wonders for dump speed. > There is a few chipsets (ICH6+7 in AHCI mode and Marvell) that wont do=20 > dumps yet not even PIO but they didn't work before either. >=20 > Anyhow this needs a bit testing on various HW out there before it hits=20 > the tree, so please give it a go and let me know... >=20 I have tested this on my Thinkpad T41p with the following hardware: atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177= ,0x376,0x1860-0x186f at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 [...] ad0: 57231MB at ata0-master UDMA100 acd0: CDRW at ata1-master UDMA33 With the patched kernel it stops after printing the acd0 line and spews out the following: acd0: req=3D0xc350f8d0 TEST_UNIT_READY semaphore timeout !! DANGER Will R= obinson !! Do you need boot -v output? (I'll have to hook up a serial or firewire console, that's why I haven't provided it already). - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --NzB8fVQJ5HfG6fxh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDxrFdbHYXjKDtmC0RAupBAJ0Rc02mk5hey0pYVN1IRmIkuGEM3wCg2Ka5 zLzsUAB238iCWkuVSRYeXL4= =R1+y -----END PGP SIGNATURE----- --NzB8fVQJ5HfG6fxh--