Subject: kernel building, was: xmcd broken under 1.4?
To: Frederick Bruckman <fb@enteract.com>
From: Guy Santiglia <fredfl2@soback.kornet.net>
List: port-mac68k
Date: 06/13/1999 16:26:42
On Mon, 7 Jun 1999, Frederick Bruckman wrote:

> On Mon, 7 Jun 1999, Guy Santiglia wrote:
> 
> > Excuse my ignorance, but how do I find out which SCSI driver that I am
> > using?  I copied these lines from my kernel configuration file:
> > _________________________________snip_________________
> > # SCSI controllers
> > # XXX - use only one of ncrscsi or sbc
> > ncrscsi0 at obio?                       # SCSI NCR 5380
> > #sbc0   at obio? flags 0x1              # MI SCSI NCR 5380
> > esp0    at obio?                        # SCSI NCR 53C9x
> > esp1    at obio?                        # SCSI NCR 53C9x
> > _____________________________________________________
> > If this tells anything.  
> 
> If you have what I think you have, your boot messages will show "esp0 at
> obio", which means you're not using either the ncrscsi or the sbc. If so,
> you could comment both of them out, and it would make no difference. 
> 

  Well, I've been having trouble getting a kernel to boot with both  ncrscsi and 
sbc lines commented out.  My boot message shows "esp0 at obio" 
I have an external hardrive, and an internal apple cdrom drive.  
Is it possible that I need the "ncrscsi0" line left in the kernel
configuration file?

Also, when building a kernel ( named "mykern"), if I go through the complete
procedure and 
build a kernel that doesn't work; then I want to change that kernel's
configuration
file and try again, should I delete the ../compile/mykern directory completely 
before typing the "config mykern" command?  Or can I leave the old
../compile/mykern directory there and just proceed as normal?:

config mykern
cd ../compile/mykern
make depend
make

If I don't need to delete the old ../compile/mykern directory, do I still need
to type "make depend" everytime I make a change to the "../conf/mykern"
configuration
file?


Has anyone found a sure fire way to build kernels that will boot that don't
have the "debug" feature enabled? 

		Thanks,

			Guy 

> 
> 

____________________________________________________________
Guy Santiglia  Quadra 610, 50 MHZ, NetBSD 1.4!
South Korea
____________________________________________________________