the same interface works fine in Ubuntu OS
This is not purely OS specific.
This is the QNX PCI server which manages the initialization of the PCI hosts/devices.
To my knowledge, on x86 machines, the PCI configuration is done by the BIOS/UEFI. However, you should be able to force a reconfiguration by the QNX PCI server.
I don’t use QNX of x86 hardware, so I have limited knowledge here.
I would start to check the UEFI configuration. Maybe there are options which may help fix the problem.
The documentation of the PCI server is here : http://www.qnx.com/developers/docs/7.1/index.html#com.qnx.doc.pci_server/topic/server.html On this page, there is a link to the pci-server
documentation.
There are lot of options in the configuration file.
I would start by increasing the verbosity of pci-server
to get a maximum of debug information. Then review all configuration file options.
Hi,
I added a pci network card to the board, and now QNX also adds new interfaces in pci device list, but IRQ is not allocated for these new interfaces as well and ifconfig is empty… same behavior as before.
# pci-tool -vvv -D 0x1563
----------------------------------------------------------------------------------
B170:D00:F00 @ idx 0 in slot 7 of chassis 0
vid/did: 8086/1563
Intel Corporation, <device id - unknown>
class/subclass/reg: 02/00/00
Ethernet Network Controller
revid: 1
cmd/status registers: 6/10
Capabilities list (4):
01 (PMI) --> 05 (MSI) --> 11 (MSI-X) --> 10 (PCIe)
Address Space list - 3 assigned
[0] MEM, addr=607e400000, size=400000, align: 400000, attr: 64bit PREFETCH CONTIG ENABLED
[4] MEM, addr=607e807000, size=1000, align: 4000, attr: 64bit PREFETCH CONTIG ENABLED
[-] MEM, addr=fff80000, size=80000, align: 80000, attr: 32bit ROM DISABLED
Interrupt list - 0 assigned
hdrType: 0
ssvid: 8086 Intel Corporation
ssid: 001a
PCIe Capability Details
PCIe port Type: [0] (EP) Endpoint Device
PCIe Extended Capabilities (0):
PMI Capability Details
PMI supported states: D0 D3hot D3cold *
PMI current state: D0
PME's supported from states: D0 D3hot *
PME's are disabled
----------------------------------------------------------------------------------
B170:D00:F01 @ idx 1 in slot 7 of chassis 0
vid/did: 8086/1563
Intel Corporation, <device id - unknown>
class/subclass/reg: 02/00/00
Ethernet Network Controller
revid: 1
cmd/status registers: 6/10
Capabilities list (4):
01 (PMI) --> 05 (MSI) --> 11 (MSI-X) --> 10 (PCIe)
Address Space list - 3 assigned
[0] MEM, addr=607e000000, size=400000, align: 400000, attr: 64bit PREFETCH CONTIG ENABLED
[4] MEM, addr=607e803000, size=1000, align: 4000, attr: 64bit PREFETCH CONTIG ENABLED
[-] MEM, addr=fff80000, size=80000, align: 80000, attr: 32bit ROM DISABLED
Interrupt list - 0 assigned
hdrType: 0
ssvid: 8086 Intel Corporation
ssid: 001a
PCIe Capability Details
PCIe port Type: [0] (EP) Endpoint Device
PCIe Extended Capabilities (0):
PMI Capability Details
PMI supported states: D0 D3hot D3cold *
PMI current state: D0
PME's supported from states: D0 D3hot *
PME's are disabled
#
Interesting is the slog2info logs:
Jan 01 23:24:13.460 pci_server.3..0 pci_dbg 0 DEBUG,1,0,3 [3:3]: No IRQ's have been allocated to B0:D30:F3 and caller is not the owner
Jan 01 23:24:13.461 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53bc5b52, 0x84, 0x100b, 283c20c6e0=0xb) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.461 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53bf5b52, 0x84, 0xb, 283c20c6e0=0xb) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.461 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53bf5b52, 0x84, 0x80b, 283c20c6e0=0xb) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.462 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53bf5b52, 0x84, 0x20b, 283c20c6e0=0xb) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.462 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53bf5b52, 0x84, 0xa0b, 283c20c6e0=0xb) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.462 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53bf5b52, 0x84, 0x40b, 283c20c6e0=0xb) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.462 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53bf5b52, 0x84, 0xc0b, 283c20c6e0=0xb) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.462 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53bf5b52, 0x84, 0x60b, 283c20c6e0=0xb) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.463 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53bf5b52, 0x84, 0xe0b, 283c20c6e0=0xb) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.463 pci_server.3..0 pci_dbg 0 DEBUG,1,0,3 [3:3]: No IRQ's have been allocated to B0:D31:F0 and caller is not the owner
Jan 01 23:24:13.600 pci_tool.581649 pci_log 0 INFO ,1,1,3 [581649:1]: B0:D31:F3 - Check for /lib/dll/pci/pci_cap-0x01-808651ca.so ... not found
Jan 01 23:24:13.600 pci_tool.581649 pci_log 0 INFO ,1,1,3 [581649:1]: B0:D31:F3 - Found /lib/dll/pci/pci_cap-0x01.so
Jan 01 23:24:13.600 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53b45b52, 0x54, 0x1000, 283c20c6c0=0x0) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.600 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53b75b52, 0x54, 0x8, 283c20c6c0=0x8) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.600 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53b75b52, 0x54, 0x808, 283c20c6c0=0x8) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.600 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53b75b52, 0x54, 0x208, 283c20c6c0=0x8) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.600 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53b75b52, 0x54, 0xa08, 283c20c6c0=0x8) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.600 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53b75b52, 0x54, 0x408, 283c20c6c0=0x8) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.600 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53b75b52, 0x54, 0xc08, 283c20c6c0=0x8) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.600 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53b75b52, 0x54, 0x608, 283c20c6c0=0x8) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.600 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53b75b52, 0x54, 0xe08, 283c20c6c0=0x8) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.600 pci_server.3..0 pci_dbg 0 DEBUG,1,0,3 [3:3]: No IRQ's have been allocated to B0:D31:F3 and caller is not the owner
Jan 01 23:24:13.601 pci_server.3..0 pci_dbg 0 DEBUG,1,0,3 [3:3]: No IRQ's have been allocated to B0:D31:F4 and caller is not the owner
Jan 01 23:24:13.737 pci_server.3..0 pci_dbg 0 DEBUG,1,0,3 [3:3]: No IRQ's have been allocated to B0:D31:F5 and caller is not the owner
Jan 01 23:24:13.738 pci_tool.581649 pci_log 0 INFO ,1,1,3 [581649:1]: B0:D31:F6 - Check for /lib/dll/pci/pci_cap-0x01-80861a1e.so ... not found
Jan 01 23:24:13.738 pci_tool.581649 pci_log 0 INFO ,1,1,3 [581649:1]: B0:D31:F6 - Found /lib/dll/pci/pci_cap-0x01.so
Jan 01 23:24:13.738 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53b45b52, 0xcc, 0x1000, 283c20c690=0x0) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.738 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53b25b52, 0xcc, 0x2008, 283c20c690=0x2008) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.738 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53b25b52, 0xcc, 0x2808, 283c20c690=0x2808) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.738 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53b25b52, 0xcc, 0x2208, 283c20c690=0x208) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.738 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53b25b52, 0xcc, 0xa08, 283c20c690=0xa08) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.738 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53b25b52, 0xcc, 0x408, 283c20c690=0x408) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.738 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53b25b52, 0xcc, 0xc08, 283c20c690=0xc08) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.738 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53b25b52, 0xcc, 0x608, 283c20c690=0x2608) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.738 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(53b25b52, 0xcc, 0x2e08, 283c20c690=0x2e08) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.738 pci_server.3..0 pci_dbg 0 DEBUG,1,0,3 [3:3]: No IRQ's have been allocated to B0:D31:F6 and caller is not the owner
Jan 01 23:24:13.899 pci_server.3..0 pci_dbg 0 DEBUG,1,0,3 [3:3]: No IRQ's have been allocated to B1:D0:F0 and caller is not the owner
Jan 01 23:24:13.901 pci_tool.581649 pci_log 0 INFO ,1,1,3 [581649:1]: B1:D0:F0 - Check for /lib/dll/pci/pci_cap-0x10-c0a9540a.so ... not found
Jan 01 23:24:13.901 pci_tool.581649 pci_log 0 INFO ,1,1,3 [581649:1]: B1:D0:F0 - Found /lib/dll/pci/pci_cap-0x10.so
Jan 01 23:24:13.926 pci_tool.581649 pci_log 0 INFO ,1,1,3 [581649:1]: B1:D0:F0 - Check for /lib/dll/pci/pci_cap-0x01-c0a9540a.so ... not found
Jan 01 23:24:13.926 pci_tool.581649 pci_log 0 INFO ,1,1,3 [581649:1]: B1:D0:F0 - Found /lib/dll/pci/pci_cap-0x01.so
Jan 01 23:24:13.926 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(524c5b52, 0xfc, 0x1008, 283c20c680=0x8) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.927 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(524c5b52, 0xfc, 0x8, 283c20c680=0x8) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.927 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(524c5b52, 0xfc, 0x808, 283c20c680=0x8) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.927 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(524c5b52, 0xfc, 0x208, 283c20c680=0x8) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.927 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(524c5b52, 0xfc, 0xa08, 283c20c680=0x8) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.927 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(524c5b52, 0xfc, 0x408, 283c20c680=0x8) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.927 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(524c5b52, 0xfc, 0xc08, 283c20c680=0x8) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.927 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(524c5b52, 0xfc, 0x608, 283c20c680=0x8) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.927 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(524c5b52, 0xfc, 0xe08, 283c20c680=0x8) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.928 pci_tool.581649 pci_log 0 INFO ,1,1,3 [581649:1]: B170:D0:F0 - Check for /lib/dll/pci/pci_cap-0x10-80861563.so ... not found
Jan 01 23:24:13.928 pci_tool.581649 pci_log 0 INFO ,1,1,3 [581649:1]: B170:D0:F0 - Found /lib/dll/pci/pci_cap-0x10.so
Jan 01 23:24:13.928 pci_tool.581649 pci_log 0 INFO ,1,1,3 [581649:1]: B170:D0:F0 - Check for /lib/dll/pci/pci_cap-0x01-80861563.so ... not found
Jan 01 23:24:13.928 pci_tool.581649 pci_log 0 INFO ,1,1,3 [581649:1]: B170:D0:F0 - Found /lib/dll/pci/pci_cap-0x01.so
Jan 01 23:24:13.928 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(f94c5b52, 0x44, 0x3008, 283c20c670=0x3008) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.928 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(f94c5b52, 0x44, 0x2008, 283c20c670=0x2008) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.928 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(f94c5b52, 0x44, 0x2808, 283c20c670=0x2808) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.928 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(f94c5b52, 0x44, 0x2208, 283c20c670=0x208) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.928 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(f94c5b52, 0x44, 0xa08, 283c20c670=0xa08) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.928 pci_server.3..0 pci_dbg 0 DEBUG,1,0,3 [3:3]: No IRQ's have been allocated to B170:D0:F0 and caller is not the owner
Jan 01 23:24:13.929 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(f94c5b52, 0x44, 0x408, 283c20c670=0x408) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.929 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(f94c5b52, 0x44, 0xc08, 283c20c670=0xc08) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.929 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(f94c5b52, 0x44, 0x608, 283c20c670=0x2608) status OK [(PCI_ERR_OK)]
Jan 01 23:24:13.929 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(f94c5b52, 0x44, 0x2e08, 283c20c670=0x2e08) status OK [(PCI_ERR_OK)]
Jan 01 23:24:14.065 pci_tool.581649 pci_log 0 INFO ,1,1,3 [581649:1]: B170:D0:F1 - Check for /lib/dll/pci/pci_cap-0x10-80861563.so ... not found
Jan 01 23:24:14.065 pci_tool.581649 pci_log 0 INFO ,1,1,3 [581649:1]: B170:D0:F1 - Found /lib/dll/pci/pci_cap-0x10.so
Jan 01 23:24:14.065 pci_tool.581649 pci_log 0 INFO ,1,1,3 [581649:1]: B170:D0:F1 - Check for /lib/dll/pci/pci_cap-0x01-80861563.so ... not found
Jan 01 23:24:14.065 pci_tool.581649 pci_log 0 INFO ,1,1,3 [581649:1]: B170:D0:F1 - Found /lib/dll/pci/pci_cap-0x01.so
Jan 01 23:24:14.065 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(f94c5b52, 0x44, 0x3008, 283c20c660=0x3008) status OK [(PCI_ERR_OK)]
Jan 01 23:24:14.065 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(f94d5b52, 0x44, 0x2008, 283c20c660=0x2008) status OK [(PCI_ERR_OK)]
Jan 01 23:24:14.065 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(f94d5b52, 0x44, 0x2808, 283c20c660=0x2808) status OK [(PCI_ERR_OK)]
Jan 01 23:24:14.065 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(f94d5b52, 0x44, 0x2208, 283c20c660=0x208) status OK [(PCI_ERR_OK)]
Jan 01 23:24:14.065 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(f94d5b52, 0x44, 0xa08, 283c20c660=0xa08) status OK [(PCI_ERR_OK)]
Jan 01 23:24:14.065 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(f94d5b52, 0x44, 0x408, 283c20c660=0x408) status OK [(PCI_ERR_OK)]
Jan 01 23:24:14.065 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(f94d5b52, 0x44, 0xc08, 283c20c660=0xc08) status OK [(PCI_ERR_OK)]
Jan 01 23:24:14.065 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(f94d5b52, 0x44, 0x608, 283c20c660=0x2608) status OK [(PCI_ERR_OK)]
Jan 01 23:24:14.065 pci_tool.581649..0 pci_dbg 0 DEBUG,1,0,3 [581649:1]: pci_device_cfg_wr16(f94d5b52, 0x44, 0x2e08, 283c20c660=0x2e08) status OK [(PCI_ERR_OK)]
Jan 01 23:24:14.065 pci_server.3..0 pci_dbg 0 DEBUG,1,0,3 [3:3]: No IRQ's have been allocated to B170:D0:F1 and caller is not the owner
Jan 01 23:24:31.196 pci_tool.589841 pci_log* 0 INFO ,1,0,3 [589841:1]: SLOG module load successful for pid 589841 (pci-tool)
Jan 01 23:24:31.196 pci_tool.589841 pci_log 0 INFO ,1,0,3 [589841:1]: Attempt module load of /lib/dll/pci/pci_hw-Intel_x86.so
Jan 01 23:24:31.196 pci_tool.589841 pci_log 0 INFO ,1,0,3 [589841:1]: Module is compatible with Library ver 2.3
Jan 01 23:24:31.196 pci_tool.589841 pci_log 0 INFO ,1,0,3 [589841:1]: Module /lib/dll/pci/pci_hw-Intel_x86.so, v2.4 loaded successfully
Jan 01 23:24:31.196 pci_tool.589841 pci_log 0 INFO ,1,0,3 [589841:1]: Attempt module load of /lib/dll/pci/pci_debug2.so
Jan 01 23:24:31.196 pci_tool.589841 pci_log 0 INFO ,1,0,3 [589841:1]: Module /lib/dll/pci/pci_debug2.so, v2.1 loaded successfully
Jan 01 23:24:31.196 pci_tool.589841..0 pci_dbg* 0 DEBUG,1,1,3 [589841:1]: find_ecam_base(): trying offset 0x60 for vid/did 8086/a706
Jan 01 23:24:31.196 pci_tool.589841..0 pci_dbg 0 DEBUG,1,1,3 [589841:1]: find_ecam_base(): found ecam base 0xc0000000
Jan 01 23:24:31.198 pci_tool.589841 pci_log 0 INFO ,1,1,3 [589841:1]: Successful connection to PCI server on /dev/pci
Jan 01 23:24:31.198 pci_tool.589841 pci_log 0 INFO ,1,2,3 [589841:1]: Found 'pci_strings.so'
Jan 01 23:24:31.198 pci_tool.589841 pci_log 0 INFO ,1,2,3 [589841:1]: Found 'pci_strings_find_vid'
Jan 01 23:24:31.198 pci_tool.589841 pci_log 0 INFO ,1,2,3 [589841:1]: Found 'pci_strings_find_did'
Jan 01 23:24:31.198 pci_tool.589841 pci_log 0 INFO ,1,2,3 [589841:1]: Found 'pci_strings_find_ccode'
Jan 01 23:24:31.199 pci_tool.589841 pci_log 0 INFO ,1,0,3 [589841:1]: Capability modules will be searched for in directory /lib/dll/pci
Jan 01 23:24:31.199 pci_tool.589841 pci_log 0 INFO ,1,0,3 [589841:1]: Attempt module load of /lib/dll/pci/pci_cap-0x10-80861563.so
Jan 01 23:24:31.199 pci_tool.589841 pci_log 0 INFO ,1,0,3 [589841:1]: Re-attempt module load of /lib/dll/pci/pci_cap-0x10.so
Jan 01 23:24:31.199 pci_tool.589841 pci_log 0 INFO ,1,1,3 [589841:1]: Module is compatible with Library ver 2.3
Jan 01 23:24:31.199 pci_tool.589841 pci_log 0 INFO ,1,0,3 [589841:1]: Module /lib/dll/pci/pci_cap-0x10.so, v2.3 loaded successfully
Jan 01 23:24:31.199 pci_tool.589841 pci_log 0 INFO ,1,1,3 [589841:1]: B170:D0:F0 - Check for /lib/dll/pci/pci_cap-0x10-80861563.so ... not found
Jan 01 23:24:31.199 pci_tool.589841 pci_log 0 INFO ,1,1,3 [589841:1]: B170:D0:F0 - Found /lib/dll/pci/pci_cap-0x10.so
Jan 01 23:24:31.199 pci_tool.589841 pci_log 0 INFO ,1,0,3 [589841:1]: Attempt module load of /lib/dll/pci/pci_cap-0x01-80861563.so
Jan 01 23:24:31.199 pci_tool.589841 pci_log 0 INFO ,1,0,3 [589841:1]: Re-attempt module load of /lib/dll/pci/pci_cap-0x01.so
Jan 01 23:24:31.199 pci_tool.589841 pci_log 0 INFO ,1,1,3 [589841:1]: Module is compatible with Library ver 2.3
Jan 01 23:24:31.199 pci_tool.589841 pci_log 0 INFO ,1,0,3 [589841:1]: Module /lib/dll/pci/pci_cap-0x01.so, v2.0 loaded successfully
Jan 01 23:24:31.199 pci_tool.589841 pci_log 0 INFO ,1,1,3 [589841:1]: B170:D0:F0 - Check for /lib/dll/pci/pci_cap-0x01-80861563.so ... not found
Jan 01 23:24:31.199 pci_tool.589841 pci_log 0 INFO ,1,1,3 [589841:1]: B170:D0:F0 - Found /lib/dll/pci/pci_cap-0x01.so
Jan 01 23:24:31.199 pci_tool.589841..0 pci_dbg 0 DEBUG,1,0,3 [589841:1]: pci_device_cfg_wr16(f94c5b52, 0x44, 0x3008, 53f88529b0=0x3008) status OK [(PCI_ERR_OK)]
Jan 01 23:24:31.199 pci_server.3..0 pci_dbg 0 DEBUG,1,0,3 [3:3]: No IRQ's have been allocated to B170:D0:F0 and caller is not the owner
Jan 01 23:24:31.200 pci_tool.589841..0 pci_dbg 0 DEBUG,1,0,3 [589841:1]: pci_device_cfg_wr16(f94c5b52, 0x44, 0x2008, 53f88529b0=0x2008) status OK [(PCI_ERR_OK)]
Jan 01 23:24:31.200 pci_tool.589841..0 pci_dbg 0 DEBUG,1,0,3 [589841:1]: pci_device_cfg_wr16(f94c5b52, 0x44, 0x2808, 53f88529b0=0x2808) status OK [(PCI_ERR_OK)]
Jan 01 23:24:31.200 pci_tool.589841..0 pci_dbg 0 DEBUG,1,0,3 [589841:1]: pci_device_cfg_wr16(f94c5b52, 0x44, 0x2208, 53f88529b0=0x208) status OK [(PCI_ERR_OK)]
Jan 01 23:24:31.200 pci_tool.589841..0 pci_dbg 0 DEBUG,1,0,3 [589841:1]: pci_device_cfg_wr16(f94c5b52, 0x44, 0xa08, 53f88529b0=0xa08) status OK [(PCI_ERR_OK)]
Jan 01 23:24:31.200 pci_tool.589841..0 pci_dbg 0 DEBUG,1,0,3 [589841:1]: pci_device_cfg_wr16(f94c5b52, 0x44, 0x408, 53f88529b0=0x408) status OK [(PCI_ERR_OK)]
Jan 01 23:24:31.200 pci_tool.589841..0 pci_dbg 0 DEBUG,1,0,3 [589841:1]: pci_device_cfg_wr16(f94c5b52, 0x44, 0xc08, 53f88529b0=0xc08) status OK [(PCI_ERR_OK)]
Jan 01 23:24:31.200 pci_tool.589841..0 pci_dbg 0 DEBUG,1,0,3 [589841:1]: pci_device_cfg_wr16(f94c5b52, 0x44, 0x608, 53f88529b0=0x2608) status OK [(PCI_ERR_OK)]
Jan 01 23:24:31.200 pci_tool.589841..0 pci_dbg 0 DEBUG,1,0,3 [589841:1]: pci_device_cfg_wr16(f94c5b52, 0x44, 0x2e08, 53f88529b0=0x2e08) status OK [(PCI_ERR_OK)]
Jan 01 23:24:31.200 pci_tool.589841 pci_log 0 INFO ,1,1,3 [589841:1]: B170:D0:F1 - Check for /lib/dll/pci/pci_cap-0x10-80861563.so ... not found
Jan 01 23:24:31.200 pci_tool.589841 pci_log 0 INFO ,1,1,3 [589841:1]: B170:D0:F1 - Found /lib/dll/pci/pci_cap-0x10.so
Jan 01 23:24:31.200 pci_tool.589841 pci_log 0 INFO ,1,1,3 [589841:1]: B170:D0:F1 - Check for /lib/dll/pci/pci_cap-0x01-80861563.so ... not found
Jan 01 23:24:31.200 pci_tool.589841 pci_log 0 INFO ,1,1,3 [589841:1]: B170:D0:F1 - Found /lib/dll/pci/pci_cap-0x01.so
Jan 01 23:24:31.200 pci_tool.589841..0 pci_dbg 0 DEBUG,1,0,3 [589841:1]: pci_device_cfg_wr16(f94c5b52, 0x44, 0x3008, 53f88529a0=0x3008) status OK [(PCI_ERR_OK)]
Jan 01 23:24:31.200 pci_server.3..0 pci_dbg 0 DEBUG,1,0,3 [3:3]: No IRQ's have been allocated to B170:D0:F1 and caller is not the owner
Jan 01 23:24:31.201 pci_tool.589841..0 pci_dbg 0 DEBUG,1,0,3 [589841:1]: pci_device_cfg_wr16(f94d5b52, 0x44, 0x2008, 53f88529a0=0x2008) status OK [(PCI_ERR_OK)]
Jan 01 23:24:31.201 pci_tool.589841..0 pci_dbg 0 DEBUG,1,0,3 [589841:1]: pci_device_cfg_wr16(f94d5b52, 0x44, 0x2808, 53f88529a0=0x2808) status OK [(PCI_ERR_OK)]
Jan 01 23:24:31.201 pci_tool.589841..0 pci_dbg 0 DEBUG,1,0,3 [589841:1]: pci_device_cfg_wr16(f94d5b52, 0x44, 0x2208, 53f88529a0=0x208) status OK [(PCI_ERR_OK)]
Jan 01 23:24:31.201 pci_tool.589841..0 pci_dbg 0 DEBUG,1,0,3 [589841:1]: pci_device_cfg_wr16(f94d5b52, 0x44, 0xa08, 53f88529a0=0xa08) status OK [(PCI_ERR_OK)]
Jan 01 23:24:31.201 pci_tool.589841..0 pci_dbg 0 DEBUG,1,0,3 [589841:1]: pci_device_cfg_wr16(f94d5b52, 0x44, 0x408, 53f88529a0=0x408) status OK [(PCI_ERR_OK)]
Jan 01 23:24:31.201 pci_tool.589841..0 pci_dbg 0 DEBUG,1,0,3 [589841:1]: pci_device_cfg_wr16(f94d5b52, 0x44, 0xc08, 53f88529a0=0xc08) status OK [(PCI_ERR_OK)]
Jan 01 23:24:31.201 pci_tool.589841..0 pci_dbg 0 DEBUG,1,0,3 [589841:1]: pci_device_cfg_wr16(f94d5b52, 0x44, 0x608, 53f88529a0=0x2608) status OK [(PCI_ERR_OK)]
Jan 01 23:24:31.201 pci_tool.589841..0 pci_dbg 0 DEBUG,1,0,3 [589841:1]: pci_device_cfg_wr16(f94d5b52, 0x44, 0x2e08, 53f88529a0=0x2e08) status OK [(PCI_ERR_OK)]
So what do you think about these “.so not found messages? are these area of concern??”
Another interesting debug log -
Jan 01 23:24:31.200 pci_server.3..0 pci_dbg 0 DEBUG,1,0,3 [3:3]: No IRQ's have been allocated to B170:D0:F1 and caller is not the owner
Yes these messages are of importance.
pci_cap-XXXX.so
files are libraries that manage PCI capabilities.
pci_cap-0x01.so
manages capability 01 which is PMI.
pci_cap-0x05.so
manages capability 05 which is MSI.
etc
Interrupts capabilities are MSI and/or MSI-X.
The board you’ve just added is a PCIe one (not PCI) since PCIe capability is present.
When loading capability libraries, the pci-server
first tries to load a library dedicated to the device : pci_cap-0xYY-XXXXXXXX.so
where YY
is the capability number and XXXXXXXX
is the concatenation of the vid and the did.
If it can’t load it, it loads a generic one : `pci_cap-0xYY.so
For devices, generic libraries should be OK.
For host (PCI root) dedicated libraries must be used. However, on x86 machines, I guess they are generic. Once again, I have limited knowledge since I don’t use x86 hardware.
More information here : http://www.qnx.com/developers/docs/7.1/index.html#com.qnx.doc.pci_server/topic/capability.html
Can you find the load of MSI (05) or MSI-X (11) capability somewhere in the log ?
I added a PCIe card which yo can search in logs by 1563 DID. In below snapshot, when 0x10.so is loaded, next thing it does is disable interrupt , not sure how we fix that…
I see 0x5.so module is loaded but not in context of 1563 device.
Here’s a similar problem to yours where someone is having trouble with a PCIe card under QNX 7 because there is no interrupt assigned.
The 4th reply mentioned there are newer chipsets supported in the latest BSPs (this is 2021). Not sure if you have the latest BSP or not but if you don’t, you might want to get the newest one possible. He also mentioned a way to figure out and assign an IRQ from trial and error and the person did that by following the referenced instructions.
Tim
Disabling interrupts right after discovery is the way to go. Interrupts are enabled only when client applications request their usage.
I guess the best way to solve to your problem is to modify the configuration file as indicated by Tim.