tech-net archive

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

Re: ipfilter causes panic when setting tcp_idle_timeout



Here's the same panic on a LOCKDEBUG kernel:

[  79.5945799] panic: mutex_vector_enter,517: uninitialized lock (lock=0xffffbe8007b8e3e8, from=ffffffff807e1fb8)
[  79.5945799] cpu0: Begin traceback...
[  79.5945799] vpanic() at netbsd:vpanic+0x183
[  79.5945799] panic() at netbsd:panic+0x3c
[  79.5945799] lockdebug_wantlock() at netbsd:lockdebug_wantlock+0x180
[  79.5945799] mutex_enter() at netbsd:mutex_enter+0x23f
[  79.5945799] ipf_settimeout_tcp() at netbsd:ipf_settimeout_tcp+0x60
[  79.5945799] ipf_settimeout() at netbsd:ipf_settimeout+0x1c
[  79.5945799] ipf_ipftune() at netbsd:ipf_ipftune+0x3ef
[  79.5945799] ipfioctl() at netbsd:ipfioctl+0x9a
[  79.5945799] cdev_ioctl() at netbsd:cdev_ioctl+0x99
[  79.5945799] spec_ioctl() at netbsd:spec_ioctl+0x58
[  79.5945799] VOP_IOCTL() at netbsd:VOP_IOCTL+0x47
[  79.5945799] vn_ioctl() at netbsd:vn_ioctl+0xb4
[  79.5945799] sys_ioctl() at netbsd:sys_ioctl+0x56d
[  79.5945799] syscall() at netbsd:syscall+0x196
[  79.5945799] --- syscall (number 54) ---
[  79.5945799] netbsd:syscall+0x196:
[  79.5945799] cpu0: End traceback...
[  79.5945799] fatal breakpoint trap in supervisor mode
[  79.5945799] trap type 1 code 0 rip 0xffffffff8023283d cs 0x8 rflags 0x202 cr2 0x7c80995e9040 ilevel 0x8 rsp 0xffffbe81557489c0
[  79.5945799] curlwp 0xffff89171b435580 pid 2008.2008 lowest kstack 0xffffbe81557442c0
Stopped in pid 2008.2008 (ipf) at       netbsd:breakpoint+0x5:  leave
db{0}> bt
breakpoint() at netbsd:breakpoint+0x5
vpanic() at netbsd:vpanic+0x183
panic() at netbsd:panic+0x3c
lockdebug_wantlock() at netbsd:lockdebug_wantlock+0x180
mutex_enter() at netbsd:mutex_enter+0x23f
ipf_settimeout_tcp() at netbsd:ipf_settimeout_tcp+0x60
ipf_settimeout() at netbsd:ipf_settimeout+0x1c
ipf_ipftune() at netbsd:ipf_ipftune+0x3ef
ipfioctl() at netbsd:ipfioctl+0x9a
cdev_ioctl() at netbsd:cdev_ioctl+0x99
spec_ioctl() at netbsd:spec_ioctl+0x58
VOP_IOCTL() at netbsd:VOP_IOCTL+0x47
vn_ioctl() at netbsd:vn_ioctl+0xb4
sys_ioctl() at netbsd:sys_ioctl+0x56d
syscall() at netbsd:syscall+0x196
--- syscall (number 54) ---
netbsd:syscall+0x196:
db{0}> show reg
ds          8
es          0
fs          180
gs          8970
rdi         8
rsi         2da
rbp         ffffbe81557489c0
rbx         0
rdx         1
rcx         ffffffff80a716a8    printf+0x67
rax         10801
r8          0
r9          0
r10         ffffffff813abee8
r11         fffffffe
r12         ffffffff80e75eb8    ostype+0xc6d4c
r13         ffffbe8155748a08
r14         104
r15         ffff89171b435580
rip         ffffffff8023283d    breakpoint+0x5
cs          8
rflags      202
rsp         ffffbe81557489c0
ss          10
netbsd:breakpoint+0x5:  leave



Home | Main Index | Thread Index | Old Index