View Issue Details

IDProjectCategoryView StatusLast Update
0000949channel: elrepo/el8--elrepo--request-for-enhancement--public2019-10-04 10:56
Reporterbeacon_bonanza Assigned Totoracat  
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
Summary0000949: Request for Emulex OneConnect OCe10100 Series
DescriptionHi,
As per https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/considerations_in_adopting_rhel_8/hardware-enablement_considerations-in-adopting-rhel-8 , support for the OneConnect TIGERSHARK NIC, PCI ID 0x19a2:0x0700 device has been dropped from the be2net driver. Is it possible to resurrect support for this device in the be2net driver for el8

lspci -nn | grep Ethernet

04:00.0 Ethernet controller [0200]: Emulex Corporation OneConnect OCe10100/OCe10102 Series 10 GbE [19a2:0700] (rev 02)

Many thanks
TagsNo tags attached.
Attached Files
dmesg.png (414,500 bytes)

Activities

toracat

2019-09-30 10:31

administrator   ~0006541

We will get to it.

toracat

2019-09-30 15:15

administrator   ~0006544

Took me a while to figure out how certain devices were disabled. It is through:

https://lore.kernel.org/patchwork/patch/972729/

which was introduced in the 8.0 GA kernel.

toracat

2019-09-30 15:26

administrator   ~0006545

In be_main.c

+#ifdef CONFIG_BE2NET_BE2
     { PCI_DEVICE(BE_VENDOR_ID, BE_DEVICE_ID1) },
- { PCI_DEVICE(BE_VENDOR_ID, BE_DEVICE_ID2) },
     { PCI_DEVICE(BE_VENDOR_ID, OC_DEVICE_ID1) },
+#endif /* CONFIG_BE2NET_BE2 */

Reverting the above allows building the module in request.

$ modinfo ./be2net.ko | grep alias
alias: pci:v000010DFd00000728sv*sd*bc*sc*i*
alias: pci:v000010DFd00000720sv*sd*bc*sc*i*
alias: pci:v000010DFd0000E228sv*sd*bc*sc*i*
alias: pci:v000010DFd0000E220sv*sd*bc*sc*i*
alias: pci:v000019A2d00000700sv*sd*bc*sc*i* <===
alias: pci:v000019A2d00000211sv*sd*bc*sc*i*

toracat

2019-10-01 14:58

administrator   ~0006548

The following kmod package is currently syncing to our mirror sites. Your feedback much appreciated.

kmod-be2net-12.0.0.0-1.el8_0.elrepo.x86_64.rpm

beacon_bonanza

2019-10-02 02:30

reporter   ~0006551

Unfortunately that doesn't seem to work correctly. I've attached an image of the output from dmesg, it seems to be failing to initialize the device. Let me know of any more debugging output that would be useful.

Thanks for all your effort!

toracat

2019-10-02 09:42

administrator   ~0006552

Last edited: 2019-10-02 23:13

