Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 2004 14:04:43 +0200
From:      Christian Brueffer <chris@unixpages.org>
To:        current@freebsd.org
Subject:   PF LOR and panic
Message-ID:  <20040823120443.GA24907@unixpages.org>

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

--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

got this LOR and panic with a 5.3-BETA1 kernel from yesterday on a SMP
machine.  Can't say how much time there was between them.  A dump is
available.


lock order reversal
 1st 0xc0739f20 pf task mtx (pf task mtx) @
/usr/home/build/src/sys/contrib/pf/net/pf.c:5828
 2nd 0xc103a4c4 user map (user map) @
/usr/home/build/src/sys/vm/vm_map.c:2997
KDB: stack backtrace:
kdb_backtrace(0,ffffffff,c074a9d8,c074bb08,c071a56c) at
kdb_backtrace+0x29
witness_checkorder(c103a4c4,9,c06f826b,bb5) at witness_checkorder+0x540
_sx_xlock(c103a4c4,c06f826b,bb5) at _sx_xlock+0x50
_vm_map_lock_read(c103a480,c06f826b,bb5,2000000,c) at
_vm_map_lock_read+0x3b
vm_map_lookup(d41f7a8c,d21f7000,2,d41f7a90,d41f7a80) at
vm_map_lookup+0x26
vm_fault(c103a000,d21f7000,2,0,c1969160) at vm_fault+0x6a
trap_pfault(d41f7b54,0,d21f7bac) at trap_pfault+0x11c
trap(18,10,10,c3e24850,c1aa3c00) at trap+0x321
calltrap() at calltrap+0x5
--- trap 0xc, eip =3D 0xc0459c46, esp =3D 0xd41f7b94, ebp =3D 0xd41f7c58 ---
pf_test(1,c1a38800,d41f7c8c,c1f42820,c0771fe0) at pf_test+0x3c6
pf_check_in(0,d41f7c8c,c1a38800,1,c3e24800) at pf_check_in+0x32
pfil_run_hooks(c0771fe0,d41f7cd4,c1a38800,1) at pfil_run_hooks+0xac
ip_input(c3e24800) at ip_input+0x25f
netisr_processqueue(c076fcb8) at netisr_processqueue+0x6e
swi_net(0) at swi_net+0x89
ithread_loop(c1962b80,d41f7d48,c1962b80,c0500660,0) at
ithread_loop+0x126
fork_exit(c0500660,c1962b80,d41f7d48) at fork_exit+0xa8
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip =3D 0, esp =3D 0xd41f7d7c, ebp =3D 0 ---


Fatal trap 12: page fault while in kernel mode
cpuid =3D 1; apic id =3D 01
fault virtual address   =3D 0xd21f7bac
fault code              =3D supervisor write, page not present
instruction pointer     =3D 0x8:0xc0459c46
stack pointer           =3D 0x10:0xd41f7b94
frame pointer           =3D 0x10:0xd41f7c58
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 38 (swi1: net)
[thread 100012]
Stopped at      pf_test+0x3c6:  movl    %edx,-0xac(%ebp)
db> tr
pf_test(1,c1a38800,d41f7c8c,c1f42820,c0771fe0) at pf_test+0x3c6
pf_check_in(0,d41f7c8c,c1a38800,1,c3e24800) at pf_check_in+0x32
pfil_run_hooks(c0771fe0,d41f7cd4,c1a38800,1) at pfil_run_hooks+0xac
ip_input(c3e24800) at ip_input+0x25f
netisr_processqueue(c076fcb8) at netisr_processqueue+0x6e
swi_net(0) at swi_net+0x89
ithread_loop(c1962b80,d41f7d48,c1962b80,c0500660,0) at
ithread_loop+0x126
fork_exit(c0500660,c1962b80,d41f7d48) at fork_exit+0xa8
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip =3D 0, esp =3D 0xd41f7d7c, ebp =3D 0 ---


- Christian

--=20
Christian Brueffer	chris@unixpages.org	brueffer@FreeBSD.org
GPG Key:	 http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D

--+HP7ph2BbKc20aGI
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFBKd1bbHYXjKDtmC0RAjNTAJ94BUnzgr0Z1pt47eb/sDDKUH4RNwCffQKB
atr8cS+iuGda6JJFVYASnWo=
=dexF
-----END PGP SIGNATURE-----

--+HP7ph2BbKc20aGI--



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