Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Apr 2014 18:05:21 +0200
From:      Przemyslaw Frasunek <przemyslaw@frasunek.com>
To:        Mike Tancsa <mike@sentex.net>, freebsd-net@freebsd.org
Subject:   Re: mpd5/Netgraph issues after upgrading to 7.4
Message-ID:  <5353F041.4080307@frasunek.com>
In-Reply-To: <534D4D72.8040807@sentex.net>
References:  <20110513162311.GK95084@glebius.int.ru>	<4DD298AD.2060905@frasunek.com>	<20110517184613.GN74366@glebius.int.ru>	<4FDB1D71.6050908@freebsd.lublin.pl>	<20120615203142.GW28613@glebius.int.ru>	<4FDBAFD7.9020606@freebsd.lublin.pl>	<4FDF2F81.6030307@sentex.net>	<4FDF3097.6080701@freebsd.lublin.pl>	<4FE0EE62.5070905@freebsd.lublin.pl>	<4FF7F2C6.5070401@freebsd.lublin.pl>	<20120709081225.GJ21957@glebius.int.ru>	<CAFMmRNydo=Bci=WM5mODS0vhiv8%2B2Oj39XKTXkEymYOJunhPxg@mail.gmail.com>	<4FFBB7A8.90201@rdtc.ru> <4FFBCA96.3000605@freebsd.lublin.pl>	<50032E10.3060607@sentex.net>	<65702E3D-9373-4CC7-9CB4-81704EF44ED8@lists.zabbadoz.net> <50039923.2060802@rdtc.ru> <530085F3.9020205@frasunek.com> <53017B12.9050304@sentex.net> <531C517F.5020506@frasunek.com> <531C5877.8050401@sentex.net> <532335B6.7070105@frasunek.com> <534D4D72.8040807@sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>> FYI -- after upgrade to 9-STABLE no further crashes occurred, even with IPv6
>>>> enabled.
>>> What sort of uptime have you seen with ipv6 enabled ?
>> Now it's 19 days and still no crash occurred.
>     Has all been stable still with ipv6 enabled ?

Unfortunately, it crashed after ~30 days of uptime, but in different way than
before:

(kgdb) bt
#0  doadump (textdump=<value optimized out>) at pcpu.h:234
#1  0xffffffff80593466 in kern_reboot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:449
#2  0xffffffff80593967 in panic (fmt=0x1 <Address 0x1 out of bounds>) at
/usr/src/sys/kern/kern_shutdown.c:637
#3  0xffffffff8082ba40 in trap_fatal (frame=0xc, eva=<value optimized out>) at
/usr/src/sys/amd64/amd64/trap.c:879
#4  0xffffffff8082bda1 in trap_pfault (frame=0xffffff8098c38b30, usermode=0) at
/usr/src/sys/amd64/amd64/trap.c:795
#5  0xffffffff8082c354 in trap (frame=0xffffff8098c38b30) at
/usr/src/sys/amd64/amd64/trap.c:463
#6  0xffffffff80815683 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:232
#7  0xffffffff8064642a in strlcpy (dst=0xffffff8098c38e36 "", src=0x0,
siz=<value optimized out>)
    at /usr/src/sys/libkern/strlcpy.c:39
#8  0xffffffff805831fe in fill_kinfo_thread (td=0xfffffe006a907920,
kp=0xffffff8098c38c80, preferthread=0)
    at /usr/src/sys/kern/kern_proc.c:961
#9  0xffffffff8058410b in fill_kinfo_proc (p=0xfffffe006a9004a8,
kp=0xffffff8098c38c80)
    at /usr/src/sys/kern/kern_proc.c:1033
#10 0xffffffff8058439d in kern_proc_out (p=0xfffffe006a9004a8,
sb=0xffffff8098c39420, flags=1)
    at /usr/src/sys/kern/kern_proc.c:1208
#11 0xffffffff8058663d in sysctl_out_proc (p=0xfffffe006a9004a8, req=<value
optimized out>, flags=1, doingzomb=0)
    at /usr/src/sys/kern/kern_proc.c:1247
#12 0xffffffff80589019 in sysctl_kern_proc (oidp=<value optimized out>,
arg1=0xffffff8098c39a7c,
    arg2=<value optimized out>, req=0xffffff8098c399b0) at
