Date: Thu, 12 Jan 2006 20:43:25 +0100 From: Christian Brueffer <chris@unixpages.org> To: =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@FreeBSD.org> Cc: current@FreeBSD.org Subject: Re: PATCH: DMA enabled dump for ATA please test Message-ID: <20060112194325.GA54099@haakonia.hitnet.RWTH-Aachen.DE> In-Reply-To: <43C59717.7000203@FreeBSD.org> References: <43C59717.7000203@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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: <Intel ICH4 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177= ,0x376,0x1860-0x186f at device 31.1 on pci0 ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 [...] ad0: 57231MB <HTS726060M9AT00 MH4OA6DA> at ata0-master UDMA100 acd0: CDRW <UJDA755yDVD/CDRW/1.72> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060112194325.GA54099>