Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 2003 15:41:58 -0300
From:      "Daniel C. Sobral" <dcs@tcoip.com.br>
To:        Robert Watson <rwatson@freebsd.org>, current@freebsd.org
Subject:   mac_mls still panics
Message-ID:  <3E5BB8F6.3060707@tcoip.com.br>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------010001030007050600040307
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

No, it didn't fix the problem. I must have mixed kernels when I tested.=20
Two more panics attached (the first seems to have been a double panic).

--=20
Daniel C. Sobral
Ger=EAncia de Opera=E7=F5es
Divis=E3o de Comunica=E7=E3o de Dados
Coordena=E7=E3o de Seguran=E7a
TCO
Fones: 55-61-313-7654/Cel: 55-61-9618-0904
E-mail:	Daniel.Capo@tco.net.br
	Daniel.Sobral@tcoip.com.br
	dcs@tcoip.com.br


--------------010001030007050600040307
Content-Type: text/plain;
 name="newpanic"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
 filename="newpanic"

savecore: reboot after panic: bremfree: bp 0xc775d6f8 not locked
Feb 25 14:08:55 dcs savecore: reboot after panic: bremfree: bp 0xc775d6f8=
 not locked
savecore: writing core to vmcore.3

#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:239
No locals.
#1  0xc01eae77 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c=
:371
No locals.
#2  0xc01eb0e3 in panic () at /usr/src/sys/kern/kern_shutdown.c:542
	td =3D (struct thread *) 0xc0ecbc30
	bootopt =3D 260
	newpanic =3D 0
	buf =3D "bremfree: bp 0xc775d6f8 not locked\0le", '\0' <repeats 218 time=
s>

#3  0xc022cf77 in bremfreel (bp=3D0xc775d6f8) at /usr/src/sys/kern/vfs_bi=
o.c:680
	old_qindex =3D 3
#4  0xc022cee5 in bremfree (bp=3D0x0) at /usr/src/sys/kern/vfs_bio.c:667
No locals.
#5  0xc022f203 in vfs_bio_awrite (bp=3D0x3) at /usr/src/sys/kern/vfs_bio.=
c:1765
	i =3D 6
	j =3D -948578364
	lblkno =3D 196800
	vp =3D (struct vnode *) 0xc26c4000
	ncl =3D 0
	nwritten =3D -948578568
	size =3D -1033093120
	maxcl =3D -948543368
#6  0xc02364a6 in vop_stdfsync (ap=3D0xcd2a784c)
    at /usr/src/sys/kern/vfs_default.c:755
	vp =3D (struct vnode *) 0xc26c4000
	bp =3D (struct buf *) 0xc775d6f8
	nbp =3D (struct buf *) 0xc7766078
	error =3D 0
	maxretry =3D 100
#7  0xc01a3a50 in spec_fsync (ap=3D0xcd2a784c)
    at /usr/src/sys/fs/specfs/spec_vnops.c:422
No locals.
#8  0xc01a2e78 in spec_vnoperate (ap=3D0x0)
    at /usr/src/sys/fs/specfs/spec_vnops.c:123
No locals.
#9  0xc0296877 in ffs_sync (mp=3D0xc25cd400, waitfor=3D2, cred=3D0xc0eb7e=
00,
    td=3D0xc0355c80) at vnode_if.h:612
	nvp =3D (struct vnode *) 0x0
	vp =3D (struct vnode *) 0xcd2a784c
	devvp =3D (struct vnode *) 0xcd2a784c
	ip =3D (struct inode *) 0x0
	ump =3D (struct ufsmount *) 0xc26c0200
	fs =3D (struct fs *) 0xc0ebc800
	error =3D -1070244736
	count =3D 0
	wait =3D 0
	lockreq =3D 18
	allerror =3D 0
#10 0xc02423bb in sync (td=3D0xc0355c80, uap=3D0x0)
    at /usr/src/sys/kern/vfs_syscalls.c:138
	mp =3D (struct mount *) 0xc25cd400
	nmp =3D (struct mount *) 0x0
	asyncflag =3D 0
