NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/46032: panic: kernel diagnostic assertion "(*vpp)->v_type == VNON" failed: file "/home/jym/cvs/nb5/src/sys/ufs/ffs/ffs_alloc.c", line 808



>Number:         46032
>Category:       kern
>Synopsis:       panic: kernel diagnostic assertion "(*vpp)->v_type == VNON" 
>failed: file "/home/jym/cvs/nb5/src/sys/ufs/ffs/ffs_alloc.c", line 808
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 16 21:05:00 +0000 2012
>Originator:     Bob Van Zant
>Release:        5.1-stable
>Organization:
Clovetree
>Environment:
AWS AMI: NetBSD-5.1 (ami-2da67644)
NetBSD 5.1_STABLE (XEN3_DOMU) #0: Sun Feb  5 04:48:49 CET 2012
        jym@paris:/home/jym/cvs/nb5/obj/sys/arch/amd64/compile/XEN3_DOMU
>Description:
xbd2 at xenbus0 id 2128: Xen Virtual Block Device Interface

/dev/xbd2a: file system not clean (fs_clean=0x4); please fsck(8)

/dev/xbd2a: lost blocks 0 files 0

panic: kernel diagnostic assertion "(*vpp)->v_type == VNON" failed: file 
"/home/jym/cvs/nb5/src/sys/ufs/ffs/ffs_alloc.c", line 808

Begin traceback...

copyright() at netbsd:__kernassert+0x2dbd5

uvm_fault(0xffffa0005629eb88, 0xf1ba000, 1) -> e

fatal page fault in supervisor mode

trap type 6 code 0 rip ffffffff8037f334 cs e030 rflags 10246 cr2  f1ba118 cpl 0 
rsp ffffa000563fb5e0

panic: trap

Faulted in mid-traceback; aborting...

dump to dev 142,17 not possible

rebooting...
>How-To-Repeat:
See also PR kern/46031.

This panic occurred after trying again with the same volume as before, this 
time attached to a new AWS instance. I mounted /usr/src and did a cvs up. It 
paniced right away.

I had mounted a 20GB EBS volume on /usr/src (filesystem type is BSD4.2). The 
disk label from the EBS volume (/dev/xbd2) was:

5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a:  39845888      2048     4.2BSD      0     0     0  # (Cyl.      1 -  19456)
 c:  41942977        63     unused      0     0        # (Cyl.      0*-  20479)
 d:  41943040         0     unused      0     0        # (Cyl.      0 -  20479)
 e:   2095104  39847936     4.2BSD      0     0     0  # (Cyl.  19457 -  20479)

I went to /usr/src and ran cvs up. It paniced right away.
>Fix:



Home | Main Index | Thread Index | Old Index