Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Sep 2005 13:57:10 +0100
From:      David Reid <david@jetnet.co.uk>
To:        FreeBSD AMD64 Mailing List <freebsd-amd64@FreeBSD.org>
Subject:   Re: reboots
Message-ID:  <43257B26.20809@jetnet.co.uk>
In-Reply-To: <4324B202.3040908@jetnet.co.uk>
References:  <4324B202.3040908@jetnet.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
David Reid wrote:
> Following a recent commit to the sound driver my system (-CURRENT)
> started rebooting when gnome started. The eventual cause turned out be
> as (seemingly) innocent as the following call
> 
> snd_mtxassert(d->lock);
> [line 169 sys/dev/sound/pcm/sound.c]
> 
> defined as
> 
> void
> snd_mtxassert(void *m)
> {
> #ifdef USING_MUTEX
> #ifdef INVARIANTS
>         struct mtx *mtx = m;
> 
>         mtx_assert(mtx, MA_OWNED);
> #endif
> #endif
> }
> 
> This code runs OK on i386 (the developer who tested and committed said
> that's what he was running), so given that it didn't cause problems
> there, but does on my system I wondered if it might be somehow related
> to the issues I see when mounting music CD's? When the system reboots
> there is nothing written to the syslog and no sign of a kernel panic.
> 
> I'm open to suggestions on how to further debug this :-)

Added a DVD-rom to the machine today, and the simple action of opening
the drawer, inserting a dvd and closing the drawer results in a reboot!

Again, no panics and nothing in the logs :-(

david



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