Date: Sun, 25 Mar 2001 15:57:31 -0500 From: "Matthew Emmerton" <matt@gsicomp.on.ca> To: "Ed Wynn" <edwynn42@hotmail.com> Cc: <freebsd-net@freebsd.org> Subject: Re: D-Link problem Message-ID: <00e701c0b56e$378866d0$1200a8c0@gsicomp.on.ca> References: <F201Dd3OJXsNQptgFrY00008422@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> >[snip] Sorry 'bout that. I was working on the assumption that the driver > >was working properly, and was just dying during userland init (ifconfig). > >The "rlphy0: no media present" line tells us that the driver isn't 100% > >healthy, at least with this card. > > Not a problem. Good learning exercise for me. Most definitely. (I did my first panic / kernel debug exercise last month.) > The PHY_READ call is returning 6, which is BSMR_LINK | BSMR_JABBER. I > checked capmask, and it's 0xffffffff, so that's okay. Looks like the > "nothing" gues is accurate. I tried hard coding the capabilities > (overriding the return value) to those listed in the manual (10 and 100, > full and half, and autonegotiate), and it still kernel panics the same way, > so I would guess that there are two problems here, not just one. Are you sure the card is using the 8139 chipset? The 8139 can provide PHY information via the status register. Since we're obviously not getting any such data, I'm wondering if this card is based on something else. I've seen some chatter on some Linux lists that would indicate that there are two version of the DFE538 - one that works with the RealTek 8129/8139 driver (rl0), and one that works with the NE2000 driver (ed0). Also interesting -- the pciconf -l output from your machine indicates 'rev=0x10' -- this may be the discriminator between whether the card is rl0 or ed0 based. If you want to try out the ed driver, you'll have to hack dev/ed/if_ed_pci.c and put the device/vendor codes in there. -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00e701c0b56e$378866d0$1200a8c0>