From owner-freebsd-current Sun Oct 3 17:27:55 1999 Delivered-To: freebsd-current@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id 3DA4E14FC9 for ; Sun, 3 Oct 1999 17:27:50 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id JAA50524; Mon, 4 Oct 1999 09:57:42 +0930 (CST) Date: Mon, 4 Oct 1999 09:57:42 +0930 From: Greg Lehey To: Christopher Masto Cc: current@FreeBSD.ORG Subject: Re: vinum panic Message-ID: <19991004095742.W40186@freebie.lemis.com> References: <19991003125355.A11241@netmonger.net> <19991003150902.A15336@netmonger.net> <19991003174636.A22344@netmonger.net> <19991003191627.A24981@netmonger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <19991003191627.A24981@netmonger.net>; from Christopher Masto on Sun, Oct 03, 1999 at 07:16:27PM -0400 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sunday, 3 October 1999 at 19:16:27 -0400, Christopher Masto wrote: > On Sun, Oct 03, 1999 at 05:46:36PM -0400, Christopher Masto wrote: > [...] >> #1 0xc0188346 in bread (vp=0x0, blkno=0x8, size=0x1000, cred=0x0, bpp=0xcda6fc3c) at ../../kern/vfs_bio.c:478 >> #2 0xc014b40f in read_drive (drive=0xc1083000, buf=0xc108b000, length=0x20000, offset=0x1200) >> at ../../dev/vinum/vinumio.c:284 > [...] >> Obviously a NULL vp is being passed down from somewhere.. > > I give up. Somehow vp ends up being NULL in read_drive: > > $1 = {state = drive_down, flags = 0, subdisks_allocated = 0, > subdisks_used = 0, blocksize = 4096, pid = 9, sectors_available = 15685832, > secsperblock = 8, lasterror = 0, driveno = 0, opencount = 0, reads = 0, > writes = 0, bytes_read = 0, bytes_written = 0, > devicename = "/dev/da0s1e", '\000' , vp = 0x0, > p = 0xcc6e3500, label = { > sysname = "wensleydale.netmonger.net\000\000\000\000\000\000", > name = "drive0", '\000' , date_of_birth = { > tv_sec = 935623993, tv_usec = 301079}, last_update = { > tv_sec = 938976848, tv_usec = 800287}, drive_size = 8031281664}, > partinfo = {disklab = 0xc0fc1800, part = 0xc0fc18d4}, freelist_size = 16, > freelist_entries = 1, freelist = 0xc1054d00, > lockfilename = "vinumio.c\000\000\000\000\000\000", lockline = 193} I've seen this, and I thought I had fixed it in revision 1.44 of sys/dev/vinum/vinumio.c. Note also that the drive state is down, so it shouldn't be reading it in the first place. Which revision are you using? Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message