[K42-discussion] devtree on mambo-gpul?

Patrick G. Bridges bridges at cs.unm.edu
Tue Jun 6 03:16:51 EST 2006


On Jun 4, 2006, at 10:01 PM, Amos Waterland wrote:

> On Sun, Jun 04, 2006 at 08:28:44PM -0600, Patrick G. Bridges wrote:
>> Should the devtree boot on mambo-gpul if I tell it to boot the
>> vmlinux file appropriately?
>
> Yes, absolutely.  It passes regress in fact.  Make sure you boot it  
> like
> this though:
>
>  k42console -m mambo -f k42-vmlinux -- \
>   MAMBO_BOOT_VMLINUX=1 MAMBO_MAPLE=1 MAMBO_TCL_STAMP=-120305  
> MAMBO_TYPE=gpul

It gets close with that (using the newest mambo I just downloaded  
from the IBM alphaworks website), but:

11:11:07: 1691127830: (962250649): Starting swap file registration
11:11:07: 1704023795: (975147868): initializing swap file system to / 
tmp/.SWAP
11:11:07: 1704074288: (975198367): initialized swap file system to FR
11:11:07: 1704096912: (975220993): Running initialization next step 18
11:11:07: 1704117394: (975241476): Running system initialization script.
11:11:07: 1704496067: (975620188): Mapping program baseServers, pid  
0x3, vp 0 to pp 0.
11:11:07: 1704907738: (976031925): 100000007000  
100000007000100040000000 100040000000could not find uid for pid 3,  
using 0
11:11:09: 1723987679: (995113897): baseServers is proxy to start / 
kbin/sysinit
11:11:09: 1724876282: (996002584): QMapping program baseServers, pid  
0x4, vp 0 to pp 0.
11:11:10: 1955059582: (1011632445):  
PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP 
PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP 
PPPPWARNING: file "/home/bridges/k42/kitchsrc/os/servers/baseServers/ 
ResMgr.C", line 836
11:11:19: 6751588234: (1080521425): warning: setuid called on own uid 0
11:11:19: 6753555556: (1082488947): Starting '/kbin/sysinit' on /dev/ 
pts/0
11:11:19: 6754615477: (1083548967): PPPPPPPMapping program /bin/bash,  
pid 0x5, vp 0 to pp 0.
11:11:20: 6761037678: (1089971722): PPPPPPPPPPPLaunched a null TRAP  
entry point, erp 0xc00000000591fda0.
WARNING: 6763997562: Static breakpoint at 0xC0000000001D0EE4; waiting  
for gdb
WARNING: 6763997562: MCM 0 waiting for GDB to attach on port 2046


***

When I try to attach powerpc64-linux-gdb to it, I get:

(gdb) target remote localhost:2046
Remote debugging using localhost:2046
WARNING: 6763997562: Connecting to gdb, port = 2046, waiting...
[New Thread 1]
Remote packet too long:  
0000000000000002c00000000591fbb0c000000000ebe9a00000000000000000c0000000 
0591f9f00000000000000001000000000000000100001000000002f80000000000000028 
c000000000ee529000000000000000880000000000000000000010000000500000000000 
000000000000000000000000000000000000000000000000000000000000000000000000 
000000000000000000000000000000000000000000000000000000000000000000000000 
000000000000000000000000000000000000003000000000000000000000100000004d10 
0000100000007000000000000000000500001000000002f8c000000000699e90c0000000 
0591fbb0fff8000000000000000000000000000000000000000000000000000000000000 
000000000000000000000000000000000000000000000000000000000000000000000000 
000000000000000000000000000000000000000000000000000000000000000000000000 
000000000000000000000000000000000000000000000000000000000000000000000000 
00000000000000000000000000000000000000000000000000000000000000000000000
Remote packet too long:  
0000000000000002c00000000591fbb0c000000000ebe9a00000000000000000c0000000 
0591f9f00000000000000001000000000000000100001000000002f80000000000000028 
c000000000ee529000000000000000880000000000000000000010000000500000000000 
000000000000000000000000000000000000000000000000000000000000000000000000 
000000000000000000000000000000000000000000000000000000000000000000000000 
000000000000000000000000000000000000003000000000000000000000100000004d10 
0000100000007000000000000000000500001000000002f8c000000000699e90c0000000 
0591fbb0fff8000000000000000000000000000000000000000000000000000000000000 
000000000000000000000000000000000000000000000000000000000000000000000000 
000000000000000000000000000000000000000000000000000000000000000000000000 
000000000000000000000000000000000000000000000000000000000000000000000000 
00000000000000000000000000000000000000000000000000000000000000000000000
Remote packet too long:  
0000000000000002c00000000591fbb0c000000000ebe9a00000000000000000c0000000 
0591f9f00000000000000001000000000000000100001000000002f80000000000000028 
c000000000ee529000000000000000880000000000000000000010000000500000000000 
000000000000000000000000000000000000000000000000000000000000000000000000 
000000000000000000---Type <return> to continue, or q <return> to  
quit---WARNING: 6763997562: Remote debugger connection lost!!!
WARNING: 6763997562: Removing all breakpoints...
WARNING: 6763997562: Returning to simulator prompt...
6763997562: ** Execution stopped: gdb,  **
6763997562: ** finished running 1092931873 instructions **


Any suggestions?




More information about the K42-discussion mailing list