From owner-freebsd-current@FreeBSD.ORG Fri Mar 11 06:28:37 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 226A616A4CE for ; Fri, 11 Mar 2005 06:28:37 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8061B43D2F for ; Fri, 11 Mar 2005 06:28:36 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.3/8.13.1) with ESMTP id j2B6RfML002020; Thu, 10 Mar 2005 23:27:41 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Thu, 10 Mar 2005 23:27:53 -0700 (MST) Message-Id: <20050310.232753.35873446.imp@bsdimp.com> To: maksim.yevmenkin@savvis.net From: "M. Warner Losh" In-Reply-To: <4230E44A.2010007@savvis.net> References: <41DC2EAD.8070403@savvis.net> <20050122.170552.61536829.imp@bsdimp.com> <4230E44A.2010007@savvis.net> 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: current@FreeBSD.ORG Subject: Re: device pcic and card X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2005 06:28:37 -0000 In message: <4230E44A.2010007@savvis.net> Maksim Yevmenkin writes: : beetle# grep -i pcic /usr/src/UPDATING : beetle# grep -i card /usr/src/UPDATING : beetle# grep -i oldcard /usr/src/UPDATING OLDCARD is what you want to grep for. : > In message: <41DC2EAD.8070403@savvis.net> : > Maksim Yevmenkin writes: : > : i heard Warner said something about removing pcic and card (aka oldcard) : > : support from -current. has it happened? after cvsup'ing (yesterday) i no : > : longer can configure kernel with pcic and card. : > : : > : i can not use newcard on my tecra 8100 :( when i insert serial pc-card : > : my laptop hangs :( i can insert ethernet card (3com) but i can not : > : remove it :( same story - laptop hangs hard. : > : > Hangs hard? That's unfortunate. I'd love to help figure things out, : > but my tecra 8100 is working great... : : so, was oldcard support removed from -current? i have xircom credit card : bluetooth adapter that has standard uart (16550) and used to work with : oldcard (sio(4)). with newcard this adapter just hangs the system hard : as soon as i plug it in. also /var/log/messages says sio(4) can not : recognize uart type. Yes. OLDCARD has been removed from current. you should migrate to device cbb and pccard instead. This sounds like a resource issue with newcard. Some machines need to set hw.cbb.start_memory to something like 0xf0000000 or 0xff000000 or 0xd0000000 or some other value. I'd try 0xff.... (adding one f and removing one 0) until it works, and then try 0xd0000000, 0xe0000000, 0xc0000000, ... 0x80000000. If that fails, then you may need to set hw.pci.host_mem_start to the same sorts of values. In fact, it might be better to start with this tunable first. However, it will likely only be helpful if cbb is attached to pci0, and not pciN (N > 0) since it is only effective, really, for those systems that have no pcib. The hard lockups might also be due to subtle differences in how power is applied to the card. However, since dmesg says the card is unrecondized, let's try the allocation address first. Given the insert/remove problems there's a chance this is the problem. Maybe you have an older version of the TOPIC chipset, or its programmed, setup in the BIOS a little differently than mine. Warner