#11 0xc01eaa7c in boot (howto=3D256) at /usr/src/sys/kern/kern_shutdown.c=
:280
	bp =3D (struct buf *) 0x0
	iter =3D -1058227152
	nbusy =3D -1058239232
	pbusy =3D -1070415031
	subiter =3D -1058239232
#12 0xc01eb0e3 in panic () at /usr/src/sys/kern/kern_shutdown.c:542
	td =3D (struct thread *) 0xc0ecbc30
	bootopt =3D 256
	newpanic =3D 1
	buf =3D "bremfree: bp 0xc775d6f8 not locked\0le", '\0' <repeats 218 time=
s>

#13 0xc02772d4 in mac_mls_single_in_range (single=3D0x0, range=3D0xc2605f=
00)
    at /usr/src/sys/security/mac_mls/mac_mls.c:225
No locals.
#14 0xc0278d16 in mac_mls_check_ifnet_transmit (ifnet=3D0xc25ebc00,
    ifnetlabel=3D0x0, m=3D0xc0edab00, mbuflabel=3D0x0)
    at /usr/src/sys/security/mac_mls/mac_mls.c:1462
	p =3D (struct mac_mls *) 0x0
	i =3D (struct mac_mls *) 0x0
#15 0xc01dad8a in mac_check_ifnet_transmit (ifnet=3D0xc25ebc00, mbuf=3D0x=
c0edab00)
    at /usr/src/sys/kern/kern_mac.c:2269
	mpc =3D (struct mac_policy_conf *) 0xc2605f00
	error =3D 0
#16 0xc0252818 in ether_output (ifp=3D0xc25ebc00, m=3D0xc0edab00, dst=3D0=
xc26cc390,
    rt0=3D0xc2ee6400) at /usr/src/sys/net/if_ethersubr.c:157
	type =3D 0
	error =3D -1058165932
	hdrcmplt =3D 0
	esrc =3D "\0\0\0\0\024"
	edst =3D "T=AB=ED=C0=CCy"
	rt =3D (struct rtentry *) 0xc0edab00
	eh =3D (struct ether_header *) 0xc0edab54
	loop_copy =3D 0
	ac =3D (struct arpcom *) 0xc25ebc00
#17 0xc0262815 in ip_output (m0=3D0xc0edab00, opt=3D0xc0edab54, ro=3D0xc2=
8484b0,
    flags=3D0, imo=3D0x0, inp=3D0xc2848474) at /usr/src/sys/netinet/ip_ou=
tput.c:1015
	ip =3D (struct ip *) 0xc0edab54
	mhip =3D (struct ip *) 0xcd2a7a58
	ifp =3D (struct ifnet *) 0xc25ebc00
	m =3D (struct mbuf *) 0xc2ee6400
	hlen =3D 20
	len =3D -1071770176
	off =3D -1070040896
	error =3D 0
	dst =3D (struct sockaddr_in *) 0xc26cc390
	ia =3D (struct in_ifaddr *) 0xc2608e00
	isbroadcast =3D 0
	sw_csum =3D 1
	pkt_dst =3D {s_addr =3D 2770911040}
	args =3D {m =3D 0xcd2a7a7c, oif =3D 0xc01d182b, next_hop =3D 0x0, rule =3D=
 0x0,
  eh =3D 0x0, ro =3D 0x2cf, dst =3D 0xc0edab00, flags =3D 2, f_id =3D {ds=
t_ip =3D 1,
    src_ip =3D 3442113188, dst_port =3D 20143, src_port =3D 49184, proto =
=3D 0 '\0',
    flags =3D 171 '=AB'}, divert_rule =3D 0, retval =3D 2}
	src_was_INADDR_ANY =3D 0
