Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Oct 1999 09:57:42 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Christopher Masto <chris@netmonger.net>
Cc:        current@FreeBSD.ORG
Subject:   Re: vinum panic
Message-ID:  <19991004095742.W40186@freebie.lemis.com>
In-Reply-To: <19991003191627.A24981@netmonger.net>; from Christopher Masto on Sun, Oct 03, 1999 at 07:16:27PM -0400
References:  <19991003125355.A11241@netmonger.net> <19991003150902.A15336@netmonger.net> <19991003174636.A22344@netmonger.net> <19991003191627.A24981@netmonger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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' <repeats 20 times>, vp = 0x0,
>   p = 0xcc6e3500, label = {
>     sysname = "wensleydale.netmonger.net\000\000\000\000\000\000",
>     name = "drive0", '\000' <repeats 25 times>, 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




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