Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Feb 2012 21:52:58 -0800
From:      Julian Elischer <julian@freebsd.org>
To:        FreeBSD Stable <freebsd-stable@freebsd.org>, FreeBSD Current <current@freebsd.org>
Subject:   kernel debugging and ULE
Message-ID:  <4F2F6ABA.2020809@freebsd.org>

next in thread | raw e-mail | index | archive | help
so if I'm sitting still in the debugger for too long, a hardclock
event happens that goes into ULE, which then hits the following KASSERT.


                KASSERT(pri >= PRI_MIN_BATCH && pri <= PRI_MAX_BATCH,
                     ("sched_priority: invalid priority %d: nice %d, "
                     "ticks %d ftick %d ltick %d tick pri %d",
                     pri, td->td_proc->p_nice, td->td_sched->ts_ticks,
                     td->td_sched->ts_ftick, td->td_sched->ts_ltick,
                     SCHED_PRI_TICKS(td->td_sched)));


The reason seems to be that I've been sitting still for too long and 
things have become pear shaped.


how is it that being in the debugger doesn't stop hardclock events?
is there something I can do to make them not happen..
It means I have to ge tmy debugging done in less than about 60 seconds.

suggesions welcome.


Julian



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