#18 0xc026a74c in tcp_twrespond (tw=3D0xc2f7d000, flags=3D16)
    at /usr/src/sys/netinet/tcp_subr.c:1776
	inp =3D (struct inpcb *) 0xc2848474
	th =3D (struct tcphdr *) 0xc0edab68
	m =3D (struct mbuf *) 0xc0edab00
	ip =3D (struct ip *) 0xc0edab54
	optp =3D (u_int8_t *) 0x0
	optlen =3D 12
	error =3D 0
#19 0xc026a4ed in tcp_twstart (tp=3D0xc2ed2e00)
    at /usr/src/sys/netinet/tcp_subr.c:1663
	tm =3D (struct tcptw_mem *) 0x0
	tw =3D (struct tcptw *) 0xc2f7d000
	inp =3D (struct inpcb *) 0xc2848474
	tw_time =3D 60000
	acknow =3D 1
	so =3D (struct socket *) 0xc2ed2e00
#20 0xc0267120 in tcp_input (m=3D0xc0ed8100, off0=3D20)
    at /usr/src/sys/netinet/tcp_input.c:2189
	th =3D (struct tcphdr *) 0xc1349834
	ip =3D (struct ip *) 0xc1349820
	ipov =3D (struct ipovly *) 0x1
	inp =3D (struct inpcb *) 0xc2848474
	optp =3D (u_char *) 0xc1349848 "\001\001\b\n\002=D9\205\210"
	optlen =3D 12
	len =3D -1031493900
	tlen =3D 0
	off =3D -1031493900
	drop_hdrlen =3D 52
	tp =3D (struct tcpcb *) 0xc284a6f4
	thflags =3D 1
	so =3D (struct socket *) 0xc2ed2e00
	todrop =3D -1031493900
	acked =3D -1031493900
	ourfinisacked =3D -1031493900
	needoutput =3D 1
	tiwin =3D 6432
	to =3D {to_flags =3D 1, to_tsval =3D 47809928, to_tsecr =3D 4347431,
  to_cc =3D 0, to_ccecho =3D 0, to_mss =3D 0, to_requested_s_scale =3D 0 =
'\0',
  to_pad =3D 0 '\0'}
	taop =3D (struct rmxp_tao *) 0xc284a6f4
	tao_noncached =3D {tao_cc =3D 3223375843, tao_ccsent =3D 3224945232,
  tao_mssopt =3D 50184}
	headlocked =3D 1
	next_hop =3D (struct sockaddr_in *) 0x0
	rstreason =3D -1031493900
#21 0xc0260a76 in ip_input (m=3D0xc0ed8100)
    at /usr/src/sys/netinet/ip_input.c:947
	ip =3D (struct ip *) 0xc1349820
	fp =3D (struct ipq *) 0xc2608e00
	ia =3D (struct in_ifaddr *) 0xc2608e00
	ifa =3D (struct ifaddr *) 0x0
	i =3D 0
	hlen =3D 20
	checkif =3D 1
	sum =3D 0
	pkt_dst =3D {s_addr =3D 100794378}
	divert_info =3D 0
	args =3D {m =3D 0xc03af820, oif =3D 0x0, next_hop =3D 0x0, rule =3D 0x0,=

  eh =3D 0x0, ro =3D 0xcd2a7cb8, dst =3D 0xc0363394, flags =3D 962, f_id =
=3D {
    dst_ip =3D 3224587144, src_ip =3D 3442113704, dst_port =3D 5568,
    src_port =3D 49182, proto =3D 148 '\224', flags =3D 51 '3'}, divert_r=
ule =3D 0,
  retval =3D 3224548970}
#22 0xc0260b21 in ipintr () at /usr/src/sys/netinet/ip_input.c:965
	m =3D (struct mbuf *) 0xc0ed8100
#23 0xc02549a4 in swi_net (dummy=3D0x0) at /usr/src/sys/net/netisr.c:97
	pollmore =3D 0
	bits =3D 4
	i =3D 2
#24 0xc01c9c02 in ithread_loop (arg=3D0xc0ec8e00)
    at /usr/src/sys/kern/kern_intr.c:536
	ithd =3D (struct ithd *) 0xc0ec8e00
	ih =3D (struct intrhand *) 0xc0ec0380
	td =3D (struct thread *) 0xc0ecbc30
	p =3D (struct proc *) 0xc0eca5f4
