DPDK usage discussions
 help / color / mirror / Atom feed
From: "Avi Cohen (A)" <avi.cohen@huawei.com>
To: "Martin Drašar" <drasar@ics.muni.cz>,
	"Rosen, Rami" <rami.rosen@intel.com>,
	"users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] DPDK 17.05 does not find X510 card
Date: Thu, 21 Jun 2018 05:58:26 +0000	[thread overview]
Message-ID: <B84047ECBD981D4B93EAE5A6245AA361015BB23E@FRAEML521-MBX.china.huawei.com> (raw)
In-Reply-To: <c7183212-3a22-c36d-65f0-c40befda7586@ics.muni.cz>

Look at this 
https://stackoverflow.com/questions/8213671/mmap-operation-not-permitted


> -----Original Message-----
> From: users [mailto:users-bounces@dpdk.org] On Behalf Of Martin Dra?ar
> Sent: Tuesday, 19 June, 2018 5:13 PM
> To: Rosen, Rami; users@dpdk.org
> Subject: Re: [dpdk-users] DPDK 17.05 does not find X510 card
> 
> Just some additional details (strace around the pic probe):
> 
> > write(1, "EAL: PCI device 0000:05:00.0 on "..., 46EAL: PCI device
> > 0000:05:00.0 on NUMA socket 0) = 46 sendto(3, "<30>Jun 19 16:05:21
> framework[42"..., 84, MSG_NOSIGNAL, NULL, 0) = 84
> > write(1, "EAL:   probe driver: 8086:154d n"..., 41EAL:   probe driver:
> 8086:154d net_ixgbe) = 41
> > sendto(3, "<30>Jun 19 16:05:21 framework[42"..., 79, MSG_NOSIGNAL,
> > NULL, 0) = 79 openat(AT_FDCWD, "/sys/bus/pci/devices/0000:05:00.0/uio",
> O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 94
> > getdents(94, /* 3 entries */, 32768)    = 72
> > close(94)                               = 0
> > open("/dev/uio2", O_RDWR)               = 94
> > open("/sys/class/uio/uio2/device/config", O_RDWR) = 95
> > open("/sys/bus/pci/devices/0000:05:00.0/resource0", O_RDWR) = 96
> > mmap(0x7fa400000000, 524288, PROT_READ|PROT_WRITE, MAP_SHARED,
> 96, 0)
> > = -1 EPERM (Operation not permitted) write(1, "EAL:
> > pci_map_resource(): cannot "..., 117EAL: pci_map_resource(): cannot
> mmap(96, 0x7fa400000000, 0x80000, 0x0): Operation not permitted
> (0xffffffffffffffff)) = 117 sendto(3, "<27>Jun 19 16:05:21 framework[42"..., 155,
> MSG_NOSIGNAL, NULL, 0) = 155
> > close(96)                               = 0
> > close(95)                               = 0
> > close(94)                               = 0
> > write(1, "EAL: Requested device 0000:05:00"..., 50EAL: Requested
> > device 0000:05:00.0 cannot be used) = 50
> 
> Martin

  reply	other threads:[~2018-06-21  5:58 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-18  8:55 Martin Drašar
2018-06-18  8:56 ` [dpdk-users] DPDK 17.05 does not find X710 card Martin Drašar
2018-06-18  9:54 ` [dpdk-users] DPDK 17.05 does not find X510 card Rosen, Rami
2018-06-18 12:41   ` Martin Drašar
2018-06-18 13:09     ` Rosen, Rami
2018-06-18 13:23       ` Martin Drašar
2018-06-18 13:34         ` Rosen, Rami
2018-06-18 13:43           ` Martin Drašar
2018-06-18 21:35             ` Martin Drašar
2018-06-19  0:21               ` Rosen, Rami
2018-06-19  9:57                 ` Martin Drašar
2018-06-19 14:12                   ` Martin Drašar
2018-06-21  5:58                     ` Avi Cohen (A) [this message]
2018-06-21 11:02                       ` Martin Drašar
2018-06-21 15:07                         ` Stephen Hemminger
2018-06-23 13:00                           ` Rosen, Rami
2018-06-25  8:23                             ` Martin Drašar
2018-06-25  9:35                               ` Rosen, Rami
2018-07-11 13:47                                 ` Martin Drašar

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=B84047ECBD981D4B93EAE5A6245AA361015BB23E@FRAEML521-MBX.china.huawei.com \
    --to=avi.cohen@huawei.com \
    --cc=drasar@ics.muni.cz \
    --cc=rami.rosen@intel.com \
    --cc=users@dpdk.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).