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 [EMAIL PROTECTED] for PGP public key
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message