Skip to main content

developerWorks >  Power Architecture  >  Forums  >  Cell Broadband Engine Architecture forum  >  developerWorks

Simulator hangs in Eclipse IDE    Point your RSS reader here for a feed of the latest messages in this thread


Tags for this thread: 

     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 6 - Pages: 1 - Last Post: Nov 8, 2009 11:50 PM Last Post By: sniper
mjmawson

Posts: 5
Registered: Nov 05, 2009 07:31:00 AM
Simulator hangs in Eclipse IDE
Posted: Nov 05, 2009 07:36:31 AM
Click to report abuse...   Click to reply to this thread Reply
When i try to run the simulator in Eclipse it hangs at 21%. The "Start the Environment" window says "loading kernel", the Eclipse console has me logged in as "root@none" but the console does not respond to commands. I'm using SDK 3.1 and the x86_64 version of systemsim. Has anyone encountered this problem?
mjmawson

Posts: 5
Registered: Nov 05, 2009 07:31:00 AM
Re: Simulator hangs in Eclipse IDE
Posted: Nov 05, 2009 08:19:21 AM   in response to: mjmawson in response to: mjmawson's post
Click to report abuse...   Click to reply to this thread Reply
Update: I tried running the systemsim from the terminal, got the following output:
==============================================================================
THIS CELL BROADBAND ENGINE SYSTEM SIMULATOR, TOGETHER WITH ALL PERFORMANCE
DATA RESULTING THEREFROM, IS PROVIDED BY IBM AND RECEIVED BY YOU ON AN "AS-IS"
BASIS, WITHOUT WARRANTY OF ANY KIND. SEE THE APPLICABLE LICENSE FOR ADDITIONAL
TERMS AND CONDITIONS.
==============================================================================
GUI Enabled
Licensed Materials - Property of IBM.
(C) Copyright IBM Corporation 2001, 2009
All Rights Reserved.
Using initial run script /opt/ibm/systemsim-cell/bin/../lib/cell/systemsim.tcl
Warning: Cannot convert string "nil2" to type FontStruct
xterm: cannot load font -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
building tree....
clearing existing Openfirmware tree
done building tree.
LOAD : Opening ELF image file: /opt/ibm/systemsim-cell/bin/../images/cell/vmlinux
Elf text start address saved is 0x0000000001000000
Elf_ReadImage: Opening ELF image file: /opt/ibm/systemsim-cell/images/cell/vmlinux
Elf_ReadImage: alloc-ed 8784792 bytes for /opt/ibm/systemsim-cell/images/cell/vmlinux
vmlinux_get_struct_info got errors: couldn't read file "FAILED: Failed to find an appropriate output file destination
": no such file or directory
LOAD : ELF startup: PC=0x0000000001000000, msr=0x1000000000000000
LOAD : gpr[1]=0x000000000FFFFF90, gpr[2]=0x0000000000000000
WARNING: 0: (0): BogusDisk: COW: couldn't open/create COW table: sysroot_disk.cow.nC2SXC.table
WARNING: 0: (0): BogusDisk : problem with initializing cow
bogus disk init for /opt/ibm/systemsim-cell/bin/../images/cell/sysroot_disk failed
mkistler

Posts: 538
Registered: Nov 04, 2005 02:29:23 PM
Re: Simulator hangs in Eclipse IDE
Posted: Nov 05, 2009 08:52:00 AM   in response to: mjmawson in response to: mjmawson's post
Click to report abuse...   Click to reply to this thread Reply
A search on '21%' in this forum reveals that many people have encountered this problem.

See gcst's post on May 25, 2009 10:08:27 AM in the thread http://www.ibm.com/developerworks/forums/thread.jspa?threadID=231903 for the best resolution to the "21% complete" problem when launching the simulator from the Eclipse IDE.

Mike
mkistler

Posts: 538
Registered: Nov 04, 2005 02:29:23 PM
Re: Simulator hangs in Eclipse IDE
Posted: Nov 05, 2009 08:54:05 AM   in response to: mjmawson in response to: mjmawson's post
Click to report abuse...   Click to reply to this thread Reply
It looks like you do not have the images installed. You should see sysroot_disk and vmlinux in the /opt/ibm/systemsim-cell/images/cell directory. If not, then you have install the images.

Mike
mjmawson

Posts: 5
Registered: Nov 05, 2009 07:31:00 AM
Re: Simulator hangs in Eclipse IDE
Posted: Nov 05, 2009 09:06:54 AM   in response to: mkistler in response to: mkistler's post
Click to report abuse...   Click to reply to this thread Reply
The image was installed, your first post fixed it. Cheers
Roderick H.

Posts: 4
Registered: Nov 06, 2009 09:55:08 PM
Re: Simulator hangs in Eclipse IDE
Posted: Nov 06, 2009 10:01:00 PM   in response to: mjmawson in response to: mjmawson's post
Click to report abuse...   Click to reply to this thread Reply
I ran into the same issue with the emulator being stuck at 21% in Eclipse, and I tried my best to interpret the solution post, but I have no idea what is actually going on here, because it didn't fix my problem at all. Can someone explain all the various symbols used?

I'm not sure why the guy didn't just say "Remove this thing, add that thing, change these lines to those" in plain English.

Try the following changes to /opt/cell/ide/eclipse/plugins/com.ibm.celldt.simulator.profile.default_3.1.0.200809010950/simulator_init.tcl and see if that helps:

*
o
+ a/com.ibm.celldt.simulator.profile.default_3.1.0.200809010950/simulator_init.tcl

+ b/com.ibm.celldt.simulator.profile.default_3.1.0.200809010950/simulator_init.tcl
@@ -701,9 +701,9 @@ proc CellDT_ShutdownComplete { args } {
quit
}

-mysim trigger set console "The system is going down for system halt NOW!" CellDT_ShutdownNotified
-mysim trigger set console "INIT: Switching to runlevel: 0" CellDT_ShutdownStarted
-mysim trigger set console "INIT: no more processes left in this runlevel" CellDT_ShutdownComplete
+mysim trigger set console "init: rcS main" CellDT_ShutdownNotified
+mysim trigger set console "Sending all processes the TERM signal" CellDT_ShutdownStarted
+mysim trigger set console "md: stopping all md devices." CellDT_ShutdownComplete

proc writeConsole { t } {
mysim console create console_id in string $t
@@ -740,8 +740,8 @@ proc CellDT_BootNearlyReady { args } {
}

mysim trigger set console "Starting Linux" CellDT_BootedBios
-mysim trigger set console "Welcome to Fedora Core" CellDT_BootedLinux
-mysim trigger set console "INIT: Entering runlevel: 2" CellDT_BootNearlyReady
+mysim trigger set console "Welcome to Fedora" CellDT_BootedLinux
+mysim trigger set console "Starting login process" CellDT_BootNearlyReady

  1. # CONFIGURATION:
sniper

Posts: 40
Registered: Jul 15, 2009 10:22:48 PM
Re: Simulator hangs in Eclipse IDE
Posted: Nov 08, 2009 11:50:34 PM   in response to: Roderick H. in response to: Roderick H.'s post
Click to report abuse...   Click to reply to this thread Reply
excuse me,what's your meaning about "Try the following changes to /opt/cell/ide/eclipse/plugins/com.ibm.celldt.simulator.profile.default_3.1.0.200809010950/simulator_init.tcl"?
 Tags
Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums