From owner-freebsd-alpha Thu Apr 4 6:25:10 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 67C6C37B419 for ; Thu, 4 Apr 2002 06:25:03 -0800 (PST) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id JAA18131; Thu, 4 Apr 2002 09:25:02 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g34EOVB98428; Thu, 4 Apr 2002 09:24:31 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15532.25119.807428.35143@grasshopper.cs.duke.edu> Date: Thu, 4 Apr 2002 09:24:31 -0500 (EST) To: Jarkko Santala Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: Still about ISA NICs on FreeBSD 4.5/alpha In-Reply-To: <20020404140739.H61960-100000@trillian.santala.org> References: <20020404140739.H61960-100000@trillian.santala.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Jarkko Santala writes: > Hi all, > > Sorry for writing about this again, but does anyone else have this same > problem? I know some EISA stuff might not work, but how about ISA NICs? > Doesn't seem to me like this would be horribly hard to fix if one knows > what she is doing. Nobody else has tried to run most ISA nics on anything but x86. That's why they are not in the alpha GENERIC kernel. You're tredding on new ground here. Your initial problems are configuration related. Expect to have more problems once you get the drivers building. > I'm running 4.5-RELEASE-p1 on a AlphaServer 1000. If I'm doing something > stupid please let me know so I can stop making a fool of myself. ;) And > if there's anything I can do to provide more information, I will be happy > to do it. > > First with 3 ISA NICs in kernel like this: > > ---cut--- > --- GENERIC Wed Dec 19 20:34:44 2001 > +++ GENERIC-ISA Thu Apr 4 12:19:58 2002 > @@ -131,4 +131,9 @@ > device ppi # Parallel port interface device > #device vpo # Requires scbus and da > + > +# ISA Etherner NICs (let's see now...) > +device ep > +device ex > +device fe0 at isa? port 0x300 > > # PCI Ethernet NICs. > ---cut--- > > 'config GENERIC-ISA' goes fine, 'make depend' results in: > > ---cut--- > bd_isa.c ../../isa/atkbdc_isa.c ../../isa/fd.c ../../isa/ppc.c > ../../isa/psm.c ../../isa/sio.c ../../isa/syscons_isa.c > ../../isa/vga_isa.c ../../kern/subr_diskmbr.c ../../libkern/bcmp.c > ../../libkern/ffs.c ioconf.c vnode_if.c config.c > ../../alpha/alpha/genassym.c > ../../dev/fe/if_fe.c:71: opt_fe.h: No such file or directory > mkdep: compile failed > *** Error code 1 Move: FE_8BIT_SUPPORT opt_fe.h from conf/options.i386 to conf/options & try again. You'll probably stumble on something else. > > Stop in /usr/src/sys/compile/GENERIC-ISA. > trillian:/usr/src/sys/compile/GENERIC-ISA# > ---cut--- > > Then, with the fe0 removed: > > ---cut--- > --- GENERIC Wed Dec 19 20:34:44 2001 > +++ GENERIC-ISA2 Thu Apr 4 12:35:28 2002 > @@ -131,4 +131,8 @@ > device ppi # Parallel port interface device > #device vpo # Requires scbus and da > + > +# ISA Etherner NICs (let's see now...) > +device ep > +device ex > > # PCI Ethernet NICs. > ---cut--- > > 'config GENERIC-ISA2' and 'make depend' go fine, but 'make' results in: > > ---cut--- > cc -c -O -pipe -mcpu=ev4 -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. > -I../../../include -I../../contrib/ipfilter -D_KERNEL -include > opt_global.h -elf -mno-fp-regs -Wa,-mev56 vers.c > linking kernel > if_ep_isa.o: In function `ep_isa_identify': > if_ep_isa.o(.text+0x1d0): undefined reference to `elink_idseq' > if_ep_isa.o(.text+0x1d4): undefined reference to `elink_idseq' > if_ep_isa.o(.text+0x1e0): undefined reference to `elink_reset' > if_ep_isa.o(.text+0x1e4): undefined reference to `elink_reset' > if_ep_isa.o(.text+0x244): undefined reference to `elink_idseq' > if_ep_isa.o(.text+0x248): undefined reference to `elink_idseq' > *** Error code 1 > Move i386/isa/elink.c optional ep from conf/files.i386 to conf/files & try again. I notice the ep driver still does inb/outb so it hasn't been converted to bus space yet. This reduces the likleyhood of it actually working if you manage to compile it. BTW, do you actually have all these nics? Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message