Subject: Journey into Hell
To: None <port-i386@NetBSD.ORG>
From: David Hopper <bard@tiamat.chaldea.com>
List: port-i386
Date: 04/11/1996 11:22:11
...but I love it.
I'd like to expand NetBSD's confirmed hardware compatibility to include the
NexGen processor, and I've run into other snags during the installation. Now,
trying desperately to get ANY UN*X on this damn machine, I'm surrounded by
copies of Linux, FreeBSD, NEXTSTEP, Solaris, and NetBSD boot disks, and the
farthest I've gotten is NetBSD. The problem, however, is this.
The default INSTOTHER kernel contains a driver for the Intel Etherexpress that
is hard-coded to 0x360, IRQ 7. There is _no way_ to set the EE16 to IRQ 7 via
softset.exe. It's just not available. Joe Etherexpress 16, needing to access
the NetBSD distribution through FTP or NFS, is out of luck.
FreeBSD allows for the dynamic setting of kernel driver IRQ's, IO ports, etc.
during boot. That would certainly be a nice addition to NetBSD's install
process (But the FreeBSD net install has other problems in my case).
Luckily, I have a fully installed NetBSD-1.1 (Amiga) with full source, etc.
However, when I config the INSTOTHER kernel to match my hardware and compile,
after an initial _flood_ of errors with i386/locore.s (symbols undefined etc.),
I get the following (gcc 2.7.1):
cc -c -O6 -Werror -I. -I../../../../arch -I../../../.. -I../../../../sys
-DI386_CPU -DI486_CPU -DI586_CPU -DMATH_EMULATE -DMACHINE_NONCONTIG
-DTIMEZONE="0" -DDST="0" -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DDIAGNOSTIC
-DKTRACE -DCOMPAT_10 -DLKM -DFFS -DNFSCLIENT -DCD9660 -DMSDOSFS -DFDESC -DFIFO
-DKERNFS -DINET -DGENERIC -D_KERNEL -Di386 ../../../../kern/exec_aout.c
/tmp/cc022274.s: Assembler messages:
/tmp/cc022274.s:22: Error: operands mismatch -- statement `rorw $8,d0' ignored
/tmp/cc022274.s:23: Error: operands mismatch -- statement `rorl $16,d0' ignored
/tmp/cc022274.s:24: Error: operands mismatch -- statement `rorw $8,d0' ignored
*** Error code 1
Stop.
My questions:
1. What is required to cross-compile an i386 kernel on NetBSD-Amiga,
and
2. How would I go about replacing the kcoth11.fs kernel with the new
one? (cp ./netbsd /dev/fd0a)?
Thanks for letting me chew on your ears.
David Hopper (bard@tiamat.chaldea.com) : http://tiamat.chaldea.com
Anthropology Department, Stanford University
NetBSD 1.1 (tiamat.chaldea.com) : NEXTSTEP 3.3 (marduk.chaldea.com)
"Two pale drops of fire guttering in the vast consuming darkness" -V. Price