From owner-freebsd-current@FreeBSD.ORG Mon Oct 13 00:20:50 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B7671065688; Mon, 13 Oct 2008 00:20:50 +0000 (UTC) (envelope-from mcdouga9@egr.msu.edu) Received: from mx.egr.msu.edu (surfnturf.egr.msu.edu [35.9.37.164]) by mx1.freebsd.org (Postfix) with ESMTP id D32E58FC18; Mon, 13 Oct 2008 00:20:49 +0000 (UTC) (envelope-from mcdouga9@egr.msu.edu) Received: from localhost (localhost [127.0.0.1]) by mx.egr.msu.edu (Postfix) with ESMTP id DA8E971FC2B; Sun, 12 Oct 2008 20:20:48 -0400 (EDT) X-Virus-Scanned: amavisd-new at egr.msu.edu Received: from mx.egr.msu.edu ([127.0.0.1]) by localhost (surfnturf.egr.msu.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FpRFa4vU4BIv; Sun, 12 Oct 2008 20:20:48 -0400 (EDT) Received: from localhost (daemon.egr.msu.edu [35.9.44.65]) by mx.egr.msu.edu (Postfix) with ESMTP id B923271FC12; Sun, 12 Oct 2008 20:20:48 -0400 (EDT) Received: by localhost (Postfix, from userid 21281) id A3E03971; Sun, 12 Oct 2008 20:20:48 -0400 (EDT) Date: Sun, 12 Oct 2008 20:20:48 -0400 From: Adam McDougall To: Alexander Motin Message-ID: <20081013002048.GA61867@egr.msu.edu> References: <1222644184.00019171.1222632003@10.7.7.3> <1222809781.00019960.1222796402@10.7.7.3> <1223436192.00023068.1223424004@10.7.7.3> <48F27114.2090405@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48F27114.2090405@FreeBSD.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD-Current Subject: Re: Hard crash with new snd_hda. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 00:20:50 -0000 On Mon, Oct 13, 2008 at 12:50:12AM +0300, Alexander Motin wrote: Adam McDougall wrote: > Alexander Motin wrote: >> Frank Mayhar wrote: >>> Fatal trap 12: page fault while in kernel mode >>> cpuid = 1; apic id = 01 >>> fault virtual address = 0x14 >>> fault code = supervisor read, page not present >> > I think I am having a similar issue, discovered it on a new model Dell > Latitude E6500. It is probably seeing a codec for HDMI and modem in > addition to the normal sound. Sound works if I patch the old hda driver > to detect my codec on 7.1, but I just got 8 installed last night. If I > have KDB_UNATTENDED and a dumpdev, it either hangs at the beginning of > the dump or reboots almost immediately after the panic. I can try to > hook up a serial or firewire console later and gather more info, but > tonight I might be too busy. In the meantime, here are two screenshots > of the panic and the backtrace: > http://www.egr.msu.edu/~mcdouga9/pics/1007081830.jpg > http://www.egr.msu.edu/~mcdouga9/pics/1007081831.jpg I have managed to artificially reproduce your situation and I think my recent patch just committed to 8-CURRENT should fix the problem. Report me the results please. -- Alexander Motin Thanks, I tried it and it works! I didn't have to patch codec information into the driver to make my laptop speakers work, and they were selected by default (lucky for me). I did not test headphones yet, but I will later. I plan on comparing the old hda driver with the new one and see what patches would be appropriate to submit to clean up some of the "Unknown"s when I have a chance. hdac0: hdac0: hdac0: pcm0: on hdac0 pcm1: on hdac0 pcm2: on hdac0