#25 0xc01c8cd4 in fork_exit (callout=3D0xc0ec0380, arg=3D0x0, frame=3D0x0=
)
    at /usr/src/sys/kern/kern_fork.c:871
	td =3D (struct thread *) 0x0
	p =3D (struct proc *) 0xc0ec8e00



--------------010001030007050600040307
Content-Type: text/plain;
 name="newpanic.2"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
 filename="newpanic.2"

panic: mac_mls_single_in_range: a not single
Dumping 255 MB
ata0: resetting devices ..
done
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
---
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:239
239             dumping++;
(kgdb)

#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:239
No locals.
#1  0xc0128995 in db_fncall (dummy1=3D0, dummy2=3D0, dummy3=3D1999,
    dummy4=3D0xcd2a7750 "=C0U7=C0H\b7=C0lw*=CD\r") at /usr/src/sys/ddb/db=
_command.c:546
	fn_addr =3D -1071732384
	args =3D {0 <repeats 11 times>}
	nargs =3D 11
	retval =3D 0
	func =3D (fcn_10args_t *) 0xc01ea960 <doadump>
	t =3D 0
#2  0xc0128712 in db_command (last_cmdp=3D0xc0348da0, cmd_table=3D0x0,
    aux_cmd_tablep=3D0xc03432c0, aux_cmd_tablep_end=3D0xc03432c4)
    at /usr/src/sys/ddb/db_command.c:346
	cmd =3D (struct command *) 0xc0348d30
	t =3D 0
	modif =3D "=C0U7=C0H\b7=C0lw*=CD\r\0\0\0`6<=C0\r\0\0\0\001\0\0\0\214w*=CD=
fn-=C0=E0\034;=C0\a
K\0 =E06<=C0=A0=F9:=C0=C0U7=C0x\0\0\0=C0U7=C0H\b7=C0=B0w*=CD1=A4\022=C0?\=
n2=C0 =A3\022=C0\0\0\0\0\020\0\0\0H\b7=C0=C0U
7=C0\236\234\022=C0=C0U7=C0=A0M7=C0x\0\0\0\003\0\0"
	addr =3D 0
	count =3D 1999
	have_addr =3D 0
	result =3D 0
#3  0xc0128826 in db_command_loop () at /usr/src/sys/ddb/db_command.c:470=

No locals.
#4  0xc012b5ba in db_trap (type=3D3, code=3D0) at /usr/src/sys/ddb/db_tra=
p.c:72
	bkpt =3D 0
#5  0xc02e04e2 in kdb_trap (type=3D3, code=3D0, regs=3D0xcd2a78a4)
    at /usr/src/sys/i386/i386/db_interface.c:166
	ddb_mode =3D 1
#6  0xc02f1e7f in trap (frame=3D
      {tf_fs =3D -852885480, tf_es =3D -1071710192, tf_ds =3D 16, tf_edi =
=3D -1058227152
, tf_esi =3D 256, tf_ebp =3D -852854544, tf_isp =3D -852854576, tf_ebx =3D=
 0, tf_edx =3D 0
, tf_ecx =3D 0, tf_eax =3D 18, tf_trapno =3D 3, tf_err =3D 0, tf_eip =3D =
-1070725244, tf_c
s =3D 8, tf_eflags =3D 646, tf_esp =3D -1070341351, tf_ss =3D -1070415461=
})
    at /usr/src/sys/i386/i386/trap.c:603
	td =3D (struct thread *) 0xc0ecbc30
	p =3D (struct proc *) 0xc0eca5f4
	sticks =3D 3224949112
	i =3D 0
	ucode =3D 0
	type =3D 3
	code =3D 0
	eva =3D 0
