Firefly开源社区

打印 上一主题 下一主题

[Linux] 关于rk3399 pcie 连接 pci 网卡问题

14

积分

0

威望

0

贡献

游客

积分
14

关于rk3399 pcie 连接 pci 网卡问题

发表于 2018-6-11 19:44:09      浏览:21636 | 回复:9        打印      只看该作者   [复制链接] 楼主
         我想知道我们rk3399 pcie 连接intel i350 驱动问题
  目前 我们 insmod igb.ko (我们的内核是4.4的)
出现
[ 2453.822196] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.3.0-k
[ 2453.822214] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 2453.822617] igb 0000:01:00.0: enabling bus mastering
[ 2453.824607] igb: probe of 0000:01:00.0 failed with error -5
[ 2453.825090] igb 0000:01:00.1: enabling bus mastering
[ 2453.827154] igb: probe of 0000:01:00.1 failed with error -5
[ 2453.827586] igb 0000:01:00.2: enabling bus mastering
[ 2453.829732] igb: probe of 0000:01:00.2 failed with error -5
[ 2453.830161] igb 0000:01:00.3: enabling bus mastering
[ 2453.831754] igb: probe of 0000:01:00.3 failed with error -5

意思就是 pci 总线 probe 出错
回复

使用道具 举报

14

积分

0

威望

0

贡献

游客

积分
14
发表于 2018-6-11 19:50:03        只看该作者  沙发
M:\1.开发板资料-大\arm64\2.调试图片\QQ图片20180611194907.jpg
回复

使用道具 举报

14

积分

0

威望

0

贡献

游客

积分
14
发表于 2018-6-11 19:51:32        只看该作者  板凳
接连示意图

QQ图片20180611194907.jpg (358.22 KB, 下载次数: 1029)

QQ图片20180611194907.jpg
回复

使用道具 举报

2965

积分

12

威望

22

贡献

高级创客

Rank: 6Rank: 6

积分
2965
发表于 2018-6-12 10:58:09        只看该作者  地板
没测试过网卡,应该不支持。
回复

使用道具 举报

14

积分

0

威望

0

贡献

游客

积分
14
发表于 2018-6-12 11:10:33        只看该作者  5#
我lspci 设备都识别出来了 我测试过 pci 转 硬盘 是可以
回复

使用道具 举报

14

积分

0

威望

0

贡献

游客

