Subject: amigappc nearly boots again
To: None <port-PowerPC@NetBSD.org>
From: Frank Wille <frank@phoenix.owl.de>
List: port-powerpc
Date: 01/13/2007 22:32:55
Hi,
after some more work in the last days I was able to adapt Adam Ciarcinski's
amigappc port to the current source, fixed some bugs and included a few new
features.
Unfortunately there are some problems left:
---8<---
NetBSD 4.99.5 (NULL) #1: Sat Jan 13 21:58:07 CET 2007
frank@compaq.owl.de:/usr/src_current/sys/arch/amigappc/compile/obj/NULL
Model: Amiga 3000 [PowerUP] (604e v2.4 200 MHz, busclk 66 MHz)
total memory = 98304 KB
avail memory = 93988 KB
mainbus0 (root)
cpu0 at mainbus0: 604e (Revision 2.4), ID 0 (primary)
cpu0: HID0 c084<ICE,DCE,SGE,BHT>, powersave: 1
cpu0: 200.00 MHz
a34kbbc0 at mainbus0
ser0 at mainbus0: input fifo 512 output fifo 32
kbd0 at mainbus0: CIA A type Amiga
ms0 at mainbus0
grfcc0 at mainbus0
grf0 at grfcc0: width 640 height 400 colors 4
ite0 at grf0: rows 50 cols 80 repeat at (30/100)s next at (10/100)s has keyboard
panic: pool_get: pool 0x8122c1c: pr_itemsperpage is zero, pool not initialized?
db>
---8<---
This crash happens at the end, of shortly after, the configure procedure.
How do I find out which pool was not initialized and where? It seems there
are several pools?
Another strange phenomenon is caused by the cpu0 device, which I included,
because I think that some of the initializations in cpu_setup() may be
useful. Without this device the ite0 (amigadisplay) console doesn't display
anything. The cursor stays in the upper left corner.
Without a cpu-device the display works. A serial console also works and shows
the output from above.
--
_ Frank Wille (frank@phoenix.owl.de)
_ // http://sun.hasenbraten.de/~frank/
\X/ Phx @ #AmigaGer