Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Mar 2007 13:41:51 +0400 (MSD)
From:      Yuriy Tsibizov <Yuriy.Tsibizov@gfk.ru>
To:        freebsd-current@freebsd.org
Subject:   panic in rtsock.c
Message-ID:  <20070325133125.X899@free.home.local>

next in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-1606194510-1174815711=:899
Content-Type: TEXT/PLAIN; charset=KOI8-R; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

I'm getting repeatable panic with kernel & userland from yesterday evening=
=20
when I try to connect to Internet using bluetooth to connect to my phone:
"rfcomm_pppd -a e60 -c -C dun -l mts".

Everything works well with kernel from last weekend. With yesterday kernel=
=20
it always panic.

Unread portion of the kernel message buffer:
Kernel page fault with the following non-sleepable locks held:
exclusive sleep mutex radix node head r =3D 0 (0xc30bc37c) locked @ /usr/sr=
c/sys/net/rtsock.c:1258
KDB: stack backtrace:
db_trace_self_wrapper(c0923433) at db_trace_self_wrapper+0x25
kdb_backtrace(1,c350b240,c,d61c1a5c,d61c1a50,...) at kdb_backtrace+0x29
witness_warn(5,0,c0933ff7) at witness_warn+0x192
trap(d61c1a5c) at trap+0x10b
calltrap() at calltrap+0x6
--- trap 0xc, eip =3D 0xc074a451, esp =3D 0xd61c1a9c, ebp =3D 0xd61c1adc --=
-
sysctl_dumpentry(c324ebb8,d61c1b28) at sysctl_dumpentry+0x65
rn_walktree(c30bc300,c074a3ec,d61c1b28,c30bc37c,0,...) at rn_walktree+0x7a
sysctl_rtsock(c0a05060,d61c1c20,4,d61c1b98,c0a05060,...) at sysctl_rtsock+0=
x10a
sysctl_root(0,d61c1c18,6,d61c1b98) at sysctl_root+0x12f
userland_sysctl(c3255000,d61c1c18,6,0,bfbfdedc,0,0,0,d61c1c14,0,c0a51808,0,=
c09605c8,51e) at userland_sysctl+0xf4
__sysctl(c3255000,d61c1d00) at __sysctl+0x77
syscall(d61c1d38) at syscall+0x252
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (202, FreeBSD ELF32, __sysctl), eip =3D 0x2830a027, esp =3D 0xb=
fbfde6c, ebp =3D 0xbfbfdea8 ---


Fatal trap 12: page fault while in kernel mode
cpuid =3D 0; apic id =3D 00
fault virtual address=09=3D 0x0
fault code=09=09=3D supervisor read, page not present
instruction pointer=09=3D 0x20:0xc074a451
stack pointer=09        =3D 0x28:0xd61c1a9c
frame pointer=09        =3D 0x28:0xd61c1adc
code segment=09=09=3D base 0x0, limit 0xfffff, type 0x1b
 =09=09=09=3D DPL 0, pres 1, def32 1, gran 1
processor eflags=09=3D interrupt enabled, resume, IOPL =3D 0
current process=09=09=3D 963 (ppp)
trap number=09=09=3D 12
panic: page fault
cpuid =3D 0

-->bt
#0  doadump () at pcpu.h:172
#1  0xc06c2d74 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:4=
09
#2  0xc06c307e in panic (fmt=3D0xc0904aff "%s")
     at /usr/src/sys/kern/kern_shutdown.c:563
#3  0xc08c04da in trap_fatal (frame=3D0xd61c1a5c, eva=3D0)
     at /usr/src/sys/i386/i386/trap.c:868
#4  0xc08bfb1f in trap (frame=3D0xd61c1a5c) at /usr/src/sys/i386/i386/trap.=
c:276
#5  0xc08a9ebb in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#6  0xc074a451 in sysctl_dumpentry (rn=3D0xc324ebb8, vw=3D0xd61c1b28)
     at /usr/src/sys/net/rtsock.c:1091
