From owner-freebsd-mobile@FreeBSD.ORG Thu Dec 18 09:41:11 2003 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 3790316A4CF for ; Thu, 18 Dec 2003 09:41:11 -0800 (PST) Received: from postal2.es.net (proxy.es.net [198.128.3.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BC7D43DC7 for ; Thu, 18 Dec 2003 09:39:36 -0800 (PST) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal2.es.net (Postal Node 2) with ESMTP (SSL) id IBA74465; Thu, 18 Dec 2003 09:39:34 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 4D4C15D08; Thu, 18 Dec 2003 09:39:33 -0800 (PST) To: osa@FreeBSD.org.ru In-Reply-To: Message from "Sergey A. Osokin" <20031218122144.GC23446@freebsd.org.ru> Date: Thu, 18 Dec 2003 09:39:33 -0800 From: "Kevin Oberman" Message-Id: <20031218173933.4D4C15D08@ptavv.es.net> cc: freebsd-mobile@freebsd.org Subject: Re: How to find a right value for hw.cbb.start_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: Thu, 18 Dec 2003 17:41:11 -0000 > Date: Thu, 18 Dec 2003 15:21:44 +0300 > From: "Sergey A. Osokin" > Sender: owner-freebsd-mobile@freebsd.org > > Hello, > Does anyone have an idea how to find a right value for > hw.cbb.start_memory? > > I use a 3Com Megahertz 56K Modem (3CXM756) with > my HP 6100 Omnibook notebook and with > device pcic > device card 1 > works fine. > > Part of verbose boot: > pcib2: device pccard0 requested decoded memory range 0xd0000-0xd0000 > pcic: mem addr 0xd0000: reg 48: d0 0 d0 0 0 7f 10 > pcic: mem addr 0: reg 48: 0 0 0 0 0 0 0 > ... > pcib2: device pccard0 requested decoded I/O range 0x3f8-0x3ff > pcib2: device pccard0 requested decoded I/O range 0x2f8-0x2ff > ... > pccard0: Assigning sio4: io 0x2f8-0x2ff irq 10 flags 0x0 > pcib2: device sio4 requested decoded I/O range 0x2f8-0x2ff > pcic: I/O win 0 flags 11 2f8-2ff > pcic: I/O win 0 flags 1 2f8-2ff > sio4 at port 0x2f8-0x2ff irq 10 slot 0 on pccard0 > pcib2: device sio4 requested decoded I/O range 0x2f8-0x2ff > pcic: I/O win 0 flags 11 2f8-2ff > sio4: type 16550A > sio4: Forcing IRQ to 10 > sio4: unable to activate interrupt in fast mode - using normal mode > > I tried to use > device cbb > device pccard > device cardbus > but its don't work for me: > pcib2: device pccard0 requested decoded memory range 0x88000000-0xffffffff > CIS is too long -- truncating > pccard0: Card has no functions! > cbb0: PC Card card activation failed > > Also I tried to change hw.cbb.start_memory to 0xd0202000, > but it don't help me. hw.cbb.start_memory ust be greater than the actual DRAM on the system. So if you have 512 MB of memory (as I do), a working value will be at least 0x20000000. It might need to be higher. For 768M, start at 0x30000000 and if you have 1 GB, start at 0x40000000. I have 512 MB and set it at 0x20000000. I see agp at 0xe0000000, cbb0 at 0x50000000, cbb1 at 0x51000000 and fxp0 at 0xd0200000. I I tried starting at 0xd0202000, I would not have space for everything. You may also need hw.pci.allow_unsupported_io_range="1". -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634