From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f51.google.com (mail-vk0-f51.google.com [209.85.213.51]) by dpdk.org (Postfix) with ESMTP id CCF51567C; Tue, 13 Jun 2017 19:34:51 +0200 (CEST) Received: by mail-vk0-f51.google.com with SMTP id y70so29745194vky.3; Tue, 13 Jun 2017 10:34:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=qeQl4Uz/LjVEAmObW426AirpkWbeZsQDBxc3htVqO8Y=; b=Razsp0DGNwxL9Vjhbdh6d7w4ttGab/q9sEm+LIsHNpA98H3Iz/isxGoe4QVu6W0WVu QBwYBI6ZFTfbYx16tSNiAN8Gz5rTePsZmXrs7B9yIqupEql30dTADyRpsNj9H0Op0Aj7 wQh+JehlSxDFLRiSCsqeheCE+BU/q6cRKAnYkOcZko36FghSC1GLQnrs7VWfoHeFTiFI hkm8FmuHL4UDpoiSMPuljry4f6WRtjywwEstMcj4+ALZ9MdZB6VlmQOmjzaWxgRw0xxJ l063lXuUdpnQG7+x4LCEDzrcGWdhW/tulhNHMvPMMOCJO7nmu09L9FQzhgWc3zVeouyp kmQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=qeQl4Uz/LjVEAmObW426AirpkWbeZsQDBxc3htVqO8Y=; b=NH0unDVIOHVJCArnX14y+4fxxSqVfT5D6ZWtdKG24LJGc3PBpGcvcg0f9SSqJxhWkc t8RPpP/AtorGGcw43UlC2FLiaPO12j8wo+eLW6h0FU/EJcCQmEnz0gsW8buUK817RFTN C1OqfQB/JtYztd7iii0RTjPtFD2lLKfi/+C0JH/z5szlUb+32ttmlEMb9/HWHBP3nchB vKDGHU1VQw7geEylEMrjVTajxtpcDO1JMWwqkemKakrQijGATKwlHYHNiroHYYBxGZpP jeGezm5t3cEHxTfw1Levld+ROIllkKpyYmWyIpTOHQQEi0Pup2S1KnmYRUb7qh3ps3CL 27fA== X-Gm-Message-State: AKS2vOwg7VwNDvaW86zXC8MPJA/8BvDUAbi7HEODA4zk2px1pfGVHxZ5 6Jm+tKlkh2rroKz8h5VLHeDCbAcxV7lN X-Received: by 10.31.139.139 with SMTP id n133mr577087vkd.1.1497375290576; Tue, 13 Jun 2017 10:34:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.77.155 with HTTP; Tue, 13 Jun 2017 10:34:50 -0700 (PDT) From: Junguk Cho Date: Tue, 13 Jun 2017 11:34:50 -0600 Message-ID: To: "users@dpdk.org" , dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Question about problem when calling rte_eal_init() X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 17:34:52 -0000 Hi, I use ovs-dpdk with one application which talks to ovs by using ring device and "--proc-type=secondary" (secondary processes). It generally works well, but sometimes it shows this error. It seems it could not find correct memory mapping in the application. 2017-06-13 11:21:40.988 STDERR Thread-2 [INFO] EAL: Probing VFIO support... 2017-06-13 11:21:40.988 STDERR Thread-2 [INFO] EAL: WARNING: Address Space Layout Randomization (ASLR) is enabled in the kernel. 2017-06-13 11:21:40.988 STDERR Thread-2 [INFO] EAL: This may cause issues with mapping memory into secondary processes 2017-06-13 11:21:40.989 STDERR Thread-2 [INFO] EAL: Could not mmap 17146314752 bytes in /dev/zero at [0x7f662c800000], got [0x7f6506000000] - please use '--base-virtaddr' option 2017-06-13 11:21:40.989 STDERR Thread-2 [INFO] EAL: It is recommended to disable ASLR in the kernel and retry running both primary and secondary processes 2017-06-13 11:21:40.990 STDERR Thread-2 [INFO] PANIC in rte_eal_init(): 2017-06-13 11:21:40.990 STDERR Thread-2 [INFO] Cannot init memory I tried to disable ASLR, but it did not work. Does anyone have the similar situation? If so, would you please explain why this happens and how to avoid it? Thanks, Junguk