Date: Mon, 22 Sep 2003 16:40:07 -0700 From: Michael Sierchio <kudzu@tenebras.com> To: patrick@filespanker.com Cc: freebsd-stable@FreeBSD.ORG Subject: Re: pcm0 freezes computer with recent -STABLE Message-ID: <3F6F8857.200@tenebras.com> In-Reply-To: <200309221701.55421.patrick@filespanker.com> References: <200309221701.55421.patrick@filespanker.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 ----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F6F8857.200>
