From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by dpdk.org (Postfix) with ESMTP id AF64A5A85 for ; Mon, 19 Jan 2015 10:03:37 +0100 (CET) Received: by mail-wi0-f170.google.com with SMTP id em10so3980744wid.1 for ; Mon, 19 Jan 2015 01:03:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=IJqN47smf3xUkvYYSnMsDoiEJ2Rtw1xkLaQH/udsvRc=; b=P7T5oHtgrE4yAxEw9t9Zo2LSX+5phnvd2mMNKEVZDj+Ix91nfmFkkiMPVrz8OEcKyr dGeHVXATWyTNsMHu3xvwrwB5yDQlJexmocjxFQiOQK+dKEm0mOcRNpNBH5JgUopP8a4r e2EvmMy5vZK89rukPLMVlcwXJQQAqIqI4LLA79Gf2CxZDplu6GoDyswI2c8WpgCaG00t ZEJydEq4w9zHZ8MA9sMkWwm+xxvm47wBcxOhz2IDM9XMEHefVxsMSRBge5depE5DxPQI WEk63dwwZ1V5OmD+pB52mtYpL0Nuatq3pJK0HjDFnOi5hiji+LMFQ2zmf2b1BxFrNVSn LEcg== X-Gm-Message-State: ALoCoQmGaaxKFgJ5I0mrH0uVtN/ukdd2lJYiQHhRybfhTs5krHcXUk+sJQvMlnsa7A7FHuWJlcL1 X-Received: by 10.180.87.129 with SMTP id ay1mr33518415wib.60.1421658217311; Mon, 19 Jan 2015 01:03:37 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id gz7sm13352334wib.22.2015.01.19.01.03.36 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Jan 2015 01:03:36 -0800 (PST) From: Thomas Monjalon To: Tetsuya Mukawa Date: Mon, 19 Jan 2015 10:03:14 +0100 Message-ID: <3116331.Il0dUPTdRj@xps13> Organization: 6WIND User-Agent: KMail/4.14.3 (Linux/3.17.6-1-ARCH; KDE/4.14.3; x86_64; ; ) In-Reply-To: <54BCC6C6.2050301@igel.co.jp> References: <54BCADF3.1020908@igel.co.jp> <345C63BAECC1AD42A2EC8C63AFFC3ADC27480FA1@IRSMSX101.ger.corp.intel.com> <54BCC6C6.2050301@igel.co.jp> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] rte_eal_init() causes PANIC using latest DPDK code. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2015 09:03:37 -0000 2015-01-19 17:56, Tetsuya Mukawa: > On 2015/01/19 17:53, Doherty, Declan wrote: > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Tetsuya Mukawa > >> Hi, > >> > >> I've got following error using latest DPDK code. > >> Does someone face the same issue? > >> In my environment, It seems almost all DPDK apps (at lease l2fwd and > >> testpmd) cannot work. > >> > >> -------------------------------------------- > >> EAL: Support maximum 128 logical core(s) by configuration. > >> EAL: Detected 8 lcore(s) > >> EAL: cannot open VFIO container, error 2 (No such file or directory) > >> EAL: VFIO support could not be initialized > >> EAL: Setting up memory... > >> EAL: Ask a virtual area of 0x280000000 bytes > >> EAL: Virtual area found at 0x7ffd40000000 (size = 0x280000000) > >> EAL: Requesting 10 pages of size 1024MB from socket 0 > >> RING: Cannot reserve memory for tailq > >> EAL: rte_eal_common_log_init(): cannot create log_history mempool > >> PANIC in rte_eal_init(): > >> Cannot init logs > >> 6: [./build/l2fwd() [0x41cf53]] > >> 5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) > >> [0x7ffff7105ec5]] > >> 4: [./build/l2fwd(main+0x1c) [0x41c52c]] > >> 3: [./build/l2fwd(rte_eal_init+0x1073) [0x46a653]] > >> 2: [./build/l2fwd(__rte_panic+0xc9) [0x41c3ff]] > >> 1: [./build/l2fwd(rte_dump_stack+0x18) [0x471828]] > >> -------------------------------------------- > >> > >> I tried bisect, and it seems below patch causes this. > >> "eal: fix check for power of 2 in 0 case". > >> > > Hey Tetsuya, > > > > This is the issue which my patch (http://dpdk.org/dev/patchwork/patch/2333/) submitted on Friday addresses. > > Thanks. > I could resolve the issue. It should be fixed now: http://dpdk.org/browse/dpdk/commit/?id=8e3e06501660 Thanks for reporting -- Thomas