NetBSD-Bugs archive

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

Re: kern/41189: kernel panic xen dom0 using mke2fs & WAPBL



The following reply was made to PR kern/41189; it has been noted by GNATS.

From: Jason White <jdwhite%iastate.edu@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost, 
netbsd-bugs%NetBSD.org@localhost
Subject: Re: kern/41189: kernel panic xen dom0 using mke2fs & WAPBL
Date: Fri, 17 Apr 2009 16:05:06 -0500

 On Fri, Apr 17, 2009 at 08:30PM +0000, Christos Zoulas wrote:
 >
 > Did you run mke2fs on a partition that used to contain an ffs filesystem?
 
        No.
 
 > Was that mounted?
 
        No.
 
 > |  This panic happens when I unmount an ext2 partition:
 > |
 > |  panic: kernel diagnostic assertion "vp->v_tag == VT_UFS" failed: file
 >
 > This is my fault, new patch:
 [...]
 Running 'mke2fs -v -I 128 /dev/sd0m':
 
 panic: kernel diagnostic assertion "rw_lock_held(&wl->wl_rwlock)" 
 failed: file "/usr/src/sys/kern/vfs_wapbl.c", line 1540
 fatal breakpoint trap in supervisor mode
 trap type 1 code 0 rip ffffffff804bfddd cs e030 rflags 246 cr2  40a5d0 
 cpl 0 rsp ffffa0001e829790
 Stopped in pid 504.1 (mke2fs) at        netbsd:breakpoint+0x5:  leave
 breakpoint() at netbsd:breakpoint+0x5
 panic() at netbsd:panic+0x242
 __kernassert() at netbsd:__kernassert+0x2d
 wapbl_add_buf() at netbsd:wapbl_add_buf+0x42
 bdwrite() at netbsd:bdwrite+0xc0
 ffs_update() at netbsd:ffs_update+0x1ef
 ufs_full_fsync() at netbsd:ufs_full_fsync+0x35d
 ffs_fsync() at netbsd:ffs_fsync+0x69
 VOP_FSYNC() at netbsd:VOP_FSYNC+0x34
 vinvalbuf() at netbsd:vinvalbuf+0xf6
 spec_close() at netbsd:spec_close+0x8a
 VOP_CLOSE() at netbsd:VOP_CLOSE+0x29
 vn_close() at netbsd:vn_close+0x51
 closef() at netbsd:closef+0x68
 fd_close() at netbsd:fd_close+0x134
 syscall() at netbsd:syscall+0xb4
 ds          0x97a0
 es          0x121c
 fs          0x97a0
 gs          0x12f7
 rdi         0
 rsi         0x1
 rbp         0xffffa0001e829790
 rbx         0xffffa0001e8297a0
 rdx         0
 rcx         0
 rax         0x1
 r8          0xffffffff80b53700  cpu_info_primary
 r9          0x1
 r10         0xffffa0001e8296b0
 r11         0xffffffff804fd2b0  xenconscn_putc
 r12         0x104
 r13         0xffffffff809f39b0
 r14         0x5
 r15         0xffffa0001e1c2e58
 rip         0xffffffff804bfddd  breakpoint+0x5
 cs          0xe030
 rflags      0x246
 rsp         0xffffa0001e829790
 ss          0xe02b
 netbsd:breakpoint+0x5:  leave
 db>
 
 -- 
 Jason White
 Systems Analyst
 Information Technology Services
 Iowa State University
 


Home | Main Index | Thread Index | Old Index