6.0 BETA3 reboot hangs on SMP system if BIOS USB disabled

Mark Kirkwood markir at paradise.net.nz
Thu Sep 1 00:59:16 GMT 2005


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 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
> _______________________________________________
> freebsd-smp at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-smp
> To unsubscribe, send any mail to "freebsd-smp-unsubscribe at freebsd.org"
> 
> 



More information about the freebsd-smp mailing list