From owner-freebsd-amd64@FreeBSD.ORG Sun Sep 11 22:39:03 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 DD02E16A41F for ; Sun, 11 Sep 2005 22:39:03 +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 7775A43D45 for ; Sun, 11 Sep 2005 22:39:03 +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 1C1F821088 for ; Sun, 11 Sep 2005 22:39:03 +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 27384-02 for ; Sun, 11 Sep 2005 22:39:00 +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 4E15C20A81 for ; Sun, 11 Sep 2005 22:39:00 +0000 (GMT) Message-ID: <4324B202.3040908@jetnet.co.uk> Date: Sun, 11 Sep 2005 23:38:58 +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 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: 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: Sun, 11 Sep 2005 22:39:04 -0000 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