From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 33) id C8B575B1A; Fri, 1 Jun 2018 18:05:42 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Fri, 01 Jun 2018 16:05:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: core X-Bugzilla-Version: 18.02 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: m.lanzuisi@resi.it X-Bugzilla-Status: CONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://dpdk.org/tracker/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 59] Cannot start secondary processes anyhow on Redhat EL7 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: Fri, 01 Jun 2018 16:05:42 -0000 https://dpdk.org/tracker/show_bug.cgi?id=3D59 Bug ID: 59 Summary: Cannot start secondary processes anyhow on Redhat EL7 Product: DPDK Version: 18.02 Hardware: x86 OS: Linux Status: CONFIRMED Severity: major Priority: Normal Component: core Assignee: dev@dpdk.org Reporter: m.lanzuisi@resi.it Target Milestone: --- Created attachment 7 --> https://dpdk.org/tracker/attachment.cgi?id=3D7&action=3Dedit Core Dump GDB Output Hi all, I was using DPDK 2.2.0 on Redhat EL6. It worked with this configuration: - a tiny process launched the "rte_eal_get_physmem_layout()" function; - the primary process started with "--base-virtaddr=3DX" where X is the val= ue returned by the tiny process; - the secondary process started and attached to the rings and mempools crea= ted by the primary process. Now I downloaded dpdk-18.02.1.tar.xz, recompiled all the processes with the= new version, changed some functions for compatibility and ran everything on a Redhat EL7. ASLR is disabled, but I had the=20 "WARNING! Base virtual address hint (0x7fff80000000 !=3D 0x7ffefffcd000) not respected!" messages when starting the primary process, so changed manually the "--base-virtaddr" parameter to avoid these warnings. After the warnings did not happen any more, when starting the secondary process, it fails with a segfault. To avoid the warnings, I set the address "0x7ffa3ffcd000" Inside the core dump attached you can see that address requested by the secondary process is "0x7ffabfd47080" and the gdb says "Cannot access memor= y at address 0x7ffabfd47080. The function that generates the error is "rte_ctrlmbuf_alloc()". I don't know if any other parameter in the kernel/hugepages spaces must be = set. --=20 You are receiving this mail because: You are the assignee for the bug.=