koljah-de / e1000e-dkms-debian

Intel e1000e ethernet adapter driver (DKMS version) for Debian
https://sourceforge.net/projects/e1000/
GNU General Public License v2.0
72 stars 14 forks source link

e1000e-3.8.4 and kernel-5.7 #7

Open ohquait opened 4 years ago

ohquait commented 4 years ago

please , i am not a guru of code: here is my patch from our and this give me a compiled kernel-module https://www.qua-it.org/XFCE/shots/share-with-pclos/pclos/e1000e-kernel-5.7.new.patch ``# apt-get install dkms-e1000e-3.8.4-2pclos2020.x86_64.rpm Reading Package Lists... Done Building Dependency Tree... Done Selecting dkms-e1000e for 'dkms-e1000e-3.8.4-2pclos2020.x86_64.rpm' The following NEW packages will be installed: dkms-e1000e (3.8.4-2pclos2020) 0 upgraded, 1 newly installed, 0 removed and 0 not upgraded. Need to get 0B/256kB of archives. After unpacking 1800kB of additional disk space will be used. Committing changes... Preparing ############################## [100%] Updating / installing dkms-e1000e-3.8.4-2pclos2020.x86_64 ############################## [100%]

Creating symlink /var/lib/dkms/e1000e/3.8.4-2pclos2020/source -> /usr/src/e1000e-3.8.4-2pclos2020

DKMS: add Completed.

Preparing kernel 5.7.1-pclos1 for module build: (This is not compiling a kernel, just preparing kernel symbols) Storing current .config to be restored when complete Running Generic preparation routine make clean..... using /proc/config.gz make oldconfig..... make prepare.....

Building module: cleaning build area.... 'make' SKIP_STACK_VALIDATION=1......... cleaning build area.... cleaning kernel tree (make clean).....

DKMS: build Completed.

e1000e.ko.xz:

depmod......

DKMS: install Completed. Reloading network configuration ... Done.

BUT i CAN NOT Check on real Hardware

ohquait commented 4 years ago

I think this can break the usability with kernel-5.6-series i must rebuild with "if kernelversion ...." e.t.c. to bring back the usability with 5.6...series? or can do this one from here?

ohquait commented 4 years ago

modinfo e1000e

