Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-1792

ThunderX1 - vpp v19.08.1 crash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • 19.08
    • 19.08
    • None

      I checkout the commit f4dcae4164f93dac80d4af19af0ee20e712ec673 (HEAD, tag: v19.08.1)

      Then

      make install-dep

      make install-ext-deps

      make pkg-deb

      sudo dpkg -i libvppinfra_19.08.1-release_arm64.deb vpp-dbg_19.08.1-release_arm64.deb vpp-plugin-core_19.08.1-release_arm64.deb vpp-plugin-dpdk_19.08.1-release_arm64.deb vpp_19.08.1-release_arm64.deb

       

      I stopped the VPP service and then rerun it with ThunderX specific configuration file:

      sudo service vpp stop
      sudo service vpp status
      sudo /usr/bin/vpp -c /etc/vpp/contiv-vswitch.conf

       

      unix {
          nodaemon
          cli-listen /run/vpp/cli.sock
          cli-no-pager
          poll-sleep-usec 100
          log /var/contiv/vpp.log
      }
      nat {
          endpoint-dependent
          translation hash buckets 1048576
          translation hash memory 268435456
          user hash buckets 1024
          max translations per user 10000
      }
      acl-plugin {
          use tuple merge 0
      }
      api-trace {
          on
          nitems 5000
      }
      socksvr {
         default
      }
      statseg {
         default
      }
      dpdk {
         dev 0002:01:00.2 
      }
      
      

      The VPP successfully started .

       

      I opened vppctl in other terminal and issued commands:

      stanislav@adam:~$ sudo /usr/bin/vppctl
          _______    _        _   _____  ___
       __/ __/ _ \  (_)__    | | / / _ \/ _ \
       _/ _// // / / / _ \   | |/ / ___/ ___/
       /_/ /____(_)_/\___/   |___/_/  /_/vpp# show interface
                    Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     Counter          Count
      VirtualFunctionEthernet1/0/2      1     down         9000/0/0/0     rx-miss                     5980
      local0                            0     down          0/0/0/0
      vpp#
      vpp# show hardware-interfaces
                    Name                Idx   Link  Hardware
      VirtualFunctionEthernet1/0/2       1     up   VirtualFunctionEthernet1/0/2
        Link speed: 10 Gbps
        Ethernet address 30:0e:d5:ff:0d:9e
        Cavium ThunderX
          carrier up full duplex mtu 9190
          flags: pmd maybe-multiseg tx-offload rx-ip4-cksum
          rx: queues 1 (max 96), desc 1024 (min 0 max 65535 align 1)
          tx: queues 1 (max 96), desc 1024 (min 0 max 65535 align 1)
          pci: device 177d:a034 subsystem 177d:a134 address 0002:01:00.02 numa 0
          max rx packet len: 9204
          promiscuous: unicast off all-multicast off
          vlan offload: strip off filter off qinq off
          rx offload avail:  vlan-strip ipv4-cksum udp-cksum tcp-cksum jumbo-frame
                             scatter
          rx offload active: ipv4-cksum jumbo-frame scatter
          tx offload avail:  ipv4-cksum udp-cksum tcp-cksum outer-ipv4-cksum multi-segs
                             mbuf-fast-free 
          tx offload active: udp-cksum tcp-cksum multi-segs 
          rss avail:         ipv4-tcp ipv4-udp ipv4 ipv6-tcp ipv6-udp ipv6 port
                             vxlan geneve nvgre
          rss active:        none
          tx burst function: (nil)
          rx burst function: (nil)    rx missed                                           5980
      local0                             0    down  local0
        Link speed: unknown
        local
      vpp# show version
      vpp v20.01-rc0~375-g3ae9f5a90 built by stanislav on adam at Thu Oct 10 13:25:55 UTC 2019
      vpp# show version verbose
      Version:                  v20.01-rc0~375-g3ae9f5a90
      Compiled by:              stanislav
      Compile host:             adam
      Compile date:             Thu Oct 10 13:25:55 UTC 2019
      Compile location:         /home/stanislav/work/fdio/vpp
      Compiler:                 GCC 8.3.0
      Current PID:              22006
      vpp# set interface state VirtualFunctionEthernet1/0/2 up
      
      

      After that VPP crashed.

      I found postmortem file in /tmp folder

      .

            Unassigned Unassigned
            stanislav-chlebec Stanislav Chlebec
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: