Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Sep 2004 02:58:49 +0200
From:      Andreas Kohn <andreas.kohn@gmx.net>
To:        freebsd-current@freebsd.org
Subject:   Panic (Page fault) related to ipv6? [softclock, nd6_timer, in6_purgeaddr, in6_unlink_ifa]
Message-ID:  <1094432328.878.7.camel@klamath.ankon.de.eu.org>

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

--=-x0re1S4CBawD1pXCUl7k
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

just got this panic, perhaps someone is interested. Happened when
reading a probably damaged CD, don't know if that is related (didn't
look so in the backtrace).

System is FreeBSD klamath.ankon.de.eu.org 6.0-CURRENT FreeBSD
6.0-CURRENT #16: Sun Sep  5 12:18:47 CEST 2004   =20
root@klamath.ankon.de.eu.org:/usr/obj/usr/src/sys/KLAMATH  i386,
sources from around ~0900.

Kernel config contains IPV6, IPSEC (so no mpsafenet), ULE, and the
default setting for PREEMPTION (i didn't set any), no WITNESS or
INVARIANTS, but makeoptions DEBUG=3D-g.

Here it is:
-----

Fatal trap 12: page fault while in kernel mode
fault virtual address   =3D 0x1
fault code              =3D supervisor write, page not present
instruction pointer     =3D 0x8:0xc05e5f12
stack pointer           =3D 0x10:0xcbf1dc0c
frame pointer           =3D 0x10:0xcbf1dc28
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, def32 1, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D 27 (swi5: clock sio)
trap number             =3D 12
panic: page fault



(kgdb) bt full
#0  doadump () at pcpu.h:159
No locals.
#1  0xc051b576 in boot (howto=3D260) at
/usr/src/sys/kern/kern_shutdown.c:385
        first_buf_printf =3D 1
#2  0xc051bcf7 in panic (fmt=3D0xc0708284 "%s")
    at /usr/src/sys/kern/kern_shutdown.c:541
        bootopt =3D 260
        newpanic =3D 0
        buf =3D "page fault", '\0' <repeats 245 times>
#3  0xc06de456 in trap_fatal (frame=3D0xcbf1dbcc, eva=3D1)
    at /usr/src/sys/i386/i386/trap.c:809
        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=
,=20
  ssd_dpl =3D 0, ssd_p =3D 1, ssd_xx =3D 4, ssd_xx1 =3D 1, ssd_def32 =3D 1,
ssd_gran =3D 1}
#4  0xc06de6fb in trap_pfault (frame=3D0xcbf1dbcc, usermode=3D0, eva=3D1)
    at /usr/src/sys/i386/i386/trap.c:727
        va =3D 0
        vm =3D (struct vmspace *) 0x0
        map =3D 0xc076cb20
        rv =3D 1
---Type <return> to continue, or q <return> to quit---
        ftype =3D 1 '\001'
        p =3D (struct proc *) 0x0
#5  0xc06deaf5 in trap (frame=3D
      {tf_fs =3D 24, tf_es =3D 16, tf_ds =3D 16, tf_edi =3D -1042350080, tf=
_esi
=3D -1, tf_ebp =3D -873341912, tf_isp =3D -873341960, tf_ebx =3D -104235008=
0,
tf_edx =3D -1043508736, tf_ecx =3D -1042350080, tf_eax =3D 1, tf_trapno =3D=
 12,
tf_err =3D 2, tf_eip =3D -1067557102, tf_cs =3D 8, tf_eflags =3D 66182, tf_=
esp =3D
4, tf_ss =3D 582})
    at /usr/src/sys/i386/i386/trap.c:417
        p =3D (struct proc *) 0xc1901540
        sticks =3D 3421625312
        i =3D 0
        ucode =3D 0
        type =3D 12
        code =3D 2
        eva =3D 1
#6  0xc06d019a in calltrap () at /usr/src/sys/i386/i386/exception.s:140
No locals.
#7  0x00000018 in ?? ()
No symbol table info available.
#8  0x00000010 in ?? ()
No symbol table info available.
#9  0x00000010 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#10 0xc1df0000 in ?? ()
No symbol table info available.
#11 0xffffffff in ?? ()
No symbol table info available.
#12 0xcbf1dc28 in ?? ()
No symbol table info available.
#13 0xcbf1dbf8 in ?? ()
No symbol table info available.
#14 0xc1df0000 in ?? ()
No symbol table info available.
#15 0xc1cd5200 in ?? ()
No symbol table info available.
#16 0xc1df0000 in ?? ()
No symbol table info available.
#17 0x00000001 in ?? ()
No symbol table info available.
#18 0x0000000c in ?? ()
No symbol table info available.
#19 0x00000002 in ?? ()
No symbol table info available.
#20 0xc05e5f12 in in6_unlink_ifa (ia=3D0x0, ifp=3D0xc1df0000)
    at /usr/src/sys/netinet6/in6.c:1157
        oia =3D (struct in6_ifaddr *) 0xc1df0000
---Type <return> to continue, or q <return> to quit---
#21 0xc05e615d in in6_purgeaddr (ifa=3D0xc1df0000)
    at /usr/src/sys/netinet6/in6.c:1146
        ifp =3D (struct ifnet *) 0xc0751060
#22 0xc06019bf in nd6_timer (ignored_arg=3D0x0)
    at /usr/src/sys/netinet6/nd6.c:562
        regen =3D 0
        ln =3D (struct llinfo_nd6 *) 0xc1d7e440
        dr =3D (struct nd_defrouter *) 0x0
        pr =3D (struct nd_prefix *) 0x0
        ia6 =3D (struct in6_ifaddr *) 0xc1df0000
        nia6 =3D (struct in6_ifaddr *) 0xc1d7e440
#23 0xc052ab55 in softclock (dummy=3D0x0) at
/usr/src/sys/kern/kern_timeout.c:259
        c_func =3D (void (*)(void *)) 0xc0601880 <nd6_timer>
        c_arg =3D (void *) 0x0
        c_flags =3D 6
        c =3D (struct callout *) 0x0
        bucket =3D (struct callout_tailq *) 0xc688c460
        steps =3D 6
        depth =3D 4
        mpcalls =3D 1
        gcalls =3D 3
        wakeup_cookie =3D 6
#24 0xc0502229 in ithread_loop (arg=3D0xc18f8580)
---Type <return> to continue, or q <return> to quit---
    at /usr/src/sys/kern/kern_intr.c:547
        ih =3D (struct intrhand *) 0xc18f3380
        p =3D (struct proc *) 0xc1901540
        count =3D 0
        warming =3D 5000
        warned =3D 0
#25 0xc0500f82 in fork_exit (callout=3D0xc0502170 <ithread_loop>, arg=3D0x0=
,
    frame=3D0x0) at /usr/src/sys/kern/kern_fork.c:807
        p =3D (struct proc *) 0xc1901540
#26 0xc06d01fc in fork_trampoline () at
/usr/src/sys/i386/i386/exception.s:209
No locals.

----

Please don't hesitate to ask for any additional information you might
need.

Thank you!

Regards,
Andreas Kohn

--=-x0re1S4CBawD1pXCUl7k
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBBO7ZIYucd7Ow1ygwRAhncAJwKwYcHco2Evi8oM8Z7e6LeywV1WgCfW/LU
UYmx+HXeaj2T1iCduj3q86o=
=SyKY
-----END PGP SIGNATURE-----

--=-x0re1S4CBawD1pXCUl7k--



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