NetBSD-Bugs archive

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

Re: kern/40948 (ffs+log lock error panic)

On Thu, Apr 02, 2009 at 11:36:09AM +0000, Antti Kantee wrote:
> Synopsis: ffs+log lock error panic
> State-Changed-From-To: open->feedback
> State-Changed-By:
> State-Changed-When: Thu, 02 Apr 2009 14:36:08 +0300
> State-Changed-Why:
> try rev 1.6 of ufs_wapbl.c

That fixed it, thanks.

Both testcase and original linux binary from LTP project works ... on
wapbl ffs.

But since i switched /tmp to tmpfs recently, i was bitten there too

njoly@lanfeust [~]> cd /tmp 
njoly@lanfeust [/tmp]> df -h .
Filesystem        Size       Used      Avail %Cap Mounted on
tmpfs              12G       4.0K        12G   0% /tmp
njoly@lanfeust [/tmp]> ~/emul/netbsd/todo/rename 

panic: kernel diagnostic assertion "de->td_node == fnode" failed: file 
"/local/src/NetBSD/src/sys/fs/tmpfs/tmpfs_vnops.c", line 832
fatal breakpoint trap in supervisor mode
trap type 1 code 0 rip ffffffff80238765 cs 8 rflags 246 cr2  7f7ffdd201c4 cpl 0 
rsp ffff800049b87880
Stopped in pid 600.1 (rename) at        netbsd:breakpoint+0x5:  leave
db{0}> mach cpu 0
using CPU 0
db{0}> bt
breakpoint() at netbsd:breakpoint+0x5
panic() at netbsd:panic+0x289
__kernassert() at netbsd:__kernassert+0x2d
tmpfs_rename() at netbsd:tmpfs_rename+0xa1c
VOP_RENAME() at netbsd:VOP_RENAME+0x75
do_sys_rename() at netbsd:do_sys_rename+0x59a
syscall() at netbsd:syscall+0xc2
db{0}> mach cpu 1
using CPU 1
db{0}> bt
x86_stihlt() at netbsd:x86_stihlt+0x6
idle_loop() at netbsd:idle_loop+0x18e
Bad frame pointer: 0xffff80004745fba0

Same testcase, under same conditions but on a tmpfs mount. Do you want
to have a look at it or should i submit another PR ?

Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.

Home | Main Index | Thread Index | Old Index