6.0 BETA3 reboot hangs on SMP system if BIOS USB disabled
M. Warner Losh
imp at bsdimp.com
Wed Aug 31 20:18:56 GMT 2005
In message: <200508311556.19878.jhb at FreeBSD.org>
John Baldwin <jhb at FreeBSD.org> writes:
: Yes, that's ok.
OK. I think that the following is sufficient. Please test and let me
know.
Index: pci.c
===================================================================
RCS file: /cache/ncvs/src/sys/dev/pci/pci.c,v
retrieving revision 1.292
diff -u -r1.292 pci.c
--- pci.c 3 Jun 2005 19:41:06 -0000 1.292
+++ pci.c 31 Aug 2005 20:12:36 -0000
@@ -826,9 +826,14 @@
* If base is 0, then we have problems. It is best to ignore
* such entries for the moment. These will be allocated later if
* the driver specifically requests them.
+ *
+ * Similarlly treat maps whose values is the same as the test value
+ * read back. These maps have had all f's written to them by the
+ * BIOS in an attempt to disable the resources.
*/
- if (base == 0)
+ if (base == 0 || map == testval)
return 1;
+
/*
* This code theoretically does the right thing, but has
* undesirable side effects in some cases where peripherals
Warner
More information about the freebsd-smp
mailing list