Hi all,

I have the same issue. I've checked everything in different computer
(disk with particular Ubuntu 16.04 installation, PCIexpress card and
PCIe cable) and everything worked fine.

What was left was that caused the issue was particular
motherboard+processor. I don't know if it is just this one but I suppose
the issue might be common to motherboards that have the same components
(i.e. PCIe controller or bridge) as this one. I'm attaching the result
of lspci.

Kailash, can you attach yours (and anyone who's got the same issue)?
Maybe we'll find a common element.

Best Regards,
Piotr Krysik


W dniu 11.06.2019 o 08:55, kailash kumar via USRP-users pisze:
> Hi,
>
> I am unable to detect X310 over pcie. I have installed uhd(v3.14.0.0)
> and compiled and installed RIO drivers as well. Below is my configuration:
>
> UHD RIO Installer version:
> niusrprio-installer-18.0.0
>
> [pretlist@clr-85a7812169e346e6b143a228fe1b9641 Downloads]$ sudo
> niusrprio_pcie start
> Making sure drivers are up to date...
> Module nikal is up-to-date
> Module nibds is up-to-date
> Module nistreamk is up-to-date
> Module NiRioSrv is up-to-date
> Module niusrpriok is up-to-date
> Loading: NiRioSrv niusrpriok
> Starting: niusrpriorpc
>
> [pretlist@clr-85a7812169e346e6b143a228fe1b9641 Downloads]$ lsmod |
> grep -i ni
> niusrpriok            417792  0
> NiRioSrv              942080  0
> nistreamk             131072  2 niusrpriok,NiRioSrv
> nibds                  57344  2 niusrpriok,NiRioSrv
> nikal                  98304  4 niusrpriok,NiRioSrv,nistreamk,nibds
>
> [pretlist@clr-85a7812169e346e6b143a228fe1b9641 Downloads]$ uname -r
> 4.19.48-48.lts2018
>
> [pretlist@clr-85a7812169e346e6b143a228fe1b9641 Downloads]$ ls /dev/ni/
> 'nistreamk:0\nistreamk\0'
>
> [pretlist@clr-85a7812169e346e6b143a228fe1b9641 Downloads]$ sudo
> netstat -anp| grep 5444
> tcp        0      0 0.0.0.0:5444 <http://0.0.0.0:5444>          
>  0.0.0.0:*               LISTEN      1845/niusrpriorpc  
>
> [pretlist@clr-85a7812169e346e6b143a228fe1b9641 Downloads]$
> uhd_usrp_probe --args "type=x300,resource=RIO0"
> [INFO] [UHD] linux; GNU C++ version 9.1.1 20190605
> gcc-9-branch@271943; Boost_106800; UHD_3.14.0.HEAD-0-g6875d061
> [ERROR] [UHD] Device discovery error: input stream error
> Error: LookupError: KeyError: No devices found for ----->
> Device Address:
>     type: x300
>     resource: RIO0
>
> [pretlist@clr-85a7812169e346e6b143a228fe1b9641 uhd]$ git status
> HEAD detached at v3.14.0.0
>
> Digging through uhd code
> lib/usrp/x300/x300_impl.cpp (x300_find_pcie ) ->  
> lib/usrp/x300/x300_impl.cpp
> (niusrprio_session::enumerate(rpc_port_name, dev_info_vtr)) ->
> lib/transport/nirio/niusrprio_session.cpp
> (nirio_status_chain(temp_rpc_client.niusrprio_enumerate(device_info_vtr),
> status)) ->  
> lib/transport/nirio/rpc/usrprio_rpc_client.cpp
>  (usrprio_rpc_client::niusrprio_enumerate(NIUSRPRIO_ENUMERATE_ARGS))
>
> out_args >> status; -> This returns status as -52012
>
> Thanks
> Kailash
>
> ____________

00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM 
Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core 
Processor PCIe Controller (x16) (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Device 3e92
00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal 
Controller (rev 10)
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host 
Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI 
Controller (rev 10)
00:17.0 SATA controller: Intel Corporation Cannon Lake PCH SATA AHCI Controller 
(rev 10)
00:1c.0 PCI bridge: Intel Corporation Device a33d (rev f0)
00:1c.6 PCI bridge: Intel Corporation Device a33e (rev f0)
00:1f.0 ISA bridge: Intel Corporation H370 Chipset LPC/eSPI Controller (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI 
Controller (rev 10)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (7) I219-V 
(rev 10)
01:00.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express 
Gen 2 (5.0 GT/s) Switch (rev ba)
02:01.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express 
Gen 2 (5.0 GT/s) Switch (rev ba)
04:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection 
(rev 03)
05:00.0 Network controller: Intel Corporation Dual Band Wireless-AC 3168NGW 
[Stone Peak] (rev 10)
00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM 
Registers (rev 07)
        DeviceName: Onboard - Other
        Subsystem: ASRock Incorporation Device 3ec2
        Flags: bus master, fast devsel, latency 0
        Capabilities: <access denied>

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core 
Processor PCIe Controller (x16) (rev 07) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Bus: primary=00, secondary=01, subordinate=03, sec-latency=0
        I/O behind bridge: 00005000-00005fff
        Memory behind bridge: a1300000-a13fffff
        Prefetchable memory behind bridge: 00000000a1500000-00000000a17fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:02.0 VGA compatible controller: Intel Corporation Device 3e92 (prog-if 00 
[VGA controller])
        DeviceName: Onboard - Video
        Subsystem: ASRock Incorporation Device 3e92
        Flags: bus master, fast devsel, latency 0, IRQ 134
        Memory at a0000000 (64-bit, non-prefetchable) [size=16M]
        Memory at 90000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 4000 [size=64]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: i915
        Kernel modules: i915

00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal 
Controller (rev 10)
        DeviceName: Onboard - Other
        Subsystem: ASRock Incorporation Device a379
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at a143d000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: intel_pch_thermal
        Kernel modules: intel_pch_thermal

00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host 
Controller (rev 10) (prog-if 30 [XHCI])
        DeviceName: Onboard - Other
        Subsystem: ASRock Incorporation Device a36d
        Flags: bus master, medium devsel, latency 0, IRQ 126
        Memory at a1420000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd

00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
        DeviceName: Onboard - Other
        Subsystem: ASRock Incorporation Device a36f
        Flags: bus master, fast devsel, latency 0
        Memory at a1436000 (64-bit, non-prefetchable) [size=8K]
        Memory at a143c000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>

00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI 
Controller (rev 10)
        DeviceName: Onboard - Other
        Subsystem: ASRock Incorporation Device a360
        Flags: bus master, fast devsel, latency 0, IRQ 135
        Memory at a143b000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: mei_me
        Kernel modules: mei_me

00:17.0 SATA controller: Intel Corporation Cannon Lake PCH SATA AHCI Controller 
(rev 10) (prog-if 01 [AHCI 1.0])
        DeviceName: Onboard - SATA
        Subsystem: ASRock Incorporation Device a352
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 127
        Memory at a1434000 (32-bit, non-prefetchable) [size=8K]
        Memory at a143a000 (32-bit, non-prefetchable) [size=256]
        I/O ports at 4090 [size=8]
        I/O ports at 4080 [size=4]
        I/O ports at 4060 [size=32]
        Memory at a1439000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: <access denied>
        Kernel driver in use: ahci
        Kernel modules: ahci

00:1c.0 PCI bridge: Intel Corporation Device a33d (rev f0) (prog-if 00 [Normal 
decode])
        Flags: bus master, fast devsel, latency 0, IRQ 122
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
        I/O behind bridge: 00003000-00003fff
        Memory behind bridge: a1200000-a12fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1c.6 PCI bridge: Intel Corporation Device a33e (rev f0) (prog-if 00 [Normal 
decode])
        Flags: bus master, fast devsel, latency 0, IRQ 123
        Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
        Memory behind bridge: a1100000-a11fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1f.0 ISA bridge: Intel Corporation H370 Chipset LPC/eSPI Controller (rev 10)
        DeviceName: Onboard - Other
        Subsystem: ASRock Incorporation Device a304
        Flags: bus master, medium devsel, latency 0

00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
        DeviceName: Onboard - Sound
        Subsystem: ASRock Incorporation Device 5892
        Flags: bus master, fast devsel, latency 32, IRQ 137
        Memory at a1430000 (64-bit, non-prefetchable) [size=16K]
        Memory at a1000000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
        DeviceName: Onboard - Other
        Subsystem: ASRock Incorporation Device a323
        Flags: medium devsel, IRQ 11
        Memory at a1438000 (64-bit, non-prefetchable) [size=256]
        I/O ports at efa0 [size=32]
        Kernel modules: i2c_i801

00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI 
Controller (rev 10)
        DeviceName: Onboard - Other
        Subsystem: ASRock Incorporation Device a324
        Flags: fast devsel
        Memory at fe010000 (32-bit, non-prefetchable) [size=4K]

00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (7) I219-V 
(rev 10)
        DeviceName: Onboard - Ethernet
        Subsystem: ASRock Incorporation Device 15bc
        Flags: bus master, fast devsel, latency 0, IRQ 128
        Memory at a1400000 (32-bit, non-prefetchable) [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: e1000e
        Kernel modules: e1000e

01:00.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express 
Gen 2 (5.0 GT/s) Switch (rev ba) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 124
        Memory at a1300000 (32-bit, non-prefetchable) [size=128K]
        Bus: primary=01, secondary=02, subordinate=03, sec-latency=0
        I/O behind bridge: 00005000-00005fff
        Prefetchable memory behind bridge: 00000000a1500000-00000000a17fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

02:01.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express 
Gen 2 (5.0 GT/s) Switch (rev ba) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 125
        Bus: primary=02, secondary=03, subordinate=03, sec-latency=0
        I/O behind bridge: 00005000-00005fff
        Prefetchable memory behind bridge: 00000000a1500000-00000000a16fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

04:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection 
(rev 03)
        Subsystem: ASRock Incorporation I211 Gigabit Network Connection
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at a1200000 (32-bit, non-prefetchable) [size=128K]
        I/O ports at 3000 [size=32]
        Memory at a1220000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: igb
        Kernel modules: igb

05:00.0 Network controller: Intel Corporation Dual Band Wireless-AC 3168NGW 
[Stone Peak] (rev 10)
        Subsystem: Intel Corporation Device 2110
        Flags: bus master, fast devsel, latency 0, IRQ 136
        Memory at a1100000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: <access denied>
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi

_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to