dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
To: Tetsuya Mukawa <mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>,
	david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org
Cc: dev-VfR2kkLFssw@public.gmane.org
Subject: Re: Testpmd returns error.
Date: Sun, 22 Feb 2015 15:17:43 +0100	[thread overview]
Message-ID: <3376494.YE1J4OXSVA@xps13> (raw)
In-Reply-To: <54E9695A.5010509-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>

Hi Tetsuya,

2015-02-22 14:30, Tetsuya Mukawa:
> Hi,
> 
> In my environment, testpmd in latest master branch returns error like below.
> 
> $ sudo ./tools/dpdk_nic_bind.py -b igb_uio 0000:02:00.0
> $ sudo ./x86_64-native-linuxapp-gcc/app/testpmd -c f -n 1 -- -i
> EAL: Detected lcore 0 as core 0 on socket 0
> EAL: Detected lcore 1 as core 1 on socket 0
> EAL: Detected lcore 2 as core 2 on socket 0
> EAL: Detected lcore 3 as core 3 on socket 0
> EAL: Detected lcore 4 as core 4 on socket 0
> EAL: Detected lcore 5 as core 5 on socket 0
> EAL: Detected lcore 6 as core 6 on socket 0
> EAL: Detected lcore 7 as core 7 on socket 0
> EAL: Support maximum 128 logical core(s) by configuration.
> EAL: Detected 8 lcore(s)
> EAL: VFIO modules not all loaded, skip VFIO support...
> 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
> EAL: TSC frequency is ~3991450 KHz
> EAL: Master core 0 is ready (tid=f7fd6840)
> PMD: ENICPMD trace: rte_enic_pmd_init
> EAL: Core 3 is ready (tid=f58e0700)
> EAL: Core 2 is ready (tid=f60e1700)
> EAL: Core 1 is ready (tid=f68e2700)
> EAL: PCI device 0000:02:00.0 on NUMA socket -1
> EAL:   probe driver: 8086:10b9 rte_em_pmd
> EAL:   PCI memory mapped at 0x7fffc0000000
> EAL: pci_map_resource(): cannot mmap(23, 0x7fffc0020000, 0x20000,
> 0x1000): Invalid argument (0xffffffffffffffff)
> EAL: Error - exiting with code: 1
>   Cause: Requested device 0000:02:00.0 cannot be used
> 
> 
> I've run git-bisect, and it seems following commit cause this error.
> 
> commit 4a499c64959074ba6fa6a5a2b3a2a6aa10627fa1
> Author: Danny Zhou <danny.zhou-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> Date:   Fri Feb 20 16:59:15 2015 +0000
> 
>     eal/linux: enable uio_pci_generic support

Thank you Tetsuya for reporting and sorry to disturb you with this new problem.
Please ignore this patchset in your hotplug development.

> Someone, could you please check it?

It is possible that this patchset was not correctly tested.
We might revert it or try to fix it.
I think the decision should be done by its authors (Danny, Bruce),
or the Linux EAL maintainer (David).

David, any opinion?

  parent reply	other threads:[~2015-02-22 14:17 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-22  5:30 Testpmd returns error Tetsuya Mukawa
     [not found] ` <54E9695A.5010509-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2015-02-22 14:17   ` Thomas Monjalon [this message]
2015-02-22 16:19     ` David Marchand
     [not found]       ` <CALwxeUuvBGp0hbTVLHmY2ig6LnU=F4yfUvXVqOvzdi+4U3RG7A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-22 18:51         ` Richardson, Bruce
     [not found]           ` <E2F786A9-E7CB-496C-9C7D-BC1EB7E850E5-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-22 20:31             ` Bruce Richardson
2015-02-22 20:46   ` Bruce Richardson
2015-02-23  2:33     ` Tetsuya Mukawa
     [not found]       ` <54EA9189.6050203-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2015-02-23 11:12         ` Bruce Richardson
2015-02-23 11:36           ` Tetsuya Mukawa
2015-02-23 14:57   ` [PATCH] eal: mmap uio resources using resourceX files Bruce Richardson
     [not found]     ` <1424703444-30761-1-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-23 15:00       ` Bruce Richardson
2015-02-23 15:30         ` Iremonger, Bernard
2015-02-24  9:21         ` Tetsuya Mukawa
2015-02-23 17:02       ` [PATCH v2 0/2] fix and improve uio_pci_generic support Bruce Richardson
     [not found]         ` <1424710955-10896-1-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-23 17:02           ` [PATCH v2 1/2] eal: mmap uio resources using resourceX files Bruce Richardson
2015-02-23 17:02           ` [PATCH v2 2/2] eal: populate uio_maps from pci mem_resources array Bruce Richardson
2015-02-24 10:53           ` [PATCH v2 0/2] fix and improve uio_pci_generic support Bruce Richardson
2015-02-24 11:23             ` David Marchand
     [not found]               ` <CALwxeUsMp2F7jB2=oLH22zenhKXFSQ3UGgKo8K6hXDHxN+nYpQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-24 11:32                 ` Bruce Richardson
2015-02-24 12:35                   ` David Marchand
2015-02-24 12:20       ` [PATCH v3 " Bruce Richardson
     [not found]         ` <1424780404-30824-1-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-24 12:20           ` [PATCH v3 1/2] eal: mmap uio resources using resourceX files Bruce Richardson
     [not found]             ` <1424780404-30824-2-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-24 12:39               ` David Marchand
2015-02-24 12:20           ` [PATCH v3 2/2] eal: populate uio_maps from pci mem_resources array Bruce Richardson
     [not found]             ` <1424780404-30824-3-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-24 12:38               ` David Marchand
2015-02-24 13:30       ` [PATCH v4 0/3] fix and improve uio_pci_generic support Bruce Richardson
     [not found]         ` <1424784647-19367-1-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-02-24 13:30           ` [PATCH v4 1/3] eal: mmap uio resources using resourceX files Bruce Richardson
2015-02-24 13:30           ` [PATCH v4 2/3] eal: populate uio_maps from pci mem_resources array Bruce Richardson
2015-02-24 13:30           ` [PATCH v4 3/3] eal: remove unnecessary check for primary instance Bruce Richardson
2015-02-24 21:33           ` [PATCH v4 0/3] fix and improve uio_pci_generic support Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3376494.YE1J4OXSVA@xps13 \
    --to=thomas.monjalon-pdr9zngts4eavxtiumwx3w@public.gmane.org \
    --cc=david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    --cc=mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).