Jump to content
XPEnology Community

Add allow_unsupported_sfp=1,1 on intel x520-DA2


henningb

Recommended Posts

I have an issue with configure the ixgbe driver to allow support of all sfp-modules. I have tried added the following line in \etc.default\modules.conf module_ixgbe_args="allow_unsupported_sfp=1,1"

then restarted server, but still does not work. the kernel log states:

Sep 17 22:19:02 NAS3 kernel: [ 3.173257] ixgbe 0000:08:00.0: failed to load because an unsupported SFP+ or QSFP module type was detected.

Sep 17 22:19:02 NAS3 kernel: [ 3.173260] ixgbe 0000:08:00.0: Reload the driver after installing a supported module.

and the ethernet port does not appear in ifconfig. only the port with empty sfp-slot.

 

google states I could use the modprobe to tweak the drivers, but I have not got this to work:

NAS3> modprobe -r ixgbe

modprobe: chdir(3.10.35): No such file or directory

 

Please guide me how to resolve this issue (without buying genuine Intel SFP-modules)

Link to comment
Share on other sites

Hi,

 

I use these commands and it works perfectly. The only issue is that it is not persistent across reboots. I'm hoping someone here can assist with this part.

 

rmmod ixgbe

 

insmod /lib/modules/ixgbe.ko allow_unsupported_sfp=1,1

 

/etc/rc.network restart

 

Cheers,

 

Matt

 

UPDATE: Managed to get this to work on every reboot using the Task Scheduler to run the above commands in a script on startup. Not sure if this is the best way.. :smile:

Link to comment
Share on other sites

Thanks, tried the command, but eth3 still does not appear in ifconfig.

 

log after command:

Sep 18 11:52:39 NAS3 kernel: [ 136.337374] ixgbe: allow_unsupported_sfp Enabled

Sep 18 11:52:39 NAS3 kernel: [ 136.434260] ixgbe 0000:08:00.0: failed to load because an unsupported SFP+ or QSFP module type was detected.

Sep 18 11:52:39 NAS3 kernel: [ 136.434265] ixgbe 0000:08:00.0: Reload the driver after installing a supported module.

Sep 18 11:52:39 NAS3 kernel: [ 136.434464] ixgbe: allow_unsupported_sfp Enabled

Sep 18 11:52:39 NAS3 kernel: [ 136.518312] ixgbe 0000:08:00.1: irq 68 for MSI/MSI-X

Sep 18 11:52:39 NAS3 kernel: [ 136.518319] ixgbe 0000:08:00.1: irq 69 for MSI/MSI-X

Sep 18 11:52:39 NAS3 kernel: [ 136.518325] ixgbe 0000:08:00.1: irq 70 for MSI/MSI-X

Sep 18 11:52:39 NAS3 kernel: [ 136.518331] ixgbe 0000:08:00.1: irq 71 for MSI/MSI-X

Sep 18 11:52:39 NAS3 kernel: [ 136.518337] ixgbe 0000:08:00.1: irq 72 for MSI/MSI-X

Sep 18 11:52:39 NAS3 kernel: [ 136.519256] ixgbe 0000:08:00.1: PCI Express bandwidth of 16GT/s available

Sep 18 11:52:39 NAS3 kernel: [ 136.519259] ixgbe 0000:08:00.1: (Speed:2.5GT/s, Width: x8, Encoding Loss:20%)

Sep 18 11:52:39 NAS3 kernel: [ 136.519333] ixgbe 0000:08:00.1 eth2: MAC: 1, PHY: 10, PBA No: E37002-011

Sep 18 11:52:39 NAS3 kernel: [ 136.519336] ixgbe 0000:08:00.1: 00:1b:21:d9:29:7e

Sep 18 11:52:39 NAS3 kernel: [ 136.519339] ixgbe 0000:08:00.1 eth2: Enabled Features: RxQ: 4 TxQ: 4

Sep 18 11:52:39 NAS3 kernel: [ 136.519342] ixgbe 0000:08:00.1 eth2: Intel® 10 Gigabit Network Connection

ifconfig:

NAS3> ifconfig

eth0 Link encap:Ethernet HWaddr 00:15:17:E1:F3:C0

inet addr:10.0.40.17 Bcast:10.0.40.255 Mask:255.255.255.0

