Re: couldn't map memory

"M. Warner Losh" <[email protected]>
Newsgroups gmane.os.freebsd.questions,gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
In message: <[email protected]>
            "Richard Lynch" <[email protected]> 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.