[K42-discussion] Problems booting the git tree under the simulator
Patrick Bozeman
PEBozeman at lbl.gov
Tue Oct 10 06:29:46 EST 2006
I am unable to boot a build of the git tree under the simulator. I'm
hoping these errors are a symptom of a misconfiguration that one of you
guys will recognize. The open firmware errors look bad, as does the
line that says it can't open "/packages/elf-loader"
Thanks
k42console -m mambo -f
/home/peb/src/k42-git/k42/powerpc/fullDeb/os/k42-vmlinux --
MAMBO_BOOT_VMLINUX=1 MAMBO_MAPLE=1 MAMBO_TCL_STAMP=-120305 MAMBO_TYPE=gpul
00c91be0
Writing kparm.data.5678 to
/home/peb/src/k42-git/k42/powerpc/fullDeb/os/k42-vmlinux at offset 13179872
dd bs=1 if=kparm.data.5678
of=/home/peb/src/k42-git/k42/powerpc/fullDeb/os/k42-vmlinux
seek=13179872 conv=notrunc
797+0 records in
797+0 records out
797 bytes (797 B) copied, 0.003449 seconds, 231 kB/s
thinwire3: IO Channel 1 listening on port 2026 for stream 1.
thinwire3: IO Channel 2 listening on port 2027 for stream 2.
thinwire3: IO Channel 3 listening on port 2028 for stream 3.
thinwire3: IO Channel 4 listening on port 2029 for stream 4.
thinwire3: IO Channel 5 listening on port 2033 for stream 8.
thinwire3: IO Channel 6 listening on port 2034 for stream 9.
thinwire3: IO Channel 7 listening on port 2041 for stream 16.
thinwire3: IO Channel 8 listening on port 2042 for stream 17.
thinwire3: connecting to victim (host "localhost", port 2024).
simip localhost:2027 localhost:2029
simip: connecting to host "localhost", port 2027.
simip: connected.
simip: connecting to host "localhost", port 2029.
simip: connected.
run command: 0
Using
/home/peb/src/k42-git/k42/install/tools/Linux_i686/powerpc/../../lib/mambo-120305.tcl
instead of .systemsim.tcl
Licensed Materials - Property of IBM.
(C) Copyright IBM Corporation 2001, 2006
All Rights Reserved.
no MAMBO_EXTRA_TCL found.
Set RTC to 22:26:59 of 6/13/2002
WARNING: 0: **unused** mysim: /UART/enabled = off
WARNING: 0: **unused** mysim: /UART/end = 0
WARNING: 0: **unused** mysim: /UART/frequency = 1/10000
WARNING: 0: **unused** mysim: /UART/intr = 0
WARNING: 0: **unused** mysim: /UART/start = 0
WARNING: 0: **unused** mysim: uart0 = on
WARNING: 0: **unused** mysim: uart0/end = 4093641727
WARNING: 0: **unused** mysim: uart0/start = 4093641720
WARNING: 0: **unused** mysim: uart1/end = 4093641471
WARNING: 0: **unused** mysim: uart1/start = 4093641464
WARNING: 0: gdb bind returns -1
WARNING: 0: Unable to open gdb listener on 2034, using port 2035 instead
Setting thinwire port to 2024 ...
Loading a K42 boot image of the vmlinux style ...
LOAD : Opening ELF image file:
/home/peb/src/k42-git/k42/powerpc/fullDeb/os/k42-vmlinux
Elf text start address saved is 0x0000000000000000
LOAD : ELF startup: PC=0x0000000000000000, msr=0x1000000000000000
LOAD : gpr[1]=0x0000000007FFFF90, gpr[2]=0x0000000000000000
To debug mambo with gdb: attach 5847
config fast
13:07:59: 574655: (574712): OF stdout device is: /cpus
WARNING: 576243: GetProp: We didn't find the property device_type in
parent /cpus:8
13:07:59: 576805: (576862): klimit=0xc000000000d3f000
13:07:59: 578510: (578567): offset=0xc000000000000000
13:07:59: 582488: (582546): couldn't open /packages/elf-loader
13:07:59: 584713: (584771): command line: rw ppcdbg=phb_init
13:07:59: 587372: (587430): root_addr_cells: 0000000000000002
13:07:59: 589197: (589255): root_size_cells: 0000000000000002
13:07:59: 590995: (591053): scanning memory:
WARNING: 592583: GetProp: We didn't find the property device_type in
parent /cpus:8
WARNING: 594608: GetProp: We didn't find the property device_type in
parent /chosen:27
13:07:59: 598410: (598468): node /memory at 0 :
13:07:59: 600174: (600233): 0000000000000000 0000000008000000
WARNING: 603361: GetProp: We didn't find the property device_type in
parent /options:45
WARNING: 604252: GetProp: We didn't find the property device_type in
parent /rtas:50
WARNING: 606034: GetProp: We didn't find the property device_type in
parent /systemsim:79
WARNING: 606925: GetProp: We didn't find the property device_type in
parent /mambo:83
13:07:59: 613970: (614029): memory layout at init:
13:07:59: 614969: (615028): memory_limit : 0000000000000000 (16 MB
aligned)
13:07:59: 617389: (617448): alloc_bottom : 0000000000d43000
13:07:59: 619227: (619286): alloc_top : 0000000008000000
13:07:59: 621053: (621113): alloc_top_hi : 0000000008000000
13:07:59: 622880: (622940): rmo_top : 0000000008000000
13:07:59: 624707: (624767): ram_top : 0000000008000000
13:07:59: 628019: (628079): Booting CPU hw index = 0x0000000000000000
13:07:59: 629920: (629980): Looking for displays
WARNING: 631623: GetProp: We didn't find the property device_type in
parent /cpus:8
WARNING: 633768: GetProp: We didn't find the property device_type in
parent /chosen:27
WARNING: 636621: GetProp: We didn't find the property device_type in
parent /options:45
WARNING: 637572: GetProp: We didn't find the property device_type in
parent /rtas:50
WARNING: 639474: GetProp: We didn't find the property device_type in
parent /systemsim:79
WARNING: 640425: GetProp: We didn't find the property device_type in
parent /mambo:83
13:07:59: 647932: (647993): prom_instantiate_rtas: start...
13:07:59: 649060: (649121): rtas_node: 0000000000000032
13:07:59: 651171: (651233): alloc_down(0000000000008000,
0000000000001000, (low))
13:07:59: 655244: (655306): trying: 0x0000000007ff8000
13:07:59: 657489: (657551): -> 0000000007ff8000
13:07:59: 659338: (659400): alloc_bottom : 0000000000d43000
13:07:59: 661175: (661238): alloc_top : 0000000007ff8000
13:07:59: 663024: (663087): alloc_top_hi : 0000000008000000
13:07:59: 664851: (664914): rmo_top : 0000000008000000
13:07:59: 666678: (666741): ram_top : 0000000008000000
13:07:59: 668901: (668964): instantiating rtas at 0x0000000007ff8000 ...
done
13:07:59: 672688: (672752): rtas base = 0x0000000007ff8000
13:07:59: 674555: (674619): rtas entry = 0x0000000007ff8000
13:07:59: 676422: (676486): rtas size = 0x0000000000008000
13:07:59: 678467: (678531): prom_instantiate_rtas: end...
13:07:59: 679636: (679700): prom_hold_cpus: start...
13:07:59: 680802: (680867): 1) spinloop = 0x0000000000000008
13:07:59: 682798: (682863): 1) *spinloop = 0x0000000000000000
13:07:59: 684793: (684858): 1) acknowledge = 0x0000000000000010
13:07:59: 686789: (686854): 1) *acknowledge = 0x0000000000000000
13:07:59: 688784: (688849): 1) secondary_hold = 0x0000000000000060
WARNING: 691200: GetProp: We didn't find the property device_type in
parent /cpus:8
13:07:59: 693699: (693765): cpuid = 0x0000000000000000
13:07:59: 695525: (695591): cpu hw idx = 0x0000000000000000
WARNING: 697021: GetProp: We didn't find the property
ibm,ppc-interrupt-server#s in parent /cpus/PowerPC at 0:10
13:07:59: 697915: (697981): 0000000000000000 : boot cpu 0000000000000000
WARNING: 701049: GetProp: We didn't find the property device_type in
parent /chosen:27
WARNING: 703725: GetProp: We didn't find the property device_type in
parent /options:45
WARNING: 704617: GetProp: We didn't find the property device_type in
parent /rtas:50
WARNING: 706401: GetProp: We didn't find the property device_type in
parent /systemsim:79
WARNING: 707293: GetProp: We didn't find the property device_type in
parent /mambo:83
13:07:59: 714282: (714349): prom_hold_cpus: end...
13:07:59: 715744: (715811): copying OF device tree ...
13:07:59: 717045: (717112): starting device tree allocs at 0000000000d43000
13:07:59: 718766: (718833): alloc_up(0000000000100000, 0000000000001000)
13:07:59: 722033: (722101): trying: 0x0000000000d43000
13:07:59: 724267: (724335): -> 0000000000d43000
13:07:59: 726105: (726173): alloc_bottom : 0000000000d43000
13:07:59: 727943: (728011): alloc_top : 0000000007ff8000
13:07:59: 729792: (729860): alloc_top_hi : 0000000008000000
13:07:59: 731618: (731687): rmo_top : 0000000008000000
13:07:59: 733445: (733514): ram_top : 0000000008000000
13:07:59: 735984: (736053): Building dt strings...
13:07:59: 980597: (980690): Building dt structure...
13:07:59: 1347639: (1347767): reserved memory map:
13:07:59: 1348376: (1348504): 0000000007ff8000 - 0000000000008000
13:07:59: 1351144: (1351273): 0000000000d43000 - 0000000000003000
13:07:59: 1354278: (1354407): Device tree strings 0x0000000000d44000 ->
0x0000000000d4437b
13:07:59: 1357474: (1357603): Device tree struct 0x0000000000d45000 ->
0x0000000000d46000
WARNING: 1360485: Open Firmware: Unsupported service 'close'
13:07:59: 1361195: (1361325): Calling quiesce ...
WARNING: 1361711: Open Firmware: Unsupported service 'quiesce'
13:07:59: 1362512: (1362642): returning from prom_init
13:07:59: 1363568: (1363698): ->dt_header_start=0x0000000000d43000
13:07:59: 1365251: (1365381): ->phys=0x0000000000000000
WARNING: 15550287: a.Unknown SPR requested in mfspr: 136
WARNING: 15550289: a.Unknown SPR requested in mtspr: 152
140000000: [0]: (PC:0xC000000000019D08) : 24002.4 Kilo-Inst/Sec :
24000.0 Kilo-Cycles/Sec
More information about the K42-discussion
mailing list