Subject: Re: Pegasos port freezes at uvm_km_alloc1
To: port-powerpc <port-powerpc@netbsd.org>
From: Frank Wille <frank@phoenix.owl.de>
List: port-powerpc
Date: 12/07/2004 23:35:14
Allen Briggs wrote:
> > Yesterday I started to port NetBSD to the Pegasos (II) hardware, based
> > on the ofppc code.
>
> Cool. I'd like to work with you on that. I've got a box sitting here
> that's waiting for me to find a bit of time.
Would be great! You're welcome. Help is really appreciated as
I'm new to BSD kernel programming.
> > Status: I get the copyright-message on screen, UVM is initialized, but
> > the system freezes at the end of uvm_km_alloc1(), while trying to clear
> > the first page of kernel memory with memset().
>
> Do you have the caches enabled?
The L2 caches? Don't think so. Hm... AFAIK they will be enabled
during cpu_attach(), which will happen some time later?
> I'd stick with the default segments unless you have a good reason
> not to.
I thought segment 13 for kernel memory could possibly conflict with
video memory at 0xd0000000 - 0xd0040000. Segment 14 would be free.
--
_ Frank Wille (frank@phoenix.owl.de)
_ // http://devnull.owl.de/~frank/
\X/ Phx @ #AmigaGer