Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2007 16:47:36 -0700
From:      Peter Losher <Peter_Losher@isc.org>
To:        freebsd-ipfw@freebsd.org
Subject:   IPv6+dummynet causing panic on 6.2-RELEASE
Message-ID:  <460DA198.2090506@isc.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig362F21D918D69851FACDCBD8
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

We have been having rampant issues using Dummynet's IPv6 support, and
it's been causing panic's every 24-48 hours.

Enabled WITNESS and BREAK_TO_DEBUGGER, and this is the result.

-=3D-
lock order reversal: (sleepable after non-sleepable)
 1st 0xffffff034809c900 rtentry (rtentry) @
/usr/src/sys/netinet6/ip6_input.c:501
 2nd 0xffffffff808dda70 user map (user map) @ /usr/src/sys/vm/vm_map.c:30=
74
KDB: stack backtrace:
witness_checkorder() at witness_checkorder+0x48a
_sx_xlock() at _sx_xlock+0x3e
vm_map_lookup() at vm_map_lookup+0x44
vm_fault() at vm_fault+0xba
trap_pfault() at trap_pfault+0x13c
trap() at trap+0x1bd
calltrap() at calltrap+0x5
--- trap 0xc, rip =3D 0xffffffff804c41f7, rsp =3D 0xffffffffbdf0da60, rbp=
 =3D
0xffffffffbdf0daf0 ---
ip6_input() at ip6_input+0xa07
dummynet_send() at dummynet_send+0x17e
dummynet() at dummynet+0x21a
softclock() at softclock+0x19a
ithread_loop() at ithread_loop+0x132
fork_exit() at fork_exit+0x87
fork_trampoline() at fork_trampoline+0xe
--- trap 0, rip =3D 0, rsp =3D 0xffffffffbdf0dd00, rbp =3D 0 ---

Fatal trap 12: page fault while in kernel mode
cpuid =3D 2; apic id =3D 06
fault virtual address   =3D 0x98
fault code              =3D supervisor read, page not present
instruction pointer     =3D 0x8:0xffffffff804c41f7
stack pointer           =3D 0x10:0xffffffffbdf0da60
frame pointer           =3D 0x10:0xffffffffbdf0daf0
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D 15 (swi4: clock sio)
[thread pid 15 tid 100009 ]
Stopped at      ip6_input+0xa07:        movq    0x98(%rdi),%rax
db> tr
Tracing pid 15 tid 100009 td 0xffffff040ff3b000
ip6_input() at ip6_input+0xa07
dummynet_send() at dummynet_send+0x17e
dummynet() at dummynet+0x21a
softclock() at softclock+0x19a
ithread_loop() at ithread_loop+0x132
fork_exit() at fork_exit+0x87
fork_trampoline() at fork_trampoline+0xe
--- trap 0, rip =3D 0, rsp =3D 0xffffffffbdf0dd00, rbp =3D 0 ---
-=3D-

Any ideas how to proceed?

Best Wishes - Peter

--=20
Peter_Losher@isc.org | ISC | OpenPGP 0xE8048D08 | "The bits must flow"


--------------enig362F21D918D69851FACDCBD8
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFGDaGYPtVx9OgEjQgRAtzCAJ4iDNq+5u9lL99vR86YHA0rbKwhpACglRoB
yceTpahHkBjH+5UE/aM8iko=
=HR7d
-----END PGP SIGNATURE-----

--------------enig362F21D918D69851FACDCBD8--



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