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

VPP could not start, because huge pages config file location was changed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • None
    • None
    • None
    • None

      i have 3 builds (deb packages), one from 28.sep, second from 4.oct and third from 7.oct

      when i uninstalled vpp with:
      sudo dpkg --purge vpp vpp-dbg vpp-dev vpp-dpdk-dev vpp-dpdk-dkms vpp-lib vpp-plugins
      and have installed second or third build, vpp could not start because huge pages config file is here:

      • Applying /usr/lib/sysctl.d/80-vpp.conf ...
        instead of /etc as was in first build

      if i check hugepages (after reboot), they are not set:
      vagrant@localhost:~$ cat /proc/meminfo | grep Huge
      AnonHugePages: 0 kB
      HugePages_Total: 0
      HugePages_Free: 0
      HugePages_Rsvd: 0
      HugePages_Surp: 0
      Hugepagesize: 2048 kB

      and vpp is not starting:
      Oct 7 05:07:39 localhost kernel: [ 4278.641325] init: vpp main process ended, respawning
      Oct 7 05:07:39 localhost vpp[1519]: dpdk_config: not enough free huge pages
      Oct 7 05:07:39 localhost kernel: [ 4278.670617] init: vpp main process ended, respawning
      Oct 7 05:07:39 localhost vpp[1526]: dpdk_config: not enough free huge pages
      Oct 7 05:07:39 localhost kernel: [ 4278.700084] init: vpp respawning too fast, stopped

      also inside deb file, path was changed:
      rw-rr- root/root 548 2016-08-24 23:58 ./usr/lib/sysctl.d/80-vpp.conf

      workaround for this is just reinstalling old one (first) build with some newer build (without uninstalling previous), then path is not changed to /usr/lib and file stays in /etc/sysctl.d:

      • Applying /etc/sysctl.d/80-vpp.conf ...

      i have:
      Linux localhost 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

            amarcine Andrej Marcinek
            amarcine Andrej Marcinek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: