From owner-freebsd-mobile@FreeBSD.ORG Mon Sep 20 05:48:15 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5607D16A4CE; Mon, 20 Sep 2004 05:48:15 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6B2F43D3F; Mon, 20 Sep 2004 05:48:14 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (harmony.village.org [10.0.0.6]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id i8K5kVRR055285; Sun, 19 Sep 2004 23:46:32 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 19 Sep 2004 23:47:29 -0600 (MDT) Message-Id: <20040919.234729.72994632.imp@bsdimp.com> To: ceo@l-i-e.com From: "M. Warner Losh" 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> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-questions@FreeBSD.ORG cc: freebsd-mobile@FreeBSD.ORG Subject: Re: couldn't map memory X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2004 05:48:15 -0000 In message: <1217.66.243.145.38.1095462204.squirrel@www.l-i-e.com> "Richard Lynch" 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: 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: 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: 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