Subject: kern/17564: ioflush sched_sync panic
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tsarna@eby-sarna.com>
List: netbsd-bugs
Date: 07/11/2002 15:17:41
>Number: 17564
>Category: kern
>Synopsis: ioflush sched_sync panic
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 11 12:18:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Ty Sarna
>Release: NetBSD 1.6_BETA3
>Organization:
Me
>Environment:
System: NetBSD talyn.eby-sarna.com 1.6_BETA3 NetBSD 1.6_BETA3 (TALYN) #11: Sat Jul 6 18:34:24 EDT 2002 tsarna@talyn.eby-sarna.com:/usr/build/TALYN i386
Architecture: i386
Machine: i386
>Description:
Twice now machine has paniced:
pppoe0: LCP keepalive timed out, going to restart the connection
uvm_fault(0xc0322e60, 0xffc00000, 0, 1) -> e
pmap_change_attrs(c04cb57c,0,40,11) at pmap_change_attrs+0xff
genfs_putpages(e309ade0,c030e580,c0ba4c80,c0c3b1b8,e3931190) at
genfs_putpages+0x449
ffs_putpages(e309ade0,c016f108,c0307c44,1) at ffs_putpages+0x11d
ffs_full_fsync(e309aed8,0,e309ae2c,c01dfa7c,e3931190) at
ffs_full_fsync+0xc6
ffs_fsync(e309aed8,10012,0,0) at ffs_fsync+0x3c
ffs_sync(c0cad200,3,c0ba4f00,e3084c94) at ffs_sync+0x10a
sync_fsync(e309af68,12,0,246) at sync_fsync+0x5c
sched_sync(e3084c94) at sched_sync+0xf6
db> reboot
syncing disks... panic: lockmgr: locking against myself
Stopped in pid 8 (ioflush) at cpu_Debugger+0x4: leave
-----
uvm_fault(0xc0322e60, 0xffc00000, 0, 1) -> e
kernel: page fault trap, code=0
Stopped in pid 8 (ioflush) at pmap_change_attrs+0xff: movl
0(%esi,
%ecx,4),%edx
db> trace
pmap_change_attrs(c0a066b4,0,40,1) at pmap_change_attrs+0xff
genfs_putpages(e309ade0,c030e580,80000000,1fff0018,e30af13c) at
genfs_putpages+0x449
ffs_putpages(e309ade0,c016f108,c0307c44,1) at ffs_putpages+0x11d
ffs_full_fsync(e309aed8,0,e309ae2c,c01dfa7c,e30af13c) at
ffs_full_fsync+0xc6
ffs_fsync(e309aed8,10012,0,0) at ffs_fsync+0x3c
ffs_sync(c0cad200,3,c0ba4f00,e3084c94) at ffs_sync+0x10a
sync_fsync(e309af68,12,0,0) at sync_fsync+0x5c
sched_sync(e3084c94) at sched_sync+0xf6
db> reboot
syncing disks... panic: lockmgr: locking against myself
Stopped in pid 8 (ioflush) at cpu_Debugger+0x4: leave
NOTE: the second one was *not* after any kind of pppoe restart/problem, so
that may be a red herring. On the other hand, I only started seeing this
after going to if_spppsubr.c 1.48. While the traceback is not pppoe
related, perhaps it's a pointer problem or something. I have no idea.
So, I'm filing it as a separate PR with this note that it *may* be
related to kern/17491.
>How-To-Repeat:
Unknown
>Fix:
Unknown
>Release-Note:
>Audit-Trail:
>Unformatted:
from 6/26, except with the exception of using
sys/net/if_spppsubr.c revision 1.48 per itojun's suggestion
in PR#17491