Date: Tue, 18 Mar 2003 08:11:44 -0500 From: Mike Tancsa <mike@sentex.net> To: hackers@freebsd.org Subject: Re: debugging a repeating panic (solved) Message-ID: <8a6e7vc93jhm2a7gln6h3efemoajhk51t9@4ax.com> In-Reply-To: <rwBUfB.A.ZbH.oHPU-@coal.sentex.ca> References: <rwBUfB.A.ZbH.oHPU-@coal.sentex.ca>
index | next in thread | previous in thread | raw e-mail
Just a followup to this, jlemon narrowed down the problem for me to be
inet6 related. He wrote,
-------------
>I think I narrowed this down to IPv6. In particular, netstat shows:
>
>fe80::%lo0/64 fe80::1%lo0 Uc lo0
>fe80::1%lo0 link#3 UHL lo0
>
>with the first line being a cloned entry. The route is garbage
>collected after 1 day of inactivity, so that's when the crash happens.
>
>I'm not sure why it's crashing just yet, but something seems odd on
>the machine
Sure enough, I took out inet6 from the box and no more panics.
Sample dump below. (It was always in the same place)
(kgdb) bt full
#0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
error = 0
#1 0xc016726c in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316
howto = 256
#2 0xc01676ed in panic (fmt=0xc03109f9 "%s") at
/usr/src/sys/kern/kern_shutdown.c:595
fmt = 0xc03109f9 "%s"
bootopt = 256
buf = "page fault", '\000' <repeats 245 times>
#3 0xc02bf15e in trap_fatal (frame=0xded66e00, eva=1089938309) at
/usr/src/sys/i386/i386/trap.c:974
frame = (struct trapframe *) 0xded66e00
eva = 0
code = 16
type = 12
ss = 16
esp = 0
softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27,
ssd_dpl = 0, ssd_p = 1, ssd_xx = 13, ssd_xx1 = 2,
ssd_def32 = 1, ssd_gran = 1}
#4 0xc02bedb1 in trap_pfault (frame=0xded66e00, usermode=0,
eva=1089938309) at /usr/src/sys/i386/i386/trap.c:867
va = 1089937408
vm = (struct vmspace *) 0x0
map = 0xdea2a180
rv = 0
ftype = 1 '\001'
p = (struct proc *) 0xded89c60
#5 0xc02be8cb in trap (frame={tf_fs = -566231016, tf_es = -556269552,
tf_ds = -556400624, tf_edi = -1020112715,
tf_esi = -1023322971, tf_ebp = -556372388, tf_isp = -556372436,
tf_ebx = 1089938309, tf_edx = -1023322937,
tf_ecx = -1023322939, tf_eax = 28, tf_trapno = 12, tf_err = 0, tf_eip
= -1072019560, tf_cs = 8, tf_eflags = 66050,
tf_esp = 13568, tf_ss = -1020112720}) at
/usr/src/sys/i386/i386/trap.c:466
p = (struct proc *) 0xded89c60
sticks = 15876603469163024560
i = 0
ucode = 0
type = 12
code = 0
eva = 1089938309
#6 0xc01a4798 in ifa_ifwithnet (addr=0xc33250b0) at
/usr/src/sys/net/if.c:611
ifp = (struct ifnet *) 0xc035e120
ifa = (struct ifaddr *) 0x62000000
ifa_maybe = (struct ifaddr *) 0xc3015e00
af = 2
addr_data = 0xc33250b2 ""
cplim = 0x0
#7 0xc01cfa29 in in_pcbladdr (inp=0xdc550680, nam=0xc33250b0,
plocal_sin=0xded66e94) at /usr/src/sys/netinet/in_pcb.c:459
fport = 13568
ro = (struct route *) 0x3500
plocal_sin = (struct sockaddr_in **) 0x0
ia = (struct in_ifaddr *) 0x0
sin = (struct sockaddr_in *) 0xc33250b0
#8 0xc01cfb17 in in_pcbconnect (inp=0xdc550680, nam=0xc33250b0,
p=0xded89c60) at /usr/src/sys/netinet/in_pcb.c:526
inp = (struct inpcb *) 0xdc550680
ifaddr = (struct sockaddr_in *) 0xdc550680
sin = (struct sockaddr_in *) 0xc33250b0
sa = {sin_len = 176 '°', sin_family = 0 '\000', sin_port = 0,
sin_addr = {s_addr = 0},
sin_zero = "\000\000\000\000\200ô1Ü"}
error = 0
#9 0xc01e3709 in udp_connect (so=0xdc31f480, nam=0xc33250b0, p=0xded89c60)
at /usr/src/sys/netinet/udp_usrreq.c:866
p = (struct proc *) 0xded89c60
inp = (struct inpcb *) 0xdc550680
s = 1644167168
error = 0
#10 0xc0186564 in soconnect (so=0xdc31f480, nam=0xc33250b0, p=0xded89c60)
at /usr/src/sys/kern/uipc_socket.c:389
so = (struct socket *) 0xdc31f480
nam = (struct sockaddr *) 0x0
p = (struct proc *) 0x0
s = 0
error = 0
---Type <return> to continue, or q <return> to quit---
#11 0xc0189c28 in connect (p=0xded89c60, uap=0xded66f80) at
/usr/src/sys/kern/uipc_syscalls.c:394
uap = (struct connect_args *) 0xded66f80
fp = (struct file *) 0xc3ea9640
so = (struct socket *) 0xdc31f480
sa = (struct sockaddr *) 0xc33250b0
error = 0
s = -600705920
#12 0xc02bf4ad in syscall2 (frame={tf_fs = -1078001617, tf_es = 47, tf_ds =
-1078001617, tf_edi = -1077983904, tf_esi = 59,
tf_ebp = -1077996464, tf_isp = -556372012, tf_ebx = 673944780, tf_edx
= 0, tf_ecx = 0, tf_eax = 98, tf_trapno = 12,
tf_err = 2, tf_eip = 673621160, tf_cs = 31, tf_eflags = 659, tf_esp =
-1077997132, tf_ss = 47})
at /usr/src/sys/i386/i386/trap.c:1175
params = 0xbfbf11b8 "\b"
i = 0
callp = (struct sysent *) 0xc031fff0
p = (struct proc *) 0xded89c60
orig_tf_eflags = 659
sticks = 0
error = 0
narg = 3
args = {8, 135103192, 16, 0, 0, 0, 0, 0}
have_mplock = 1
code = 98
#13 0xc02ab1db in Xint0x80_syscall ()
No symbol table info available.
#14 0x2827f651 in ?? ()
No symbol table info available.
#15 0x2827fb46 in ?? ()
No symbol table info available.
#16 0x8062a75 in ?? ()
No symbol table info available.
#17 0x807177b in ?? ()
No symbol table info available.
#18 0x8058169 in ?? ()
No symbol table info available.
#19 0x80811bc in ?? ()
No symbol table info available.
#20 0x8080c42 in ?? ()
No symbol table info available.
#21 0x8081079 in ?? ()
No symbol table info available.
#22 0x8080e0d in ?? ()
No symbol table info available.
#23 0x8083052 in ?? ()
No symbol table info available.
#24 0x805184a in ?? ()
No symbol table info available.
#25 0x806e424 in ?? ()
No symbol table info available.
#26 0x804c03a in ?? ()
No symbol table info available.
(kgdb)
---Mike
Mike Tancsa (mike@sentex.net)
http://www.sentex.net/mike
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8a6e7vc93jhm2a7gln6h3efemoajhk51t9>
