Hi all,
With the latest SVN of OpenBIOS it now looks like we are hitting another memory issue when booting Milax in that claim is failing unexpectedly. With CONFIG_DEBUG_OFMEM enabled, the complete session output looks like this:
OpenBIOS for Sparc64 OFMEM: ofmem_claim phys=0000000007e80000 size=0000000000080000 align=0000000000000000 OFMEM: ofmem_claim_virt virt=00000000ffe00000 size=0000000000080000 align=0000000000000000 OFMEM: ofmem_map_page_range 00000000ffe00000 -> 0000000007e80000 0000000000080000 mode 0000000000000076 OFMEM: ofmem_claim phys=0000000007f00000 size=0000000000080000 align=0000000000000000 OFMEM: ofmem_claim_virt virt=00000000ffe80000 size=0000000000080000 align=0000000000000000 OFMEM: ofmem_map_page_range 00000000ffe80000 -> 0000000007f00000 0000000000080000 mode 0000000000000076 OFMEM: ofmem_claim phys=0000000007f80000 size=0000000000080000 align=0000000000000000 OFMEM: ofmem_claim_virt virt=00000000fff00000 size=0000000000080000 align=0000000000000000 OFMEM: ofmem_map_page_range 00000000fff00000 -> 0000000007f80000 0000000000080000 mode 0000000000000076 OFMEM: ofmem_claim phys=000001fff0000000 size=0000000000080000 align=0000000000000000 OFMEM: ofmem_claim_virt virt=00000000ffd00000 size=0000000000080000 align=0000000000000000 OFMEM: ofmem_map_page_range 00000000ffd00000 -> 000001fff0000000 0000000000080000 mode 0000000000000074 OFMEM: ofmem_claim phys=000001fff0080000 size=0000000000080000 align=0000000000000000 OFMEM: ofmem_claim_virt virt=00000000ffd80000 size=0000000000080000 align=0000000000000000 OFMEM: ofmem_map_page_range 00000000ffd80000 -> 000001fff0080000 0000000000080000 mode 0000000000000074 OFMEM: ofmem_map_page_range 0000000000000000 -> 0000000000000000 0000000008000000 mode 0000000000000036 OFMEM: ofmem_claim phys=000001ff00800000 size=0000000000800000 align=0000000000000000 OFMEM: ofmem_claim_virt virt=00000000fe000000 size=0000000000800000 align=0000000000000000 OFMEM: ofmem_map_page_range 00000000fe000000 -> 000001ff00800000 0000000000800000 mode 0000000000000076 Configuration device id QEMU version 1 machine id 0 CPUs: 1 x SUNW,UltraSPARC-II UUID: 00000000-0000-0000-0000-000000000000 Welcome to OpenBIOS v1.0 built on Jan 2 2010 12:50 Type 'help' for detailed information
0 > boot cdrom [sparc64] Booting file 'cdrom' with parameters '' Not a bootable ELF image Not a Linux kernel image Not a bootable a.out image Loading FCode image... Loaded 7084 bytes entry point is 0x4000 Evaluating FCode... OFMEM: ofmem_claim phys=ffffffffffffffff size=0000000000002000 align=0000000000000001 OFMEM: ofmem_map_page_range 0000000000000000 -> 0000000000000000 0000000000002000 mode 0000000000000032 OFMEM: mapping mode altered virt=0000000000000000 old mode=0000000000000036 new mode=0000000000000032 OFMEM: ofmem_claim_virt virt=ffffffffffffffff size=0000000000002000 align=0000000000000001 OFMEM: ofmem_map_page_range 0000000008000000 -> 0000000000000000 0000000000002000 mode 0000000000000032 OFMEM: ofmem_claim phys=ffffffffffffffff size=0000000000002000 align=0000000000000001 OFMEM: ofmem_map_page_range 0000000000002000 -> 0000000000002000 0000000000002000 mode 0000000000000032 OFMEM: mapping mode altered virt=0000000000002000 old mode=0000000000000036 new mode=0000000000000032 OFMEM: ofmem_claim_virt virt=ffffffffffffffff size=0000000000002000 align=0000000000000001 OFMEM: ofmem_map_page_range 0000000008002000 -> 0000000000002000 0000000000002000 mode 0000000000000032 OFMEM: ofmem_claim phys=ffffffffffffffff size=0000000000002000 align=0000000000000001 OFMEM: ofmem_map_page_range 0000000000004000 -> 0000000000004000 0000000000002000 mode 0000000000000032 OFMEM: mapping mode altered virt=0000000000004000 old mode=0000000000000036 new mode=0000000000000032 OFMEM: ofmem_claim_virt virt=ffffffffffffffff size=0000000000002000 align=0000000000000001 OFMEM: ofmem_map_page_range 0000000008004000 -> 0000000000004000 0000000000002000 mode 0000000000000032 OFMEM: ofmem_claim phys=ffffffffffffffff size=0000000000002000 align=0000000000000001 OFMEM: ofmem_map_page_range 0000000000006000 -> 0000000000006000 0000000000002000 mode 0000000000000032 OFMEM: mapping mode altered virt=0000000000006000 old mode=0000000000000036 new mode=0000000000000032 OFMEM: ofmem_claim_virt virt=ffffffffffffffff size=0000000000002000 align=0000000000000001 OFMEM: ofmem_map_page_range 0000000008006000 -> 0000000000006000 0000000000002000 mode 0000000000000032 OFMEM: ofmem_claim phys=ffffffffffffffff size=000000000554e000 align=0000000000000001 OFMEM: ofmem_map_page_range 0000000000008000 -> 0000000000008000 000000000554e000 mode 0000000000000032 OFMEM: mapping mode altered virt=0000000000008000 old mode=0000000000000036 new mode=0000000000000032 OFMEM: ofmem_claim_virt virt=0000000051000000 size=000000000554e000 align=0000000000000000 OFMEM: ofmem_map_page_range 0000000051000000 -> 0000000000008000 000000000554e000 mode 0000000000000032 OFMEM: ofmem_claim phys=ffffffffffffffff size=0000000000002000 align=0000000000000001 OFMEM: ofmem_map_page_range 0000000005556000 -> 0000000005556000 0000000000002000 mode 0000000000000032 OFMEM: mapping mode altered virt=0000000005556000 old mode=0000000000000036 new mode=0000000000000032 OFMEM: ofmem_claim_virt virt=ffffffffffffffff size=0000000000002000 align=0000000000000001 OFMEM: ofmem_map_page_range 0000000008008000 -> 0000000005556000 0000000000002000 mode 0000000000000032 OFMEM: ofmem_release_virt addr=0000000008008000 size=0000000000002000 OFMEM: ofmem_release_virt not implemented byte-load: stack overflow, diff 1 ok 0 > boot /ramdisk-root [sparc64] Booting file '/ramdisk-root' with parameters '' Not a bootable ELF image Not a Linux kernel image Not a bootable a.out image Loading FCode image... Loaded 7236 bytes entry point is 0x4000 Evaluating FCode... OFMEM: ofmem_claim phys=ffffffffffffffff size=000000000000a000 align=0000000000000001 OFMEM: ofmem_map_page_range 0000000005558000 -> 0000000005558000 000000000000a000 mode 0000000000000032 OFMEM: mapping mode altered virt=0000000005558000 old mode=0000000000000036 new mode=0000000000000032 OFMEM: ofmem_claim_virt virt=ffffffffffffffff size=000000000000a000 align=0000000000000001 OFMEM: ofmem_map_page_range 000000000800a000 -> 0000000005558000 000000000000a000 mode 0000000000000032 OFMEM: ofmem_claim phys=ffffffffffffffff size=000000000016c000 align=0000000000000001 OFMEM: ofmem_map_page_range 0000000005562000 -> 0000000005562000 000000000016c000 mode 0000000000000032 OFMEM: mapping mode altered virt=0000000005562000 old mode=0000000000000036 new mode=0000000000000032 OFMEM: ofmem_claim_virt virt=0000000050000000 size=000000000016c000 align=0000000000000000 OFMEM: ofmem_map_page_range 0000000050000000 -> 0000000005562000 000000000016c000 mode 0000000000000032 OFMEM: ofmem_claim phys=ffffffffffffffff size=0000000000400000 align=0000000000400000 OFMEM: ofmem_map_page_range 0000000005800000 -> 0000000005800000 0000000000400000 mode 0000000000000032 OFMEM: mapping mode altered virt=0000000005800000 old mode=0000000000000036 new mode=0000000000000032 OFMEM: ofmem_claim_virt virt=0000000001000000 size=0000000000400000 align=0000000000000000 OFMEM: ofmem_map_page_range 0000000001000000 -> 0000000005800000 0000000000400000 mode 0000000000000032 OFMEM: mapping altered virt=0000000001000000) OFMEM: ofmem_claim phys=ffffffffffffffff size=0000000000032000 align=0000000000000001 OFMEM: ofmem_map_page_range 00000000056ce000 -> 00000000056ce000 0000000000032000 mode 0000000000000032 OFMEM: mapping mode altered virt=00000000056ce000 old mode=0000000000000036 new mode=0000000000000032 OFMEM: ofmem_claim_virt virt=0000000001402000 size=0000000000032000 align=0000000000000000 OFMEM: ofmem_map_page_range 0000000001402000 -> 00000000056ce000 0000000000032000 mode 0000000000000032 OFMEM: mapping altered virt=0000000001402000) OFMEM: ofmem_claim phys=ffffffffffffffff size=0000000000400000 align=0000000000400000 OFMEM: ofmem_map_page_range 0000000005c00000 -> 0000000005c00000 0000000000400000 mode 0000000000000032 OFMEM: mapping mode altered virt=0000000005c00000 old mode=0000000000000036 new mode=0000000000000032 OFMEM: ofmem_claim_virt virt=0000000001800000 size=0000000000400000 align=0000000000000000 OFMEM: ofmem_map_page_range 0000000001800000 -> 0000000005c00000 0000000000400000 mode 0000000000000032 OFMEM: mapping altered virt=0000000001800000) OFMEM: **** ofmem_claim failure ***! Claim failed!
byte-load: stack overflow, diff 1 ok 0 >
ATB,
Mark.