vMX

 View Only
last person joined: 10 days ago 

Ask questions and share experiences about vMX.
  • 1.  vMX VPF crashed during the boot up (Using 15.1F4.15 on Ubuntu 14.04)

    Posted 07-01-2016 20:49

    Hi,

     

    I have installed the vMX 15.1F4.15 on Ubuntu 14.04. But I found out that there were no interface displayed on the virtual FPC. Later on I tried to connect to the console of vfp and found out a number of errors during the boot up and core dumped.

     

    Any reason why it happened ? I have assigned 3 vCPU and 6GB RAM for the VPF. I will try to increase the RAM to 8GB to see if it is related.

     

    Cheers,

    ---

    Raymond

     

    root@vmx1> show chassis fpc pic-status
    Slot 0 Present Virtual FPC


    VPF
    $ sudo ./vmx.sh --console vfp vmx1
    --
    Login Console Port For vfp-vmx1 - 10001
    Press Ctrl-] to exit anytime
    --
    Trying ::1...
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.

     

    mpc :
    cat: can't open '/var/jnx/card/local/type': No such file or directory
    tx_hello_tx: Failed to get card type defaulting to 0
    cat: can't open '/var/jnx/card/local/slot': No such file or directory
    tx_hello_tx: Failed to get card slot defaulting to 0
    tnp_hello_tx: Board type 0
    tnp_hello_tx: Board slot 0
    SETTING UP DPDK ENVIRONMENT ON
    Linux vfp-vmx1 3.10.38-ltsi-rt34-WR6.0.0.12_preempt-rt #1 SMP PREEMPT RT Wed Dec 2 16:34:33 PST 2015 x86_64 GNU/Linux
    dpdk_setup.sh: line 21: make: command not found
    insmod: can't insert '/home/pfe/riot/dpdk/x86_64-native-linuxapp-gcc/kmod/igb_uio.ko': File exists
    Creating /mnt/huge and mounting as hugetlbfs
    Detected Junos Device type VirtIO
    bind interface 00:05.0 00:06.0 00:07.0 00:08.0 from UIO
    uio device registered with irq 2e
    uio device registered with irq 2f
    uio device registered with irq 30
    uio device registered with irq 31
    OK
    kernel.core_pattern = /var/crash/core.%e.%t.%p.gz
    Number of CPUs available : 3
    Number of PORTs to service : 4
    /home/pfe/riot/build/app/riot -c 0x7 -n 2 -- --rx "(0,0,0,1),(1,0,1,1),(2,0,2,1),(3,0,3,1)," --tx "(0,1),(1,1),(2,1),(3,1)," --w "2" --rpio "local,3000,3001" --hostif "local,3002" --bsz "(32,32),(32,32),(32,32)"
    EAL: Setting up memory...
    EAL: Ask a virtual area of 0x200000 bytes
    EAL: Virtual area found at 0x7f89df200000 (size = 0x200000)
    EAL: Ask a virtual area of 0x3fc00000 bytes
    EAL: Virtual area found at 0x7f899f400000 (size = 0x3fc00000)
    EAL: Ask a virtual area of 0x3b800000 bytes
    EAL: Virtual area found at 0x7f8963a00000 (size = 0x3b800000)
    EAL: Ask a virtual area of 0x200000 bytes
    EAL: Virtual area found at 0x7f8963600000 (size = 0x200000)
    EAL: Ask a virtual area of 0x200000 bytes
    EAL: Virtual area found at 0x7f8963200000 (size = 0x200000)
    EAL: Ask a virtual area of 0x7dc00000 bytes
    EAL: Virtual area found at 0x7f88e5400000 (size = 0x7dc00000)
    EAL: Ask a virtual area of 0x400000 bytes
    EAL: Virtual area found at 0x7f88e4e00000 (size = 0x400000)
    EAL: Ask a virtual area of 0x1c00000 bytes
    EAL: Virtual area found at 0x7f88e3000000 (size = 0x1c00000)
    EAL: Ask a virtual area of 0xa00000 bytes
    EAL: Virtual area found at 0x7f88e2400000 (size = 0xa00000)
    EAL: Ask a virtual area of 0xc00000 bytes
    EAL: Virtual area found at 0x7f88e1600000 (size = 0xc00000)
    EAL: Ask a virtual area of 0x200000 bytes
    EAL: Virtual area found at 0x7f88e1200000 (size = 0x200000)
    EAL: Ask a virtual area of 0x400000 bytes
    EAL: Virtual area found at 0x7f88e0c00000 (size = 0x400000)
    EAL: Ask a virtual area of 0x1400000 bytes
    EAL: Virtual area found at 0x7f88df600000 (size = 0x1400000)
    EAL: Ask a virtual area of 0x400000 bytes
    EAL: Virtual area found at 0x7f88df000000 (size = 0x400000)
    EAL: Ask a virtual area of 0x400000 bytes
    EAL: Virtual area found at 0x7f88dea00000 (size = 0x400000)
    EAL: Ask a virtual area of 0x400000 bytes
    EAL: Virtual area found at 0x7f88de400000 (size = 0x400000)
    EAL: Ask a virtual area of 0x800000 bytes
    EAL: Virtual area found at 0x7f88dda00000 (size = 0x800000)
    EAL: Ask a virtual area of 0x200000 bytes
    EAL: Virtual area found at 0x7f88dd600000 (size = 0x200000)
    EAL: Ask a virtual area of 0x400000 bytes
    EAL: Virtual area found at 0x7f88dd000000 (size = 0x400000)
    EAL: Requesting 2048 pages of size 2MB from socket 0
    EAL: TSC frequency is ~3407988 KHz
    EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable clock cycles !
    EAL: 0000:00:03.0 not managed by UIO driver, skipping
    EAL: 0000:00:04.0 not managed by UIO driver, skipping
    CONFIG: --f argument not given : Flow caching will not be enabled
    INIT: Creating the mbuf pool for socket 0 ...
    INIT: Creating ring with priority 0 to connect I/O lcore 1 (socket 0) with worker lcore 2 ...
    INIT: Creating ring with priority 1 to connect I/O lcore 1 (socket 0) with worker lcore 2 ...
    INIT: Creating ring to connect worker lcore 2 with TX port 0 (through I/O lcore 1) (socket 0) ...
    INIT: Creating ring to connect worker lcore 2 with TX port 1 (through I/O lcore 1) (socket 0) ...
    INIT: Creating ring to connect worker lcore 2 with TX port 2 (through I/O lcore 1) (socket 0) ...
    INIT: Creating ring to connect worker lcore 2 with TX port 3 (through I/O lcore 1) (socket 0) ...
    INIT: No. of Lpolicer Buckets : 1
    INIT: Setting worker Lpolicer: 0 start-idx 0
    HOSTIF: Creating ring to connect hostif lcore 0 with worker lcore 2 ...
    HOSTIF: Creating ring with priority 0 to connect worker lcore 0 (socket 0) with hostif worker lcore 2 ...
    HOSTIF: Creating ring with priority 1 to connect worker lcore 0 (socket 0) with hostif worker lcore 2 ...
    CONFIG: Runtime option summary:
    CONFIG: rx capture port mask : 0x0
    CONFIG: rx capture frequency : 1
    CONFIG: rx capture length : 128
    EAL: 0000:00:03.0 not managed by UIO driver, skipping
    EAL: 0000:00:04.0 not managed by UIO driver, skipping
    INIT: Initializing NIC port 0 ...
    INIT: Initializing NIC port 0 RX queue 0 ...
    INIT: Initializing NIC port 0 TX queue 0 ...
    INIT: Initializing NIC port 1 ...
    INIT: Initializing NIC port 1 RX queue 0 ...
    INIT: Initializing NIC port 1 TX queue 0 ...
    INIT: Initializing NIC port 2 ...
    INIT: Initializing NIC port 2 RX queue 0 ...
    INIT: Initializing NIC port 2 TX queue 0 ...
    INIT: Initializing NIC port 3 ...
    INIT: Initializing NIC port 3 RX queue 0 ...
    INIT: Initializing NIC port 3 TX queue 0 ...
    RPIO: Command socket listening on: localhost:3000
    RPIO: Event socket listening on: localhost:3001
    LU: Initializing LU
    INIT: Initialization completed.
    CONFIG: NIC RX ports: CONFIG: 0 (CONFIG: 0 CONFIG: ) CONFIG: 1 (CONFIG: 0 CONFIG: ) CONFIG: 2 (CONFIG: 0 CONFIG: ) CONFIG: 3 (CONFIG: 0 CONFIG: ) CONFIG: ;
    CONFIG: I/O lcore 1 (socket 0): CONFIG: RX ports CONFIG: (0, 0, 0) CONFIG: (1, 0, 1) CONFIG: (2, 0, 2) CONFIG: (3, 0, 3) CONFIG: ; CONFIG: Output rings CONFIG:
    Priority : HiCONFIG: 0x7f89df3d8000 CONFIG:
    Priority : NorCONFIG: 0x7f89df3da080 CONFIG: ;
    CONFIG: Worker lcore 2 (socket 0) ID 0: CONFIG: Input rings CONFIG:
    Priority : HiCONFIG: 0x1d9a540 CONFIG: 0x1d9a608 CONFIG:
    Priority : NorCONFIG: 0x1d9a540 CONFIG: ;
    CONFIG:
    CONFIG:
    CONFIG: NIC TX ports: CONFIG: 0 CONFIG: 1 CONFIG: 2 CONFIG: 3 CONFIG: ;
    CONFIG: I/O lcore 1 (socket 0): CONFIG: Input rings per TX port CONFIG: 0 (CONFIG: 0x7f89df3dc100 CONFIG: ) CONFIG: 1 (CONFIG: 0x7f89df3de180 CONFIG: ) CONFIG: 2 (CONFIG: 0x7f89df3e0200 CONFIG: ) CONFIG: 3 (CONFIG: 0x7f89df3e2280 CONFIG: ) CONFIG: ;
    CONFIG: Worker lcore 2 (socket 0) ID 0:
    CONFIG: Output rings per TX port CONFIG: 0 (0x7f89df3dc100) CONFIG: 1 (0x7f89df3de180) CONFIG: 2 (0x7f89df3e0200) CONFIG: 3 (0x7f89df3e2280) CONFIG: ;
    CONFIG: Ring sizes: NIC RX = 1024; Worker in = 1024; Worker out = 1024; NIC TX = 1024;
    CONFIG: Burst sizes: I/O RX (rd = 32, wr = 32); Worker (rd = 32, wr = 32); I/O TX (rd = 32, wr = 32)
    RUNTIME: Logical core 1 (I/O) main loop.

    RUNTIME: Logical core 2 (worker 0) main loop.

    Sending file... /var/crash/core.vmxt.1467392524.2531.gz
    /usr/share/pfe/start_vmxt.sh: line 7: 2531 Aborted (core dumped) /usr/share/pfe/vmxt -N
    var: core.vmxt.mpc.1467392524.2531.gz
    core.vmxt.mpc.1467392524.2531.gz file sent

     



  • 2.  RE: vMX VPF crashed during the boot up (Using 15.1F4.15 on Ubuntu 14.04)
    Best Answer

    Posted 07-02-2016 00:32

    Hi all,

     

    just sharing that Problem solved. I increased the memory from 6122 to 8192 on the vMX.conf and rebuilt everything. Though I could not see any error messages leading me to the memory issue...

     

    ---

    Raymond



  • 3.  RE: vMX VPF crashed during the boot up (Using 15.1F4.15 on Ubuntu 14.04)

    Posted 06-19-2017 00:55

    @raymlai wrote:

    Hi all,

     

    just sharing that Problem solved. I increased the memory from 6122 to 8192 on the vMX.conf and rebuilt everything. Though I could not see any error messages leading me to the memory issue...

     

    ---

    Raymond


     

    I would like to confirm that increasing memory can solve this problem.
    thank you very much,