积分
14
发表于 2018-6-12 12:03:57        只看该作者  6#
[    0.000000] Kernel command line: console=ttyFIQ0 pci=nobios root=/dev/mmcblk1p6 rw rootwait mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(trust),0x00008000@0x00006000(resource),0x0000A000@0x0000E000(kernel),0x00002000@0x00018000(backup),-@0x0001A000(boot) storagemedia=emmc uboot_logo=0x02000000@0xf5c00000 loader.timestamp=2017-04-25_15:10:21
[    0.268689] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc3v3-pcie-regulator[0]' - status (0)
[    0.268743] vcc3v3_pcie: no parameters
[    0.268878] reg-fixed-voltage vcc3v3-pcie-regulator: vcc3v3_pcie supplying 0uV
[    0.378272] rockchip-pcie f8000000.pcie: GPIO lookup for consumer ep
[    0.378282] rockchip-pcie f8000000.pcie: using device tree for GPIO lookup
[    0.378309] of_get_named_gpiod_flags: parsed 'ep-gpios' property of node '/pcie@f8000000[0]' - status (0)
[    0.378530] rockchip-pcie f8000000.pcie: Looking up vpcie3v3-supply from device tree
[    0.378540] rockchip-pcie f8000000.pcie: Looking up vpcie3v3-supply property in node /pcie@f8000000 failed
[    0.378555] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
[    0.379129] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply from device tree
[    0.379138] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply property in node /pcie@f8000000 failed
[    0.379149] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
[    0.379708] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply from device tree
[    0.379717] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply property in node /pcie@f8000000 failed
[    0.379727] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
[    0.448803] PCI host bridge /pcie@f8000000 ranges:
[    0.450428] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00
[    0.451028] pci_bus 0000:00: root bus resource [bus 00-01]
[    0.451518] pci_bus 0000:00: root bus resource [mem 0xfa000000-0xfa5fffff]
[    0.452138] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfa600000-0xfa6fffff])
[    0.452990] pci_bus 0000:00: scanning bus
[    0.453022] pci 0000:00:00.0: [1d87:0100] type 01 class 0x060400
[    0.453128] pci 0000:00:00.0: supports D1
[    0.453135] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.453146] pci 0000:00:00.0: PME# disabled
[    0.453383] pci_bus 0000:00: fixups for bus
[    0.453394] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 0
[    0.453402] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.454125] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 1
[    0.454234] pci_bus 0000:01: busn_res: can not insert [bus 01-ff] under [bus 00-01] (conflicts with (null) [bus 00-01])
[    0.454242] pci_bus 0000:01: scanning bus
[    0.454281] pci 0000:01:00.0: [8086:1521] type 00 class 0x020000
[    0.454339] pci 0000:01:00.0: calling quirk_f0_vpd_link+0x0/0x78
[    0.454366] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    0.454408] pci 0000:01:00.0: reg 0x1c: [mem 0x00000000-0x00003fff]
[    0.454450] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0007ffff pref]
[    0.454577] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.454589] pci 0000:01:00.0: PME# disabled
[    0.454852] pci 0000:01:00.1: [8086:1521] type 00 class 0x020000
[    0.454903] pci 0000:01:00.1: calling quirk_f0_vpd_link+0x0/0x78
[    0.454928] pci 0000:01:00.1: reg 0x10: [mem 0x00000000-0x000fffff]
[    0.454970] pci 0000:01:00.1: reg 0x1c: [mem 0x00000000-0x00003fff]
[    0.455011] pci 0000:01:00.1: reg 0x30: [mem 0x00000000-0x0007ffff pref]
[    0.455131] pci 0000:01:00.1: PME# supported from D0 D3hot D3cold
[    0.455142] pci 0000:01:00.1: PME# disabled
[    0.455396] pci 0000:01:00.2: [8086:1521] type 00 class 0x020000
[    0.455446] pci 0000:01:00.2: calling quirk_f0_vpd_link+0x0/0x78
[    0.455470] pci 0000:01:00.2: reg 0x10: [mem 0x00000000-0x000fffff]
[    0.455511] pci 0000:01:00.2: reg 0x1c: [mem 0x00000000-0x00003fff]
[    0.455552] pci 0000:01:00.2: reg 0x30: [mem 0x00000000-0x0007ffff pref]
[    0.455672] pci 0000:01:00.2: PME# supported from D0 D3hot D3cold
[    0.455683] pci 0000:01:00.2: PME# disabled
[    0.455951] pci 0000:01:00.3: [8086:1521] type 00 class 0x020000
[    0.456001] pci 0000:01:00.3: calling quirk_f0_vpd_link+0x0/0x78
[    0.456026] pci 0000:01:00.3: reg 0x10: [mem 0x00000000-0x000fffff]
[    0.456067] pci 0000:01:00.3: reg 0x1c: [mem 0x00000000-0x00003fff]
[    0.456108] pci 0000:01:00.3: reg 0x30: [mem 0x00000000-0x0007ffff pref]
[    0.456228] pci 0000:01:00.3: PME# supported from D0 D3hot D3cold
[    0.456239] pci 0000:01:00.3: PME# disabled
[    0.457878] pci_bus 0000:01: fixups for bus
[    0.457887] pci_bus 0000:01: bus scan returning with max=01
[    0.457896] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.457908] pci_bus 0000:00: bus scan returning with max=01
[    0.457937] pci 0000:00:00.0: BAR 8: no space for [mem size 0x00700000]
[    0.458520] pci 0000:00:00.0: BAR 8: failed to assign [mem size 0x00700000]
[    0.459157] pci 0000:01:00.0: BAR 0: no space for [mem size 0x00100000]
[    0.459740] pci 0000:01:00.0: BAR 0: failed to assign [mem size 0x00100000]
[    0.460369] pci 0000:01:00.1: BAR 0: no space for [mem size 0x00100000]
[    0.460959] pci 0000:01:00.1: BAR 0: failed to assign [mem size 0x00100000]
[    0.461577] pci 0000:01:00.2: BAR 0: no space for [mem size 0x00100000]
[    0.462167] pci 0000:01:00.2: BAR 0: failed to assign [mem size 0x00100000]
[    0.462785] pci 0000:01:00.3: BAR 0: no space for [mem size 0x00100000]
[    0.463375] pci 0000:01:00.3: BAR 0: failed to assign [mem size 0x00100000]
[    0.464001] pci 0000:01:00.0: BAR 6: no space for [mem size 0x00080000 pref]
[    0.464619] pci 0000:01:00.0: BAR 6: failed to assign [mem size 0x00080000 pref]
[    0.465280] pci 0000:01:00.1: BAR 6: no space for [mem size 0x00080000 pref]
[    0.465906] pci 0000:01:00.1: BAR 6: failed to assign [mem size 0x00080000 pref]
[    0.466559] pci 0000:01:00.2: BAR 6: no space for [mem size 0x00080000 pref]
[    0.467185] pci 0000:01:00.2: BAR 6: failed to assign [mem size 0x00080000 pref]
[    0.467846] pci 0000:01:00.3: BAR 6: no space for [mem size 0x00080000 pref]
[    0.468465] pci 0000:01:00.3: BAR 6: failed to assign [mem size 0x00080000 pref]
[    0.469126] pci 0000:01:00.0: BAR 3: no space for [mem size 0x00004000]
[    0.469708] pci 0000:01:00.0: BAR 3: failed to assign [mem size 0x00004000]
[    0.470333] pci 0000:01:00.1: BAR 3: no space for [mem size 0x00004000]
[    0.470923] pci 0000:01:00.1: BAR 3: failed to assign [mem size 0x00004000]
[    0.471541] pci 0000:01:00.2: BAR 3: no space for [mem size 0x00004000]
[    0.472131] pci 0000:01:00.2: BAR 3: failed to assign [mem size 0x00004000]
[    0.472748] pci 0000:01:00.3: BAR 3: no space for [mem size 0x00004000]
[    0.473338] pci 0000:01:00.3: BAR 3: failed to assign [mem size 0x00004000]
[    0.473965] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.474478] pcieport 0000:00:00.0: enabling bus mastering
[    0.474704] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[    0.475335] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt
[    0.475923] pci 0000:01:00.1: Signaling PME through PCIe PME interrupt
[    0.476494] pci 0000:01:00.2: Signaling PME through PCIe PME interrupt
[    0.477082] pci 0000:01:00.3: Signaling PME through PCIe PME interrupt
[    0.477667] pcie_pme 0000:00:00.0:pcie01: service driver pcie_pme loaded
[    0.477773] aer 0000:00:00.0:pcie02: service driver aer loaded
[    0.477844] pci 0000:01:00.0: calling quirk_e100_interrupt+0x0/0x1b8
[    0.477870] pci 0000:01:00.1: calling quirk_e100_interrupt+0x0/0x1b8
[    0.477888] pci 0000:01:00.2: calling quirk_e100_interrupt+0x0/0x1b8
[    0.477906] pci 0000:01:00.3: calling quirk_e100_interrupt+0x0/0x1b8
[    1.287287] ehci-pci: EHCI PCI platform driver
root@firefly:~#

