From owner-freebsd-questions Fri Dec 22 13:19:42 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA18296 for questions-outgoing; Fri, 22 Dec 1995 13:19:42 -0800 (PST) Received: from ohio.river.org (ohio.river.org [199.4.64.219]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA18289 for ; Fri, 22 Dec 1995 13:19:37 -0800 (PST) Received: (from dhawk@localhost) by ohio.river.org (8.6.12/8.6.11) id NAA00350 for questions@freebsd.org; Fri, 22 Dec 1995 13:18:50 -0800 Date: Fri, 22 Dec 1995 13:18:50 -0800 From: David Hawkins Message-Id: <199512222118.NAA00350@ohio.river.org> To: questions@freebsd.org Subject: Upgrade to 2.1 Problems -- unusable kernel Sender: owner-questions@freebsd.org Precedence: bulk I used the new cd-rom to upgrade this system to 2.1 -- or tried to. The upgrade section of the process went ok and I merged in the /etc stuff. Booted off the generic kernel and it couldn't find my network card (3c509) at port 300, irq 10. No biggie, had the same problem with 2.0.5 and had to compile that into the kernel. So I tried a kernel build and it kept bombing on i386/isa/matcd.c with the following: In file included from ../../i386/isa/matcd/matcd.c:354: ../../i386/isa/matcd/matcddrv.h:171: redefinition of `matcderrors' ../../i386/isa/matcd/matcd.h:171: `matcderrors' previously defined here ../../i386/isa/matcd/matcd.c:437: `NMATCD' undeclared here (not in a function) ../../i386/isa/matcd/matcd.c:437: size of array `matcd_data' has non-integer type ../../i386/isa/matcd/matcd.c:461: `NMATCD' undeclared here (not in a function) ../../i386/isa/matcd/matcd.c:485: `NMATCD' undeclared here (not in a function) ../../i386/isa/matcd/matcd.c:485: size of array `kdc_matcd' has non-integer type ../../i386/isa/matcd/matcd.c: In function `matcdopen': ../../i386/isa/matcd/matcd.c:639: `NMATCD' undeclared (first use this function) ../../i386/isa/matcd/matcd.c:639: (Each undeclared identifier is reported only once ../../i386/isa/matcd/matcd.c:639: for each function it appears in.) ../../i386/isa/matcd/matcd.c: In function `matcdclose': ../../i386/isa/matcd/matcd.c:830: `NMATCD' undeclared (first use this function) ../../i386/isa/matcd/matcd.c: In function `matcdstrategy': ../../i386/isa/matcd/matcd.c:896: `NMATCD' undeclared (first use this function) ../../i386/isa/matcd/matcd.c: In function `matcd_probe': ../../i386/isa/matcd/matcd.c:1255: `NMATCD' undeclared (first use this function) ../../i386/isa/matcd/matcd.c: In function `matcd_blockread': ../../i386/isa/matcd/matcd.c:1915: warning: `dp' might be used uninitialized in this function So I commented out controller matcd0 in my config file and rebuilt again. The kernel built ok, but when I booted it it couldn't find my network card. So I'm back to my 2.0.5 kernel. (By the way, I mounted the filesystem CD-ROM and copied over its /usr/src/sys to the disk to get a completely fresh start on the compilation. Suggestions? System information: Dual Pentium 133 Mz processors, 64 MB RAM, 4 GB Quantum disk, HP tape drive, Toshiba 3601A cd-rom. Just noticed the 2.1 dmesg says it found the 3C5x9 board at port 280 instead of 300. ??? Also, in /etc/sysconfig I have 'link2' at the end of the ifconfig_ep0 line. Is that still necessary? Helpful? Bad? Thanks. later, david -- David Hawkins -- dhawk@river.org -- Conferencing Imp "Supreme executive power derives from a mandate from the masses, not from some farcical, aquatic ceremony!... I mean, if I went 'round saying I was Emperor just because some moistened bint had lobbed a scimitar at me, they'd put me away!" -- Monty Python and The Holy Grail