From owner-freebsd-stable@FreeBSD.ORG Mon Sep 22 16:40:13 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E61416A4B3 for ; Mon, 22 Sep 2003 16:40:13 -0700 (PDT) Received: from tenebras.com (laptop.tenebras.com [66.92.188.18]) by mx1.FreeBSD.org (Postfix) with SMTP id 5F5AD43FD7 for ; Mon, 22 Sep 2003 16:40:12 -0700 (PDT) (envelope-from kudzu@tenebras.com) Received: (qmail 67751 invoked from network); 22 Sep 2003 23:40:11 -0000 Received: from sapphire.tenebras.com (HELO tenebras.com) (192.168.188.241) by laptop.tenebras.com with SMTP; 22 Sep 2003 23:40:11 -0000 Message-ID: <3F6F8857.200@tenebras.com> Date: Mon, 22 Sep 2003 16:40:07 -0700 From: Michael Sierchio User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, zh-tw, zh-cn, fr, en, de-de MIME-Version: 1.0 To: patrick@filespanker.com References: <200309221701.55421.patrick@filespanker.com> In-Reply-To: <200309221701.55421.patrick@filespanker.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-stable@FreeBSD.ORG Subject: Re: pcm0 freezes computer with recent -STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2003 23:40:13 -0000 Patrick C wrote: > I just cvsup'd Sept 21, installed everything today... kernel freezes when > detecting pcm0 during boot. After removing my soundcard, I'm able to boot no > problem. Any major changes to pcm0 in -STABLE lately? This happened intermittently to my Dell Inspiron -- there is a bug in the pcibus.c device probe, actually. See if the following cures it. Warner supposedly had a more correct revision, but I don't think it's been mfc'd. *** pcibus.c.orig Mon Sep 22 16:36:04 2003 --- pcibus.c Mon Sep 22 16:36:14 2003 *************** *** 260,264 **** --- 260,270 ---- retry: for (probe.slot = 0; probe.slot <= PCI_SLOTMAX; probe.slot++) { + u_int32_t id; + probe.func = 0; + id = pci_cfgread(&probe, PCIR_DEVVENDOR, 4); + if (id == -1) + continue; + hdrtype = pci_cfgread(&probe, PCIR_HEADERTYPE, 1); if (hdrtype & PCIM_MFDEV && (!found_orion || hdrtype != 0xff) ) *************** *** 272,276 **** * Read the IDs and class from the device. */ - u_int32_t id; u_int8_t class, subclass, busnum; device_t child; --- 278,281 ----