Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Dec 1995 13:18:50 -0800
From:      David Hawkins <dhawk@river.org>
To:        questions@freebsd.org
Subject:   Upgrade to 2.1 Problems -- unusable kernel
Message-ID:  <199512222118.NAA00350@ohio.river.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512222118.NAA00350>