root@firefly:~# lshw -C network
  *-network:0 UNCLAIMED   
       description: Ethernet controller
       product: I350 Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: 01
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi msix pciexpress cap_list
       configuration: latency=0
  *-network:1 UNCLAIMED
       description: Ethernet controller
       product: I350 Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 0.1
       bus info: pci@0000:01:00.1
       version: 01
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi msix pciexpress cap_list
       configuration: latency=0
  *-network:2 UNCLAIMED
       description: Ethernet controller
       product: I350 Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 0.2
       bus info: pci@0000:01:00.2
       version: 01
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi msix pciexpress cap_list
       configuration: latency=0
  *-network:3 UNCLAIMED
       description: Ethernet controller
       product: I350 Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 0.3
       bus info: pci@0000:01:00.3
       version: 01
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi msix pciexpress cap_list
       configuration: latency=0
  *-network:0
       description: Wireless interface
       physical id: 9
       logical name: wlan0
       serial: ac:83:f3:9f:94:aa
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=wl driverversion=0 multicast=yes wireless=IEEE 802.11
  *-network:1
       description: Ethernet interface
       physical id: a
       logical name: eth0
       serial: ce:70:11:31:fd:17
       size: 1Gbit/s
       capacity: 1Gbit/s
       capabilities: ethernet physical tp aui bnc mii fibre 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=st_gmac driverversion=March_2013 duplex=full ip=172.16.1.164 link=yes multicast=yes port=MII speed=1Gbit/s
