From owner-freebsd-net Sat Mar 24 11:11: 5 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 DA0A337B719 for ; Sat, 24 Mar 2001 11:11:01 -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 f2OJ9E504400; Sat, 24 Mar 2001 14:09:14 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <00fa01c0b495$d6ddf0d0$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "Ed Wynn" , References: Subject: Re: D-Link problem Date: Sat, 24 Mar 2001 14:08:38 -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 > I'm setting up a system (200MHz) with 4.2-RELEASE, and the network card that > I have to go in it is a D-Link DFE-538TX/R PCI card, based on the RealTek > 8139 chipset. [ snip ] > pci0: (vendor=0x1186, dev=0x1300) at 11.0 irq 11 > > I know the unknown card here is the network card, since the vendor ID > matches the one shown by the BIOS as "network controller" during system > boot. There are no other devices conflicting with IRQ 10 or 11. [ snip ] > I added the appropriate > defines and extended the array of cards defined in if_rlreg.h, updated > if_rl.c to match, and rebuilt the kernel. This now recognizes the card > during the boot sequence, but then crashes like so: [ snip ] Well, you're on the right track. More than likely the D-Link card has some flags that aren't being properly set during the driver init. In the meantime, it would be best if you built a debug kernel and enabled crashdumps. This would give you (and us) more details on where (and why) this thing is crashing. Section 23 of the FreeBSD Handbook (http://www.freebsd.org/handbook/kerneldebug.html) has details of how to do this. (Be sure to set dumpdev to your swap slice, and make sure that sizeof(swap) > sizeof(RAM)). -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message