From owner-freebsd-amd64@FreeBSD.ORG Mon Sep 12 12:57:15 2005 Return-Path: X-Original-To: freebsd-amd64@FreeBSD.org Delivered-To: freebsd-amd64@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A40016A41F for ; Mon, 12 Sep 2005 12:57:15 +0000 (GMT) (envelope-from david@jetnet.co.uk) Received: from kosh.jetnet.co.uk (kosh.jetnet.co.uk [80.87.128.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3031243D48 for ; Mon, 12 Sep 2005 12:57:15 +0000 (GMT) (envelope-from david@jetnet.co.uk) Received: from localhost (localhost [127.0.0.1]) by kosh.jetnet.co.uk (Postfix) with ESMTP id 7F44B21A01 for ; Mon, 12 Sep 2005 12:57:14 +0000 (GMT) Received: from kosh.jetnet.co.uk ([127.0.0.1]) by localhost (mail.jetnet.co.uk [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 33777-02 for ; Mon, 12 Sep 2005 12:57:10 +0000 (GMT) Received: from [192.168.0.100] (82-69-108-39.dsl.in-addr.zen.co.uk [82.69.108.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by kosh.jetnet.co.uk (Postfix) with ESMTP id 9C414219FB for ; Mon, 12 Sep 2005 12:57:10 +0000 (GMT) Message-ID: <43257B26.20809@jetnet.co.uk> Date: Mon, 12 Sep 2005 13:57:10 +0100 From: David Reid User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050908) X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD AMD64 Mailing List References: <4324B202.3040908@jetnet.co.uk> In-Reply-To: <4324B202.3040908@jetnet.co.uk> X-Enigmail-Version: 0.92.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at jetnet.co.uk Cc: Subject: Re: reboots X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 12:57:15 -0000 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