Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2010 11:08:26 +0300
From:      pluknet <pluknet@gmail.com>
To:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: nmi_calltrap in siopoll()
Message-ID:  <a31046fc1002030008v443e9291h7f6b2253557376d2@mail.gmail.com>
In-Reply-To: <a31046fc1002020844g2406e69al9b5987c38f643c4f@mail.gmail.com>
References:  <a31046fc1002020844g2406e69al9b5987c38f643c4f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
kern/143521

2010/2/2 pluknet <pluknet@gmail.com>:
> Hi.
>
> I've got NMI on an almost idle system - FreeBSD 7.2-R amd64.
> I guess the reason may be in (hardware?) binary garbage
> seen once in a while on serial port (loader, then ttyd0).
> Ask me for more details.
>
> Tracing command swi4: clock sio pid 20 tid 100011 td 0xffffff000144e370
> cpustop_handler() at cpustop_handler+64
> ipi_nmi_handler() at ipi_nmi_handler+48
> trap() at trap+796
> nmi_calltrap() at nmi_calltrap+8
> --- trap 19, rip =3D 18446744071567390785, rsp =3D 18446744067267268592,
> rbp =3D 18446744067267558272 ---
> _mtx_lock_spin() at _mtx_lock_spin+113
> siopoll() at siopoll+206
> ithread_loop() at ithread_loop+384
> fork_exit() at fork_exit+287
> fork_trampoline() at fork_trampoline+14
> --- trap 0, rip =3D 0, rsp =3D 18446744067267558704, rbp =3D 0 ---
>
> (kgdb) thr 13
> [Switching to thread 13 (Thread 100011)]#0 =9Acpustop_handler () at atomi=
c.h:264
> 264 =9A =9A atomic.h: No such file or directory.
> =9A =9A =9A =9Ain atomic.h
> (kgdb) bt
> #0 =9Acpustop_handler () at atomic.h:264
> #1 =9A0xffffffff807ec400 in ipi_nmi_handler ()
> =9A =9Aat /usr/src/sys/amd64/amd64/mp_machdep.c:1144
> #2 =9A0xffffffff807fceec in trap (frame=3D0xfffffffe80028f40)
> =9A =9Aat /usr/src/sys/amd64/amd64/trap.c:198
> #3 =9A0xffffffff807e0aeb in nmi_calltrap ()
> =9A =9Aat /usr/src/sys/amd64/amd64/exception.S:427
> #4 =9A0xffffffff80513841 in _mtx_lock_spin (m=3D0xffffffff80bb3d00,
> =9A =9Atid=3D18446742974219215728, opts=3DVariable "opts" is not availabl=
e.
> ) at /usr/src/sys/kern/kern_mutex.c:474
> #5 =9A0xffffffff8082b96e in siopoll (dummy=3DVariable "dummy" is not avai=
lable.
> ) at /usr/src/sys/dev/sio/sio.c:1703
> #6 =9A0xffffffff804ff940 in ithread_loop (arg=3D0xffffff000142bac0)
> =9A =9Aat /usr/src/sys/kern/kern_intr.c:1088
> #7 =9A0xffffffff804fc1df in fork_exit (
> =9A =9Acallout=3D0xffffffff804ff7c0 <ithread_loop>, arg=3D0xffffff000142b=
ac0,
> =9A =9Aframe=3D0xfffffffe8006fc80) at /usr/src/sys/kern/kern_fork.c:834
> #8 =9A0xffffffff807e0b5e in fork_trampoline ()
> =9A =9Aat /usr/src/sys/amd64/amd64/exception.S:455
> #9 =9A0x0000000000000000 in ?? ()
> #10 0x0000000000000000 in ?? ()
> #11 0x0000000000000001 in ?? ()
> #12 0x0000000000000000 in ?? ()
> #13 0x0000000000000000 in ?? ()
> #14 0x0000000000000000 in ?? ()
> ---Type <return> to continue, or q <return> to quit---q
> Quit
> (kgdb) f 5
> #5 =9A0xffffffff8082b96e in siopoll (dummy=3DVariable "dummy" is not avai=
lable.
> ) at /usr/src/sys/dev/sio/sio.c:1703
> 1703 =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9Amtx_lock_spin=
(&sio_lock);
> (kgdb) i loc
> _tid =3D Variable "_tid" is not available.
> (kgdb) list
> 1698 =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9Acom_events -=
=3D incc;
> 1699 =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9Amtx_unlock_sp=
in(&sio_lock);
> 1700 =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9Acontinue;
> 1701 =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A}
> 1702 =9A =9A =9A =9A =9A =9A =9A =9A =9A =9Aif (com->iptr !=3D com->ibuf)=
 {
> 1703 =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9Amtx_lock_spin=
(&sio_lock);
> 1704 =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9Asioinput(com)=
;
> 1705 =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9Amtx_unlock_sp=
in(&sio_lock);
> 1706 =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A}
> 1707 =9A =9A =9A =9A =9A =9A =9A =9A =9A =9Aif (com->state & CS_CHECKMSR)=
 {
> (kgdb) p sio_lock
> $1 =3D {lock_object =3D {lo_name =3D 0xffffffff80b15380 "sio",
> =9A =9Alo_type =3D 0xffffffff80b15380 "sio", lo_flags =3D 458752, lo_witn=
ess_data =3D {
> =9A =9A =9Alod_list =3D {stqe_next =3D 0x0}, lod_witness =3D 0x0}},
> =9Amtx_lock =3D 18446742974219094608, mtx_recurse =3D 0}
> (kgdb) p/x sio_lock->mtx_lock
> $10 =3D 0xffffff0001430a50 =9A# =3D=3D td for pid 17 tid 100008
>
>
> Binary garbage is like below (not touching anything on k/board atm).
>
> login:
> FreeBSD/amd64 (ho
> FreeBSD/amd64 (host) (ttyd0)
>
> login: <<|=FE
> FreeBSD
> FreeBSD
> FreeBS
> FreeBSD
> Free
> FreeBSD/amd64 (host) (ttyd0)
>
> login:
> FreeBSD/amd64 (host) (ttyd0)
>
> login:
> FreeBSD
> Free
>
> FreeBS
> FreeBSD
> FreeBS
> FreeBSD
> FreeBSD
> FreeBS
> FreeBSD
> FreeBS
> FreeBSD
> FreeBSD
> FreeBS
> FreeBSD
> FreeBS=A0=A8H=C8=C9 =9A =9A M5
> FreeBSD
> FreeBS
> FreeBSD
> FreeBSD
> FreeBS
> FreeBSD
> FreeBS=A0=A8H=C8=C9 =9A =9A M5
> FreeBSD
> FreeBS
> FreeBSD
> FreeB
> FreeBSD/amd6
> FreeBS
> FreeBS
> FreeBSD
> FreeBSD
> FreeBS
> FreeBSD
> FreeBS
> FreeBSD
> FreeBSD
> FreeBS
> FreeBSD
> FreeBS=A0=A8H=C8=C9 =9A =9A M5
> FreeBSD
> FreeBS
> FreeBSD
> [..a little later..]
>
> [root@host ~]# <<<<<<<<<<<><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<8<<<<<8<<<=
<
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<8<<<<<<<><
>
> Other useful stuff.
>
> (kgdb) f 4
> #4 =9A0xffffffff80513841 in _mtx_lock_spin (m=3D0xffffffff80bb3d00,
> =9A =9Atid=3D18446742974219215728, opts=3DVariable "opts" is not availabl=
e.
> ) at /usr/src/sys/kern/kern_mutex.c:474
> 474 =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A while (m->mtx_lock !=3D MTX_U=
NOWNED) {
> (kgdb) list
> 469 =9A =9A =9A =9A =9A =9A lock_profile_obtain_lock_failed(&m->lock_obje=
ct,
> &contested, &waittime);
> 470 =9A =9A =9A =9A =9A =9A while (!_obtain_lock(m, tid)) {
> 471
> 472 =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A /* Give interrupts a chance w=
hile we spin. */
> 473 =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A spinlock_exit();
> 474 =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A while (m->mtx_lock !=3D MTX_U=
NOWNED) {
> 475 =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A if (i++ < 100=
00000) {
> 476 =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =
=9A cpu_spinwait();
> 477 =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =
=9A continue;
> 478 =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A }
> (kgdb) f 3
> #3 =9A0xffffffff807e0aeb in nmi_calltrap ()
> =9A =9Aat /usr/src/sys/amd64/amd64/exception.S:427
> 427 =9A =9A =9A =9A =9A =9A call =9A =9Atrap
> Current language: =9Aauto; currently asm
> (kgdb) list
> 422 =9A =9A =9A =9A =9A =9A swapgs
> 423 =9A =9A /* Note: this label is also used by ddb and gdb: */
> 424 =9A =9A nmi_calltrap:
> 425 =9A =9A =9A =9A =9A =9A FAKE_MCOUNT(TF_RIP(%rsp))
> 426 =9A =9A =9A =9A =9A =9A movq =9A =9A%rsp, %rdi
> 427 =9A =9A =9A =9A =9A =9A call =9A =9Atrap
> 428 =9A =9A =9A =9A =9A =9A MEXITCOUNT
> 429 =9A =9A =9A =9A =9A =9A testl =9A %ebx,%ebx
> 430 =9A =9A =9A =9A =9A =9A jz =9A =9A =9Anmi_restoreregs
> 431 =9A =9A =9A =9A =9A =9A swapgs
> (kgdb) f 2
> #2 =9A0xffffffff807fceec in trap (frame=3D0xfffffffe80028f40)
> =9A =9Aat /usr/src/sys/amd64/amd64/trap.c:198
> 198 =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9Aif (ipi_nmi_handler() =3D=
=3D 0)
> Current language: =9Aauto; currently c
> (kgdb) list
> 193
> 194 =9A =9A #ifdef SMP
> 195 =9A =9A #ifdef STOP_NMI
> 196 =9A =9A =9A =9A =9A =9A /* Handler for NMI IPIs used for stopping CPU=
s. */
> 197 =9A =9A =9A =9A =9A =9A if (type =3D=3D T_NMI) {
> 198 =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9Aif (ipi_nmi_handler() =3D=
=3D 0)
> 199 =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9Agoto o=
ut;
> 200 =9A =9A =9A =9A =9A =9A }
> 201 =9A =9A #endif /* STOP_NMI */
> 202 =9A =9A #endif /* SMP */
>
>
> db> bt
> Tracing pid 17 tid 100008 td 0xffffff0001430a50
> kdb_enter_why() at kdb_enter_why+0x3d
> siointr1() at siointr1+0x2c5
> siointr() at siointr+0x58
> intr_execute_handlers() at intr_execute_handlers+0x8b
> Xapic_isr1() at Xapic_isr1+0x7f
> --- interrupt, rip =3D 0xffffffff807d8bd6, rsp =3D 0xfffffffe8005fb90, rb=
p
> =3D 0xfffffffe8005fba0 ---
> acpi_cpu_c1() at acpi_cpu_c1+0x6
> acpi_cpu_idle() at acpi_cpu_idle+0x19c
> sched_idletd() at sched_idletd+0x46
> fork_exit() at fork_exit+0x11f
> fork_trampoline() at fork_trampoline+0xe
> --- trap 0, rip =3D 0, rsp =3D 0xfffffffe8005fd30, rbp =3D 0 ---
>
> (kgdb) p (struct thread) *sio_lock->mtx_lock
> $15 =3D {td_lock =3D 0xffffffff80b7bc40, td_proc =3D 0xffffff000142e478, =
td_plist =3D {
> =9A =9Atqe_next =3D 0x0, tqe_prev =3D 0xffffff000142e488}, td_slpq =3D {t=
qe_next =3D 0x0,
> =9A =9Atqe_prev =3D 0x0}, td_lockq =3D {tqe_next =3D 0x0, tqe_prev =3D 0x=
0}, td_selq =3D {
> =9A =9Atqh_first =3D 0x0, tqh_last =3D 0x0}, td_sleepqueue =3D 0xffffff00=
01418c00,
> =9Atd_turnstile =3D 0xffffff00012f9a00, td_umtxq =3D 0xffffff000142a380,
> =9Atd_tid =3D 100008, td_sigqueue =3D {sq_signals =3D {__bits =3D {0, 0, =
0, 0}},
> =9A =9Asq_kill =3D {__bits =3D {0, 0, 0, 0}}, sq_list =3D {tqh_first =3D =
0x0,
> =9A =9A =9Atqh_last =3D 0xffffff0001430ae0}, sq_proc =3D 0xffffff000142e4=
78,
> =9A =9Asq_flags =3D 1}, td_flags =3D 65572, td_inhibitors =3D 0, td_pflag=
s =3D 0,
> =9Atd_dupfd =3D 0, td_sqqueue =3D 0, td_wchan =3D 0x0, td_wmesg =3D 0x0,
> =9Atd_lastcpu =3D 1 '\001', td_oncpu =3D 1 '\001', td_owepreempt =3D 0 '\=
0',
> =9Atd_locks =3D 0, td_tsqueue =3D 0 '\0', td_blocked =3D 0x0, td_lockname=
 =3D 0x0,
> =9Atd_contested =3D {lh_first =3D 0x0}, td_sleeplocks =3D 0x0,
> =9Atd_intr_nesting_level =3D 1, td_pinned =3D 0, td_mailbox =3D 0x0,
> =9Atd_ucred =3D 0xffffff0001300e00, td_standin =3D 0x0, td_upcall =3D 0x0=
,
> =9Atd_estcpu =3D 0, td_slptick =3D 0, td_ru =3D {ru_utime =3D {tv_sec =3D=
 0,
> =9A =9A =9Atv_usec =3D 0}, ru_stime =3D {tv_sec =3D 0, tv_usec =3D 0}, ru=
_maxrss =3D 0,
> =9A =9Aru_ixrss =3D 0, ru_idrss =3D 0, ru_isrss =3D 0, ru_minflt =3D 0, r=
u_majflt =3D 0,
> =9A =9Aru_nswap =3D 0, ru_inblock =3D 0, ru_oublock =3D 0, ru_msgsnd =3D =
0,
> =9A =9Aru_msgrcv =3D 0, ru_nsignals =3D 0, ru_nvcsw =3D 6414, ru_nivcsw =
=3D 38607927},
> =9Atd_runtime =3D 2179322361251400, td_pticks =3D 145105307, td_sticks =
=3D 7704049,
> =9Atd_iticks =3D 0, td_uticks =3D 0, td_uuticks =3D 0, td_usticks =3D 0,
> =9Atd_intrval =3D 0, td_oldsigmask =3D {__bits =3D {0, 0, 0, 0}}, td_sigm=
ask =3D {
> ---Type <return> to continue, or q <return> to quit---
> =9A =9A__bits =3D {0, 0, 0, 0}}, td_generation =3D 38614341, td_sigstk =
=3D {
> =9A =9Ass_sp =3D 0x0, ss_size =3D 0, ss_flags =3D 0}, td_kflags =3D 0, td=
_xsig =3D 0,
> =9Atd_profil_addr =3D 0, td_profil_ticks =3D 0, td_name =3D '\0' <repeats=
 19 times>,
> =9Atd_base_pri =3D 255 '=FF', td_priority =3D 255 '=FF', td_pri_class =3D=
 4 '\004',
> =9Atd_user_pri =3D 180 '=B4', td_base_user_pri =3D 180 '=B4',
> =9Atd_pcb =3D 0xfffffffe8005fd40, td_state =3D TDS_RUNNING, td_retval =3D=
 {0, 0},
> =9Atd_slpcallout =3D {c_links =3D {sle =3D {sle_next =3D 0x0}, tqe =3D {t=
qe_next =3D 0x0,
> =9A =9A =9A =9Atqe_prev =3D 0x0}}, c_time =3D 0, c_arg =3D 0x0, c_func =
=3D 0, c_mtx =3D 0x0,
> =9A =9Ac_flags =3D 16}, td_frame =3D 0xfffffffe8005fc80,
> =9Atd_kstack_obj =3D 0xffffff0001431740, td_kstack =3D 184467440672674775=
04,
> =9Atd_kstack_pages =3D 4, td_altkstack_obj =3D 0x0, td_altkstack =3D 0,
> =9Atd_altkstack_pages =3D 0, td_critnest =3D 2, td_md =3D {md_spinlock_co=
unt =3D 1,
> =9A =9Amd_saved_flags =3D 70}, td_sched =3D 0xffffff0001430d80, td_ar =3D=
 0x0,
> =9Atd_syscalls =3D 0, td_incruntime =3D 115662355444194,
> =9Atd_cpuset =3D 0xffffff0001424dc8, td_fpop =3D 0x0, td_dtrace =3D 0x0, =
td_errno =3D 0}
>
> (kgdb) p (struct proc) *0xffffff000142e478
> $16 =3D {p_list =3D {le_next =3D 0xffffff000142e8f0, le_prev =3D 0xffffff=
00014458f0},
> =9Ap_threads =3D {tqh_first =3D 0xffffff0001430a50, tqh_last =3D 0xffffff=
0001430a60},
> =9Ap_upcalls =3D {tqh_first =3D 0x0, tqh_last =3D 0xffffff000142e498}, p_=
slock =3D {
> =9A =9Alock_object =3D {lo_name =3D 0xffffffff808da2a3 "process slock",
> =9A =9A =9Alo_type =3D 0xffffffff808da2a3 "process slock", lo_flags =3D 7=
20896,
> =9A =9A =9Alo_witness_data =3D {lod_list =3D {stqe_next =3D 0x0}, lod_wit=
ness =3D 0x0}},
> =9A =9Amtx_lock =3D 4, mtx_recurse =3D 0}, p_ucred =3D 0xffffff0001300e00=
,
> =9Ap_fd =3D 0xffffff0001443400, p_fdtol =3D 0x0, p_stats =3D 0xffffff0001=
2ff600,
> =9Ap_limit =3D 0xffffff0001300c00, p_limco =3D {c_links =3D {sle =3D {sle=
_next =3D 0x0},
> =9A =9A =9Atqe =3D {tqe_next =3D 0x0, tqe_prev =3D 0x0}}, c_time =3D 0, c=
_arg =3D 0x0,
> =9A =9Ac_func =3D 0, c_mtx =3D 0xffffff000142e590, c_flags =3D 0},
> =9Ap_sigacts =3D 0xffffff000143e000, p_flag =3D 268435980, p_state =3D PR=
S_NORMAL,
> =9Ap_pid =3D 17, p_hash =3D {le_next =3D 0x0, le_prev =3D 0xfffffffe8021c=
088},
> =9Ap_pglist =3D {le_next =3D 0xffffff000142e8f0, le_prev =3D 0xffffff0001=
4459d8},
> =9Ap_pptr =3D 0xffffffff80b64640, p_sibling =3D {le_next =3D 0xffffff0001=
42e8f0,
> =9A =9Ale_prev =3D 0xffffff00014459f0}, p_children =3D {lh_first =3D 0x0}=
, p_mtx =3D {
> =9A =9Alock_object =3D {lo_name =3D 0xffffffff808da296 "process lock",
> =9A =9A =9Alo_type =3D 0xffffffff808da296 "process lock", lo_flags =3D 21=
168128,
> =9A =9A =9Alo_witness_data =3D {lod_list =3D {stqe_next =3D 0x0}, lod_wit=
ness =3D 0x0}},
> =9A =9Amtx_lock =3D 4, mtx_recurse =3D 0}, p_ksi =3D 0x0, p_sigqueue =3D =
{sq_signals =3D {
> =9A =9A =9A__bits =3D {0, 0, 0, 0}}, sq_kill =3D {__bits =3D {0, 0, 0, 0}=
}, sq_list =3D {
> =9A =9A =9Atqh_first =3D 0x0, tqh_last =3D 0xffffff000142e5e8},
> =9A =9Asq_proc =3D 0xffffff000142e478, sq_flags =3D 1}, p_oppid =3D 0,
> ---Type <return> to continue, or q <return> to quit---
> =9Ap_vmspace =3D 0xffffffff80b64e00, p_swtick =3D 0, p_realtimer =3D {it_=
interval =3D {
> =9A =9A =9Atv_sec =3D 0, tv_usec =3D 0}, it_value =3D {tv_sec =3D 0, tv_u=
sec =3D 0}}, p_ru =3D {
> =9A =9Aru_utime =3D {tv_sec =3D 0, tv_usec =3D 0}, ru_stime =3D {tv_sec =
=3D 0,
> =9A =9A =9Atv_usec =3D 0}, ru_maxrss =3D 0, ru_ixrss =3D 0, ru_idrss =3D =
0, ru_isrss =3D 0,
> =9A =9Aru_minflt =3D 0, ru_majflt =3D 0, ru_nswap =3D 0, ru_inblock =3D 0=
,
> =9A =9Aru_oublock =3D 0, ru_msgsnd =3D 0, ru_msgrcv =3D 0, ru_nsignals =
=3D 0,
> =9A =9Aru_nvcsw =3D 0, ru_nivcsw =3D 0}, p_rux =3D {rux_runtime =3D 20636=
60005807206,
> =9A =9Arux_uticks =3D 0, rux_sticks =3D 137401258, rux_iticks =3D 0, rux_=
uu =3D 0,
> =9A =9Arux_su =3D 371936150861, rux_tu =3D 1034416043011}, p_crux =3D {ru=
x_runtime =3D 0,
> =9A =9Arux_uticks =3D 0, rux_sticks =3D 0, rux_iticks =3D 0, rux_uu =3D 0=
, rux_su =3D 0,
> =9A =9Arux_tu =3D 0}, p_profthreads =3D 0, p_exitthreads =3D 0, p_tracefl=
ag =3D 0,
> =9Ap_tracevp =3D 0x0, p_tracecred =3D 0x0, p_textvp =3D 0x0, p_lock =3D 0=
 '\0',
> =9Ap_sigiolst =3D {slh_first =3D 0x0}, p_sigparent =3D 20, p_sig =3D 0, p=
_code =3D 0,
> =9Ap_stops =3D 0, p_stype =3D 0, p_step =3D 0 '\0', p_pfsflags =3D 0 '\0'=
,
> =9Ap_nlminfo =3D 0x0, p_aioinfo =3D 0x0, p_singlethread =3D 0x0, p_suspco=
unt =3D 0,
> =9Ap_xthread =3D 0x0, p_boundary_count =3D 0, p_pendingcnt =3D 0, p_itime=
rs =3D 0x0,
> =9Ap_numupcalls =3D 0, p_upsleeps =3D 0, p_completed =3D 0x0, p_nextupcal=
l =3D 0,
> =9Ap_upquantum =3D 0, p_magic =3D 3203398350, p_osrel =3D 702000,
> =9Ap_comm =3D "idle: cpu1\000\000\000\000\000\000\000\000\000",
> =9Ap_pgrp =3D 0xffffffff80b65060, p_sysent =3D 0xffffffff80ad4d80, p_args=
 =3D 0x0,
> =9Ap_cpulimit =3D 9223372036854775807, p_nice =3D 0 '\0', p_fibnum =3D 0,
> =9Ap_xstat =3D 0, p_klist =3D {kl_list =3D {slh_first =3D 0x0},
> =9A =9Akl_lock =3D 0xffffffff804f65d0 <knlist_mtx_lock>,
> ---Type <return> to continue, or q <return> to quit---
> =9A =9Akl_unlock =3D 0xffffffff804f5ff0 <knlist_mtx_unlock>,
> =9A =9Akl_locked =3D 0xffffffff804f5fd0 <knlist_mtx_locked>,
> =9A =9Akl_lockarg =3D 0xffffff000142e590}, p_numthreads =3D 1,
> =9Ap_md =3D <incomplete type>, p_itcallout =3D {c_links =3D {sle =3D {sle=
_next =3D 0x0},
> =9A =9A =9Atqe =3D {tqe_next =3D 0x0, tqe_prev =3D 0x0}}, c_time =3D 0, c=
_arg =3D 0x0,
> =9A =9Ac_func =3D 0, c_mtx =3D 0x0, c_flags =3D 16}, p_acflag =3D 1, p_pe=
ers =3D 0x0,
> =9Ap_leader =3D 0xffffff000142e478, p_emuldata =3D 0x0, p_label =3D 0x0,
> =9Ap_sched =3D 0xffffff000142e8f0, p_ktr =3D {stqh_first =3D 0x0,
> =9A =9Astqh_last =3D 0xffffff000142e8d0}, p_mqnotifier =3D {lh_first =3D =
0x0},
> =9Ap_dtrace =3D 0x0}
>
>
> db> show allpcpu
> Current CPU: 1
>
> cpuid =9A =9A =9A =9A=3D 0
> curthread =9A =9A=3D 0xffffff00014306e0: pid 18 "idle: cpu0"
> curpcb =9A =9A =9A =3D 0xfffffffe80064d40
> fpcurthread =9A=3D none
> idlethread =9A =3D 0xffffff00014306e0: pid 18 "idle: cpu0"
>
> cpuid =9A =9A =9A =9A=3D 1
> curthread =9A =9A=3D 0xffffff0001430a50: pid 17 "idle: cpu1"
> curpcb =9A =9A =9A =3D 0xfffffffe8005fd40
> fpcurthread =9A=3D none
> idlethread =9A =3D 0xffffff0001430a50: pid 17 "idle: cpu1"
>
> cpuid =9A =9A =9A =9A=3D 2
> curthread =9A =9A=3D 0xffffff000143c000: pid 16 "idle: cpu2"
> curpcb =9A =9A =9A =3D 0xfffffffe8005ad40
> fpcurthread =9A=3D none
> idlethread =9A =3D 0xffffff000143c000: pid 16 "idle: cpu2"
>
> cpuid =9A =9A =9A =9A=3D 3
> curthread =9A =9A=3D 0xffffff000143c370: pid 15 "idle: cpu3"
> curpcb =9A =9A =9A =3D 0xfffffffe80055d40
> fpcurthread =9A=3D none
> idlethread =9A =3D 0xffffff000143c370: pid 15 "idle: cpu3"
>
> cpuid =9A =9A =9A =9A=3D 4
> curthread =9A =9A=3D 0xffffff000143c6e0: pid 14 "idle: cpu4"
> curpcb =9A =9A =9A =3D 0xfffffffe80050d40
> fpcurthread =9A=3D none
> idlethread =9A =3D 0xffffff000143c6e0: pid 14 "idle: cpu4"
>
> cpuid =9A =9A =9A =9A=3D 5
> curthread =9A =9A=3D 0xffffff000144e370: pid 20 "swi4: clock sio"
> curpcb =9A =9A =9A =3D 0xfffffffe8006fd40
> fpcurthread =9A=3D none
> idlethread =9A =3D 0xffffff000142f000: pid 13 "idle: cpu5"
>
> cpuid =9A =9A =9A =9A=3D 6
> curthread =9A =9A=3D 0xffffff000142f370: pid 12 "idle: cpu6"
> curpcb =9A =9A =9A =3D 0xfffffffe80046d40
> fpcurthread =9A=3D none
> idlethread =9A =3D 0xffffff000142f370: pid 12 "idle: cpu6"
>
> cpuid =9A =9A =9A =9A=3D 7
> curthread =9A =9A=3D 0xffffff000142f6e0: pid 11 "idle: cpu7"
> curpcb =9A =9A =9A =3D 0xfffffffe80041d40
> fpcurthread =9A=3D none
> idlethread =9A =3D 0xffffff000142f6e0: pid 11 "idle: cpu7"
>
>
> --
> wbr,
> pluknet
>



--=20
wbr,
pluknet



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