From owner-freebsd-current@FreeBSD.ORG Fri May 15 18:59:16 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1CA141BB for ; Fri, 15 May 2015 18:59:16 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EC3F6153A for ; Fri, 15 May 2015 18:59:15 +0000 (UTC) Received: from ralph.baldwin.cx (pool-173-54-116-245.nwrknj.fios.verizon.net [173.54.116.245]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 2E96CB915; Fri, 15 May 2015 14:59:14 -0400 (EDT) From: John Baldwin To: David Wolfskill Cc: freebsd-current@freebsd.org Subject: Re: Deja vu: panic in hdaa_coonfigure() for i386, but not amd64 -- again Date: Fri, 15 May 2015 14:59:10 -0400 Message-ID: <1567746.I7cSSt5lv5@ralph.baldwin.cx> User-Agent: KMail/4.14.3 (FreeBSD/10.1-STABLE; KDE/4.14.3; amd64; ; ) In-Reply-To: <20150515183956.GU1215@albert.catwhisker.org> References: <20150509142751.GV1158@albert.catwhisker.org> <3725154.XnIHrZucd0@ralph.baldwin.cx> <20150515183956.GU1215@albert.catwhisker.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 15 May 2015 14:59:14 -0400 (EDT) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Fri, 15 May 2015 18:59:16 -0000 On Friday, May 15, 2015 11:39:56 AM David Wolfskill wrote: > On Fri, May 15, 2015 at 11:40:44AM -0400, John Baldwin wrote: > > On Saturday, May 09, 2015 07:27:51 AM David Wolfskill wrote: > > > Ref. -- > > > similar symptoms. And again, I captured screenshots on a phone, but > > > FreeBSD doesn't seem to recognize the (USB-attached) phone as something > > > that might act like a file system (I guess; I'm a bit new to > > > "smartphones"). > > > > > > In this case, my starting-point was r282623; sources were updated to > > > r282676. I was able to update from: > > ... > > > Stopped at ... = hdaa_configure+0x14af: movb 0x3,%dl > > > > Can you do 'l *hdaa_configure+0x14af' in gdb against the kernel.debug? > > Perhaps set 'hint.hdac.0.disabled=1' at the loader prompt as a temporary > > workaround to boot if needed? > > ... > > 'hint.hdac.0.disabled=1' appended to /boot/device.hints temporarily. > > now running: > FreeBSD localhost 11.0-CURRENT FreeBSD 11.0-CURRENT #1597 r282948M/282952:1100073: Fri May 15 09:13:17 PDT 2015 root@g1-254.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY i386 > > Info you requested: > > (gdb) l *hdaa_configure+0x14af > 0xc08c8e3f is in hdaa_configure (/usr/src/sys/dev/sound/pci/hda/hdaa.c:3280). > 3275 as[cnt].pincnt++; > 3276 /* Association 15 is a multiple unassociated pins. */ > 3277 if (j == 15) > 3278 cnt++; > 3279 } > 3280 if (j != 15 && as[cnt].pincnt > 0) { > 3281 if (hpredir && as[cnt].pincnt > 1) > 3282 as[cnt].hpredir = first; > 3283 cnt++; > 3284 } > (gdb) Hummm, the only recent change is 281544, but that should be in your working kernel. It does mess with the layout of pins though so maybe try reverting it anyway? It might also be worth trying to revert just the one commit you identified earlier. It just seems odd for 'as[cnt]' to fault here but not earlier. -- John Baldwin