#7  0xc02e1e38 in calltrap () at {standard input}:96
No locals.
#8  0xc01eb0cb in panic (fmt=3D0x0) at /usr/src/sys/kern/kern_shutdown.c:=
528
	td =3D (struct thread *) 0xc0ecbc30
	bootopt =3D 256
	newpanic =3D 1
	buf =3D "mac_mls_single_in_range: a not single", '\0' <repeats 218 times=
>
#9  0xc02772d4 in mac_mls_single_in_range (single=3D0x0, range=3D0xc2605f=
00)
    at /usr/src/sys/security/mac_mls/mac_mls.c:225
No locals.
#10 0xc0278d16 in mac_mls_check_ifnet_transmit (ifnet=3D0xc25ebc00,
    ifnetlabel=3D0x0, m=3D0xc0ee1800, mbuflabel=3D0x0)
    at /usr/src/sys/security/mac_mls/mac_mls.c:1462
	p =3D (struct mac_mls *) 0x0
	i =3D (struct mac_mls *) 0x0
#11 0xc01dad8a in mac_check_ifnet_transmit (ifnet=3D0xc25ebc00, mbuf=3D0x=
c0ee1800)
    at /usr/src/sys/kern/kern_mac.c:2269
	mpc =3D (struct mac_policy_conf *) 0xc2605f00
	error =3D 0
#12 0xc0252818 in ether_output (ifp=3D0xc25ebc00, m=3D0xc0ee1800, dst=3D0=
xc3ce3230,
    rt0=3D0xc3f16600) at /usr/src/sys/net/if_ethersubr.c:157
	type =3D 0
	error =3D -1058138028
	hdrcmplt =3D 0
	esrc =3D "\0\0\0\0\024"
	edst =3D "T\030=EE=C0=CCy"
	rt =3D (struct rtentry *) 0xc0ee1800
	eh =3D (struct ether_header *) 0xc0ee1854
	loop_copy =3D 0
	ac =3D (struct arpcom *) 0xc25ebc00
#13 0xc0262815 in ip_output (m0=3D0xc0ee1800, opt=3D0xc0ee1854, ro=3D0xc2=
892840,
    flags=3D0, imo=3D0x0, inp=3D0xc2892804) at /usr/src/sys/netinet/ip_ou=
tput.c:1015
	ip =3D (struct ip *) 0xc0ee1854
	mhip =3D (struct ip *) 0xcd2a7a58
	ifp =3D (struct ifnet *) 0xc25ebc00
	m =3D (struct mbuf *) 0xc3f16600
	hlen =3D 20
	len =3D -1071770176
	off =3D -1070040896
	error =3D 0
	dst =3D (struct sockaddr_in *) 0xc3ce3230
	ia =3D (struct in_ifaddr *) 0xc2608e00
	isbroadcast =3D 0
	sw_csum =3D 1
	pkt_dst =3D {s_addr =3D 218540224}
	args =3D {m =3D 0xcd2a7a7c, oif =3D 0xc01d182b, next_hop =3D 0x0, rule =3D=
 0x0,
  eh =3D 0x0, ro =3D 0x2cf, dst =3D 0xc0ee1800, flags =3D 2, f_id =3D {ds=
t_ip =3D 1,
    src_ip =3D 3442113188, dst_port =3D 20143, src_port =3D 49184, proto =
=3D 0 '\0',
    flags =3D 24 '\030'}, divert_rule =3D 0, retval =3D 2}
	src_was_INADDR_ANY =3D 0
#14 0xc026a74c in tcp_twrespond (tw=3D0xc3fa6000, flags=3D16)
    at /usr/src/sys/netinet/tcp_subr.c:1776
	inp =3D (struct inpcb *) 0xc2892804
	th =3D (struct tcphdr *) 0xc0ee1868
	m =3D (struct mbuf *) 0xc0ee1800
	ip =3D (struct ip *) 0xc0ee1854
	optp =3D (u_int8_t *) 0x0
	optlen =3D 12
	error =3D 0
