git: pci: Support PCI Express Configuration Space memory-mapped access mechanism

YONETANI Tomokazu y0n3t4n1 at gmail.com
Thu May 24 02:15:40 PDT 2012


On Thu, May 24, 2012 at 09:25:33AM +0800, Sepherosa Ziehau wrote:
> >> http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/926777f68f1249ebbd1561eecc6fa75576bd4e10
> >
> > This commit causes D510MO (an Atom D510-based mini-ITX machine) to hang
> > during boot where it usually prints the following on the screen
> > (I don't remember the map[] lines are fully shown).  The lastest master
> > (db421eef8) with `git revert 926777f6' boots OK.
> 
> Does set tunable hw.pci.mcfg to 0 help?

Aha, 926777f6 has changed the default value of hw.pci.mcfg to 1.
I overlooked that when I was looking at the patch.  After adding
hw.pci.mcfg=0 to /boot/loader.conf, the box booted without a problem.

> Physical memory chunk(s):
0x00020000 - 0x0007ffff, 393216 bytes (96 pages)
0x00100000 - 0x001fffff, 1048576 bytes (256 pages)
0x03540000 - 0xcee9ffff, 3415605248 bytes (833888 pages)
0xceec0000 - 0xcef3ffff, 524288 bytes (128 pages)
0xcefc0000 - 0xcefdffff, 131072 bytes (32 pages)
0x100000000 - 0x12ffdffff, 805175296 bytes (196576 pages)
avail memory = 3935059968 (3752 MB)

Best Regards,
YONETANI Tomokazu.





More information about the Commits mailing list