Subject: Re: Problem Netbooting 4/110, problem compiling Sun4 kernel
To: Rob Windsor <windsor@hedgehog.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-sparc
Date: 06/30/1996 10:15:06
On Sun, 30 Jun 1996 01:56:01 -0700 
 Rob Windsor <windsor@punk.hedgehog.com> wrote:

 > Heyyo,

Hi Rob...

 > I've set everything up to netboot a recently acquired 4/110, but I am
 > having problems netbooting it.
 > 
 > Here's what the prom tells me:
 > 
 > >b
 > 
 > Diagnostic Auto-boot in progress...ie(0,0,0) 
 > Using IP Address 206.86.41.25 = CE562919
 > Booting from tftp server at 206.86.41.100 = CE562964
 > Downloaded 29296 bytes from tftp server.
 > 
 > 
 > Illegal instruction "0x00006FC0" was encountered at PC 0x00004004.

Ah, looks like you forgot to remove the a.out header on the boot block; 
sun4 systems require this.  Check out /usr/mdec/binstall ... it deals 
with all of this for you.

 > [ kernel build errors ]
 >
 > Looking at autoconf.c, CPU_ISSUN4M is getting defined.  I traced it to
 > sys/arch/sparc/include/param.h, but that looks "ok" as well.

Paul just checked in a fix for this ... another `#ifdef SUN4M' was needed.

Ciao.

 -- save the ancient forests - http://www.bayarea.net/~thorpej/forest/ -- 
Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939