Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 1999 14:15:13 -0400 (EDT)
From:      "Andrew Atrens" <atrens@nortelnetworks.com>
To:        Luigi Rizzo <luigi@labinfo.iet.unipi.it>
Cc:        current@freebsd.org
Subject:   Re: problem with vnconfig -s labels ...
Message-ID:  <Pine.HPX.4.10.9908201402530.2361-100000@wmerh01z>
In-Reply-To: <199908201440.QAA25296@labinfo.iet.unipi.it>

next in thread | previous in thread | raw e-mail | index | archive | help

Luigi,

I've been seeing the same thing for about 6 weeks now :) 

I, too can reproduce the panic _at will_. If anyone's interested I've got
a large selection of kernel cores to choose from :) ...

Andrew.

Some comments below ...


On Fri, 20 Aug 1999, Luigi Rizzo wrote:

> Hi,
> 
> trying to build picobsd on 19990816snap of -current, i am consistently
> hitting a problem, which is totally reproducible from the command line.
> The following sequence
> 
>     vnconfig -s labels -c /dev/rvn0 fs.PICOBSD
>     disklabel -rw /dev/rvn0 fd1440
> 
> causes a panic with a page fault accessing a low address (presumably
> through a null pointer) in vnstrategy.

Yeah, I instrumented my kernel - and it is NULL. I think it's dev_t
related breakage but I have no proof :) . Also slices don't work.
I try doing:

   vnconfig -e -s labels /dev/vn0

and then

    disklabel -rw vn0 auto

and disklabel says '/dev/vn0c' not configured, or some such - it seems the
mapping between

/dev/vn0 /dev/vn0s1 (and friends)

and

/dev/vn0a /dev/vn0b (and friends)

does not work _at all_.

This has been the case since early July.

> 
> fs.PICOBSD is a file filled with 0's with dd if=/dev/zero...
> and the problem appears to occur independently from the size of the
> file.

Correct. Same here.

> 
> can someone investigate this ? the code seems to work fine on 3.x
> 

As stated above it worked fine until sometime in July.

A point that may be of interest -

  I've found panics are more likely to occur if the command pair is
  executed in a script vs. from the command line. This may suggest some
  sort of race is occurring. 


Hope some of this is helpful... :) 




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?Pine.HPX.4.10.9908201402530.2361-100000>