From owner-freebsd-mobile Mon Jan 14 13:42:39 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id 50B2E37B405 for ; Mon, 14 Jan 2002 13:42:33 -0800 (PST) Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (Postfix) with ESMTP id 000445D1A; Mon, 14 Jan 2002 13:42:32 -0800 (PST) To: Joao Carlos Mendes Luis Cc: freebsd-mobile@freebsd.org, John Gordon Subject: Re: xe driver broken? (Solution) In-reply-to: Your message of "Mon, 14 Jan 2002 16:10:49 -0200." <3C431F29.E29A38AF@embratel.net.br> Date: Mon, 14 Jan 2002 13:42:32 -0800 From: "Kevin Oberman" Message-Id: <20020114214233.000445D1A@ptavv.es.net> 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 > Date: Mon, 14 Jan 2002 16:10:49 -0200 > From: Joao Carlos Mendes Luis > > 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! Can't type or can't count. Either way, I'm glad that this fixed it. > > 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. I think you can do this in /etc/pccard.conf. This will be used each time the card is inserted. Just edit/create /etc/pccard.conf and put changes from /etc/defaults/pccard into it. Contents of pccard.conf will override those of /etc/defaults/pccard.conf. 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message