Date: Sun, 28 Oct 2001 17:51:13 -0500 (EST) From: Jim Durham <durham@w2xo.pgh.pa.us> To: Ian Dowse <iedowse@maths.tcd.ie> Cc: freebsd-mobile@freebsd.org Subject: Re: i386/31554: page fault while in kernel mode doing ifconfig of D-LINK pccard Message-ID: <Pine.BSF.4.21.0110281749020.16532-100000@w2xo.pgh.pa.us> In-Reply-To: <200110282140.aa81947@salmon.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 28 Oct 2001, Ian Dowse wrote: > In message <Pine.BSF.4.21.0110281547540.16532-100000@w2xo.pgh.pa.us>, 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0110281749020.16532-100000>