inet6 addr: fe80::215:17ff:fee1:f3c0/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:213997 errors:0 dropped:0 overruns:0 frame:0

TX packets:140469 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:275330815 (262.5 MiB) TX bytes:11032083 (10.5 MiB)

Interrupt:18 Memory:b8820000-b8840000

 

eth1 Link encap:Ethernet HWaddr 00:15:17:E1:F3:C1

inet addr:10.0.40.18 Bcast:10.0.255.255 Mask:255.255.0.0

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Interrupt:19 Memory:b8800000-b8820000

 

eth2 Link encap:Ethernet HWaddr 00:1B:21:D9:29:7E

inet addr:10.0.80.3 Bcast:10.0.80.255 Mask:255.255.255.0

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

 

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:65536 Metric:1

RX packets:934 errors:0 dropped:0 overruns:0 frame:0

TX packets:934 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:127579 (124.5 KiB) TX bytes:127579 (124.5 KiB)

 

Could I add the command in syslinux.cfg in xenoboot ?

 

btw I'm using DSM 5.2-5967

Link to comment
Share on other sites

I don't know, it does not disconnect putty, but ping drops two packets.

I'm logged in as root.

 

log:

NAS3> /etc/rc.network restart

/etc/rc.network: line 4: can't create /etc/dhcpd/dhcpd.info: nonexistent directory

rm: can't remove '/etc/dhcpd/dhcpd.conf.leases': No such file or directory

rm: can't remove '/etc/dhcpd/dhcpd-leases.log': No such file or directory

network-interface stop/waiting

stop: Unknown instance: eth0

network-interface stop/waiting

stop: Unknown instance: eth1

network-interface stop/waiting

stop: Unknown instance: eth2

stop: Unknown instance: eth3

stop: Unknown instance: eth3

stop: Unknown instance: eth4

stop: Unknown instance: eth4

stop: Unknown instance: eth5

stop: Unknown instance: eth5

stop: Unknown instance: eth6

stop: Unknown instance: eth6

stop: Unknown instance: eth7

stop: Unknown instance: eth7

network-interface stop/waiting

stop: Unknown instance: lo

stop: Unknown instance: tun

stop: Unknown instance: tun

ifconfig: SIOCSIFADDR: No such device

ifconfig: SIOCSIFADDR: No such device

ifconfig: SIOCSIFADDR: No such device

ifconfig: SIOCSIFADDR: No such device

ifconfig: SIOCSIFADDR: No such device

ifconfig: SIOCSIFADDR: No such device

:: Unloading module llc ... [FAILED]

Del default router 10.0.40.1

RTNETLINK answers: No such process

eth0 Link encap:Ethernet HWaddr 00:15:17:E1:F3:C0

inet addr:10.0.40.17 Bcast:10.0.40.255 Mask:255.255.255.0

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:55717928 errors:0 dropped:0 overruns:0 frame:0

TX packets:35615027 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:73683601561 (68.6 GiB) TX bytes:2523723855 (2.3 GiB)

Interrupt:18 Memory:b8820000-b8840000

 

eth1 Link encap:Ethernet HWaddr 00:15:17:E1:F3:C1

inet addr:10.0.40.18 Bcast:10.0.255.255 Mask:255.255.0.0

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Interrupt:19 Memory:b8800000-b8820000

 

eth2 Link encap:Ethernet HWaddr 00:1B:21:D9:29:7E

inet addr:10.0.80.3 Bcast:10.0.80.255 Mask:255.255.255.0

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

 

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:65536 Metric:1

RX packets:165364 errors:0 dropped:0 overruns:0 frame:0

TX packets:165364 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:23497690 (22.4 MiB) TX bytes:23497690 (22.4 MiB)

 

NAS3> Add default router 10.0.40.1

RTNETLINK answers: File exists

 

NAS3>

Link to comment
Share on other sites

  • 2 months later...

I've the same problem with an X520-DA2. The card isn't recognized within the control panel of DSM 6.0.2. I also tried the "fix" with insmod as root via SSH.

 

[   14.594060] Intel(R) 10 Gigabit PCI Express Network Driver - version 4.3.13
[   14.594062] Copyright (c) 1999-2015 Intel Corporation.
[   14.594098] ixgbe unsupported_sfp_notify proc entry initialized

Link to comment
Share on other sites

×
×
  • Create New...