root@firefly:~#


root@firefly:~# lspci
00:00.0 PCI bridge: Device 1d87:0100
01:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
01:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
01:00.2 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
01:00.3 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
root@firefly:~# lspci -v
00:00.0 PCI bridge: Device 1d87:0100 (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 236
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 00000000-00000fff
        Prefetchable memory behind bridge: 00000000-000fffff
        Capabilities: [80] Power Management version 3
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable+ 64bit+
        Capabilities: [b0] MSI-X: Enable- Count=1 Masked-
        Capabilities: [c0] Express Root Port (Slot+), MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [274] Transaction Processing Hints
        Kernel driver in use: pcieport
lspci: Unable to load libkmod resources: error -12

01:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
        Subsystem: Device 1d1a:0000
        Flags: fast devsel, IRQ 232
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
        Capabilities: [70] MSI-X: Enable- Count=10 Masked-
        Capabilities: [a0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number 2c-53-4a-ff-ff-05-d9-d6
        Capabilities: [150] Alternative Routing-ID Interpretation (ARI)
        Capabilities: [160] Single Root I/O Virtualization (SR-IOV)
        Capabilities: [1a0] Transaction Processing Hints
        Capabilities: [1c0] Latency Tolerance Reporting
        Capabilities: [1d0] Access Control Services

01:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
        Subsystem: Device 1d1a:0000
        Flags: fast devsel, IRQ 233
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
        Capabilities: [70] MSI-X: Enable- Count=10 Masked-
        Capabilities: [a0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number 2c-53-4a-ff-ff-05-d9-d6
        Capabilities: [150] Alternative Routing-ID Interpretation (ARI)
        Capabilities: [160] Single Root I/O Virtualization (SR-IOV)
        Capabilities: [1a0] Transaction Processing Hints
        Capabilities: [1d0] Access Control Services

01:00.2 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
        Subsystem: Device 1d1a:0000
        Flags: fast devsel, IRQ 234
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
        Capabilities: [70] MSI-X: Enable- Count=10 Masked-
        Capabilities: [a0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number 2c-53-4a-ff-ff-05-d9-d6
        Capabilities: [150] Alternative Routing-ID Interpretation (ARI)
        Capabilities: [160] Single Root I/O Virtualization (SR-IOV)
        Capabilities: [1a0] Transaction Processing Hints
        Capabilities: [1d0] Access Control Services

01:00.3 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
        Subsystem: Device 1d1a:0000
        Flags: fast devsel, IRQ 235
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
        Capabilities: [70] MSI-X: Enable- Count=10 Masked-
        Capabilities: [a0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number 2c-53-4a-ff-ff-05-d9-d6
        Capabilities: [150] Alternative Routing-ID Interpretation (ARI)
        Capabilities: [160] Single Root I/O Virtualization (SR-IOV)
        Capabilities: [1a0] Transaction Processing Hints
        Capabilities: [1d0] Access Control Services


lspci -vvv
00:00.0 PCI bridge: Device 1d87:0100 (prog-if 00 [Normal decode])
        Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort+ <TAbort+ <MAbort+ >SERR+ <PERR+ INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 236
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 00000000-00000fff
        Memory behind bridge: fff00000-000fffff
        Prefetchable memory behind bridge: 00000000-000fffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: [80] Power Management version 3
                Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0+,D1+,D2-,D3hot+,D3cold-)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME+
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable+ 64bit+
                Address: 00000000fee30040  Data: 0000
                Masking: 00000000  Pending: 00000000
        Capabilities: [b0] MSI-X: Enable- Count=1 Masked-
                Vector table: BAR=0 offset=00000000
                PBA: BAR=0 offset=00000008
        Capabilities: [c0] Express (v2) Root Port (Slot+), MSI 00
                DevCap: MaxPayload 256 bytes, PhantFunc 0
                        ExtTag- RBE+
                DevCtl: Report errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x4, ASPM L1, Exit Latency L0s <256ns, L1 <8us
                        ClockPM- Surprise- LLActRep- BwNot+ ASPMOptComp+
                LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt+ AutBWInt+
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
                SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise-
                        Slot #0, PowerLimit 0.000W; Interlock- NoCompl-
                SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
                        Control: AttnInd Off, PwrInd Off, Power+ Interlock-
                SltSta: Status: AttnBtn- PowerFlt- MRL+ CmdCplt- PresDet- Interlock-
                        Changed: MRL- PresDet- LinkState-
                RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna+ CRSVisible-
                RootCap: CRSVisible-
                RootSta: PME ReqID 0000, PMEStatus- PMEPending-
                DevCap2: Completion Timeout: Range B, TimeoutDis+, LTR+, OBFF Via message ARIFwd+
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled ARIFwd+
                LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
                         Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                         Compliance De-emphasis: -6dB
                LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
                         EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
        Capabilities: [100 v2] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
        Capabilities: [274 v1] Transaction Processing Hints
                Interrupt vector mode supported
                Device specific mode supported
                Steering table in TPH capability structure
        Kernel driver in use: pcieport
lspci: Unable to load libkmod resources: error -12

01:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
        Subsystem: Device 1d1a:0000
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin A routed to IRQ 232
        Capabilities: [40] Power Management version 3
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=1 PME-
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
                Address: 0000000000000000  Data: 0000
                Masking: 00000000  Pending: 00000000
        Capabilities: [70] MSI-X: Enable- Count=10 Masked-
                Vector table: BAR=3 offset=00000000
                PBA: BAR=3 offset=00002000
        Capabilities: [a0] Express (v2) Endpoint, MSI 00
                DevCap: MaxPayload 512 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
                DevCtl: Report errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
                        MaxPayload 128 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
                LnkCap: Port #0, Speed 5GT/s, Width x4, ASPM L0s L1, Exit Latency L0s unlimited, L1 <32us
                        ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, LTR+, OBFF Not Supported
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
                LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
                         Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                         Compliance De-emphasis: -6dB
                LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
                         EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
        Capabilities: [100 v2] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
        Capabilities: [140 v1] Device Serial Number 2c-53-4a-ff-ff-05-d9-d6
        Capabilities: [150 v1] Alternative Routing-ID Interpretation (ARI)
                ARICap: MFVC- ACS-, Next Function: 1
                ARICtl: MFVC- ACS-, Function Group: 0
        Capabilities: [160 v1] Single Root I/O Virtualization (SR-IOV)
                IOVCap: Migration-, Interrupt Message Number: 000
                IOVCtl: Enable- Migration- Interrupt- MSE- ARIHierarchy-
                IOVSta: Migration-
                Initial VFs: 8, Total VFs: 8, Number of VFs: 0, Function Dependency Link: 00
                VF offset: 384, stride: 4, Device ID: 1520
                Supported Page Size: 00000553, System Page Size: 00000001
                VF Migration: offset: 00000000, BIR: 0
        Capabilities: [1a0 v1] Transaction Processing Hints
                Device specific mode supported
                Steering table in TPH capability structure
        Capabilities: [1c0 v1] Latency Tolerance Reporting
                Max snoop latency: 0ns
                Max no snoop latency: 0ns
        Capabilities: [1d0 v1] Access Control Services
                ACSCap: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
                ACSCtl: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-

01:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
        Subsystem: Device 1d1a:0000
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin B routed to IRQ 233
        Capabilities: [40] Power Management version 3
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=1 PME-
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
                Address: 0000000000000000  Data: 0000
                Masking: 00000000  Pending: 00000000
        Capabilities: [70] MSI-X: Enable- Count=10 Masked-
                Vector table: BAR=3 offset=00000000
                PBA: BAR=3 offset=00002000
        Capabilities: [a0] Express (v2) Endpoint, MSI 00
                DevCap: MaxPayload 512 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
                DevCtl: Report errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
                        MaxPayload 128 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
                LnkCap: Port #0, Speed 5GT/s, Width x4, ASPM L0s L1, Exit Latency L0s unlimited, L1 <32us
                        ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, LTR+, OBFF Not Supported
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
                LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
                         EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
        Capabilities: [100 v2] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
        Capabilities: [140 v1] Device Serial Number 2c-53-4a-ff-ff-05-d9-d6
        Capabilities: [150 v1] Alternative Routing-ID Interpretation (ARI)
                ARICap: MFVC- ACS-, Next Function: 2
                ARICtl: MFVC- ACS-, Function Group: 0
        Capabilities: [160 v1] Single Root I/O Virtualization (SR-IOV)
                IOVCap: Migration-, Interrupt Message Number: 000
                IOVCtl: Enable- Migration- Interrupt- MSE- ARIHierarchy-
                IOVSta: Migration-
                Initial VFs: 8, Total VFs: 8, Number of VFs: 0, Function Dependency Link: 01
                VF offset: 384, stride: 4, Device ID: 1520
                Supported Page Size: 00000553, System Page Size: 00000001
                VF Migration: offset: 00000000, BIR: 0
        Capabilities: [1a0 v1] Transaction Processing Hints
                Device specific mode supported
                Steering table in TPH capability structure
        Capabilities: [1d0 v1] Access Control Services
                ACSCap: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
                ACSCtl: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-

01:00.2 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
        Subsystem: Device 1d1a:0000
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin C routed to IRQ 234
        Capabilities: [40] Power Management version 3
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=1 PME-
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
                Address: 0000000000000000  Data: 0000
                Masking: 00000000  Pending: 00000000
        Capabilities: [70] MSI-X: Enable- Count=10 Masked-
                Vector table: BAR=3 offset=00000000
                PBA: BAR=3 offset=00002000
        Capabilities: [a0] Express (v2) Endpoint, MSI 00
                DevCap: MaxPayload 512 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
                DevCtl: Report errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
                        MaxPayload 128 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
                LnkCap: Port #0, Speed 5GT/s, Width x4, ASPM L0s L1, Exit Latency L0s unlimited, L1 <32us
                        ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, LTR+, OBFF Not Supported
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
                LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
                         EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
        Capabilities: [100 v2] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
        Capabilities: [140 v1] Device Serial Number 2c-53-4a-ff-ff-05-d9-d6
        Capabilities: [150 v1] Alternative Routing-ID Interpretation (ARI)
                ARICap: MFVC- ACS-, Next Function: 3
                ARICtl: MFVC- ACS-, Function Group: 0
        Capabilities: [160 v1] Single Root I/O Virtualization (SR-IOV)
                IOVCap: Migration-, Interrupt Message Number: 000
                IOVCtl: Enable- Migration- Interrupt- MSE- ARIHierarchy-
                IOVSta: Migration-
                Initial VFs: 8, Total VFs: 8, Number of VFs: 0, Function Dependency Link: 02
                VF offset: 384, stride: 4, Device ID: 1520
                Supported Page Size: 00000553, System Page Size: 00000001
                VF Migration: offset: 00000000, BIR: 0
        Capabilities: [1a0 v1] Transaction Processing Hints
                Device specific mode supported
                Steering table in TPH capability structure
        Capabilities: [1d0 v1] Access Control Services
                ACSCap: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
                ACSCtl: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-

01:00.3 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
        Subsystem: Device 1d1a:0000
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin D routed to IRQ 235
        Capabilities: [40] Power Management version 3
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=1 PME-
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
                Address: 0000000000000000  Data: 0000
                Masking: 00000000  Pending: 00000000
        Capabilities: [70] MSI-X: Enable- Count=10 Masked-
                Vector table: BAR=3 offset=00000000
                PBA: BAR=3 offset=00002000
        Capabilities: [a0] Express (v2) Endpoint, MSI 00
                DevCap: MaxPayload 512 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
                DevCtl: Report errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
                        MaxPayload 128 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
                LnkCap: Port #0, Speed 5GT/s, Width x4, ASPM L0s L1, Exit Latency L0s unlimited, L1 <32us
                        ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, LTR+, OBFF Not Supported
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
                LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
                         EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
        Capabilities: [100 v2] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
        Capabilities: [140 v1] Device Serial Number 2c-53-4a-ff-ff-05-d9-d6
        Capabilities: [150 v1] Alternative Routing-ID Interpretation (ARI)
                ARICap: MFVC- ACS-, Next Function: 0
                ARICtl: MFVC- ACS-, Function Group: 0
        Capabilities: [160 v1] Single Root I/O Virtualization (SR-IOV)
                IOVCap: Migration-, Interrupt Message Number: 000
                IOVCtl: Enable- Migration- Interrupt- MSE- ARIHierarchy-
                IOVSta: Migration-
                Initial VFs: 8, Total VFs: 8, Number of VFs: 0, Function Dependency Link: 03
                VF offset: 384, stride: 4, Device ID: 1520
                Supported Page Size: 00000553, System Page Size: 00000001
                VF Migration: offset: 00000000, BIR: 0
        Capabilities: [1a0 v1] Transaction Processing Hints
                Device specific mode supported
                Steering table in TPH capability structure
        Capabilities: [1d0 v1] Access Control Services
                ACSCap: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
                ACSCtl: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-

root@firefly:~#



回复

使用道具 举报

44

积分

0

威望

0

贡献

游客

积分
44
发表于 2018-7-26 17:03:47        只看该作者  7#
楼主这个怎么样了?
回复

使用道具 举报

43

积分

0

威望

0

贡献

技术小白

积分
43
发表于 2018-11-24 17:19:20        只看该作者  8#
楼主,问题解决了吗?
回复

使用道具 举报

40

积分

0

威望

0

贡献

技术小白

积分
40
发表于 2018-11-29 16:04:59        只看该作者  9#

楼主,你这已经枚举成功了  恭喜!我们现在连枚举都没有成功?你们插上直接就识别到PCIE设备了,有没有对官方代码进行修改?
回复

使用道具 举报

40

积分

0

威望

0

贡献

技术小白

积分
40
发表于 2018-11-29 20:19:29        只看该作者  10#

你们这个ADT-Link线是从哪里买到的?帮忙推荐 我们急需多条这种线材
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表