/usr/src/sys/kern/kern_proc.c:1430
#13 0xffffffff8059e4a7 in sysctl_root (oidp=<value optimized out>,
arg1=0xffffff8098c39a7c, arg2=0,
    req=0xffffff8098c399b0) at /usr/src/sys/kern/kern_sysctl.c:1493
#14 0xffffffff8059e785 in userland_sysctl (td=<value optimized out>,
name=0xffffff8098c39a70, namelen=3,
    old=<value optimized out>, oldlenp=0x0, inkernel=<value optimized out>,
new=0x0, newlen=0,
    retval=0xffffff8098c39ad8, flags=0) at /usr/src/sys/kern/kern_sysctl.c:1603
#15 0xffffffff8059ec9a in sys___sysctl (td=0xfffffe000b768490,
uap=0xffffff8098c39bb0)
    at /usr/src/sys/kern/kern_sysctl.c:1529
#16 0xffffffff8082b1ea in amd64_syscall (td=0xfffffe000b768490, traced=0) at
subr_syscall.c:135
#17 0xffffffff80815967 in Xfast_syscall () at
/usr/src/sys/amd64/amd64/exception.S:391
#18 0x0000000800d5413c in ?? ()
(kgdb) frame 8
#8  0xffffffff805831fe in fill_kinfo_thread (td=0xfffffe006a907920,
kp=0xffffff8098c38c80, preferthread=0)
    at /usr/src/sys/kern/kern_proc.c:961
