couldn't map memory
M. Warner Losh
imp at bsdimp.com
Sun Sep 19 22:48:15 PDT 2004
In message: <1217.66.243.145.38.1095462204.squirrel at www.l-i-e.com>
"Richard Lynch" <ceo at l-i-e.com> writes:
: The bfe_attach function which is getting registered with the Device as a
: callback is being called, and eventually reaches the line where it
: attempts to do:
: sc->bfe_res = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, 0, ~0, 1,
: RF_ACTIVE);
:
: It is at this point that it is then printing out "Could not map memory"
:
: Now, I had already tried setting hints for maddr and msize to the values
: being used by Windows, in the hope that they would also be good numbers
: for FreeBSD.
:
: However, one thing I'm not sure of -- Do those "hints" affect a Module, or
: would they only apply to something built in to the kernel?
No. hints aren't used by pci at all.
: Sep 17 00:31:09 kernel: cbb0: <PCI-CardBus Bridge> at device 4.0 on pci2
: Sep 17 00:31:09 kernel: cbb0: pccbb.c Could not grab register memory
: Sep 17 00:31:09 kernel: device_probe_and_attach: cbb0 attach returned 12
: Sep 17 00:31:09 kernel: cbb0: <PCI-CardBus Bridge> at device 4.1 on pci2
: Sep 17 00:31:09 kernel: cbb0: pccbb.c Could not grab register memory
: Sep 17 00:31:09 kernel: device_probe_and_attach: cbb0 attach returned 12
: Sep 17 00:31:09 kernel: fwohci0: vendor=104c, dev=802e
: Sep 17 00:31:09 kernel: fwohci0: <1394 Open Host Controller Interface>
: mem 0xe0200000-0xe0203fff,0xe0209000-0xe02097ff irq 10 at device 4.2 on
: pci2
: Sep 17 00:31:09 kernel: fwohci0: Could not map memory
: Sep 17 00:31:09 kernel: device_probe_and_attach: fwohci0 attach returned 6
: Sep 17 00:31:09 kernel: sc->bfe_miibus is NULL.
: Sep 17 00:31:09 kernel: bfe0: <Broadcom BCM4401-B0 Fast Ethernet> mem
: 0xe0206000-0xe0207fff irq 10 at device 5.0 on pci2
: Sep 17 00:31:09 kernel: bfe0: couldn't map memory
: Sep 17 00:31:09 kernel: device_probe_and_attach: bfe0 attach returned 6
This looks a more general problem.
Warner
More information about the freebsd-mobile
mailing list