Subject: kern/21412: nqnfs panic
To: None <gnats-bugs@gnats.netbsd.org>
From: Frank Kardel <kardel@acm.org>
List: netbsd-bugs
Date: 05/01/2003 16:52:17
>Number: 21412
>Category: kern
>Synopsis: data fault: pc=114e9d0 addr=0 panic when using nq-nfs (-current -20030429-210445)
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 01 14:54:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Frank Kardel
>Release: NetBSD 1.6R
>Organization:
>Environment:
System: NetBSD pip 1.6R NetBSD 1.6R (PIP) #1: on sparc64
Architecture: sparc64
Machine: sparc64
>Description:
mount fs via nqnfs from another -current machine. Use it.
Watch the panic.
>How-To-Repeat:
on sparc64 (-current-20030429-210445) machine:
mount -o-q <-current i386 machine>:/... /mnt
find /mnt -ls > /dev/null
<wait>
data fault: pc=114e9d0 addr=0
kernel trap 30: data access exception
Stopped in pid 7885.1 (find) at netbsd:nqnfs_clientlease+0x138: stx %o1, [%g2 + 0x90]
db> trace
nfs_open(9483960, 116d014, 30, 1e26200, 9480000, 922c400) at netbsd:nfs_open+0xf4
VOP_OPEN(94f5710, 5, 1fba900, 933dc90, 7, 91f5100) at netbsd:VOP_OPEN+0x30
vn_open(0, 5, 94f5710, ffffd568, 1fba900, ffffffffffffcf80) at netbsd:vn_open+0x28c
sys_open(0, 9483dd0, 9483dc0, 120b634, ffffffffffffffff, ff00) at netbsd:sys_open+0xa8
syscall(9483ed0, 5, 0, 933dc90, 4052f1a8, 4052f1a4) at netbsd:syscall+0x344
?(256060, 4, ffffffffffffd568, 245660, 40, 0) at 0x1008ca8
db> show registers
tstate 0x9982000601
pc 0x114e9d0 nqnfs_clientlease+0x138
npc 0x114e9d8 nqnfs_clientlease+0x140
ipl 0
y 0
g0 0
g1 0x1fd4090 usb_all_tasks+0x73d3f0
g2 0
g3 0
g4 0x187e000 nfs_hashlock
g5 0x136b400 nqnfs_piggy+0x44
g6 0x10000001e00
g7 0x40596530
o0 0x1fd4000 usb_all_tasks+0x73d360
o1 0x961bdd0 usb_all_tasks+0x7d85130
o2 0x968b6d0 usb_all_tasks+0x7df4a30
o3 0x1
o4 0x3eb1313d
o5 0x3eb1311eb8474b00
o6 0x9482e31 usb_all_tasks+0x7bec191
o7 0x114db04 nqnfs_getlease+0x420
l0 0
>Fix:
?
>Release-Note:
>Audit-Trail:
>Unformatted: