From owner-freebsd-current@FreeBSD.ORG Wed Oct 26 01:30:46 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 2D01316A41F for ; Wed, 26 Oct 2005 01:30:46 +0000 (GMT) (envelope-from emaste@phaedrus.sandvine.ca) Received: from mailserver.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABD5843D45 for ; Wed, 26 Oct 2005 01:30:45 +0000 (GMT) (envelope-from emaste@phaedrus.sandvine.ca) Received: from labgw2.phaedrus.sandvine.com ([192.168.3.11]) by mailserver.sandvine.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 25 Oct 2005 21:30:22 -0400 Received: by labgw2.phaedrus.sandvine.com (Postfix, from userid 12627) id B8A3313638; Tue, 25 Oct 2005 21:30:44 -0400 (EDT) Date: Tue, 25 Oct 2005 21:30:44 -0400 From: Ed Maste To: "M. Warner Losh" Message-ID: <20051026013044.GA33070@sandvine.com> References: <20051016202721.GA10256@sandvine.com> <20051016.210255.65497697.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051016.210255.65497697.imp@bsdimp.com> User-Agent: Mutt/1.4.2.1i X-OriginalArrivalTime: 26 Oct 2005 01:30:22.0406 (UTC) FILETIME=[D53D7E60:01C5D9CC] Cc: freebsd-current@freebsd.org Subject: Re: DWL-650 (RTL8180L) cardbus issue (Expecting link target, got 0xcc) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 26 Oct 2005 01:30:46 -0000 On Sun, Oct 16, 2005 at 09:02:55PM -0600, M. Warner Losh wrote: > However, it won't help you. Your problem is resource allocation. > When we allocate the memory to read the CIS, something conflicts so we > can't map the CIS there. that's why you are seeing odd things. > > I'd try setting hw.cbb.start_memory=0x5200000 and other addresses that > aren't 0x88000000. With hw.cbb.start_memory=0x520000, none of my wireless cards work; they all report "Expecting link target, got ..." With it set to 0x88000000, my Atheros based card works, but my other two don't. The Atheros reports Oct 25 21:14:13 laptop kernel: cardbus1: Non-prefetchable memory at 88000000-8800ffff Oct 25 21:14:13 laptop kernel: ath0: mem 0x88000000-0x8800ffff irq 11 at device 0.0 on cardbus1 (and ath0 then works) The ADMtek one reports Oct 25 21:15:07 laptop kernel: cardbus1: Expecting link target, got 0x0 Oct 25 21:15:07 laptop kernel: cardbus1: Resource not specified in CIS: id=10, size=100 Oct 25 21:15:07 laptop kernel: cardbus1: Resource not specified in CIS: id=14, size=400 Oct 25 21:15:07 laptop kernel: cardbus1: Non-prefetchable memory at 88000000-880003ff Oct 25 21:15:07 laptop kernel: cbb alloc res fail Oct 25 21:15:07 laptop kernel: cardbus1: Can't get memory for IO ports Oct 25 21:15:07 laptop kernel: ndis0: port 0-0xff mem 0x88000000-0x880003ff at device 0.0 on cardbus1 Oct 25 21:15:07 laptop kernel: cbb alloc res fail Oct 25 21:15:07 laptop kernel: ndis0: couldn't map iospace -ed