From owner-freebsd-mobile Mon Jan 14 13:34: 4 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by hub.freebsd.org (Postfix) with ESMTP id 4527637B41C for ; Mon, 14 Jan 2002 13:33:47 -0800 (PST) Received: from lungfish.ntlworld.com ([62.253.154.219]) by mta06-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020114213345.CKAA7000.mta06-svc.ntlworld.com@lungfish.ntlworld.com>; Mon, 14 Jan 2002 21:33:45 +0000 Received: from tuatara.goatsucker.org (tuatara.goatsucker.org [192.168.1.6]) by lungfish.ntlworld.com (8.11.3/8.11.3) with ESMTP id g0ELXhn94382; Mon, 14 Jan 2002 21:33:43 GMT (envelope-from scott@tuatara.goatsucker.org) Received: (from scott@localhost) by tuatara.goatsucker.org (8.11.6/8.11.6) id g0ELX0w03670; Mon, 14 Jan 2002 21:33:00 GMT (envelope-from scott) Date: Mon, 14 Jan 2002 21:32:59 +0000 From: Scott Mitchell To: Joao Carlos Mendes Luis Cc: Kevin Oberman , freebsd-mobile@FreeBSD.ORG, John Gordon Subject: Re: xe driver broken? (Solution) Message-ID: <20020114213258.A516@localhost> References: <20020111230700.815875D17@ptavv.es.net> <3C431F29.E29A38AF@embratel.net.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3C431F29.E29A38AF@embratel.net.br>; from jonny@embratel.net.br on Mon, Jan 14, 2002 at 04:10:49PM -0200 X-Operating-System: FreeBSD 4.5-PRERELEASE i386 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Jan 14, 2002 at 04:10:49PM -0200, Joao Carlos Mendes Luis wrote: > Hi, > > Kevin Oberman wrote: > > OK. The issue is to figure out why the driver is having a problem > > loading. A common cause of this is iomem address conflict, so lets try > > adjusting that. > > > > Try this: > > sysctl -w machdep.pccard.mem_start=0xd00000 > > Something changed, but still did not work. The CIS mapping could read > something, but still, nonsense. Went to the sources, and suspected you meant > 0xd0000, one zero less. It worked! > > Looking in Windows resources, pcmcia devices start using from 0xcc000. > Tried this, and it is working. > > Setting sysctl from rc.local is not useful, since I need to remove and > reinsert the card before using it. I tried to fix it by setting the default > at /boot/loader.conf, but it did not work. Setting it at /etc/sysctl.conf > seems to work, but there is a race condition. Maybe the memory range > detection should be fixed, and/or loader should be taught how to set it. You can set pccard_mem in /etc/rc.conf, or tweak the resource pool settings in /etc/pccard.conf -- these should both be read before pccardc attempts to configure the card. Glad you managed to get it working, though! Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott.mitchell@mail.com | 0xAA775B8B | -- Anon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message