Subject: Re: Success: kernel compile
To: Jochen Kunz <jkunz@unixag-kl.fh-kl.de>
From: Chuck Silvers <chuq@chuq.com>
List: port-hp700
Date: 10/09/2003 19:18:28
hi,

On Thu, Oct 09, 2003 at 07:57:25PM +0200, Jochen Kunz wrote:
> Hi.
> 
> During the last days I updated the in-kernel assebler files for hp700 /
> hppa to the new GAS syntax and got a kernel compiled:
> 
> >> OpenBSD/hppa BOOT 0.8
> boot> boot netbsd -s
> booting dk2a:netbsd: 5341184+81920+331776 [98+624048+141576]=0x720108
> SPID bits: 0x0, error = -2
> WARNING: PDC_COPROC error -3
> Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
>     The NetBSD oundation, Inc.  All rights reserved.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>     The Regents of the University of California.  All rights reserved.
>  
> NetBSD 1.6ZC (GENERIC) #0: Thu Oct  9 18:08:51 CEST 2003
>         jkunz@SirTobie:/usr/src-current/objdir/hp700/sys/arch/hp700/compile/GENERIC
> HP9000/778/B132L (Merlin L2 132)
> real mem = 192 MB (73728 reserved for PROM, 175 MB used by NetBSD)
> avail mem = 162 MB
> using 2483 buffers containing 9932 KB of memory
> mainbus0 (root) [flex fff80000]
> pdc0 at mainbus0
> biomask 00000003 netmask 00000003 ttymask 00000007
> Kernelized RAIDframe activated
> symb[rbit].bitno == cix!!!

cool.  this is the problem with the patricia-tree code that I mentioned before.
if you turn off USE_PTREE in kern_ksyms.c, you'll get further.  or you could
just debug it.  :-)

if you send me your changes so far, I'll check them in.
(or I'm sure matt would be happy to do the same.)

-Chuck