Subject: Re: Ksyms problem located.
To: None <ragge@ludd.luth.se>
From: Jochen Kunz <jkunz@unixag-kl.fh-kl.de>
List: port-hp700
Date: 11/06/2003 12:27:52
On Thu, Nov 06, 2003 at 11:04:29AM +0100, ragge@ludd.luth.se wrote:

> No problem, I'll take care of it, but it would be interesting to know 
> what the oversight is so that I know what to fix :-)  Can someone
> please enlighten me of what this discussion was about?
Long version:
http://mail-index.netbsd.org/port-hp700/2003/11/05/0001.html

In short: hp700 toolchain includes lots of local symbols in the 
kernel, making the kernel symbol table bigger then 2^15 - 1 entrys.
As kern_ksysms.c uses int16_t this can cause int overfolws when 
a symbol with index >= 2^15 is added to the Patricia-tree, leading 
to a hang or infinite loop.
-- 



tschüß,
         Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/