#15 0xc026a4ed in tcp_twstart (tp=3D0xc2811e00)
    at /usr/src/sys/netinet/tcp_subr.c:1663
	tm =3D (struct tcptw_mem *) 0x0
	tw =3D (struct tcptw *) 0xc3fa6000
	inp =3D (struct inpcb *) 0xc2892804
	tw_time =3D 60000
	acknow =3D 1
	so =3D (struct socket *) 0xc2811e00
#16 0xc0267120 in tcp_input (m=3D0xc0ee1800, off0=3D20)
    at /usr/src/sys/netinet/tcp_input.c:2189
	th =3D (struct tcphdr *) 0xc138c034
	ip =3D (struct ip *) 0xc138c020
	ipov =3D (struct ipovly *) 0x1
	inp =3D (struct inpcb *) 0xc2892804
	optp =3D (u_char *) 0xc138c048 "\001\001\b\n"
	optlen =3D 12
	len =3D -1031191508
	tlen =3D 0
	off =3D -1031191508
	drop_hdrlen =3D 52
	tp =3D (struct tcpcb *) 0xc289442c
	thflags =3D 1
	so =3D (struct socket *) 0xc2811e00
	todrop =3D -1031191508
	acked =3D -1031191508
	ourfinisacked =3D -1031191508
	needoutput =3D 0
	tiwin =3D 57888
	to =3D {to_flags =3D 1, to_tsval =3D 9766663, to_tsecr =3D 3602796, to_c=
c =3D 0,
  to_ccecho =3D 0, to_mss =3D 0, to_requested_s_scale =3D 0 '\0', to_pad =
=3D 0 '\0'}
	taop =3D (struct rmxp_tao *) 0xc289442c
	tao_noncached =3D {tao_cc =3D 3442113524, tao_ccsent =3D 2,
  tao_mssopt =3D 17920}
	headlocked =3D 1
	next_hop =3D (struct sockaddr_in *) 0x0
	rstreason =3D -1031191508
#17 0xc0260a76 in ip_input (m=3D0xc0ee1800)
    at /usr/src/sys/netinet/ip_input.c:947
	ip =3D (struct ip *) 0xc138c020
	fp =3D (struct ipq *) 0xc2608e00
	ia =3D (struct in_ifaddr *) 0xc2608e00
	ifa =3D (struct ifaddr *) 0x0
	i =3D 0
	hlen =3D 20
	checkif =3D 1
	sum =3D 0
	pkt_dst =3D {s_addr =3D 100794378}
	divert_info =3D 0
	args =3D {m =3D 0xc03af858, oif =3D 0x0, next_hop =3D 0x0, rule =3D 0x0,=

  eh =3D 0x0, ro =3D 0xcd2a7cb8, dst =3D 0xc0363394, flags =3D 962, f_id =
=3D {
    dst_ip =3D 3224587144, src_ip =3D 3442113704, dst_port =3D 5568,
    src_port =3D 49182, proto =3D 148 '\224', flags =3D 51 '3'}, divert_r=
ule =3D 0,
  retval =3D 3224548970}
#18 0xc0260b21 in ipintr () at /usr/src/sys/netinet/ip_input.c:965
	m =3D (struct mbuf *) 0xc0ee1800
#19 0xc02549a4 in swi_net (dummy=3D0x0) at /usr/src/sys/net/netisr.c:97
	pollmore =3D 0
	bits =3D 4
	i =3D 2
#20 0xc01c9c02 in ithread_loop (arg=3D0xc0ec8e00)
    at /usr/src/sys/kern/kern_intr.c:536
	ithd =3D (struct ithd *) 0xc0ec8e00
	ih =3D (struct intrhand *) 0xc0ec0380
	td =3D (struct thread *) 0xc0ecbc30
	p =3D (struct proc *) 0xc0eca5f4
#21 0xc01c8cd4 in fork_exit (callout=3D0xc0ec0380, arg=3D0x0, frame=3D0x0=
)
    at /usr/src/sys/kern/kern_fork.c:871
	td =3D (struct thread *) 0x0
	p =3D (struct proc *) 0xc0ec8e00


--------------010001030007050600040307--


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




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