Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Apr 2002 10:34:22 +0200
From:      Jeroen Ruigrok/asmodai <asmodai@wxs.nl>
To:        =?iso-8859-15?Q?S=F8ren?= Schmidt <sos@FreeBSD.org>
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>
In-Reply-To: <200204121408.g3CE8dD82248@freefall.freebsd.org>
References:  <200204121408.g3CE8dD82248@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-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<number> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020413083422.GB40979>