#7  0xc074696e in rn_walktree (h=3D0xc356c494, f=3D0xc074a3ec <sysctl_dumpe=
ntry>,
     w=3D0xd61c1b28) at /usr/src/sys/net/radix.c:1083
#8  0xc074a9aa in sysctl_rtsock (oidp=3D0xc0a05060, arg1=3D0xd61c1c20, arg2=
=3D4,
     req=3D0xc30bc300) at /usr/src/sys/net/rtsock.c:1259
#9  0xc06caf0f in sysctl_root (oidp=3D0x0, arg1=3D0xd61c1c20, arg2=3D4,
     req=3D0xd61c1b98) at /usr/src/sys/kern/kern_sysctl.c:1282
#10 0xc06cb0e0 in userland_sysctl (td=3D0xc356c494, name=3D0xd61c1c18, name=
len=3D6,
     old=3D0xd61c1b98, oldlenp=3D0xbfbfdedc, inkernel=3D0, new=3D0x0,
     newlen=3D3277243540, retval=3D0xd61c1c14, flags=3D-1017723756)
     at /usr/src/sys/kern/kern_sysctl.c:1377
#11 0xc06caf97 in __sysctl (td=3D0xc3255000, uap=3D0xd61c1d00)
     at /usr/src/sys/kern/kern_sysctl.c:1312
#12 0xc08c07b2 in syscall (frame=3D0xd61c1d38)
     at /usr/src/sys/i386/i386/trap.c:1010
#13 0xc08a9f20 in Xint0x80_syscall ()
     at /usr/src/sys/i386/i386/exception.s:196
#14 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
-->f 6
#6  0xc074a451 in sysctl_dumpentry (rn=3D0xc324ebb8, vw=3D0xd61c1b28)
     at /usr/src/sys/net/rtsock.c:1091
1091=09=09=09info.rti_info[RTAX_IFA] =3D rt->rt_ifa->ifa_addr;
-->p *rt
$1 =3D {rt_nodes =3D {{rn_mklist =3D 0x0, rn_parent =3D 0xc324ebd0, rn_bit =
=3D -97,
       rn_bmask =3D 0 '\0', rn_flags =3D 5 '\005', rn_u =3D {rn_leaf =3D {
           rn_Key =3D 0xc352a600 "\034\034",
           rn_Mask =3D 0xc3233cb0 "\f", '=FF' <repeats 11 times>,
           rn_Dupedkey =3D 0x0}, rn_node =3D {rn_Off =3D -1017993728,
           rn_L =3D 0xc3233cb0, rn_R =3D 0x0}}}, {rn_mklist =3D 0x0,
       rn_parent =3D 0xc324ee28, rn_bit =3D 93, rn_bmask =3D 4 '\004',
       rn_flags =3D 4 '\004', rn_u =3D {rn_leaf =3D {
           rn_Key =3D 0xb <Address 0xb out of bounds>, rn_Mask =3D 0xc324ee=
88 "",
           rn_Dupedkey =3D 0xc324ebb8}, rn_node =3D {rn_Off =3D 11,
           rn_L =3D 0xc324ee88, rn_R =3D 0xc324ebb8}}}}, rt_gateway =3D 0xc=
352a61c,
   rt_flags =3D 8388867, rt_ifp =3D 0xc30c0000, rt_ifa =3D 0x0, rt_rmx =3D =
{
     rmx_mtu =3D 1500, rmx_expire =3D 0, rmx_pksent =3D 0}, rt_refcnt =3D 0=
,
   rt_genmask =3D 0x0, rt_llinfo =3D 0x0, rt_gwroute =3D 0x0, rt_parent =3D=
 0x0,
   rt_mtx =3D {lock_object =3D {lo_name =3D 0xc0924097 "rtentry",
       lo_type =3D 0xc0924097 "rtentry", lo_flags =3D 21168128, lo_witness_=
data =3D {
         lod_list =3D {stqe_next =3D 0xc0a621d0}, lod_witness =3D 0xc0a621d=
0}},
     mtx_lock =3D 4, mtx_recurse =3D 0}}

--0-1606194510-1174815711=:899--




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