filename: /lib/modules/5.7.1-pclos1/kernel/drivers/net/ethernet/intel/e1000e/e1000e.ko.xz version: 3.8.4-NAPI license: GPL description: Intel(R) PRO/1000 Network Driver author: Intel Corporation, linux.nics@intel.com srcversion: 66BAFAFEFF141B143DADEC6 alias: pci:v00008086d00001A1Dsvsdbcsci alias: pci:v00008086d00001A1Csvsdbcsci alias: pci:v00008086d00001A1Fsvsdbcsci alias: pci:v00008086d00001A1Esvsdbcsci alias: pci:v00008086d000015F5svsdbcsci alias: pci:v00008086d000015F4svsdbcsci alias: pci:v00008086d000015FAsvsdbcsci alias: pci:v00008086d000015F9svsdbcsci alias: pci:v00008086d000015FCsvsdbcsci alias: pci:v00008086d000015FBsvsdbcsci alias: pci:v00008086d00000D4Dsvsdbcsci alias: pci:v00008086d00000D4Csvsdbcsci alias: pci:v00008086d00000D4Fsvsdbcsci alias: pci:v00008086d00000D4Esvsdbcsci alias: pci:v00008086d000015E2svsdbcsci alias: pci:v00008086d000015E1svsdbcsci alias: pci:v00008086d000015E0svsdbcsci alias: pci:v00008086d000015DFsvsdbcsci alias: pci:v00008086d000015BCsvsdbcsci alias: pci:v00008086d000015BBsvsdbcsci alias: pci:v00008086d000015BEsvsdbcsci alias: pci:v00008086d000015BDsvsdbcsci alias: pci:v00008086d00000D55svsdbcsci alias: pci:v00008086d00000D53svsdbcsci alias: pci:v00008086d000015D6svsdbcsci alias: pci:v00008086d000015E3svsdbcsci alias: pci:v00008086d000015D8svsdbcsci alias: pci:v00008086d000015D7svsdbcsci alias: pci:v00008086d000015B9svsdbcsci alias: pci:v00008086d000015B8svsdbcsci alias: pci:v00008086d000015B7svsdbcsci alias: pci:v00008086d00001570svsdbcsci alias: pci:v00008086d0000156Fsvsdbcsci alias: pci:v00008086d000015A3svsdbcsci alias: pci:v00008086d000015A2svsdbcsci alias: pci:v00008086d000015A1svsdbcsci alias: pci:v00008086d000015A0svsdbcsci alias: pci:v00008086d00001559svsdbcsci alias: pci:v00008086d0000155Asvsdbcsci alias: pci:v00008086d0000153Bsvsdbcsci alias: pci:v00008086d0000153Asvsdbcsci alias: pci:v00008086d00001503svsdbcsci alias: pci:v00008086d00001502svsdbcsci alias: pci:v00008086d000010F0svsdbcsci alias: pci:v00008086d000010EFsvsdbcsci alias: pci:v00008086d000010EBsvsdbcsci alias: pci:v00008086d000010EAsvsdbcsci alias: pci:v00008086d00001525svsdbcsci alias: pci:v00008086d000010DFsvsdbcsci alias: pci:v00008086d000010DEsvsdbcsci alias: pci:v00008086d000010CEsvsdbcsci alias: pci:v00008086d000010CDsvsdbcsci alias: pci:v00008086d000010CCsvsdbcsci alias: pci:v00008086d000010CBsvsdbcsci alias: pci:v00008086d000010F5svsdbcsci alias: pci:v00008086d000010BFsvsdbcsci alias: pci:v00008086d000010E5svsdbcsci alias: pci:v00008086d0000294Csvsdbcsci alias: pci:v00008086d000010BDsvsdbcsci alias: pci:v00008086d000010C3svsdbcsci alias: pci:v00008086d000010C2svsdbcsci alias: pci:v00008086d000010C0svsdbcsci alias: pci:v00008086d00001501svsdbcsci alias: pci:v00008086d00001049svsdbcsci alias: pci:v00008086d0000104Dsvsdbcsci alias: pci:v00008086d0000104Bsvsdbcsci alias: pci:v00008086d0000104Asvsdbcsci alias: pci:v00008086d000010C4svsdbcsci alias: pci:v00008086d000010C5svsdbcsci alias: pci:v00008086d0000104Csvsdbcsci alias: pci:v00008086d000010BBsvsdbcsci alias: pci:v00008086d00001098svsdbcsci alias: pci:v00008086d000010BAsvsdbcsci alias: pci:v00008086d00001096svsdbcsci alias: pci:v00008086d0000150Csvsdbcsci alias: pci:v00008086d000010F6svsdbcsci alias: pci:v00008086d000010D3svsdbcsci alias: pci:v00008086d0000109Asvsdbcsci alias: pci:v00008086d0000108Csvsdbcsci alias: pci:v00008086d0000108Bsvsdbcsci alias: pci:v00008086d0000107Fsvsdbcsci alias: pci:v00008086d0000107Esvsdbcsci alias: pci:v00008086d0000107Dsvsdbcsci alias: pci:v00008086d000010B9svsdbcsci alias: pci:v00008086d000010D5svsdbcsci alias: pci:v00008086d000010DAsvsdbcsci alias: pci:v00008086d000010D9svsdbcsci alias: pci:v00008086d00001060svsdbcsci alias: pci:v00008086d000010A5svsdbcsci alias: pci:v00008086d000010BCsvsdbcsci alias: pci:v00008086d000010A4svsdbcsci alias: pci:v00008086d0000105Fsvsdbcsci alias: pci:v00008086d0000105Esvsdbcsci* depends:
retpoline: Y name: e1000e vermagic: 5.7.1-pclos1 SMP mod_unload parm: copybreak:Maximum size of packet that is copied to a new buffer on receive (uint) parm: TxIntDelay:Transmit Interrupt Delay (array of int) parm: TxAbsIntDelay:Transmit Absolute Interrupt Delay (array of int) parm: RxIntDelay:Receive Interrupt Delay (array of int) parm: RxAbsIntDelay:Receive Absolute Interrupt Delay (array of int) parm: InterruptThrottleRate:Interrupt Throttling Rate (array of int) parm: IntMode:Interrupt Mode (array of int) parm: SmartPowerDownEnable:Enable PHY smart power down (array of int) parm: KumeranLockLoss:Enable Kumeran lock loss workaround (array of int) parm: CrcStripping:Enable CRC Stripping, disable if your BMC needs the CRC (array of int) parm: EEE:Enable/disable on parts that support the feature (array of int) parm: Node:[ROUTING] Node to allocate memory on, default -1 (array of int) parm: debug:Debug level (0=none,...,16=all) (int)

