ncplogin panic

m.ehinger at ltur.de m.ehinger at ltur.de
Wed Aug 2 15:35:32 UTC 2006


> Can you jump to the 'selrecord' frame and do 'p selector->td_selq' and
> 'p *sip'?

Here is what i get.

(kgdb) up 7
#7  0xc068a3fc in selrecord (selector=0xc33f9a80, sip=0xc363a8a8) at /usr/src/sys/kern/sys_generic.c:1105
1105                                 TAILQ_INSERT_TAIL(&selector->td_selq, sip, si_thrlist);
(kgdb) p selector->td_selq
$1 = {
  tqh_first = 0x0,
  tqh_last = 0x0
}
(kgdb) p *sip
$2 = {
  si_thrlist = {
    tqe_next = 0x0,
    tqe_prev = 0x0
  },
  si_thread = 0xc33f9a80,
  si_note = {
    kl_list = {
      slh_first = 0x0
    },
    kl_lock = 0xc064bf08 <knlist_mtx_lock>,
    kl_unlock = 0xc064bf3c <knlist_mtx_unlock>,
    kl_locked = 0xc064bf78 <knlist_mtx_locked>,
    kl_lockarg = 0xc363a8cc
  },
  si_flags = 0x0
}
(kgdb)



More information about the freebsd-stable mailing list