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: 
Subject: Re: kern/41189: kernel panic xen dom0 using mke2fs & WAPBL
Date: Fri, 17 Apr 2009 14:10:34 -0500

 Tried the above patch against today's 5.0RC4 sources:
 
 Right after I invoke mke2fs I get a panic:
 
 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 ffffa0001e828790
 Stopped in pid 521.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+0x3a7
 ffs_fsync() at netbsd:ffs_fsync+0x64
 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          0x87a0
 es          0x121c
 fs          0x87a0
 gs          0x12f7
 rdi         0
 rsi         0x1
 rbp         0xffffa0001e828790
 rbx         0xffffa0001e8287a0
 rdx         0
 rcx         0
 rax         0x1
 r8          0xffffffff80b53700  cpu_info_primary
 r9          0x1
 r10         0xffffa0001e8286b0
 r11         0xffffffff804fd2b0  xenconscn_putc
 r12         0x104
 r13         0xffffffff809f39a0
 r14         0x5
 r15         0xffffa0001e1c2e58
 rip         0xffffffff804bfddd  breakpoint+0x5
 cs          0xe030
 rflags      0x246
 rsp         0xffffa0001e828790
 ss          0xe02b
 netbsd:breakpoint+0x5:  leave
 
 ------
 
 This panic happens when I unmount an ext2 partition:
 
 panic: kernel diagnostic assertion "vp->v_tag == VT_UFS" failed: file 
 "/usr/src/sys/ufs/ufs/ufs_vnops.c", line 2438
 fatal breakpoint trap in supervisor mode
 trap type 1 code 0 rip ffffffff804bfddd cs e030 rflags 246 cr2  
 7f7ffda04000 cpl 0 rsp ffffa0001e82a810
 Stopped in pid 570.1 (umount) at        netbsd:breakpoint+0x5:  leave
 breakpoint() at netbsd:breakpoint+0x5
 panic() at netbsd:panic+0x242
 __kernassert() at netbsd:__kernassert+0x2d
 ufs_full_fsync() at netbsd:ufs_full_fsync+0x40b
 ext2fs_fsync() at netbsd:ext2fs_fsync+0x42
 VOP_FSYNC() at netbsd:VOP_FSYNC+0x34
 vinvalbuf() at netbsd:vinvalbuf+0xf6
 vclean() at netbsd:vclean+0x1cf
 vflush() at netbsd:vflush+0x2cd
 ext2fs_unmount() at netbsd:ext2fs_unmount+0x33
 dounmount() at netbsd:dounmount+0xd5
 sys_unmount() at netbsd:sys_unmount+0x11c
 syscall() at netbsd:syscall+0xb4
 ds          0xa820
 es          0x121c
 fs          0xa820
 gs          0x12f7
 rdi         0
 rsi         0x1
 rbp         0xffffa0001e82a810
 rbx         0xffffa0001e82a820
 rdx         0
 rcx         0
 rax         0x1
 r8          0xffffffff80b53700  cpu_info_primary
 r9          0x1
 r10         0xffffa0001e82a730
 r11         0xffffffff804fd2b0  xenconscn_putc
 r12         0x104
 r13         0xffffffff809f39a0
 r14         0xffffa0001e7797c0
 r15         0
 rip         0xffffffff804bfddd  breakpoint+0x5
 cs          0xe030
 rflags      0x246
 rsp         0xffffa0001e82a810
 ss          0xe02b
 netbsd:breakpoint+0x5:  leave
 


Home | Main Index | Thread Index | Old Index