From owner-freebsd-mobile Sun Oct 28 14:51:20 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from w2xo.pgh.pa.us (18.gibs5.xdsl.nauticom.net [209.195.184.19]) by hub.freebsd.org (Postfix) with ESMTP id 611C837B403 for ; Sun, 28 Oct 2001 14:51:16 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by w2xo.pgh.pa.us (8.11.6/8.11.3) with ESMTP id f9SMpDt17591; Sun, 28 Oct 2001 17:51:13 -0500 (EST) (envelope-from durham@w2xo.pgh.pa.us) Date: Sun, 28 Oct 2001 17:51:13 -0500 (EST) From: Jim Durham To: Ian Dowse Cc: freebsd-mobile@freebsd.org Subject: Re: i386/31554: page fault while in kernel mode doing ifconfig of D-LINK pccard In-Reply-To: <200110282140.aa81947@salmon.maths.tcd.ie> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Sun, 28 Oct 2001, Ian Dowse wrote: > In message , Jim Durha > m writes: > > > >I'm giving it a try. I repied to an inquiry from John Baldwin on > >-mobile, so the backtrace and other data is posted there. > > Thanks, got them. The miibus code seems to assume that there will > always be some sort of media present, but in the case of this card > there isn't. I'm not sure yet how this situation is supposed to be > handled. > > One further piece of information that would be useful is the "OUI" > numbers for the ukphy device. You can get these by doing a verbose > boot (interrupt the loader and type "boot -v" at the ok prompt). > Then look for a line like > > ukphy0: OUI 0x000000, model 0x0000, rev. 0 > > and note down the numbers. > > If you want a quick workaround for this bug, edit the file > /usr/src/sys/dev/ed/if_ed_pccard.c, and ifdef out the block of code > in ed_pccard_attach() that calls mii_phy_probe(). I'm not 100% sure > that your card will work without the miibus attachment, but it's > quite likely it will. e.g: > > error = ed_attach(sc, device_get_unit(dev), flags); > #if 0 > if (error == 0 && sc->vendor == ED_VENDOR_LINKSYS) { > ... > } > #endif > > Ian > OK...did that... ukphy0: OUI 0x0010dd, model 0x0001, rev. w uk phy0: no media present I'll try your workaround. Thanks, -Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message