ohquait commented 4 years ago

DKMS make.log for e1000e-3.8.4-2pclos2020 for kernel 5.7.1-pclos1 (x86_64) Wed 10 Jun 2020 12:19:32 PM UTC make[1]: Entering directory '/usr/src/kernel-devel-5.7.1-pclos1' CC [M] /var/lib/dkms/e1000e/3.8.4-2pclos2020/build/netdev.o CC [M] /var/lib/dkms/e1000e/3.8.4-2pclos2020/build/ethtool.o CC [M] /var/lib/dkms/e1000e/3.8.4-2pclos2020/build/ich8lan.o CC [M] /var/lib/dkms/e1000e/3.8.4-2pclos2020/build/mac.o CC [M] /var/lib/dkms/e1000e/3.8.4-2pclos2020/build/nvm.o CC [M] /var/lib/dkms/e1000e/3.8.4-2pclos2020/build/phy.o CC [M] /var/lib/dkms/e1000e/3.8.4-2pclos2020/build/manage.o CC [M] /var/lib/dkms/e1000e/3.8.4-2pclos2020/build/80003es2lan.o CC [M] /var/lib/dkms/e1000e/3.8.4-2pclos2020/build/82571.o CC [M] /var/lib/dkms/e1000e/3.8.4-2pclos2020/build/param.o CC [M] /var/lib/dkms/e1000e/3.8.4-2pclos2020/build/ptp.o CC [M] /var/lib/dkms/e1000e/3.8.4-2pclos2020/build/kcompat.o LD [M] /var/lib/dkms/e1000e/3.8.4-2pclos2020/build/e1000e.o MODPOST 1 modules CC [M] /var/lib/dkms/e1000e/3.8.4-2pclos2020/build/e1000e.mod.o LD [M] /var/lib/dkms/e1000e/3.8.4-2pclos2020/build/e1000e.ko make[1]: Leaving directory '/usr/src/kernel-devel-5.7.1-pclos1'

Hope this will help!

ohquait commented 4 years ago

I currently work around the problem as follows: a: with kernel-5.6.16 .. I leave the e1000e unpatched, I know that it works this way, thanks to a feedback from a forum member, b: only for kernels> 5.7.0 I let the patch work in dkms, and since today this also works with kernel-5.7.2

ohquait commented 4 years ago

@koljah-de can you reproduce that's on real hardware?

ohquait commented 4 years ago

i see the link to patch not working, so here in raw: e1000e-kernel-5.7.new.patch.txt

dongbowh commented 4 years ago

@ohquait https://aur.archlinux.org/packages/e1000e-dkms/#comment-742642 Has the test passed on kernel 5.7? This can be referred to, can be installed successfully, but not effective

galtline commented 3 years ago

Does anyone know if this will work in 5.8