From owner-cvs-all Sat Apr 13 1:34:29 2002 Delivered-To: cvs-all@freebsd.org Received: from a96180.upc-a.chello.nl (a96180.upc-a.chello.nl [62.163.96.180]) by hub.freebsd.org (Postfix) with ESMTP id EAE1B37B416; Sat, 13 Apr 2002 01:34:24 -0700 (PDT) Received: by a96180.upc-a.chello.nl (Postfix, from userid 1001) id DD0F32170; Sat, 13 Apr 2002 10:34:22 +0200 (CEST) Date: Sat, 13 Apr 2002 10:34:22 +0200 From: Jeroen Ruigrok/asmodai To: =?iso-8859-15?Q?S=F8ren?= Schmidt Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/ata ata-raid.c Message-ID: <20020413083422.GB40979@daemon.ninth-circle.org> References: <200204121408.g3CE8dD82248@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200204121408.g3CE8dD82248@freefall.freebsd.org> User-Agent: Mutt/1.3.28i Organisation: Ninth Circle Enterprises Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -On [20020412 16:15], Søren Schmidt (sos@FreeBSD.org) wrote: > Log: > Add a BUF_LOCKINIT to init struct buf's before use. Thanks! This should fix the panic on boot problem with ATA in STABLE. A kernel with options INVARIANTS compiled in would panic with a biodone: bp 0x not busy 0 Due to the KASSERT code in vfs_bio.c:biodone() being triggered. struct bio in CURRENT has different usage semantics than STABLE with its struct buf. -- Jeroen Ruigrok van der Werven / asmodai / Kita no Mono asmodai@[wxs.nl|xmach.org], finger asmodai@ninth-circle.org http://www.softweyr.com/asmodai/ | http://www.[tendra|xmach].org/ We should take care not to make the intellect our god; it has, of course, powerful muscles, but no personality... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message