From owner-freebsd-stable@FreeBSD.ORG Thu Nov 10 16:12:53 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D4D316A41F; Thu, 10 Nov 2005 16:12:53 +0000 (GMT) (envelope-from imb@protected-networks.net) Received: from aaron.protected-networks.net (aaron.protected-networks.net [202.12.127.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id D05C343D77; Thu, 10 Nov 2005 16:12:47 +0000 (GMT) (envelope-from imb@protected-networks.net) Received: from localhost (localhost [127.0.0.1]) by aaron.protected-networks.net (Postfix) with ESMTP id EC0FEC24F; Thu, 10 Nov 2005 11:12:46 -0500 (EST) Received: from aaron.protected-networks.net (localhost [127.0.0.1]) by aaron.protected-networks.net (Postfix) with ESMTP id 56A45C222; Thu, 10 Nov 2005 11:12:43 -0500 (EST) Authentication-Results: aaron.protected-networks.net from=imb@protected-networks.net; domainkey=pass Received: from aaron.protected-networks.net (localhost [127.0.0.1]) by aaron.protected-networks.net (Postfix) with ESMTP id EA18BC24B; Thu, 10 Nov 2005 11:12:42 -0500 (EST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=200509; d=protected-networks.net; b=HeD6vSK3B39rKPu+9/VI0bdxnUoi0dvFUmfkeCUVnZWYkbZuQE7S+yEyQTh658v/K CzO+hm1VZDtPZAQFNBFUg106Tt+CLbKBzXnrNtCdTH+Rlvic2mwj6Fh1v/bunRj Received: from [10.12.211.41] (usstls-23.savvis.net [64.242.52.23]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "imb@protected-networks.net", Issuer "Protected Networks Certificate Authority" (verified OK)) (Authenticated sender: imb@protected-networks.net) by aaron.protected-networks.net (Postfix) with ESMTP id AC9C7C238; Thu, 10 Nov 2005 11:12:41 -0500 (EST) Message-ID: <4373716D.6030801@protected-networks.net> Date: Thu, 10 Nov 2005 11:12:29 -0500 From: Michael Butler User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Taylor References: <20051026163015.GA98346@outcold.yadt.co.uk> <20051110150203.GB35744@outcold.yadt.co.uk> <43736200.6090005@protected-networks.net> <20051110155201.GA35976@outcold.yadt.co.uk> In-Reply-To: <20051110155201.GA35976@outcold.yadt.co.uk> X-Enigmail-Version: 0.93.0.0 OpenPGP: id=5E873CC5 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, sos@freebsd.org Subject: Re: ATA RAID problem in 6.0-RC1 (ata_alloc_request/ata_raid_init_request) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2005 16:12:53 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Taylor wrote: | ar0: 156334MB status: READY | ar0: disk0 READY (master) using ad6 at ata3-master | ar0: disk1 READY (mirror) using ad4 at ata2-master Ok - so the apparent kernel memory leak appears to be associated with RAID-1. I have RAID-0+1 configured. To confirm another observation of mine, do you see lots of allocated memory blocks for the controller?, e.g. imb@mail:/home/imb> sysctl -a | grep ^ata_ ata_composit: 192, 0, 69703, 117, 406336 ata_request: 200, 0, 139406, 73, 2106449 (size) (max.) (used) (avail) (requests) There appears to be a path through the ar driver which fails to free the blocks recording the requests .. Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) iD8DBQFDc3FsiJykeV6HPMURArjlAJ409EXGbq1WORzvtEzoIYKcTkIk4gCgxbFY W5Mc2+ylgsb06Rgk0ZjepIs= =hpS6 -----END PGP SIGNATURE-----