961                     strlcpy(kp->ki_lockname, td->td_lockname,
(kgdb) list
956             else
957                     bzero(kp->ki_wmesg, sizeof(kp->ki_wmesg));
958             strlcpy(kp->ki_tdname, td->td_name, sizeof(kp->ki_tdname));
959             if (TD_ON_LOCK(td)) {
960                     kp->ki_kiflag |= KI_LOCKBLOCK;
961                     strlcpy(kp->ki_lockname, td->td_lockname,
962                         sizeof(kp->ki_lockname));
963             } else {
964                     kp->ki_kiflag &= ~KI_LOCKBLOCK;
965                     bzero(kp->ki_lockname, sizeof(kp->ki_lockname));
(kgdb) print td->td_lockname
$3 = 0x0
(kgdb) print *td
$4 = {td_lock = 0xfffffe003a3e6d80, td_proc = 0xfffffe006a9004a8, td_plist =
{tqe_next = 0x0,
    tqe_prev = 0xfffffe006a9004b8}, td_runq = {tqe_next = 0x0, tqe_prev =
0xffffffff80c648a8}, td_slpq = {
    tqe_next = 0x0, tqe_prev = 0xfffffe0001b06d00}, td_lockq = {tqe_next = 0x0,
tqe_prev = 0xfffffe0001780960},
  td_hash = {le_next = 0x0, le_prev = 0xffffff80006918b8}, td_cpuset =
0xfffffe00014d2dc8, td_sel = 0x0,
  td_sleepqueue = 0xfffffe0001b06d00, td_turnstile = 0x0, td_umtxq =
0xfffffe0001b25d80, td_tid = 100119,
  td_sigqueue = {sq_signals = {__bits = {0, 0, 0, 0}}, sq_kill = {__bits = {0,
0, 0, 0}}, sq_list = {tqh_first = 0x0,
      tqh_last = 0xfffffe006a9079d0}, sq_proc = 0xfffffe006a9004a8, sq_flags =
1}, td_lend_user_pri = 255 '�',
  td_flags = 5, td_inhibitors = 8, td_pflags = 0, td_dupfd = 0, td_sqqueue = 0,
td_wchan = 0x0, td_wmesg = 0x0,
  td_lastcpu = 1 '\001', td_oncpu = 255 '�', td_owepreempt = 0 '\0', td_tsqueue
= 1 '\001', td_locks = 1,
  td_rw_rlocks = 0, td_lk_slocks = 0, td_stopsched = 0, td_blocked =
0xfffffe003a3e6d80, td_lockname = 0x0,
  td_contested = {lh_first = 0xfffffe0054d89300}, td_sleeplocks = 0x0,
td_intr_nesting_level = 0, td_pinned = 0,
  td_ucred = 0xfffffe00014d4a00, td_estcpu = 0, td_slptick = 0, td_blktick =
584456809, td_swvoltick = 584456809,
  td_cow = 6, td_ru = {ru_utime = {tv_sec = 0, tv_usec = 0}, ru_stime = {tv_sec
= 0, tv_usec = 0}, ru_maxrss = 4264,
    ru_ixrss = 36800, ru_idrss = 4673600, ru_isrss = 294400, ru_minflt = 688,
ru_majflt = 0, ru_nswap = 0,
    ru_inblock = 0, ru_oublock = 0, ru_msgsnd = 633119, ru_msgrcv = 189464,
ru_nsignals = 0, ru_nvcsw = 367402,
    ru_nivcsw = 50322}, td_rux = {rux_runtime = 49823813588, rux_uticks = 601,
rux_sticks = 1699, rux_iticks = 0,
    rux_uu = 3570333, rux_su = 8456053, rux_tu = 12026387}, td_incruntime = 0,
td_runtime = 49823813588,
  td_pticks = 0, td_sticks = 0, td_iticks = 0, td_uticks = 0, td_intrval = 0,
td_oldsigmask = {__bits = {0, 0, 0, 0}},
  td_sigmask = {__bits = {0, 0, 0, 0}}, td_generation = 417724, td_sigstk =
{ss_sp = 0x0, ss_size = 0, ss_flags = 4},
  td_xsig = 0, td_profil_addr = 0, td_profil_ticks = 0, td_name = "drad", '\0'
<repeats 15 times>, td_fpop = 0x0,
  td_dbgflags = 0, td_dbgksi = {ksi_link = {tqe_next = 0x0, tqe_prev = 0x0},
ksi_info = {si_signo = 0, si_errno = 0,
      si_code = 0, si_pid = 0, si_uid = 0, si_status = 0, si_addr = 0x0,
si_value = {sival_int = 0, sival_ptr = 0x0,
        sigval_int = 0, sigval_ptr = 0x0}, _reason = {_fault = {_trapno = 0},
_timer = {_timerid = 0, _overrun = 0},
        _mesgq = {_mqd = 0}, _poll = {_band = 0}, __spare__ = {__spare1__ = 0,
__spare2__ = {0, 0, 0, 0, 0, 0, 0}}}},
    ksi_flags = 0, ksi_sigq = 0x0}, td_ng_outbound = 0, td_osd = {osd_nslots =
0, osd_slots = 0x0, osd_next = {
      le_next = 0x0, le_prev = 0x0}}, td_map_def_user = 0x0, td_dbg_forked = 0,
td_rqindex = 30 '\036',
  td_base_pri = 120 'x', td_priority = 28 '\034', td_pri_class = 3 '\003',
td_user_pri = 120 'x',
  td_base_user_pri = 120 'x', td_pcb = 0xffffff8098bb7d00, td_state =
TDS_INHIBITED, td_retval = {0, 0},
  td_slpcallout = {c_links = {sle = {sle_next = 0x0}, tqe = {tqe_next = 0x0,
tqe_prev = 0xffffff800072c690}},
    c_time = 584456809, c_arg = 0xfffffe006a907920, c_func = 0xffffffff805d8c00
<sleepq_timeout>, c_lock = 0x0,
    c_flags = 18, c_cpu = 2}, td_frame = 0xffffff8098bb7c40, td_kstack_obj =
0xfffffe0001b2b658,
  td_kstack = 18446743526516146176, td_kstack_pages = 4, td_critnest = 1, td_md
= {md_spinlock_count = 1,
    md_saved_flags = 582, md_spurflt_addr = 0}, td_sched = 0xfffffe006a907d80,
td_ar = 0x0, td_lprof = {{
      lh_first = 0x0}, {lh_first = 0x0}}, td_dtrace = 0xfffffe0054c5ab00,
td_errno = 0, td_vnet = 0x0,
  td_vnet_lpush = 0x0, td_intr_frame = 0x0, td_rfppwait_p = 0x0, td_ma = 0x0,
td_ma_cnt = 0, td_rlqe = 0x0,
  td_vp_reserv = 0}






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