Date: Sun, 19 Sep 2004 23:47:29 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: ceo@l-i-e.com Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: couldn't map memory Message-ID: <20040919.234729.72994632.imp@bsdimp.com> In-Reply-To: <1217.66.243.145.38.1095462204.squirrel@www.l-i-e.com> References: <1361.66.243.145.38.1094337785.squirrel@www.l-i-e.com> <1217.66.243.145.38.1095462204.squirrel@www.l-i-e.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <1217.66.243.145.38.1095462204.squirrel@www.l-i-e.com> "Richard Lynch" <ceo@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040919.234729.72994632.imp>