Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help

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=20
>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=20


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 =3D 0
#1  0xc016726c in boot (howto=3D256) at =
/usr/src/sys/kern/kern_shutdown.c:316
        howto =3D 256
#2  0xc01676ed in panic (fmt=3D0xc03109f9 "%s") at
/usr/src/sys/kern/kern_shutdown.c:595
        fmt =3D 0xc03109f9 "%s"
        bootopt =3D 256
        buf =3D "page fault", '\000' <repeats 245 times>
#3  0xc02bf15e in trap_fatal (frame=3D0xded66e00, eva=3D1089938309) at
/usr/src/sys/i386/i386/trap.c:974
        frame =3D (struct trapframe *) 0xded66e00
        eva =3D 0
        code =3D 16
        type =3D 12
        ss =3D 16
        esp =3D 0
        softseg =3D {ssd_base =3D 0, ssd_limit =3D 1048575, ssd_type =3D =
27,
ssd_dpl =3D 0, ssd_p =3D 1, ssd_xx =3D 13, ssd_xx1 =3D 2,=20
  ssd_def32 =3D 1, ssd_gran =3D 1}
#4  0xc02bedb1 in trap_pfault (frame=3D0xded66e00, usermode=3D0,
eva=3D1089938309) at /usr/src/sys/i386/i386/trap.c:867
        va =3D 1089937408
        vm =3D (struct vmspace *) 0x0
        map =3D 0xdea2a180
        rv =3D 0
        ftype =3D 1 '\001'
        p =3D (struct proc *) 0xded89c60
#5  0xc02be8cb in trap (frame=3D{tf_fs =3D -566231016, tf_es =3D =
-556269552,
tf_ds =3D -556400624, tf_edi =3D -1020112715,=20
      tf_esi =3D -1023322971, tf_ebp =3D -556372388, tf_isp =3D =
-556372436,
tf_ebx =3D 1089938309, tf_edx =3D -1023322937,=20
      tf_ecx =3D -1023322939, tf_eax =3D 28, tf_trapno =3D 12, tf_err =3D=
 0, tf_eip
=3D -1072019560, tf_cs =3D 8, tf_eflags =3D 66050,=20
      tf_esp =3D 13568, tf_ss =3D -1020112720}) at
/usr/src/sys/i386/i386/trap.c:466
        p =3D (struct proc *) 0xded89c60
        sticks =3D 15876603469163024560
        i =3D 0
        ucode =3D 0
        type =3D 12
        code =3D 0
        eva =3D 1089938309
#6  0xc01a4798 in ifa_ifwithnet (addr=3D0xc33250b0) at
/usr/src/sys/net/if.c:611
        ifp =3D (struct ifnet *) 0xc035e120
        ifa =3D (struct ifaddr *) 0x62000000
        ifa_maybe =3D (struct ifaddr *) 0xc3015e00
        af =3D 2
        addr_data =3D 0xc33250b2 ""
        cplim =3D 0x0
#7  0xc01cfa29 in in_pcbladdr (inp=3D0xdc550680, nam=3D0xc33250b0,
plocal_sin=3D0xded66e94) at /usr/src/sys/netinet/in_pcb.c:459
        fport =3D 13568
        ro =3D (struct route *) 0x3500
        plocal_sin =3D (struct sockaddr_in **) 0x0
        ia =3D (struct in_ifaddr *) 0x0
        sin =3D (struct sockaddr_in *) 0xc33250b0
#8  0xc01cfb17 in in_pcbconnect (inp=3D0xdc550680, nam=3D0xc33250b0,
p=3D0xded89c60) at /usr/src/sys/netinet/in_pcb.c:526
        inp =3D (struct inpcb *) 0xdc550680
        ifaddr =3D (struct sockaddr_in *) 0xdc550680
        sin =3D (struct sockaddr_in *) 0xc33250b0
        sa =3D {sin_len =3D 176 '=B0', sin_family =3D 0 '\000', sin_port =
=3D 0,
sin_addr =3D {s_addr =3D 0},=20
  sin_zero =3D "\000\000\000\000\200=F41=DC"}
        error =3D 0
#9  0xc01e3709 in udp_connect (so=3D0xdc31f480, nam=3D0xc33250b0, =
p=3D0xded89c60)
at /usr/src/sys/netinet/udp_usrreq.c:866
        p =3D (struct proc *) 0xded89c60
        inp =3D (struct inpcb *) 0xdc550680
        s =3D 1644167168
        error =3D 0
#10 0xc0186564 in soconnect (so=3D0xdc31f480, nam=3D0xc33250b0, =
p=3D0xded89c60)
at /usr/src/sys/kern/uipc_socket.c:389
        so =3D (struct socket *) 0xdc31f480
        nam =3D (struct sockaddr *) 0x0
        p =3D (struct proc *) 0x0
        s =3D 0
        error =3D 0
---Type <return> to continue, or q <return> to quit---
#11 0xc0189c28 in connect (p=3D0xded89c60, uap=3D0xded66f80) at
/usr/src/sys/kern/uipc_syscalls.c:394
        uap =3D (struct connect_args *) 0xded66f80
        fp =3D (struct file *) 0xc3ea9640
        so =3D (struct socket *) 0xdc31f480
        sa =3D (struct sockaddr *) 0xc33250b0
        error =3D 0
        s =3D -600705920
#12 0xc02bf4ad in syscall2 (frame=3D{tf_fs =3D -1078001617, tf_es =3D 47,=
 tf_ds =3D
-1078001617, tf_edi =3D -1077983904, tf_esi =3D 59,=20
      tf_ebp =3D -1077996464, tf_isp =3D -556372012, tf_ebx =3D =
673944780, tf_edx
=3D 0, tf_ecx =3D 0, tf_eax =3D 98, tf_trapno =3D 12,=20
      tf_err =3D 2, tf_eip =3D 673621160, tf_cs =3D 31, tf_eflags =3D =
659, tf_esp =3D
-1077997132, tf_ss =3D 47})
    at /usr/src/sys/i386/i386/trap.c:1175
        params =3D 0xbfbf11b8 "\b"
        i =3D 0
        callp =3D (struct sysent *) 0xc031fff0
        p =3D (struct proc *) 0xded89c60
        orig_tf_eflags =3D 659
        sticks =3D 0
        error =3D 0
        narg =3D 3
        args =3D {8, 135103192, 16, 0, 0, 0, 0, 0}
        have_mplock =3D 1
        code =3D 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)=20
---Mike









Mike Tancsa  (mike@sentex.net)=09
http://www.sentex.net/mike

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8a6e7vc93jhm2a7gln6h3efemoajhk51t9>