Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Sep 2005 23:38:58 +0100
From:      David Reid <david@jetnet.co.uk>
To:        FreeBSD AMD64 Mailing List <freebsd-amd64@FreeBSD.org>
Subject:   reboots
Message-ID:  <4324B202.3040908@jetnet.co.uk>

next in thread | raw e-mail | index | archive | help
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 :-)

david



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