[dpdk-users] DPDK 17.05 does not find X510 card

Avi Cohen (A) avi.cohen at huawei.com
Thu Jun 21 07:58:26 CEST 2018


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


> -----Original Message-----
> From: users [mailto:users-bounces at dpdk.org] On Behalf Of Martin Dra?ar
> Sent: Tuesday, 19 June, 2018 5:13 PM
> To: Rosen, Rami; users at 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


More information about the users mailing list