9.0-Release and Asus P5-NE motherboard

John Baldwin jhb at freebsd.org
Fri Jan 20 14:52:53 UTC 2012


On Friday, January 20, 2012 8:21:28 am Matthieu Volat wrote:
> Hello,
> 
> For a week, I have been trying to boot the FreeBSD 9 installation media 
(usb, cdrom) on a computer with an Asus P5-NE motherboard (amd64, nvidia MCP51 
controller), but the kernel fails to initialize correctly.

I think the problem is with the nvidia chipset and MSI support.  There's not
an easy way to fix it via a tunable unfortunately.  You can try hacking
sys/dev/pci/pci.c to disable this code:

#if defined(__i386__) || defined(__amd64__) || defined(__powerpc__)
	/*
	 * Enable the MSI mapping window for all HyperTransport
	 * slaves.  PCI-PCI bridges have their windows enabled via
	 * PCIB_MAP_MSI().
	 */
	if (cfg->ht.ht_slave != 0 && cfg->ht.ht_msimap != 0 &&
	    !(cfg->ht.ht_msictrl & PCIM_HTCMD_MSI_ENABLE)) {
		device_printf(pcib,
	    "Enabling MSI window for HyperTransport slave at pci%d:%d:%d:%d\n",
		    cfg->domain, cfg->bus, cfg->slot, cfg->func);
		 cfg->ht.ht_msictrl |= PCIM_HTCMD_MSI_ENABLE;
		 WREG(cfg->ht.ht_msimap + PCIR_HT_COMMAND, cfg->ht.ht_msictrl,
		     2);
	}
#endif

-- 
John Baldwin


More information about the freebsd-stable mailing list