From owner-cvs-all@FreeBSD.ORG Sat Nov 29 10:16:14 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE4D516A4CE; Sat, 29 Nov 2003 10:16:14 -0800 (PST) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id F186243FAF; Sat, 29 Nov 2003 10:15:21 -0800 (PST) (envelope-from andreas@klemm.apsfilter.org) Received: from srv1.cosmo-project.de (localhost [IPv6:::1]) hATIFDvq092959 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 29 Nov 2003 19:15:14 +0100 (CET) (envelope-from andreas@klemm.apsfilter.org) Received: (from uucp@localhost)hATIFC5x092957; Sat, 29 Nov 2003 19:15:12 +0100 (CET) (envelope-from andreas@klemm.apsfilter.org) Received: from titan.klemm.apsfilter.org (localhost.klemm.apsfilter.org [127.0.0.1]) by klemm.apsfilter.org (8.12.10/8.12.9) with ESMTP id hATIBujV051865; Sat, 29 Nov 2003 19:12:01 +0100 (CET) (envelope-from andreas@titan.klemm.apsfilter.org) Received: (from andreas@localhost)hATIBtSi051864; Sat, 29 Nov 2003 19:11:55 +0100 (CET) (envelope-from andreas) Date: Sat, 29 Nov 2003 19:11:55 +0100 From: Andreas Klemm To: Andreas Klemm Message-ID: <20031129181155.GA51056@titan.klemm.apsfilter.org> References: <200311280528.hAS5SUBd080023@repoman.freebsd.org> <20031128102356.GA21515@titan.klemm.apsfilter.org> <20031128223424.GM53437@roark.gnf.org> <20031128.192026.31254075.imp@bsdimp.com> <20031128224423.GA11411@titan.klemm.apsfilter.org> <200311282304.hASN44eF018407@gw.catspoiler.org> <20031129081603.GB19768@titan.klemm.apsfilter.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031129081603.GB19768@titan.klemm.apsfilter.org> X-Operating-System: FreeBSD 5.2-BETA X-Disclaimer: A free society is one where it is safe to be unpopular User-Agent: Mutt/1.5.5.1i cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org cc: gordont@gnf.org cc: Don Lewis cc: imp@FreeBSD.org cc: "M. Warner Losh" Subject: Re: cvs commit: src/sys/dev/aic7xxx ahc_pci.c ahd_pci.c src/sys/dev/ath if_ath_pci.c src/sys/dev/firewire fwohci_pci.c src/sys/dev/fxp if_fxp.c src/sys/dev/puc puc_pci.c src/sys/dev/re if_re.c src/sys/dev/sio sio_pci.c src/sys/dev/uart uart_bus_pci.c ... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Nov 2003 18:16:14 -0000 On Sat, Nov 29, 2003 at 09:16:03AM +0100, Andreas Klemm wrote: > On Fri, Nov 28, 2003 at 03:04:04PM -0800, Don Lewis wrote: > > > Indeed, seems to be the case: > > > bge0 mem 0xfaff0000-0xfaffffff > > > cbb0 0xf6000000-0xfbffffff > > > > My R40 located both cbb0 and an0 at 0xc0400000. Warner tracked down the > > problem while I was at BSDCon and found an open address range where cbb0 > > could be relocated. I've now got the following magic incantation in my > > /boot/loader.conf: > > hw.cbb.start_memory=0xC0800000 > > Look at what address ranges have been allocated and find an open spot. > > You can type in the above command at the loader prompt for testing > > purposes. I was not able to correct my cbb start memory via an entry in /boot/loader.conf: hw.cbb.start_memory=0xc0000000 After next reboot sysctl command shows the correct value in decimal: andreas@aklemm[ttyp0]{183} /boot sysctl -a | grep cbb cbb0: at device 1.0 on pci2 pcib2: device cbb0 requested decoded memory range 0xf6000000-0xfbffffff cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [MPSAFE] cbb0: PCI Configuration space: cbb1: at device 1.1 on pci2 pcib2: device cbb1 requested decoded memory range 0xf6000000-0xfbffffff cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 cbb1: [MPSAFE] cbb1: PCI Configuration space: cbb0: PC Card card activation failed hw.cbb.start_memory: 3221225472 ^^^^^^^^^^ hw.cbb.start_16_io: 256 hw.cbb.start_32_io: 4096 hw.cbb.debug: 0 But the address ranges of bge0 and cbb0 still overlap: bge0: mem 0xfaff0000-0xfaffffff pcib2: device cbb0 requested decoded memory range 0xf6000000-0xfbffffff Here the complete memory ranges in use: andreas@aklemm[ttyp0]{185} /boot dmesg | grep mem agp0: mem 0xe0000000-0xe7ffffff at device 0.0 on pci0 pcib1: memory decode 0xfc000000-0xfdffffff drm0: port 0xc000-0xc0ff mem 0xfcff0000-0xfcffffff,0xe8000000-0xefffffff irq 11 at device 0.0 on pci1 pcib2: memory decode 0xf6000000-0xfbffffff bge0: mem 0xfaff0000-0xfaffffff irq 11 at device 0.0 on pci2 pcib2: device bge0 requested decoded memory range 0xfaff0000-0xfaffffff pcib2: device cbb0 requested decoded memory range 0xf6000000-0xfbffffff pcib2: device cbb1 requested decoded memory range 0xf6000000-0xfbffffff pcm0: port 0xbc40-0xbc7f,0xb800-0xb8ff mem 0xf4fff400-0xf4fff4ff,0xf4fff800-0xf4fff9ff irq 11 at device 31.5 on pci0 orm0: