Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Feb 2012 15:14:36 -0500
From:      Ryan Stone <rysto32@gmail.com>
To:        Vijay Singh <vijju.singh@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Panic in 8.1 in softclock(): mutex Giant not owned at ../../../../sys/kern/kern_mutex.c:185
Message-ID:  <CAFMmRNwoFPidW8bZn0wpFn3J9e9bA3omjcZysp5V4Pec2VuW2Q@mail.gmail.com>
In-Reply-To: <CALCNsJRVsuRxX6u_oOqymBGhSjCe7EwihiT88PGaiWQbOZ_TxQ@mail.gmail.com>
References:  <CALCNsJQEyr17UN6f7bz=6Qqs6=j_Otdk66NhUh8HbtbyvacT=Q@mail.gmail.com> <201111081005.43851.jhb@freebsd.org> <CALCNsJRVsuRxX6u_oOqymBGhSjCe7EwihiT88PGaiWQbOZ_TxQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 15, 2012 at 10:20 PM, Vijay Singh <vijju.singh@gmail.com> wrote:
> I hit the assert in line 405. So right after locking Giant, it is
> found unlocked!!!

Try running kldload/kldunload with INVARIANTS enabled.  I would
suspect that you're hitting a case where the kldload code is unlocking
Giant when it doesn't own it.



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