ChorusOS 4.0.1 Simulator for the Solaris Operating Environment (SPARC Platform Edition) User's Guide

Booting the Simulator System Image

When the configuration file has been created, boot the simulator with the loader command.

  1. Make sure your PATH has been set correctly to include the directory install_dir/tools/host/bin.

  2. Start the simulator by loading it into memory with the loader command:


    $ loader chorus.RAM instance_number
    

    Where instance_number is the number of the simulator you have configured in the site configuration file.

    The following messages are displayed on the standard output:

       Loading chorus.RAM at 0x40000000 (1073741824)
    IP address : 1 tag occurence(s) patched
    ChorusOS is booting ...
    Reading site configuration file ...
    
    ChorusOS r4.0.1 for Unix - Solaris/Sparc
    Copyright (c) 1999 Sun Microsystems, Inc. All rights reserved.
     
    Kernel modules : CORE SCHED_FIFO SEM MIPC IPC_L MEM_FLM KDB FAULT_KDB TICK MON ENV
    ETIMER LOG LAPSAFE VTIMER MUTEX EVENT UI DATE PERF TIMEOUT LAPBIND DKI 
    MEM: memory device 'sys_bank' vaddr 0x40180000 size 0x148000
    /UnixClock: clock -- resolution = 1000 nano-seconds
    /UnixClock: simulator:solaris-timer driver started
    
    /sigio/pseudoEther: sun:pseudo-ether driver started
    /sigio: simulator:solaris-sigio driver started
    
    /unixrtc: unixrtc-(rtc) driver started
    TICK: warning -- timer device assigned to the system-tick not found
    TICK: timer[0] (UnixClock) device is used for the system-tick
    IOM: SOFTINTR DISABLED (-31). Using an Interrupt thread
    IOM Init cluster space from: 0x400ad000 to: 0x400ed800 [129 items of size: 2048]
    IOM Init io-buf pool from: 0x400ed890 to: 0x400eddb0 [8 items of size: 164]
    IOM Init raw io-buffer pool from: 0x400eddb0 to: 0x400ef230 [32 items of size: 164]
    Copyright (c) 1992-1998 FreeBSD Inc.
    Copyright (c) 1982, 1986, 1989, 1991, 1993
            The Regents of the University of California.  All rights reserved.
    
    max disk buffer space = 0x10000
    /rd: sun:ram--disk driver started
    C_INIT: started
    C_INIT: /image/sys_bank mounted on /dev/bd01
    C_INIT: found /image/sys_bank/sysadm.ini
    C_INIT: executing start-up file /image/sys_bank/sysadm.ini
    iomMakeDevHandler name = ifeth
    bpf: ifeth0 attached
    IOM: ifnet ifeth0 bound to device /sigio/pseudoEther
    iomMakeDevHandler name = lo
    bpf: lo0 attached
    iomMakeDevHandler name = bpf
    iomMakeDevHandler name = bpf
    add net default: gateway 2.1.1.1
    ifeth0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
            inet 2.1.1.2 netmask 0xff000000 broadcast 2.255.255.255
            ether 20:20:00:00:00:0c 
    lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
            inet 127.0.0.1 netmask 0xff000000 
    C_INIT: rshd started

Note -

If you have more than one simulator running under the same instance number, the following error occurs:

/sigio/pseudoEther: error -- /dev/simu1 ioctl(ETHER_SET) failed (22)

The solution is to stop every instance of the simulator and run it again.