According to an upstream solution article "Emulex be2net NIC reports: PCIe error reporting enabled" ( https://access.redhat.com/solutions/1443743 ), this message is not an error. It is informational and completely normal.

Is the module loaded as shown by lsmod? Is the device actually not working?

[EDIT] Never mind these questions.

toracat

2019-10-02 12:53

administrator   ~0006553

Could you test-install kernel-ml (currently at 5.3.1) and see if your NIC works? The be2net driver in this kernel has your ID paring [19a2:0700].

dnf --enablerepo=elrepo-kernel install kernel-ml

toracat

2019-10-02 23:10

administrator   ~0006559

Is a newer version of firmware available?

How about a cold power cycle?

beacon_bonanza

2019-10-03 04:18

reporter   ~0006560

Switching to the kernel-ml did the trick. Many thanks for all your help, keep up the great work!

beacon_bonanza

2019-10-03 06:40

reporter   ~0006561

I guess in an ideal world I would rather run with the stock kernel, do you think that there may be a way of getting the be2net package to work for the default kernel?

landif

2019-10-03 06:41

reporter   ~0006562

Hello,

Emulex Corporation OneConnect 10Gb NIC (be3) [19a2:0710] (rev 01) was stripped out too...
In previous releases, modinfo returns:

alias: pci:v000019A2d00000710sv*sd*bc*sc*i*

Can that HW be reverted too?

The current kmod loads correct but throws a signature warning as expected...
I will use kernel-ml menawhile...

Thanks

toracat

2019-10-03 10:02

administrator   ~0006563

The source code from kernel 5.x does not build under el8. We'll see if backporting is possible.

toracat

2019-10-03 16:18

administrator   ~0006568

I have rebuilt the kmod using the code from the distro kernel as :

kmod-be2net-12.0.0.0-2.el8_0.elrepo.x86_64.rpm

This has support for the device @landif requested:

alias: pci:v000010DFd00000728sv*sd*bc*sc*i*
alias: pci:v000010DFd00000720sv*sd*bc*sc*i*
alias: pci:v000010DFd0000E228sv*sd*bc*sc*i*
alias: pci:v000010DFd0000E220sv*sd*bc*sc*i*
alias: pci:v000019A2d00000710sv*sd*bc*sc*i*
alias: pci:v000019A2d00000221sv*sd*bc*sc*i*
alias: pci:v000019A2d00000700sv*sd*bc*sc*i*
alias: pci:v000019A2d00000211sv*sd*bc*sc*i*

@beacon_bonanza, will you uninstall the first version and try this second version?

beacon_bonanza

2019-10-04 03:20

reporter   ~0006573

Working perfectly with the stock kernel and the updated kmod. Thank you so much for your effort, amazing work!

toracat

2019-10-04 10:21

administrator   ~0006575

Great. I'll now wait to hear from @landif.

landif

2019-10-04 10:53

reporter   ~0006576

It works like a charm, thank you for the effort!!

[root@localhost ~]# dmesg | grep be2net
[ 5.697532] be2net: loading out-of-tree module taints kernel.
[ 5.697643] be2net: module verification failed: signature and/or required key missing - tainting kernel
[ 5.700316] be2net 0000:06:00.0: be2net version is 12.0.0.0
[ 5.910012] be2net 0000:06:00.0: adapter not in advanced mode
[ 5.923030] be2net 0000:06:00.0: FW config: function_mode=0x2003, function_caps=0xf
[ 6.011073] be2net 0000:06:00.0: Max: txqs 16, rxqs 5, rss 4, eqs 16, vfs 0
[ 6.011075] be2net 0000:06:00.0: Max: uc-macs 30, mc-macs 64, vlans 64
[ 6.011173] be2net 0000:06:00.0: enabled 4 MSI-x vector(s) for NIC
[ 6.235089] be2net 0000:06:00.0: created 4 TX queue(s)
[ 6.271012] be2net 0000:06:00.0: created 5 RX queue(s)
[ 6.334021] be2net 0000:06:00.0: FW version is 4.6.247.5
[ 6.335448] be2net 0000:06:00.0: HW Flow control - TX:1 RX:1
[ 6.372017] be2net 0000:06:00.0: Adapter does not support HW error recovery
[ 6.372283] be2net 0000:06:00.0: Emulex OneConnect(be3): PF port 1
[ 6.372310] be2net 0000:06:00.1: be2net version is 12.0.0.0
[ 6.519134] be2net 0000:06:00.1: adapter not in advanced mode
[ 6.531188] be2net 0000:06:00.1: FW config: function_mode=0x2003, function_caps=0xf
[ 6.619128] be2net 0000:06:00.1: Max: txqs 16, rxqs 5, rss 4, eqs 16, vfs 0
[ 6.619129] be2net 0000:06:00.1: Max: uc-macs 30, mc-macs 64, vlans 64
[ 6.619283] be2net 0000:06:00.1: enabled 4 MSI-x vector(s) for NIC
[ 6.829105] be2net 0000:06:00.1: created 4 TX queue(s)
[ 6.859092] be2net 0000:06:00.1: created 5 RX queue(s)
[ 6.920105] be2net 0000:06:00.1: FW version is 4.6.247.5
[ 6.921061] be2net 0000:06:00.1: HW Flow control - TX:1 RX:1
[ 6.958125] be2net 0000:06:00.1: Adapter does not support HW error recovery
[ 6.958378] be2net 0000:06:00.1: Emulex OneConnect(be3): PF port 2
[ 6.963156] be2net 0000:06:00.1 enp6s0f1: renamed from eth1
[ 7.194247] be2net 0000:06:00.0 enp6s0f0: renamed from eth0
[ 10.866066] be2net 0000:06:00.0 enp6s0f0: Link is Up
[ 10.871643] be2net 0000:06:00.0 enp6s0f0: Link is Up
[ 11.005083] be2net 0000:06:00.1 enp6s0f1: Link is Down
[ 93.910064] be2net 0000:06:00.1 enp6s0f1: Link is Down

toracat

2019-10-04 10:56

administrator   ~0006577

Thanks for the feedback. Now closing as 'resolved'.

Issue History

Date Modified Username Field Change
2019-09-30 05:31 beacon_bonanza New Issue
2019-09-30 05:31 beacon_bonanza Status new => assigned
2019-09-30 05:31 beacon_bonanza Assigned To => toracat
2019-09-30 09:34 burakkucat Summary Request for Emulex OneConnectOCe10100 series => Request for Emulex OneConnect OCe10100 Series
2019-09-30 10:31 toracat Note Added: 0006541
2019-09-30 11:36 toracat Description Updated
2019-09-30 15:15 toracat Note Added: 0006544
2019-09-30 15:26 toracat Note Added: 0006545
2019-10-01 14:58 toracat Note Added: 0006548
2019-10-01 15:01 toracat Status assigned => feedback
2019-10-02 02:29 beacon_bonanza File Added: dmesg.png
2019-10-02 02:30 beacon_bonanza Note Added: 0006551
2019-10-02 09:42 toracat Note Added: 0006552
2019-10-02 09:42 toracat Status feedback => assigned
2019-10-02 12:53 toracat Note Added: 0006553
2019-10-02 23:10 toracat Note Added: 0006559
2019-10-02 23:13 toracat Note Edited: 0006552
2019-10-03 04:18 beacon_bonanza Note Added: 0006560
2019-10-03 06:40 beacon_bonanza Note Added: 0006561
2019-10-03 06:41 landif Note Added: 0006562
2019-10-03 10:02 toracat Note Added: 0006563
2019-10-03 16:18 toracat Note Added: 0006568
2019-10-04 03:20 beacon_bonanza Note Added: 0006573
2019-10-04 10:21 toracat Note Added: 0006575
2019-10-04 10:53 landif Note Added: 0006576
2019-10-04 10:56 toracat Note Added: 0006577
2019-10-04 10:56 toracat Status assigned => resolved
2019-10-04 10:56 toracat Resolution open => fixed