John Scarrott(deleted)
|
Intel I210 NIC only shows link status DOWN
|
John Scarrott(deleted)
11/14/2018 11:02 AM
post119286
|
Intel I210 NIC only shows link status DOWN
I'm trying to get QNX 7 working on a kontron mAL10 E3930. I've got the board booting fine but cannot get the network up
and running.
I'm running:
io-pkt-v6-hc -d e1000 -p tcpip -vvvv &
if_up -r 10 -p wm0
ifconfig wm0 169.254.0.1 up
which works fine with no errors reported and nothing obviously wrong in the slog. But ifconfig shows this:
wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
capabilities rx=1f<IP4CSUM,TCP4CSUM,UDP4CSUM,TCP6CSUM,UDP6CSUM>
capabilities tx=7f<IP4CSUM,TCP4CSUM,UDP4CSUM,TCP6CSUM,UDP6CSUM,TSO4,TSO6>
enabled=0
address: 00:e0:4b:65:64:ad
media: Ethernet autoselect (none)
status: no carrier
inet 169.254.0.1 netmask 0xffff0000 broadcast 169.254.255.255
inet6 fe80::2e0:4bff:fe65:64ad%wm0 prefixlen 64 scopeid 0x11
The link light works and I can disable it fine using the ifconfig wm0 down command.
nicinfo reports:
wm0:
INTEL PRO/1000 Gigabit (Copper) Ethernet Controller
Link is DOWN
Physical Node ID ........................... 00E04B 6564AD
Current Physical Node ID ................... 00E04B 6564AD
Current Operation Rate ..................... Unknown
Active Interface Type ...................... MII
Active PHY address ....................... 1
Maximum Transmittable data Unit ............ 1500
Maximum Receivable data Unit ............... 1500
Hardware Interrupt ......................... 0x100
Hardware Interrupt ......................... 0x101
Hardware Interrupt ......................... 0x102
Memory Aperture ............................ 0x81100000 - 0x8111ffff
Promiscuous Mode ........................... Off
Multicast Support .......................... Enabled
Packets Transmitted OK ..................... 0
Bytes Transmitted OK ....................... 0
Broadcast Packets Transmitted OK ........... 0
Multicast Packets Transmitted OK ........... 0
Memory Allocation Failures on Transmit ..... 0
Packets Received OK ........................ 142
Bytes Received OK .......................... 31449
Broadcast Packets Received OK .............. 142
Multicast Packets Received OK .............. 0
Memory Allocation Failures on Receive ...... 0
Single Collisions on Transmit .............. 0
Multiple Collisions on Transmit ............ 0
Deferred Transmits ......................... 0
Late Collision on Transmit errors .......... 0
Transmits aborted (excessive collisions) ... 0
Jabber detected ............................ 0
Receive Alignment errors ................... 0
Received packets with CRC errors ........... 0
Packets Dropped on receive ................. 0
Oversized Packets received ................. 0
Short packets .............................. 0
Squelch Test errors ........................ 514
Invalid Symbol Errors ...................... 0
My only thoughts are perhaps the interrupts aren't setup correctly but I am unsure how to configure them.
|
|
|
Hugh Brown
|
Re: Intel I210 NIC only shows link status DOWN
|
Hugh Brown
11/14/2018 11:55 AM
post119287
|
Re: Intel I210 NIC only shows link status DOWN
Yes, it appears that interrupts are not working. You can start the driver as follows - "io-pkt-v6-hc -de1000 verbose=3",
which will output some debug information to slog2info. If you don't see a "Link up" message in slog2info after running
ifconfig wm0 169.254.0.1, then it definitely looks like an interrupt problem on your board.
On 2018-11-14, 8:02 AM, "John Scarrott" <community-noreply@qnx.com> wrote:
I'm trying to get QNX 7 working on a kontron mAL10 E3930. I've got the board booting fine but cannot get the network
up and running.
I'm running:
io-pkt-v6-hc -d e1000 -p tcpip -vvvv &
if_up -r 10 -p wm0
ifconfig wm0 169.254.0.1 up
which works fine with no errors reported and nothing obviously wrong in the slog. But ifconfig shows this:
wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
capabilities rx=1f<IP4CSUM,TCP4CSUM,UDP4CSUM,TCP6CSUM,UDP6CSUM>
capabilities tx=7f<IP4CSUM,TCP4CSUM,UDP4CSUM,TCP6CSUM,UDP6CSUM,TSO4,TSO6>
enabled=0
address: 00:e0:4b:65:64:ad
media: Ethernet autoselect (none)
status: no carrier
inet 169.254.0.1 netmask 0xffff0000 broadcast 169.254.255.255
inet6 fe80::2e0:4bff:fe65:64ad%wm0 prefixlen 64 scopeid 0x11
The link light works and I can disable it fine using the ifconfig wm0 down command.
nicinfo reports:
wm0:
INTEL PRO/1000 Gigabit (Copper) Ethernet Controller
Link is DOWN
Physical Node ID ........................... 00E04B 6564AD
Current Physical Node ID ................... 00E04B 6564AD
Current Operation Rate ..................... Unknown
Active Interface Type ...................... MII
Active PHY address ....................... 1
Maximum Transmittable data Unit ............ 1500
Maximum Receivable data Unit ............... 1500
Hardware Interrupt ......................... 0x100
Hardware Interrupt ......................... 0x101
Hardware Interrupt ......................... 0x102
Memory Aperture ............................ 0x81100000 - 0x8111ffff
Promiscuous Mode ........................... Off
Multicast Support .......................... Enabled
Packets Transmitted OK ..................... 0
Bytes Transmitted OK ....................... 0
Broadcast Packets Transmitted OK ........... 0
Multicast Packets Transmitted OK ........... 0
Memory Allocation Failures on Transmit ..... 0
Packets Received OK ........................ 142
Bytes Received OK .......................... 31449
Broadcast Packets Received OK .............. 142
Multicast Packets Received OK .............. 0
Memory Allocation Failures on Receive ...... 0
Single Collisions on Transmit .............. 0
Multiple Collisions on Transmit ............ 0
Deferred Transmits ......................... 0
Late Collision on Transmit errors .......... 0
Transmits aborted (excessive collisions) ... 0
Jabber detected ............................ 0
Receive Alignment errors ................... 0
Received packets with CRC errors ........... 0
Packets Dropped on receive ................. 0
Oversized Packets received ................. 0
Short packets .............................. 0
Squelch Test errors ........................ 514
Invalid Symbol Errors ...................... 0
My only thoughts are perhaps the interrupts aren't setup correctly but I am unsure how to configure them.
_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post119286
To cancel your subscription to this discussion, please e-mail...
View Full Message
|
|
|
John Scarrott(deleted)
|
Re: Intel I210 NIC only shows link status DOWN
|
John Scarrott(deleted)
11/14/2018 12:08 PM
post119288
|
Re: Intel I210 NIC only shows link status DOWN
Yeah there is no link UP event in slog after calling ifconfig up, all I get is this:
Jan 01 00:00:30.099 io_pkt_v6_hc.53257..0 pci_dbg 0 DEBUG,1,1,4 [53257:2]: find_ecam_base():
found ecam base 0xe0000000
Jan 01 00:00:30.116 io_pkt_v6_hc.53257..1 slog* 0 *** found B5:D0:F0
Jan 01 00:00:30.117 iopkt.53257 main_buffer 0 wm0
Jan 01 00:00:30.117 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,1,4 [53257:2]: Successful
connection to PCI server on /dev/pci
Jan 01 00:00:30.117 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,0,4 [53257:2]: Capability
modules will be searched for in directory /lib/dll/pci
Jan 01 00:00:30.117 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,0,4 [53257:2]: Attempt module
load of /lib/dll/pci/pci_cap-0x10-8086157b.so
Jan 01 00:00:30.117 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,0,4 [53257:2]: Re-attempt module
load of /lib/dll/pci/pci_cap-0x10.so
Jan 01 00:00:30.117 io_pkt_v6_hc.53257..1 slog 0 *** device is supported, attaching
Jan 01 00:00:30.117 pci_server.3..0 pci_dbg 0 DEBUG,1,3,4 [3:2]: msg_handler(msg type:
33, connect_entry: 806c1d8) reply_len = 8, OK [PCI_ERR_OK]
Jan 01 00:00:30.118 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,1,4 [53257:2]: Module is
compatible with Library ver 2.0
Jan 01 00:00:30.118 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,0,4 [53257:2]: Module /lib/dll/
pci/pci_cap-0x10.so, v2.0 loaded successfully
Jan 01 00:00:30.118 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,1,4 [53257:2]: B5:D0:F0 - Check
for /lib/dll/pci/pci_cap-0x10-8086157b.so ... not found
Jan 01 00:00:30.118 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,1,4 [53257:2]: B5:D0:F0 - Found
/lib/dll/pci/pci_cap-0x10.so
Jan 01 00:00:30.118 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,0,4 [53257:2]: Attempt module
load of /lib/dll/pci/pci_cap-0x11-8086157b.so
Jan 01 00:00:30.118 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,0,4 [53257:2]: Re-attempt module
load of /lib/dll/pci/pci_cap-0x11.so
Jan 01 00:00:30.118 io_pkt_v6_hc.53257..1 slog 0 Unable to enable PCIe capabilities,
Requested Operation, Condition Or Data Already Exists [PCI_ERR_EALREADY]
Jan 01 00:00:30.119 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,1,4 [53257:2]: Module is
compatible with Library ver 2.0
Jan 01 00:00:30.119 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,0,4 [53257:2]: Module /lib/dll/
pci/pci_cap-0x11.so, v2.0 loaded successfully
Jan 01 00:00:30.119 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,1,4 [53257:2]: B5:D0:F0 - Check
for /lib/dll/pci/pci_cap-0x11-8086157b.so ... not found
Jan 01 00:00:30.119 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,1,4 [53257:2]: B5:D0:F0 - Found
/lib/dll/pci/pci_cap-0x11.so
Jan 01 00:00:30.119 io_pkt_v6_hc.53257..0 pci_dbg 0 DEBUG,1,3,4 [53257:2]:
_cap_msix_get_nirq(820e088) returns 5
Jan 01 00:00:30.119 io_pkt_v6_hc.53257..0 pci_dbg 0 DEBUG,1,3,4 [53257:2]:
_cap_msix_get_nirq(820ad78) returns 5
Jan 01 00:00:30.119 io_pkt_v6_hc.53257..0 pci_dbg 0 DEBUG,1,3,4 [53257:2]:
_cap_msix_get_nirq(820ad78) returns 5
Jan 01 00:00:30.119 io_pkt_v6_hc.53257..0 pci_dbg 0 DEBUG,1,3,4 [53257:2]:
_cap_msix_get_nirq(820ad78) returns 5
Jan 01 00:00:30.119 io_pkt_v6_hc.53257..0 pci_dbg 0 DEBUG,1,3,4 [53257:2]:
_cap_msix_get_nirq(820ad78) returns 5
Jan 01 00:00:30.119 io_pkt_v6_hc.53257..1 slog 0 MSI-X interrupt entry 3 disabled
Jan 01...
View Full Message
|
|
|
Hugh Brown
|
Re: Intel I210 NIC only shows link status DOWN
|
Hugh Brown
11/14/2018 12:14 PM
post119289
|
Re: Intel I210 NIC only shows link status DOWN
I'll ask out PCI developer to take a look at this.
On 2018-11-14, 9:08 AM, "John Scarrott" <community-noreply@qnx.com> wrote:
Yeah there is no link UP event in slog after calling ifconfig up, all I get is this:
Jan 01 00:00:30.099 io_pkt_v6_hc.53257..0 pci_dbg 0 DEBUG,1,1,4 [53257:2]:
find_ecam_base(): found ecam base 0xe0000000
Jan 01 00:00:30.116 io_pkt_v6_hc.53257..1 slog* 0 *** found B5:D0:F0
Jan 01 00:00:30.117 iopkt.53257 main_buffer 0 wm0
Jan 01 00:00:30.117 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,1,4 [53257:2]: Successful
connection to PCI server on /dev/pci
Jan 01 00:00:30.117 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,0,4 [53257:2]: Capability
modules will be searched for in directory /lib/dll/pci
Jan 01 00:00:30.117 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,0,4 [53257:2]: Attempt
module load of /lib/dll/pci/pci_cap-0x10-8086157b.so
Jan 01 00:00:30.117 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,0,4 [53257:2]: Re-attempt
module load of /lib/dll/pci/pci_cap-0x10.so
Jan 01 00:00:30.117 io_pkt_v6_hc.53257..1 slog 0 *** device is supported, attaching
Jan 01 00:00:30.117 pci_server.3..0 pci_dbg 0 DEBUG,1,3,4 [3:2]: msg_handler(msg
type: 33, connect_entry: 806c1d8) reply_len = 8, OK [PCI_ERR_OK]
Jan 01 00:00:30.118 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,1,4 [53257:2]: Module is
compatible with Library ver 2.0
Jan 01 00:00:30.118 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,0,4 [53257:2]: Module /lib/
dll/pci/pci_cap-0x10.so, v2.0 loaded successfully
Jan 01 00:00:30.118 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,1,4 [53257:2]: B5:D0:F0 -
Check for /lib/dll/pci/pci_cap-0x10-8086157b.so ... not found
Jan 01 00:00:30.118 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,1,4 [53257:2]: B5:D0:F0 -
Found /lib/dll/pci/pci_cap-0x10.so
Jan 01 00:00:30.118 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,0,4 [53257:2]: Attempt
module load of /lib/dll/pci/pci_cap-0x11-8086157b.so
Jan 01 00:00:30.118 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,0,4 [53257:2]: Re-attempt
module load of /lib/dll/pci/pci_cap-0x11.so
Jan 01 00:00:30.118 io_pkt_v6_hc.53257..1 slog 0 Unable to enable PCIe capabilities,
Requested Operation, Condition Or Data Already Exists [PCI_ERR_EALREADY]
Jan 01 00:00:30.119 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,1,4 [53257:2]: Module is
compatible with Library ver 2.0
Jan 01 00:00:30.119 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,0,4 [53257:2]: Module /lib/
dll/pci/pci_cap-0x11.so, v2.0 loaded successfully
Jan 01 00:00:30.119 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,1,4 [53257:2]: B5:D0:F0 -
Check for /lib/dll/pci/pci_cap-0x11-8086157b.so ... not found
Jan 01 00:00:30.119 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,1,4 [53257:2]: B5:D0:F0 -
Found /lib/dll/pci/pci_cap-0x11.so
Jan 01 00:00:30.119 io_pkt_v6_hc.53257..0 pci_dbg 0 DEBUG,1,3,4 [53257:2]:
_cap_msix_get_nirq(820e088) returns 5
Jan 01 00:00:30.119 io_pkt_v6_hc.53257..0 pci_dbg 0 DEBUG,1,3,4 [53257:2]:
_cap_msix_get_nirq(820ad78) returns 5
Jan 01 00:00:30.119 io_pkt_v6_hc.53257..0 pci_dbg 0 DEBUG,1,3,4 [53257:2]:
_cap_msix_get_nirq(820ad78) returns 5
Jan 01 00:00:30.119 io_pkt_v6_hc.53257..0 pci_dbg 0 DEBUG,1,3,4 [53257:2]:
_cap_msix_get_nirq(820ad78) returns 5
Jan 01 00:00:30.119 ...
View Full Message
|
|
|
Hugh Brown
|
Re: Intel I210 NIC only shows link status DOWN
|
Hugh Brown
11/14/2018 12:50 PM
post119290
|
Re: Intel I210 NIC only shows link status DOWN
We need to find out if it is a problem with MSIX interrupts. Please can you post the output from "pidin irq"? Is USB
working?
Also, if you unplug the link and then re-plug it, does the link come up?
You can also try the following:
PCI_MODULE_BLACKLIST=pci_cap-0x11.so io-pkt-v6-hc -de1000 verbose=3
Ifconfig wm0 192.168.0.1
Does the link come up after doing this?
On 2018-11-14, 9:08 AM, "John Scarrott" <community-noreply@qnx.com> wrote:
Yeah there is no link UP event in slog after calling ifconfig up, all I get is this:
Jan 01 00:00:30.099 io_pkt_v6_hc.53257..0 pci_dbg 0 DEBUG,1,1,4 [53257:2]:
find_ecam_base(): found ecam base 0xe0000000
Jan 01 00:00:30.116 io_pkt_v6_hc.53257..1 slog* 0 *** found B5:D0:F0
Jan 01 00:00:30.117 iopkt.53257 main_buffer 0 wm0
Jan 01 00:00:30.117 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,1,4 [53257:2]: Successful
connection to PCI server on /dev/pci
Jan 01 00:00:30.117 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,0,4 [53257:2]: Capability
modules will be searched for in directory /lib/dll/pci
Jan 01 00:00:30.117 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,0,4 [53257:2]: Attempt
module load of /lib/dll/pci/pci_cap-0x10-8086157b.so
Jan 01 00:00:30.117 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,0,4 [53257:2]: Re-attempt
module load of /lib/dll/pci/pci_cap-0x10.so
Jan 01 00:00:30.117 io_pkt_v6_hc.53257..1 slog 0 *** device is supported, attaching
Jan 01 00:00:30.117 pci_server.3..0 pci_dbg 0 DEBUG,1,3,4 [3:2]: msg_handler(msg
type: 33, connect_entry: 806c1d8) reply_len = 8, OK [PCI_ERR_OK]
Jan 01 00:00:30.118 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,1,4 [53257:2]: Module is
compatible with Library ver 2.0
Jan 01 00:00:30.118 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,0,4 [53257:2]: Module /lib/
dll/pci/pci_cap-0x10.so, v2.0 loaded successfully
Jan 01 00:00:30.118 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,1,4 [53257:2]: B5:D0:F0 -
Check for /lib/dll/pci/pci_cap-0x10-8086157b.so ... not found
Jan 01 00:00:30.118 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,1,4 [53257:2]: B5:D0:F0 -
Found /lib/dll/pci/pci_cap-0x10.so
Jan 01 00:00:30.118 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,0,4 [53257:2]: Attempt
module load of /lib/dll/pci/pci_cap-0x11-8086157b.so
Jan 01 00:00:30.118 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,0,4 [53257:2]: Re-attempt
module load of /lib/dll/pci/pci_cap-0x11.so
Jan 01 00:00:30.118 io_pkt_v6_hc.53257..1 slog 0 Unable to enable PCIe capabilities,
Requested Operation, Condition Or Data Already Exists [PCI_ERR_EALREADY]
Jan 01 00:00:30.119 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,1,4 [53257:2]: Module is
compatible with Library ver 2.0
Jan 01 00:00:30.119 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,0,4 [53257:2]: Module /lib/
dll/pci/pci_cap-0x11.so, v2.0 loaded successfully
Jan 01 00:00:30.119 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,1,4 [53257:2]: B5:D0:F0 -
Check for /lib/dll/pci/pci_cap-0x11-8086157b.so ... not found
Jan 01 00:00:30.119 io_pkt_v6_hc.53257 pci_log 0 INFO ,1,1,4 [53257:2]: B5:D0:F0 -
Found /lib/dll/pci/pci_cap-0x11.so
Jan 01 00:00:30.119 io_pkt_v6_hc.53257..0 pci_dbg 0 DEBUG,1,3,4 [53257:2]:
_cap_msix_get_nirq(820e088) returns 5
Jan 01 00:00:30.119 io_pkt_v6_hc.53257..0 pci_dbg 0 DEBUG,1,3,4 [53257:2]:
_cap_msix_get_nirq(820ad78) returns...
View Full Message
|
|
|
John Scarrott(deleted)
|
Re: Intel I210 NIC only shows link status DOWN
|
John Scarrott(deleted)
11/15/2018 4:55 AM
post119291
|
Re: Intel I210 NIC only shows link status DOWN
pid tid name
1 1 /procnto-smp-instr
1 2 /procnto-smp-instr
0 0x2 0 -P-N- @0xffff800000077f50:0
1 3 /procnto-smp-instr
1 4 /procnto-smp-instr
1 5 /procnto-smp-instr
1 6 /procnto-smp-instr
1 7 /procnto-smp-instr
1 8 /procnto-smp-instr
1 9 /procnto-smp-instr
1 10 /procnto-smp-instr
1 11 /procnto-smp-instr
1 12 /procnto-smp-instr
1 13 /procnto-smp-instr
1 14 /procnto-smp-instr
1 15 /procnto-smp-instr
1 16 /procnto-smp-instr
2 1 bin/slogger2
2 2 bin/slogger2
3 1 sbin/pci-server
3 2 sbin/pci-server
3 3 sbin/pci-server
4 1 sbin/pipe
4 2 sbin/pipe
4 3 sbin/pipe
5 1 bin/devc-pty
6 1 usr/sbin/qconn
6 2 usr/sbin/qconn
8 1 usr/sbin/inetd
4103 1 sbin/devb-sdmmc
1 0x27 0 TP--- =PULSE 0x40000006:21 0x3:0
4103 2 sbin/devb-sdmmc
4103 3 sbin/devb-sdmmc
4103 4 sbin/devb-sdmmc
4103 5 sbin/devb-sdmmc
4103 6 sbin/devb-sdmmc
4103 7 sbin/devb-sdmmc
4103 8 sbin/devb-sdmmc
4103 9 sbin/devb-sdmmc
4103 10 sbin/devb-sdmmc
4105 1 sbin/io-pkt-v6-hc
4105 2 sbin/io-pkt-v6-hc
2 0x100 0 T---- @0x1004fa9c0:0x821dcc0
3 0x102 0 T---- @0x1004fa7a0:0x821dcc0
4 0x101 0 T---- @0x1004fa820:0x821dcc0
4105 3 sbin/io-pkt-v6-hc
32779 1 sbin/dhclient
36874 1 sbin/devc-ser8250
5 0x4 0 T---- @0x804b540:0x805e088
6 0x3 0 T---- @0x804b540:0x805e0d8
36877 1 bin/sh
40972 1 sbin/devc-con-hid
40974 1 bin/sh
40975 1 bin/sh
57360 1 bin/pidin
Replugging doesn't help, and after you mentioned it USB does not work either. I've also tried multiple cables, switches,
etc.
PCI_MODULE_BLACKLIST=pci_cap-0x11.so io-pkt-v6-hc -de1000 verbose=3
Didn't seem to do anything much.
|
|
|
John Scarrott(deleted)
|
Re: Intel I210 NIC only shows link status DOWN
|
John Scarrott(deleted)
11/15/2018 8:46 AM
post119292
|
Re: Intel I210 NIC only shows link status DOWN
I don't know if this makes any difference but I am using startup-UEFI as the BIOS does not seem to support legacy
booting.
|
|
|
Hugh Brown
|
Re: Intel I210 NIC only shows link status DOWN
|
Hugh Brown
11/15/2018 11:56 AM
post119293
|
Re: Intel I210 NIC only shows link status DOWN
Please can you try the following:
They should be able to use startup-x86 with UEFI for the boot.
Tell them to make sure slogger2 -s2048k in the build file before pci-server and then have them send the output of
slog2info
Also have them make sure that where the PCI components are located (usually /lib/dll/pci/) is in their LD_LIBRARY_PATH.
Maybe it can't find the modules it needs. slog2info will tell us.
On 2018-11-15, 5:46 AM, "John Scarrott" <community-noreply@qnx.com> wrote:
I don't know if this makes any difference but I am using startup-UEFI as the BIOS does not seem to support legacy
booting.
_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post119292
To cancel your subscription to this discussion, please e-mail drivers-networking-unsubscribe@community.qnx.com
|
|
|
John Scarrott(deleted)
|
Re: Intel I210 NIC only shows link status DOWN
|
John Scarrott(deleted)
11/15/2018 12:06 PM
post119294
|
Re: Intel I210 NIC only shows link status DOWN
I am no using startup-x86 but it has made no difference. I've attached the slog output. Thanks
|
|
|
John Scarrott(deleted)
|
Re: Intel I210 NIC only shows link status DOWN
|
John Scarrott(deleted)
11/15/2018 12:08 PM
post119295
|
Re: Intel I210 NIC only shows link status DOWN
I'm also attaching my startup script in case that helps
|
|
|
Hugh Brown
|
Re: Intel I210 NIC only shows link status DOWN
|
Hugh Brown
11/15/2018 1:01 PM
post119296
|
Re: Intel I210 NIC only shows link status DOWN
Feedback from our PCI developer:
Nothing jumps out in the log file. I have an Apollo Lake here (not the Kontron board specifically) and I can assure you
MSI's work.
A couple of notes from the build file.
They should limit the bus scan when they start the pci-server to avoid polluting the logs (--bus-scan-limit=6 should be
sufficient)
Also, they said USB isn't working but in the build file it isn't even started and there is no record in the sloginfo of
USB running.
Can you reconfirm. They must be doing something wrong
On 2018-11-15, 9:08 AM, "John Scarrott" <community-noreply@qnx.com> wrote:
I'm also attaching my startup script in case that helps
_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post119295
To cancel your subscription to this discussion, please e-mail drivers-networking-unsubscribe@community.qnx.com
|
|
|
John Scarrott(deleted)
|
Re: Intel I210 NIC only shows link status DOWN
|
John Scarrott(deleted)
11/15/2018 4:47 PM
post119297
|
Re: Intel I210 NIC only shows link status DOWN
I manually enabled USB support to check as you asked. It isn't super important for my use case so I hadn't added it to
the startup script yet. I won't have a chance to look at it until next week now, but thanks for all the help so far. I
wonder if a BIOS setting has broken it?
|
|
|
John Scarrott(deleted)
|
Re: Intel I210 NIC only shows link status DOWN
|
John Scarrott(deleted)
11/22/2018 5:06 AM
post119298
|
Re: Intel I210 NIC only shows link status DOWN
I had another look at the USB and it actually works. I was just starting the driver incorrectly. So as far I can tell it
is only the ethernet that doesn't work.
|
|
|
Hugh Brown
|
Re: Intel I210 NIC only shows link status DOWN
|
Hugh Brown
11/22/2018 8:41 AM
post119300
|
Re: Intel I210 NIC only shows link status DOWN
When you run "pidin irq", what interrupt does the USB driver get? The e1000 driver definitely works, so this has
something to do with interrupts, but not having the hardware here makes it difficult to debug.
On 2018-11-22, 5:06 AM, "John Scarrott" <community-noreply@qnx.com> wrote:
I had another look at the USB and it actually works. I was just starting the driver incorrectly. So as far I can
tell it is only the ethernet that doesn't work.
_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post119298
To cancel your subscription to this discussion, please e-mail drivers-networking-unsubscribe@community.qnx.com
|
|
|
John Scarrott(deleted)
|
Re: Intel I210 NIC only shows link status DOWN
|
John Scarrott(deleted)
11/22/2018 8:58 AM
post119301
|
Re: Intel I210 NIC only shows link status DOWN
I appreciate how difficult these things can be to debug without the hardware, thanks for your help!
pidin irq looks like this:
pid tid name
1 1 /procnto-smp-instr
1 2 /procnto-smp-instr
0 0x2 0 -P-N- @0xffff800000077f50:0
1 3 /procnto-smp-instr
1 4 /procnto-smp-instr
1 5 /procnto-smp-instr
1 6 /procnto-smp-instr
1 7 /procnto-smp-instr
1 8 /procnto-smp-instr
1 9 /procnto-smp-instr
1 10 /procnto-smp-instr
1 11 /procnto-smp-instr
1 12 /procnto-smp-instr
1 13 /procnto-smp-instr
1 14 /procnto-smp-instr
1 15 /procnto-smp-instr
1 16 /procnto-smp-instr
2 1 bin/slogger2
2 2 bin/slogger2
3 1 sbin/pci-server
3 2 sbin/pci-server
3 3 sbin/pci-server
4 1 sbin/pipe
4 2 sbin/pipe
4 3 sbin/pipe
5 1 bin/devc-pty
6 1 usr/sbin/qconn
6 2 usr/sbin/qconn
8 1 usr/sbin/inetd
4103 1 sbin/io-pkt-v6-hc
4103 2 sbin/io-pkt-v6-hc
1 0x100 0 T---- @0x1004fa9c0:0x821dcc0
2 0x102 0 T---- @0x1004fa7a0:0x821dcc0
3 0x101 0 T---- @0x1004fa820:0x821dcc0
4103 3 sbin/io-pkt-v6-hc
16393 1 sbin/devc-ser8250
4 0x4 0 T---- @0x804b540:0x805e088
5 0x3 0 T---- @0x804b540:0x805e0d8
16395 1 bin/sh
20492 1 bin/sh
24586 1 sbin/io-usb-otg
24586 2 sbin/io-usb-otg
24586 3 sbin/io-usb-otg
24586 4 sbin/io-usb-otg
24586 5 sbin/io-usb-otg
24586 6 sbin/io-usb-otg
24586 7 sbin/io-usb-otg
24586 8 sbin/io-usb-otg
24586 9 sbin/io-usb-otg
24586 10 sbin/io-usb-otg
24586 11 sbin/io-usb-otg
6 0x103 0 TP--- =PULSE 0x40000014:24 0x1:0
24586 12 sbin/io-usb-otg
24586 13 sbin/io-usb-otg
24589 1 sbin/devb-umass
24589 2 sbin/devb-umass
24589 3 sbin/devb-umass
24589 4 sbin/devb-umass
24589 5 sbin/devb-umass
24589 6 sbin/devb-umass
24589 7 sbin/devb-umass
24589 8 sbin/devb-umass
24589 9 sbin/devb-umass
24589 10 sbin/devb-umass
24590 1 sbin/devc-con-hid
24591 1 bin/sh
24592 1 bin/sh
24593 1 bin/slog2info
36882 1 bin/pidin
|
|
|
Hugh Brown
|
Re: Intel I210 NIC only shows link status DOWN
|
Hugh Brown
11/22/2018 10:12 AM
post119302
|
Re: Intel I210 NIC only shows link status DOWN
One more test please! Remove the network cable, start the driver with "verbose=3" on the command line, "ifconfig wm0 up"
and then plug in the network cable. Run "nicinfo wm0" to see if the link is up.
If the link still doesn't come up, then I will need the hardware to debug this problem. Please also send me the
slog2info output.
Hugh.
On 2018-11-22, 8:58 AM, "John Scarrott" <community-noreply@qnx.com> wrote:
I appreciate how difficult these things can be to debug without the hardware, thanks for your help!
pidin irq looks like this:
pid tid name
1 1 /procnto-smp-instr
1 2 /procnto-smp-instr
0 0x2 0 -P-N- @0xffff800000077f50:0
1 3 /procnto-smp-instr
1 4 /procnto-smp-instr
1 5 /procnto-smp-instr
1 6 /procnto-smp-instr
1 7 /procnto-smp-instr
1 8 /procnto-smp-instr
1 9 /procnto-smp-instr
1 10 /procnto-smp-instr
1 11 /procnto-smp-instr
1 12 /procnto-smp-instr
1 13 /procnto-smp-instr
1 14 /procnto-smp-instr
1 15 /procnto-smp-instr
1 16 /procnto-smp-instr
2 1 bin/slogger2
2 2 bin/slogger2
3 1 sbin/pci-server
3 2 sbin/pci-server
3 3 sbin/pci-server
4 1 sbin/pipe
4 2 sbin/pipe
4 3 sbin/pipe
5 1 bin/devc-pty
6 1 usr/sbin/qconn
6 2 usr/sbin/qconn
8 1 usr/sbin/inetd
4103 1 sbin/io-pkt-v6-hc
4103 2 sbin/io-pkt-v6-hc
1 0x100 0 T---- @0x1004fa9c0:0x821dcc0
2 0x102 0 T---- @0x1004fa7a0:0x821dcc0
3 0x101 0 T---- @0x1004fa820:0x821dcc0
4103 3 sbin/io-pkt-v6-hc
16393 1 sbin/devc-ser8250
4 0x4 0 T---- @0x804b540:0x805e088
5 0x3 0 T---- @0x804b540:0x805e0d8
16395 1 bin/sh
20492 1 bin/sh
24586 1 sbin/io-usb-otg
24586 2 sbin/io-usb-otg
24586 3 sbin/io-usb-otg
24586 4 sbin/io-usb-otg
24586 5 sbin/io-usb-otg
24586 6 sbin/io-usb-otg
24586 7 sbin/io-usb-otg
24586 8 sbin/io-usb-otg
24586 9 sbin/io-usb-otg
24586 10 sbin/io-usb-otg
24586 11 sbin/io-usb-otg
6 0x103 0 TP--- =PULSE 0x40000014:24 0x1:0
24586 12 sbin/io-usb-otg
24586 13 sbin/io-usb-otg
24589 1 sbin/devb-umass
24589 2 sbin/devb-umass
24589 3 sbin/devb-umass
24589 4 sbin/devb-umass
24589 5 sbin/devb-umass
24589 6 sbin/devb-umass
24589 7 sbin/devb-umass
24589 8 sbin/devb-umass
24589 9 sbin/devb-umass
24589 10 sbin/devb-umass
24590 1 sbin/devc-con-hid
24591 1 bin/sh
24592 1 bin/sh
24593 1 bin/slog2info
36882 1 bin/pidin
_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post119301
To cancel your subscription to this discussion, please e-mail drivers-networking-unsubscribe@community.qnx.com
|
|
|
John Scarrott(deleted)
|
Re: Intel I210 NIC only shows link status DOWN
|
John Scarrott(deleted)
11/22/2018 10:30 AM
post119303
|
Re: Intel I210 NIC only shows link status DOWN
Still no luck.
Slog here:
Jan 01 00:01:14.513 iopkt.36871 0 -----ONLINE-----
Jan 01 00:01:14.514 iopkt.36871 main_buffer* 0 tcpip starting
Jan 01 00:01:14.514 iopkt.36871 main_buffer 0 Unable to open /dev/random: errno: 2
Jan 01 00:01:14.514 iopkt.36871 main_buffer 0 Falling back on internal pseudo random
generator
Jan 01 00:01:14.516 iopkt.36871 main_buffer 0 initializing IPsec...
Jan 01 00:01:14.516 iopkt.36871 main_buffer 0 done
Jan 01 00:01:14.516 iopkt.36871 main_buffer 0 IPsec: Initialized Security Association
Processing.
Jan 01 00:01:14.519 iopkt.36871 main_buffer 0 devnp-e1000.so (null)
Jan 01 00:01:14.521 io_pkt_v6_hc.36871 0 -----ONLINE-----
Jan 01 00:01:14.521 io_pkt_v6_hc.36871 pci_log* 0 INFO ,1,0,4 [36871:2]: SLOG module load
successful for pid 36871 (io-pkt-v6-hc)
Jan 01 00:01:14.521 io_pkt_v6_hc.36871 pci_log 0 INFO ,1,0,4 [36871:2]: Attempt module
load of /lib/dll/pci/pci_hw-Intel_x86_APL.so
Jan 01 00:01:14.521 io_pkt_v6_hc.36871 pci_log 0 INFO ,1,0,4 [36871:2]: Module is
compatible with Library ver 2.0
Jan 01 00:01:14.521 io_pkt_v6_hc.36871 pci_log 0 INFO ,1,0,4 [36871:2]: Module /lib/dll/
pci/pci_hw-Intel_x86_APL.so, v2.1 loaded successfully
Jan 01 00:01:14.522 io_pkt_v6_hc.36871..0 0 -----ONLINE-----
Jan 01 00:01:14.522 io_pkt_v6_hc.36871 pci_log 0 INFO ,1,0,4 [36871:2]: Attempt module
load of /lib/dll/pci/pci_debug2.so
Jan 01 00:01:14.522 io_pkt_v6_hc.36871 pci_log 0 INFO ,1,0,4 [36871:2]: Module /lib/dll/
pci/pci_debug2.so, v2.1 loaded successfully
Jan 01 00:01:14.522 io_pkt_v6_hc.36871..0 pci_dbg* 0 DEBUG,1,1,4 [36871:2]: find_ecam_base():
trying offset 0x60 for vid/did 8086/5af0
Jan 01 00:01:14.523 io_pkt_v6_hc.36871..0 pci_dbg 0 DEBUG,1,1,4 [36871:2]: find_ecam_base():
found ecam base 0xe0000000
Jan 01 00:01:14.534 io_pkt_v6_hc.36871..1 0 -----ONLINE-----
Jan 01 00:01:14.534 iopkt.36871 main_buffer 0 wm0
Jan 01 00:01:14.534 io_pkt_v6_hc.36871 pci_log 0 INFO ,1,1,4 [36871:2]: Successful
connection to PCI server on /dev/pci
Jan 01 00:01:14.534 io_pkt_v6_hc.36871 pci_log 0 INFO ,1,0,4 [36871:2]: Capability
modules will be searched for in directory /lib/dll/pci
Jan 01 00:01:14.534 io_pkt_v6_hc.36871 pci_log 0 INFO ,1,0,4 [36871:2]: Attempt module
load of /lib/dll/pci/pci_cap-0x10-8086157b.so
Jan 01 00:01:14.534 io_pkt_v6_hc.36871 pci_log 0 INFO ,1,0,4 [36871:2]: Re-attempt module
load of /lib/dll/pci/pci_cap-0x10.so
Jan 01 00:01:14.534 io_pkt_v6_hc.36871..1 slog* 0 *** found B5:D0:F0
Jan 01 00:01:14.534 io_pkt_v6_hc.36871..1 slog 0 *** device is supported, attaching
Jan 01 00:01:14.534 pci_server.3..0 pci_dbg 0 DEBUG,1,3,4 [3:3]: msg_handler(msg type:
33, connect_entry: 806e0f8) reply_len = 8, OK [PCI_ERR_OK]
Jan 01 00:01:14.535 io_pkt_v6_hc.36871 pci_log 0 INFO ,1,1,4 [36871:2]: Module is
compatible with Library ver 2.0
Jan 01 00:01:14.535 io_pkt_v6_hc.36871 pci_log 0 INFO ,1,0,4 [36871:2]: Module /lib/dll/
pci/pci_cap-0x10.so, v2.0 loaded successfully
Jan 01 00:01:14.535 io_pkt_v6_hc.36871 pci_log 0 INFO...
View Full Message
|
|
|
Hugh Brown
|
Re: Intel I210 NIC only shows link status DOWN
|
Hugh Brown
11/22/2018 10:44 AM
post119304
|
Re: Intel I210 NIC only shows link status DOWN
At this stage I think that is best that you contact your QNX Sales rep to make arrangements to get this problem resolved
.
Thanks, Hugh.
On 2018-11-22, 10:31 AM, "John Scarrott" <community-noreply@qnx.com> wrote:
Still no luck.
Slog here:
Jan 01 00:01:14.513 iopkt.36871 0 -----ONLINE-----
Jan 01 00:01:14.514 iopkt.36871 main_buffer* 0 tcpip starting
Jan 01 00:01:14.514 iopkt.36871 main_buffer 0 Unable to open /dev/random: errno: 2
Jan 01 00:01:14.514 iopkt.36871 main_buffer 0 Falling back on internal pseudo
random generator
Jan 01 00:01:14.516 iopkt.36871 main_buffer 0 initializing IPsec...
Jan 01 00:01:14.516 iopkt.36871 main_buffer 0 done
Jan 01 00:01:14.516 iopkt.36871 main_buffer 0 IPsec: Initialized Security
Association Processing.
Jan 01 00:01:14.519 iopkt.36871 main_buffer 0 devnp-e1000.so (null)
Jan 01 00:01:14.521 io_pkt_v6_hc.36871 0 -----ONLINE-----
Jan 01 00:01:14.521 io_pkt_v6_hc.36871 pci_log* 0 INFO ,1,0,4 [36871:2]: SLOG module
load successful for pid 36871 (io-pkt-v6-hc)
Jan 01 00:01:14.521 io_pkt_v6_hc.36871 pci_log 0 INFO ,1,0,4 [36871:2]: Attempt
module load of /lib/dll/pci/pci_hw-Intel_x86_APL.so
Jan 01 00:01:14.521 io_pkt_v6_hc.36871 pci_log 0 INFO ,1,0,4 [36871:2]: Module is
compatible with Library ver 2.0
Jan 01 00:01:14.521 io_pkt_v6_hc.36871 pci_log 0 INFO ,1,0,4 [36871:2]: Module /lib/
dll/pci/pci_hw-Intel_x86_APL.so, v2.1 loaded successfully
Jan 01 00:01:14.522 io_pkt_v6_hc.36871..0 0 -----ONLINE-----
Jan 01 00:01:14.522 io_pkt_v6_hc.36871 pci_log 0 INFO ,1,0,4 [36871:2]: Attempt
module load of /lib/dll/pci/pci_debug2.so
Jan 01 00:01:14.522 io_pkt_v6_hc.36871 pci_log 0 INFO ,1,0,4 [36871:2]: Module /lib/
dll/pci/pci_debug2.so, v2.1 loaded successfully
Jan 01 00:01:14.522 io_pkt_v6_hc.36871..0 pci_dbg* 0 DEBUG,1,1,4 [36871:2]:
find_ecam_base(): trying offset 0x60 for vid/did 8086/5af0
Jan 01 00:01:14.523 io_pkt_v6_hc.36871..0 pci_dbg 0 DEBUG,1,1,4 [36871:2]:
find_ecam_base(): found ecam base 0xe0000000
Jan 01 00:01:14.534 io_pkt_v6_hc.36871..1 0 -----ONLINE-----
Jan 01 00:01:14.534 iopkt.36871 main_buffer 0 wm0
Jan 01 00:01:14.534 io_pkt_v6_hc.36871 pci_log 0 INFO ,1,1,4 [36871:2]: Successful
connection to PCI server on /dev/pci
Jan 01 00:01:14.534 io_pkt_v6_hc.36871 pci_log 0 INFO ,1,0,4 [36871:2]: Capability
modules will be searched for in directory /lib/dll/pci
Jan 01 00:01:14.534 io_pkt_v6_hc.36871 pci_log 0 INFO ,1,0,4 [36871:2]: Attempt
module load of /lib/dll/pci/pci_cap-0x10-8086157b.so
Jan 01 00:01:14.534 io_pkt_v6_hc.36871 pci_log 0 INFO ,1,0,4 [36871:2]: Re-attempt
module load of /lib/dll/pci/pci_cap-0x10.so
Jan 01 00:01:14.534 io_pkt_v6_hc.36871..1 slog* 0 *** found B5:D0:F0
Jan 01 00:01:14.534 io_pkt_v6_hc.36871..1 slog 0 *** device is supported, attaching
Jan 01 00:01:14.534 pci_server.3..0 pci_dbg 0 DEBUG,1,3,4 [3:3]: msg_handler(msg
type: 33, connect_entry: 806e0f8) reply_len = 8, OK [PCI_ERR_OK]
Jan 01 00:01:14.535 ...
View Full Message
|
|
|
John Scarrott(deleted)
|
Re: Intel I210 NIC only shows link status DOWN
|
John Scarrott(deleted)
11/22/2018 10:48 AM
post119305
|
Re: Intel I210 NIC only shows link status DOWN
That's fine. Thanks again for all your help.
|
|
|
|