Subject: Journey into Hell
To: None <port-i386@NetBSD.ORG>
From: David Hopper <>
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 
-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

	My questions:  
	1.  What is required to cross-compile an i386 kernel on NetBSD-Amiga, 
	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 ( : 
Anthropology Department, Stanford University
NetBSD 1.1 ( : NEXTSTEP 3.3 (
"Two pale drops of fire guttering in the vast consuming darkness" -V. Price