From owner-freebsd-net Sun Mar 25 12:59:39 2001 Delivered-To: freebsd-net@freebsd.org Received: from xena.gsicomp.on.ca (cr677933-a.ktchnr1.on.wave.home.com [24.43.230.149]) by hub.freebsd.org (Postfix) with ESMTP id A4B9437B719 for ; Sun, 25 Mar 2001 12:59:35 -0800 (PST) (envelope-from matt@gsicomp.on.ca) Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.1/8.11.3) with SMTP id f2PKvl507397; Sun, 25 Mar 2001 15:57:48 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <00e701c0b56e$378866d0$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "Ed Wynn" Cc: References: Subject: Re: D-Link problem Date: Sun, 25 Mar 2001 15:57:31 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >[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