Date: Thu, 01 Sep 2005 12:59:10 +1200 From: Mark Kirkwood <markir@paradise.net.nz> To: "M. Warner Losh" <imp@bsdimp.com> Cc: freebsd-smp@freebsd.org Subject: Re: 6.0 BETA3 reboot hangs on SMP system if BIOS USB disabled Message-ID: <4316525E.7070903@paradise.net.nz> In-Reply-To: <20050831.141812.45157237.imp@bsdimp.com> References: <200508301623.57973.jhb@FreeBSD.org> <20050830.150750.91757991.imp@bsdimp.com> <200508311556.19878.jhb@FreeBSD.org> <20050831.141812.45157237.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Just tested now - Reboots correctly with usb disabled (also checked I had not fiddled with hw.pci.enable_io_modes). Cheers Mark M. Warner Losh wrote: > In message: <200508311556.19878.jhb@FreeBSD.org> > John Baldwin <jhb@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 > _______________________________________________ > freebsd-smp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-smp > To unsubscribe, send any mail to "freebsd-smp-unsubscribe@freebsd.org" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4316525E.7070903>