Date: Mon, 10 Jul 2000 12:48:15 -0700 (PDT) From: Matthew Jacob <mjacob@feral.com> To: Mark Murray <mark@grondar.za> Cc: wpaul@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: if_de as a module... Message-ID: <Pine.BSF.4.05.10007101245500.98701-100000@semuta.feral.com> In-Reply-To: <Pine.BSF.4.05.10007101149150.98701-100000@semuta.feral.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > *I'll* check it too- I'd *love* to have if_de as a loadable since most of the > alphas I have use if_de (not dc)! Umm- started okay: de0: <Digital 21140A Fast Ethernet> port 0x10300-0x1037f mem 0x82083000-0x8208307f irq 3 at device 9.0 on pci0 de0: interrupting at CIA irq 3 de0: 21140A [10-100Mb/s] pass 2.2 de0: address 00:40:05:41:5b:e6 bpf: de0 attached de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 192.67.166.23 netmask 0xffffff00 broadcast 192.67.166.255 ether 00:40:05:41:5b:e6 media: autoselect supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet 127.0.0.1 netmask 0xff000000 add net default: gateway 192.67.166.1 Additional routing options: tcp arplookup 192.67.166.155 failed: could not allocate llinfo arpresolve: can't allocate llinfo for 192.67.166.155rt extensions=NO IP gateway=YES TCP keepalive=YES. routing daemons:. ... but then failed with: arplookup 192.67.166.155 failed: could not allocate llinfo arpresolve: can't allocate llinfo for 192.67.166.155rt arplookup 192.67.166.155 failed: could not allocate llinfo arpresolve: can't allocate llinfo for 192.67.166.155rt arplookup 192.67.166.155 failed: could not allocate llinfo arpresolve: can't allocate llinfo for 192.67.166.155rt .... and then died: rplookup 192.67.166.155 failed: could not allocate llinfo arpresolve: can't allocate llinfo for 192.67.166.155rt arplookup 192.67.166.155 failed: could not allocate llinfo arpresolve: can't allocate llinfo for 192.67.166.155rt arplookup 192.67.166.155 failed: could not allocate llinfo arpresolve: can't allocate llinfo for 192.67.166.155rt NFS Portmap: RPC: Port mapper failure - RPC: Timed out fatal kernel trap: trap entry = 0x2 (memory management fault) a0 = 0x0 a1 = 0x1 a2 = 0xffffffffffffffff pc = 0x0 ra = 0xfffffc00004cb4e0 curproc = 0 ddbprinttrap from 0x0 ddbprinttrap(0x0, 0x1, 0xffffffffffffffff, 0x2) panic: trap panic Stopped at Debugger+0x2c: ldq ra,0(sp) <0xfffffe0009805a00> <ra=0xfffffc00004d0ca0,sp=0xfffffe0009805a00> db> t Debugger() at Debugger+0x2c panic() at panic+0x100 trap() at trap+0x630 XentMM() at XentMM+0x20 swi_net() at swi_net+0x40 (null)() at 0x1 ----------------------- *sigh* (whimper) > On Mon, 10 Jul 2000, Mark Murray wrote: > > > Hi Bill > > > > If I apply the enclosed patch to sys/pci/if_de.c, and make a > > copy of (say) sys/modules/dc to sys/modules/de (while changing > > all relevant dc --> de), I can build a loadable module for de. > > > > Could you please check that this works in your (no doubt) > > excellent laboratory and either commit or review for me to > > commit. > > > > Thanks! :-) > > > > M > > > > Index: sys/pci/if_de.c > > =================================================================== > > RCS file: /home/ncvs/src/sys/pci/if_de.c,v > > retrieving revision 1.129 > > diff -u -d -r1.129 if_de.c > > --- sys/pci/if_de.c 2000/05/28 16:06:56 1.129 > > +++ sys/pci/if_de.c 2000/07/09 08:27:09 > > @@ -54,10 +54,9 @@ > > #include <sys/bus.h> > > #include <sys/rman.h> > > > > -#include "opt_inet.h" > > -#include "opt_ipx.h" > > - > > #include <net/if.h> > > +#include <net/if_arp.h> > > +#include <net/ethernet.h> > > #include <net/if_media.h> > > #include <net/if_dl.h> > > #ifdef TULIP_USE_SOFTINTR > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-current" in the body of the message > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" 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.05.10007101245500.98701-100000>