LOR in fxp driver when configuring device vlan...

From: Mark Atkinson <atkin901_at_yahoo.com>
Date: Fri, 17 Dec 2004 08:46:29 -0800 (PST)
not seen in the common LOR list:
http://sources.zabbadoz.net/freebsd/lor.html

might be related to ipv6, but easily reproducable:

[root_at_starbuck root]$ ifconfig vlan0 vlan 999 vlandev
fxp1
[root_at_starbuck root]$ ifconfig vlan0 inet 172.16.64.3
netmask 255.255.240.0
lock order reversal
 1st 0xc1b07268 fxp1 (network driver) _at_
/usr/src/sys/dev/fxp/if_fxp.c:2389
 2nd 0xc19aae54 user map (user map) _at_
/usr/src/sys/vm/vm_map.c:2994
KDB: stack backtrace:
witness_checkorder(c19aae54,9,c08f78a5,bb2,3f5b8d74)
at witness_checkorder+0x5c6
_sx_xlock(c19aae54,c08f78a5,bb2,26602a4,0) at
_sx_xlock+0x5d
vm_map_lookup(da8766f4,0,2,da8766f8,da8766e8) at
vm_map_lookup+0x3a
vm_fault(c19aae10,0,2,8,c1dde000) at vm_fault+0x7a
trap_pfault(0,c08bcc89,c1b07268,da8767bc,0) at
trap_pfault+0x166
trap(c09a0018,c1dd0010,10,c1b07000,c1b076b4) at
trap+0x363
calltrap() at calltrap+0x5
--- trap 0xc, eip = 0xc05460fe, esp = 0xda87681c, ebp
= 0xda876834 ---
fxp_mc_setup(c1b07268,8,c08bcc89,955,c1b07268) at
fxp_mc_setup+0x6e
fxp_ioctl(c1b07000,80206931,0,1,0) at fxp_ioctl+0x23c
if_addmulti(c1b07000,da8768a4,da8768a0,c1b07000,c2551a00)
at if_addmulti+0x184
vlan_setmulti(c0947004,0,c08dcc22,cb,c0947004) at
vlan_setmulti+0x194
vlan_ioctl(c1b69c00,80206931,0,c4,c2729340) at
vlan_ioctl+0x44
if_addmulti(c1b69c00,da87697c,da876978,c2bb3c20,1c1c)
at if_addmulti+0x184
in6_addmulti(da8769e0,c1b69c00,da8769d8,0,9a6) at
in6_addmulti+0x5e
in6_update_ifa(c1b69c00,da876b88,0,187,0) at
in6_update_ifa+0x2ec
in6_ifattach(c1b69c00,0,8040691a,8040691a,c1b85780) at
in6_ifattach+0x2e9
in6_if_up(c1b69c00,8040691a,c1b85780,c1b69c00,c1dde000)
at in6_if_up+0x19
ifioctl(c1e04144,8040691a,c1b85780,c1dde000,2) at
ifioctl+0x1ae
soo_ioctl(c1cc51dc,8040691a,c1b85780,c25e5d80,c1dde000)
at soo_ioctl+0x2ef
ioctl(c1dde000,da876d14,c,3ff,3) at ioctl+0x11e
syscall(2f,2f,2f,80563c0,0) at syscall+0x137
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (54, FreeBSD ELF32, ioctl), eip =
0x280d8caf, esp = 0xbfbfe82c, ebp= 0xbfbfe858 ---


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x0
fault code              = supervisor write, page not
present
instruction pointer     = 0x8:0xc05460fe
stack pointer           = 0x10:0xda87681c
frame pointer           = 0x10:0xda876834
code segment            = base 0x0, limit 0xfffff,
type 0x1b
                        = DPL 0, pres 1, def32 1, gran
1
processor eflags        = interrupt enabled, resume,
IOPL = 0
current process         = 18852 (ifconfig)
[thread pid 18852 tid 100090 ]
Stopped at      fxp_mc_setup+0x6e:      movw   
$0,0(%eax)
db>


		
__________________________________ 
Do you Yahoo!? 
Send a seasonal email greeting and help others. Do good. 
http://celebrity.mail.yahoo.com
Received on Fri Dec 17 2004 - 15:46:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:24 UTC