Package Details: e1000e-dkms 3.8.7-3

Git Clone URL: https://aur.archlinux.org/e1000e-dkms.git (read-only, click to copy)
Package Base: e1000e-dkms
Description: Intel e1000e Ethernet adapter driver (latest version from Intel) (DKMS version)
Upstream URL: http://sourceforge.net/projects/e1000/
Licenses: GPL
Submitter: sergej
Maintainer: None
Last Packager: andreas_baumann
Votes: 13
Popularity: 0.000000
First Submitted: 2015-10-24 11:55 (UTC)
Last Updated: 2023-09-07 15:00 (UTC)

Dependencies (4)

  • dkms
  • linux-ck-headersAUR (optional) – build the module against Linux-ck kernel [requires at least one set of kernel headers]
  • linux-headers (linux-headers-binAUR) (optional) – build the module against Arch kernel [requires at least one set of kernel headers]
  • linux-lts-headers (optional) – build the module against LTS Arch kernel [requires at least one set of kernel headers]

Required by (0)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

1llum1n4t3d commented on 2022-01-19 02:12 (UTC)

Can someone please help me to fix the package so I can update my driver to install new kernel? Thank you so much.

1llum1n4t3d commented on 2022-01-19 02:10 (UTC)

DKMS make.log for e1000e-3.8.7 for kernel 5.16.1-arch1-1 (x86_64) wo 19 jan 2022 1:14:23 CET make: Map '/usr/lib/modules/5.16.1-arch1-1/build' wordt binnengegaan CC [M] /var/lib/dkms/e1000e/3.8.7/build/netdev.o CC [M] /var/lib/dkms/e1000e/3.8.7/build/ethtool.o CC [M] /var/lib/dkms/e1000e/3.8.7/build/ich8lan.o CC [M] /var/lib/dkms/e1000e/3.8.7/build/mac.o CC [M] /var/lib/dkms/e1000e/3.8.7/build/nvm.o CC [M] /var/lib/dkms/e1000e/3.8.7/build/phy.o /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:2838:35: fout: initialization of ‘int ()(struct net_device , struct ethtool_coalesce , struct kernel_ethtool_coalesce , struct netlink_ext_ack )’ from incompatible pointer type ‘int ()(struct net_device , struct ethtool_coalesce )’ [-Werror=incompatible-pointer-types] 2838 | .get_coalesce = e1000_get_coalesce, | ^~~~~~~~~~~~~~~~~~ /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:2838:35: note: (near initialization for ‘e1000_ethtool_ops.get_coalesce’) /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:2839:35: fout: initialization of ‘int ()(struct net_device , struct ethtool_coalesce , struct kernel_ethtool_coalesce , struct netlink_ext_ack )’ from incompatible pointer type ‘int ()(struct net_device , struct ethtool_coalesce )’ [-Werror=incompatible-pointer-types] 2839 | .set_coalesce = e1000_set_coalesce, | ^~~~~~~~~~~~~~~~~~ /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:2839:35: note: (near initialization for ‘e1000_ethtool_ops.set_coalesce’) /var/lib/dkms/e1000e/3.8.7/build/ethtool.c: In functie ‘e1000_get_rxnfc’: /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:2580:28: let op: this statement may fall through [-Wimplicit-fallthrough=] 2580 | if (mrqc & E1000_MRQC_RSS_FIELD_IPV4_TCP) | ^ /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:2583:17: note: here 2583 | case UDP_V4_FLOW: | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:2591:28: let op: this statement may fall through [-Wimplicit-fallthrough=] 2591 | if (mrqc & E1000_MRQC_RSS_FIELD_IPV6_TCP) | ^ /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:2594:17: note: here 2594 | case UDP_V6_FLOW: | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c: In functie ‘e1000_init_phy_workarounds_pchlan’: /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:320:17: let op: this statement may fall through [-Wimplicit-fallthrough=] 320 | msleep(50); | ^~~~~~~~~~ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:323:9: note: here 323 | case e1000_pch2lan: | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:324:20: let op: this statement may fall through [-Wimplicit-fallthrough=] 324 | if (e1000_phy_is_accessible_pchlan(hw)) | ^ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:328:9: note: here 328 | case e1000_pchlan: | ^~~~ In file included from /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:15: /var/lib/dkms/e1000e/3.8.7/build/ethtool.c: In functie ‘e1000_loopback_cleanup’: /var/lib/dkms/e1000e/3.8.7/build/e1000.h:672:25: let op: this statement may fall through [-Wimplicit-fallthrough=] 672 | #define ew32(reg, val) ew32(hw, E1000_##reg, (val)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:1931:17: note: in expansion of macro ‘ew32’ 1931 | ew32(TARC(0), tarc0); | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:1933:9: note: here 1933 | case e1000_80003es2lan: | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:1934:20: let op: this statement may fall through [-Wimplicit-fallthrough=] 1934 | if (hw->phy.media_type == e1000_media_type_fiber || | ^ In file included from ./include/linux/printk.h:559, from ./include/linux/kernel.h:20, from ./arch/x86/include/asm/percpu.h:27, from ./arch/x86/include/asm/current.h:6, from ./arch/x86/include/asm/processor.h:17, from ./arch/x86/include/asm/timex.h:5, from ./include/linux/timex.h:65, from ./include/linux/time32.h:13, from ./include/linux/time.h:60, from ./include/linux/ktime.h:24, from ./include/linux/timer.h:6, from ./include/linux/netdevice.h:24, from /var/lib/dkms/e1000e/3.8.7/build/e1000.h:11, from /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:41: /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c: In functie ‘e1000_valid_nvm_bank_detect_ich8lan’: /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:1941:9: note: here 1941 | case e1000_82571: | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:1943:20: let op: this statement may fall through [-Wimplicit-fallthrough=] 1943 | if (hw->phy.media_type == e1000_media_type_fiber || | ^ /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:1951:9: note: here 1951 | default: | ^~~~~~~ ./include/linux/dynamic_debug.h:131:52: let op: this statement may fall through [-Wimplicit-fallthrough=] 131 | #define __dynamic_func_call(id, fmt, func, ...) do { \ | ^ ./include/linux/dynamic_debug.h:152:9: note: in expansion of macro ‘__dynamic_func_call’ 152 | __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/dynamic_debug.h:170:9: note: in expansion of macro ‘_dynamic_func_call’ 170 | _dynamic_func_call(fmt, __dynamic_netdev_dbg, \ | ^~~~~~~~~~~~~~~~~~ ./include/linux/netdevice.h:5331:9: note: in expansion of macro ‘dynamic_netdev_dbg’ 5331 | dynamic_netdev_dbg(__dev, format, ##args); \ | ^~~~~~~~~~~~~~~~~~ /var/lib/dkms/e1000e/3.8.7/build/e1000.h:36:9: note: in expansion of macro ‘netdev_dbg’ 36 | netdev_dbg(hw->adapter->netdev, format, ## arg) | ^~~~~~~~~~ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:3224:17: note: in expansion of macro ‘e_dbg’ 3224 | e_dbg("Unable to determine valid NVM bank via EEC - reading flash signature\n"); | ^~~~~ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:3226:9: note: here 3226 | default: | ^~~~~~~ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c: In functie ‘e1000_sw_lcd_config_ich8lan’: /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:2128:20: let op: this statement may fall through [-Wimplicit-fallthrough=] 2128 | if ((hw->adapter->pdev->device == E1000_DEV_ID_ICH8_IGP_AMT) || | ^ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:2134:9: note: here 2134 | case e1000_pchlan: | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c: In functie ‘e1000_check_for_copper_link_ich8lan’: /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:1596:20: let op: this statement may fall through [-Wimplicit-fallthrough=] 1596 | if (ret_val) | ^ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:1599:9: note: here 1599 | case e1000_pchlan: | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c: In functie ‘e1000_init_mac_params_ich8lan’: /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:688:34: let op: this statement may fall through [-Wimplicit-fallthrough=] 688 | mac->ops.rar_set = e1000_rar_set_pch2lan; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:690:9: note: here 690 | case e1000_pch_lpt: | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c: In functie ‘e1000_init_phy_params_pchlan’: /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:441:28: let op: this statement may fall through [-Wimplicit-fallthrough=] 441 | if ((phy->id != 0) && (phy->id != PHY_REVISION_MASK)) | ^ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:444:17: note: here 444 | case e1000_pch2lan: | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/netdev.c: In functie ‘e1000e_set_interrupt_capability’: /var/lib/dkms/e1000e/3.8.7/build/netdev.c:2315:35: let op: this statement may fall through [-Wimplicit-fallthrough=] 2315 | adapter->int_mode = E1000E_INT_MODE_MSI; /var/lib/dkms/e1000e/3.8.7/build/netdev.c:2317:9: note: here 2317 | case E1000E_INT_MODE_MSI: | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/netdev.c: In functie ‘e1000e_reset’: /var/lib/dkms/e1000e/3.8.7/build/netdev.c:4543:20: let op: this statement may fall through [-Wimplicit-fallthrough=] 4543 | if (adapter->netdev->mtu > ETH_DATA_LEN) { | ^ /var/lib/dkms/e1000e/3.8.7/build/netdev.c:4551:9: note: here 4551 | default: | ^~~~~~~ /var/lib/dkms/e1000e/3.8.7/build/netdev.c: In functie ‘e1000_setup_rctl’: /var/lib/dkms/e1000e/3.8.7/build/netdev.c:3566:32: let op: this statement may fall through [-Wimplicit-fallthrough=] 3566 | psrctl |= PAGE_SIZE << E1000_PSRCTL_BSIZE3_SHIFT; /var/lib/dkms/e1000e/3.8.7/build/netdev.c:3568:17: note: here 3568 | case 2: | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/netdev.c:3569:32: let op: this statement may fall through [-Wimplicit-fallthrough=] 3569 | psrctl |= PAGE_SIZE << E1000_PSRCTL_BSIZE2_SHIFT; /var/lib/dkms/e1000e/3.8.7/build/netdev.c:3571:17: note: here 3571 | case 1: | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/netdev.c: In functie ‘__e1000e_disable_aspm’: /var/lib/dkms/e1000e/3.8.7/build/netdev.c:7576:31: let op: this statement may fall through [-Wimplicit-fallthrough=] 7576 | aspm_dis_mask |= PCI_EXP_LNKCTL_ASPM_L0S; /var/lib/dkms/e1000e/3.8.7/build/netdev.c:7578:9: note: here 7578 | case PCIE_LINK_STATE_L1: | ^~~~ CC [M] /var/lib/dkms/e1000e/3.8.7/build/manage.o CC [M] /var/lib/dkms/e1000e/3.8.7/build/80003es2lan.o cc1: sommige waarschuwingen worden als fouten behandeld make[1]: [scripts/Makefile.build:287: /var/lib/dkms/e1000e/3.8.7/build/ethtool.o] Fout 1 make[1]: Wachten op onvoltooide taken... make: *** [Makefile:1846: /var/lib/dkms/e1000e/3.8.7/build] Fout 2 make: Map '/usr/lib/modules/5.16.1-arch1-1/build' wordt verlaten

1llum1n4t3d commented on 2022-01-15 19:47 (UTC)

Do I need to remove the old driver first to install the new one? What I AM doing wrong?

1llum1n4t3d commented on 2022-01-15 01:21 (UTC) (edited on 2022-01-15 01:25 (UTC) by 1llum1n4t3d)

Hello I get this error when installing latest version 3.8.7-2. I try to upgrade from previous version. Does anyone know the solution how to fix? Thank you.

(1/1) Remove upgraded DKMS modules ==> dkms remove e1000e/3.8.7 :: Pakketveranderingen verwerken... Error! The module/version combo: e1000e-3.8.7 is not located in the DKMS tree. fout:fout tijdens uitvoeren van commando (1/1) herinstalleren e1000e-dkms [######################] 100% Creating symlink /var/lib/dkms/e1000e/3.8.7/source -> /usr/src/e1000e-3.8.7

Building module: cleaning build area... make -j6 KERNELRELEASE=5.15.14-hardened1-1-hardened -C /usr/lib/modules/5.15.14-hardened1-1-hardened/build M=/var/lib/dkms/e1000e/3.8.7/build....(bad exit status: 2) Error! Bad return status for module build on kernel: 5.15.14-hardened1-1-hardened (x86_64) Consult /var/lib/dkms/e1000e/3.8.7/build/make.log for more information. fout:fout tijdens uitvoeren van commando :: Post-transactie-hooks uitvoeren... (1/3) Arming ConditionNeedsUpdate... (2/3) Install DKMS modules ==> dkms install --no-depmod e1000e/3.8.7 -k 5.16.0-arch1-1 Error! Bad return status for module build on kernel: 5.16.0-arch1-1 (x86_64) Consult /var/lib/dkms/e1000e/3.8.7/build/make.log for more information. ==> WARNING: dkms install --no-depmod e1000e/3.8.7 -k 5.16.0-arch1-1' exited 10 ==> dkms install --no-depmod e1000e/3.8.7 -k 5.15.14-hardened1-1-hardened Error! Bad return status for module build on kernel: 5.15.14-hardened1-1-hardened (x86_64) Consult /var/lib/dkms/e1000e/3.8.7/build/make.log for more information. ==> WARNING:dkms install --no-depmod e1000e/3.8.7 -k 5.15.14-hardened1-1-hardened' exited 10 (3/3) Refreshing PackageKit...

Here is the make.log

DKMS make.log for e1000e-3.8.7 for kernel 5.15.14-hardened1-1-hardened (x86_64) do 13 jan 2022 18:44:35 CET make: Map '/usr/lib/modules/5.15.14-hardened1-1-hardened/build' wordt binnengegaan CC [M] /var/lib/dkms/e1000e/3.8.7/build/netdev.o CC [M] /var/lib/dkms/e1000e/3.8.7/build/ethtool.o CC [M] /var/lib/dkms/e1000e/3.8.7/build/ich8lan.o CC [M] /var/lib/dkms/e1000e/3.8.7/build/mac.o CC [M] /var/lib/dkms/e1000e/3.8.7/build/nvm.o CC [M] /var/lib/dkms/e1000e/3.8.7/build/phy.o /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:2838:35: fout: initialization of ‘int (*)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack *)’ from incompatible pointer type ‘int (*)(struct net_device *, struct ethtool_coalesce *)’ [-Werror=incompatible-pointer-types] 2838 | .get_coalesce = e1000_get_coalesce, | ^~~~~~~~~~~~~~~~~~ /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:2838:35: note: (near initialization for ‘e1000_ethtool_ops.get_coalesce’) /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:2839:35: fout: initialization of ‘int (*)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack *)’ from incompatible pointer type ‘int (*)(struct net_device *, struct ethtool_coalesce *)’ [-Werror=incompatible-pointer-types] 2839 | .set_coalesce = e1000_set_coalesce, | ^~~~~~~~~~~~~~~~~~ /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:2839:35: note: (near initialization for ‘e1000_ethtool_ops.set_coalesce’) /var/lib/dkms/e1000e/3.8.7/build/ethtool.c: In functie ‘e1000_get_rxnfc’: /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:2580:28: let op: this statement may fall through [-Wimplicit-fallthrough=] 2580 | if (mrqc & E1000_MRQC_RSS_FIELD_IPV4_TCP) | ^ /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:2583:17: note: here 2583 | case UDP_V4_FLOW: | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:2591:28: let op: this statement may fall through [-Wimplicit-fallthrough=] 2591 | if (mrqc & E1000_MRQC_RSS_FIELD_IPV6_TCP) | ^ /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:2594:17: note: here 2594 | case UDP_V6_FLOW: | ^~~~ In file included from /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:15: /var/lib/dkms/e1000e/3.8.7/build/ethtool.c: In functie ‘e1000_loopback_cleanup’: /var/lib/dkms/e1000e/3.8.7/build/e1000.h:672:25: let op: this statement may fall through [-Wimplicit-fallthrough=] 672 | #define ew32(reg, val) __ew32(hw, E1000_##reg, (val)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:1931:17: note: in expansion of macro ‘ew32’ 1931 | ew32(TARC(0), tarc0); | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:1933:9: note: here 1933 | case e1000_80003es2lan: | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:1934:20: let op: this statement may fall through [-Wimplicit-fallthrough=] 1934 | if (hw->phy.media_type == e1000_media_type_fiber || | ^ /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:1941:9: note: here 1941 | case e1000_82571: | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:1943:20: let op: this statement may fall through [-Wimplicit-fallthrough=] 1943 | if (hw->phy.media_type == e1000_media_type_fiber || | ^ /var/lib/dkms/e1000e/3.8.7/build/ethtool.c:1951:9: note: here 1951 | default: | ^~~~~~~ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c: In functie ‘e1000_init_phy_workarounds_pchlan’: /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:320:17: let op: this statement may fall through [-Wimplicit-fallthrough=] 320 | msleep(50); | ^~~~~~~~~~ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:323:9: note: here 323 | case e1000_pch2lan: | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:324:20: let op: this statement may fall through [-Wimplicit-fallthrough=] 324 | if (e1000_phy_is_accessible_pchlan(hw)) | ^ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:328:9: note: here 328 | case e1000_pchlan: | ^~~~ In file included from ./include/linux/printk.h:559, from ./include/linux/kernel.h:19, from ./include/linux/list.h:9, from ./include/linux/timer.h:5, from ./include/linux/netdevice.h:24, from /var/lib/dkms/e1000e/3.8.7/build/e1000.h:11, from /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:41: /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c: In functie ‘e1000_valid_nvm_bank_detect_ich8lan’: ./include/linux/dynamic_debug.h:131:52: let op: this statement may fall through [-Wimplicit-fallthrough=] 131 | #define __dynamic_func_call(id, fmt, func, ...) do { \ | ^ ./include/linux/dynamic_debug.h:152:9: note: in expansion of macro ‘__dynamic_func_call’ 152 | __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/dynamic_debug.h:170:9: note: in expansion of macro ‘_dynamic_func_call’ 170 | _dynamic_func_call(fmt, __dynamic_netdev_dbg, \ | ^~~~~~~~~~~~~~~~~~ ./include/linux/netdevice.h:5332:9: note: in expansion of macro ‘dynamic_netdev_dbg’ 5332 | dynamic_netdev_dbg(__dev, format, ##args); \ | ^~~~~~~~~~~~~~~~~~ /var/lib/dkms/e1000e/3.8.7/build/e1000.h:36:9: note: in expansion of macro ‘netdev_dbg’ 36 | netdev_dbg(hw->adapter->netdev, format, ## arg) | ^~~~~~~~~~ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:3224:17: note: in expansion of macro ‘e_dbg’ 3224 | e_dbg("Unable to determine valid NVM bank via EEC - reading flash signature\n"); | ^~~~~ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:3226:9: note: here 3226 | default: | ^~~~~~~ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c: In functie ‘e1000_sw_lcd_config_ich8lan’: /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:2128:20: let op: this statement may fall through [-Wimplicit-fallthrough=] 2128 | if ((hw->adapter->pdev->device == E1000_DEV_ID_ICH8_IGP_AMT) || | ^ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:2134:9: note: here 2134 | case e1000_pchlan: | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c: In functie ‘e1000_check_for_copper_link_ich8lan’: /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:1596:20: let op: this statement may fall through [-Wimplicit-fallthrough=] 1596 | if (ret_val) | ^ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:1599:9: note: here 1599 | case e1000_pchlan: | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c: In functie ‘e1000_init_mac_params_ich8lan’: /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:688:34: let op: this statement may fall through [-Wimplicit-fallthrough=] 688 | mac->ops.rar_set = e1000_rar_set_pch2lan; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:690:9: note: here 690 | case e1000_pch_lpt: | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c: In functie ‘e1000_init_phy_params_pchlan’: /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:441:28: let op: this statement may fall through [-Wimplicit-fallthrough=] 441 | if ((phy->id != 0) && (phy->id != PHY_REVISION_MASK)) | ^ /var/lib/dkms/e1000e/3.8.7/build/ich8lan.c:444:17: note: here 444 | case e1000_pch2lan: | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/netdev.c: In functie ‘e1000e_set_interrupt_capability’: /var/lib/dkms/e1000e/3.8.7/build/netdev.c:2315:35: let op: this statement may fall through [-Wimplicit-fallthrough=] 2315 | adapter->int_mode = E1000E_INT_MODE_MSI; /var/lib/dkms/e1000e/3.8.7/build/netdev.c:2317:9: note: here 2317 | case E1000E_INT_MODE_MSI: | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/netdev.c: In functie ‘e1000e_reset’: /var/lib/dkms/e1000e/3.8.7/build/netdev.c:4543:20: let op: this statement may fall through [-Wimplicit-fallthrough=] 4543 | if (adapter->netdev->mtu > ETH_DATA_LEN) { | ^ /var/lib/dkms/e1000e/3.8.7/build/netdev.c:4551:9: note: here 4551 | default: | ^~~~~~~ /var/lib/dkms/e1000e/3.8.7/build/netdev.c: In functie ‘e1000_setup_rctl’: /var/lib/dkms/e1000e/3.8.7/build/netdev.c:3566:32: let op: this statement may fall through [-Wimplicit-fallthrough=] 3566 | psrctl |= PAGE_SIZE << E1000_PSRCTL_BSIZE3_SHIFT; /var/lib/dkms/e1000e/3.8.7/build/netdev.c:3568:17: note: here 3568 | case 2: | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/netdev.c:3569:32: let op: this statement may fall through [-Wimplicit-fallthrough=] 3569 | psrctl |= PAGE_SIZE << E1000_PSRCTL_BSIZE2_SHIFT; /var/lib/dkms/e1000e/3.8.7/build/netdev.c:3571:17: note: here 3571 | case 1: | ^~~~ /var/lib/dkms/e1000e/3.8.7/build/netdev.c: In functie ‘__e1000e_disable_aspm’: /var/lib/dkms/e1000e/3.8.7/build/netdev.c:7576:31: let op: this statement may fall through [-Wimplicit-fallthrough=] 7576 | aspm_dis_mask |= PCI_EXP_LNKCTL_ASPM_L0S; /var/lib/dkms/e1000e/3.8.7/build/netdev.c:7578:9: note: here 7578 | case PCIE_LINK_STATE_L1: | ^~~~ CC [M] /var/lib/dkms/e1000e/3.8.7/build/manage.o CC [M] /var/lib/dkms/e1000e/3.8.7/build/80003es2lan.o cc1: sommige waarschuwingen worden als fouten behandeld make[1]: *** [scripts/Makefile.build:277: /var/lib/dkms/e1000e/3.8.7/build/ethtool.o] Fout 1 make[1]: *** Wachten op onvoltooide taken... make: *** [Makefile:1868: /var/lib/dkms/e1000e/3.8.7/build] Fout 2 make: Map '/usr/lib/modules/5.15.14-hardened1-1-hardened/build' wordt verlaten

RogueScholar commented on 2021-07-31 00:28 (UTC)

This package is broken as of the sunsetting of e1000e as an out-of-tree module just a few days ago. v3.8.7 can still be built, but the source URL would need to be updated to https://downloads.sourceforge.net/project/e1000/e1000e%20historic%20archive/3.8.7/e1000e-3.8.7.tar.gz.

jsmpereira commented on 2020-11-13 10:53 (UTC) (edited on 2020-11-13 16:24 (UTC) by jsmpereira)

I was able to build and install for kernel-5.8.16-2-MANJARO-x86_64 based on @flops comment and some additional digging, but still unusable. Please note the changes were made "in the blind" - I really don't have any idea of what I'm doing :/.

Output from dmesg:

e1000e: Intel(R) PRO/1000 Network Driver - 3.8.4-NAPI
[ 1237.707810] e1000e: Copyright(c) 1999 - 2020 Intel Corporation.
[ 1237.708050] e1000e 0000:00:1f.6: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[ 1238.130667] e1000e 0000:00:1f.6 0000:00:1f.6 (uninitialized): registered PHC clock
[ 1238.215776] ------------[ cut here ]------------
[ 1238.215787] WARNING: CPU: 2 PID: 23171 at net/ethtool/common.c:348 ethtool_check_ops+0x14/0x20
[ 1238.215788] Modules linked in: e1000e(OE+) rfcomm xt_nat xt_tcpudp veth xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo xt_addrtype iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c br_netfilter bridge stp llc ccm fuse apple_mfi_fastcharge snd_usb_audio snd_usbmidi_lib cdc_ether snd_rawmidi usbnet snd_seq_device mii cmac algif_hash algif_skcipher af_alg bnep uvcvideo btusb videobuf2_vmalloc btrtl videobuf2_memops btbcm videobuf2_v4l2 btintel videobuf2_common bluetooth videodev mc ecdh_generic ecc joydev mousedev evdi(OE) rmi_smbus rmi_core snd_soc_skl snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi iTCO_wdt msr intel_pmc_bxt snd_soc_core ee1004 iTCO_vendor_support snd_compress ac97_bus mei_hdcp intel_rapl_msr snd_pcm_dmaengine snd_hda_codec_hdmi wmi_bmof x86_pkg_temp_thermal snd_hda_codec_realtek intel_powerclamp overlay intel_wmi_thunderbolt coretemp snd_hda_codec_generic iwlmvm kvm_intel
[ 1238.215840]  snd_hda_intel mac80211 iptable_filter snd_intel_dspcfg libarc4 snd_hda_codec kvm irqbypass nls_iso8859_1 iwlwifi snd_hda_core i915 nls_cp437 rapl snd_hwdep intel_cstate vfat intel_uncore fat psmouse snd_pcm input_leds i2c_i801 snd_timer cfg80211 i2c_smbus processor_thermal_device intel_lpss_pci mei_me intel_rapl_common i2c_algo_bit intel_lpss intel_xhci_usb_role_switch mei idma64 intel_gtt roles intel_soc_dts_iosf intel_pch_thermal thinkpad_acpi ucsi_acpi typec_ucsi nvram typec ledtrig_audio rfkill wmi evdev snd int3403_thermal tpm_crb soundcore battery ac int340x_thermal_zone mac_hid int3400_thermal tpm_tis tpm_tis_core acpi_thermal_rel uinput udl drm_kms_helper cec rc_core drm syscopyarea sysfillrect sysimgblt fb_sys_fops crypto_user agpgart ip_tables x_tables ext4 crc32c_generic crc16 mbcache hid_apple jbd2 hid_jabra uas usb_storage hid_generic usbhid hid dm_crypt cbc encrypted_keys dm_mod trusted tpm rng_core serio_raw atkbd libps2 crct10dif_pclmul crc32_pclmul
[ 1238.215894]  crc32c_intel ghash_clmulni_intel aesni_intel crypto_simd cryptd glue_helper xhci_pci xhci_hcd i8042 serio
[ 1238.215904] CPU: 2 PID: 23171 Comm: modprobe Tainted: G           OE     5.8.16-2-MANJARO #1
[ 1238.215906] Hardware name: LENOVO 20L5000ASP/20L5000ASP, BIOS N24ET37W (1.12 ) 03/14/2018
[ 1238.215912] RIP: 0010:ethtool_check_ops+0x14/0x20
[ 1238.215915] Code: bc f4 ff ff ff eb e6 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 0f 1f 44 00 00 31 c0 48 83 7f 70 00 74 0d 8b 17 85 d2 75 07 <0f> 0b b8 ea ff ff ff c3 0f 1f 40 00 0f 1f 44 00 00 4c 8b 8f f8 01
[ 1238.215917] RSP: 0018:ffff9f8b4cd1fa18 EFLAGS: 00010246
[ 1238.215920] RAX: 0000000000000000 RBX: ffffffffb7b21500 RCX: 0000000000000000
[ 1238.215921] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffc15a43e0
[ 1238.215922] RBP: ffff90fb67294000 R08: 0000000000000001 R09: 0000000000000000
[ 1238.215924] R10: 0000000000004a9e R11: 0000000000000000 R12: ffff90fc7d8d60b0
[ 1238.215925] R13: 0000000000000000 R14: ffff90fb67294ed0 R15: ffff90fb67294000
[ 1238.215928] FS:  00007f7ceb4f8740(0000) GS:ffff90fc82680000(0000) knlGS:0000000000000000
[ 1238.215929] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1238.215931] CR2: 00007f7cea98b000 CR3: 0000000730cea003 CR4: 00000000003606e0
[ 1238.215932] Call Trace:
[ 1238.215940]  register_netdevice+0x87/0x650
[ 1238.215947]  register_netdev+0x1c/0x40
[ 1238.215971]  e1000_probe+0x9de/0xdf0 [e1000e]
[ 1238.215981]  local_pci_probe+0x42/0x80
[ 1238.215985]  ? pci_match_device+0xd7/0x100
[ 1238.215989]  pci_device_probe+0xfa/0x1b0
[ 1238.215995]  really_probe+0x160/0x400
[ 1238.215999]  driver_probe_device+0xe1/0x150
[ 1238.216003]  device_driver_attach+0xa1/0xb0
[ 1238.216007]  __driver_attach+0x8a/0x150
[ 1238.216009]  ? device_driver_attach+0xb0/0xb0
[ 1238.216012]  ? device_driver_attach+0xb0/0xb0
[ 1238.216015]  bus_for_each_dev+0x89/0xd0
[ 1238.216019]  bus_add_driver+0x12b/0x1e0
[ 1238.216023]  driver_register+0x8b/0xe0
[ 1238.216026]  ? 0xffffffffc15c8000
[ 1238.216030]  do_one_initcall+0x59/0x240
[ 1238.216060]  do_init_module+0x5c/0x260
[ 1238.216064]  load_module+0x23c9/0x25a0
[ 1238.216073]  __do_sys_init_module+0x12d/0x180
[ 1238.216081]  do_syscall_64+0x44/0x70
[ 1238.216085]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 1238.216088] RIP: 0033:0x7f7ceb625e4e
[ 1238.216092] Code: 48 8b 0d 25 10 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d f2 0f 0c 00 f7 d8 64 89 01 48
[ 1238.216094] RSP: 002b:00007ffe47540d48 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
[ 1238.216097] RAX: ffffffffffffffda RBX: 00005630ab4d8d30 RCX: 00007f7ceb625e4e
[ 1238.216099] RDX: 00005630a94f8288 RSI: 000000000008fd30 RDI: 00007f7cea8fc010
[ 1238.216100] RBP: 00007f7cea8fc010 R08: 00007f7cea9d5000 R09: 000000000008fd40
[ 1238.216102] R10: 00005630ab4d8010 R11: 0000000000000246 R12: 00005630a94f8288
[ 1238.216103] R13: 0000000000000000 R14: 00005630ab4d8cf0 R15: 00005630ab4d8d30
[ 1238.216108] ---[ end trace 4c1891ddbb2b7ef2 ]---
[ 1238.306556] e1000e: probe of 0000:00:1f.6 failed with error -22

Changes to netdev.c and kcompat.h.

netdev.c

3714c3714
<               pm_qos_update_request(&adapter->pm_qos_req, lat);
---
>               cpu_latency_qos_update_request(&adapter->pm_qos_req, lat);
3716c3716
<               pm_qos_update_request(&adapter->pm_qos_req, lat);
---
>               cpu_latency_qos_update_request(&adapter->pm_qos_req, lat);
3723c3723
<               pm_qos_update_request(&adapter->pm_qos_req,
---
>               cpu_latency_qos_update_request(&adapter->pm_qos_req,
3726c3726
<               pm_qos_update_request(&adapter->pm_qos_req,
---
>               cpu_latency_qos_update_request(&adapter->pm_qos_req,
5189c5189
<       pm_qos_add_request(&adapter->pm_qos_req, PM_QOS_CPU_DMA_LATENCY,
---
>       cpu_latency_qos_add_request(&adapter->pm_qos_req,
5192c5192
<       pm_qos_add_request(&adapter->pm_qos_req, PM_QOS_CPU_DMA_LATENCY,
---
>       cpu_latency_qos_add_request(&adapter->pm_qos_req,
5243c5243
<       pm_qos_remove_request(&adapter->pm_qos_req);
---
>       cpu_latency_qos_remove_request(&adapter->pm_qos_req);
5245c5245
<       pm_qos_remove_request(&adapter->pm_qos_req);
---
>       cpu_latency_qos_remove_request(&adapter->pm_qos_req);
5330c5330
<       pm_qos_remove_request(&adapter->pm_qos_req);
---
>       cpu_latency_qos_remove_request(&adapter->pm_qos_req);
5332c5332
<       pm_qos_remove_request(&adapter->pm_qos_req);
---
>       cpu_latency_qos_remove_request(&adapter->pm_qos_req);
8100c8100
<       pci_cleanup_aer_uncorrect_error_status(pdev);
---
>       pci_aer_clear_nonfatal_status(pdev);

kcompat.h

6696c6696,6697
<       return umem->pages[addr >> PAGE_SHIFT].addr + (addr & (PAGE_SIZE - 1));
---
>         return page_address(umem->pgs[addr >> PAGE_SHIFT]) +
>               (addr & (PAGE_SIZE - 1));
6704c6705
<       return umem->pages[addr >> PAGE_SHIFT].dma + (addr & (PAGE_SIZE - 1));
---
>       return umem->pgs[addr >> PAGE_SHIFT]->dma_addr + (addr & (PAGE_SIZE - 1));

Plexcon commented on 2020-11-08 09:50 (UTC)

cc1: some warnings are treated as errors

make[1]: [scripts/Makefile.build:283: /var/lib/dkms/e1000e/3.8.4/build/netdev.o] Error 1 make: [Makefile:1784: /var/lib/dkms/e1000e/3.8.4/build] Error 2 make: se sale del directorio '/usr/lib/modules/5.9.6-arch1-1/build'

flops commented on 2020-07-16 16:05 (UTC) (edited on 2020-07-16 22:08 (UTC) by flops)

Breaking changes were made in kernel/linux/power/qos.c https://github.com/torvalds/linux/commit/67b06ba01857ed077e1a66bfa139156e7c68bab2#diff-bac34978346027e18b6f022ea28281fdL324

I've made a patch considering that there were only minor changes in naming and some argument calls. Not sure that it will even work in total, but if you brave enough you can try. As i've tried it's trying to work, but i couldn't suspend my system. So there are much more things to change. As i can say this driver currently doesn't work in kernel >= 5.7.

src/netdev.c

3714c3714
<               pm_qos_update_request(&adapter->pm_qos_req, lat);
---
>               cpu_latency_qos_update_request(&adapter->pm_qos_req, lat);
3716c3716
<               pm_qos_update_request(&adapter->pm_qos_req, lat);
---
>               cpu_latency_qos_update_request(&adapter->pm_qos_req, lat);
3723c3723
<               pm_qos_update_request(&adapter->pm_qos_req,
---
>               cpu_latency_qos_update_request(&adapter->pm_qos_req,
3726c3726
<               pm_qos_update_request(&adapter->pm_qos_req,
---
>               cpu_latency_qos_update_request(&adapter->pm_qos_req,
5189,5190c5189
<       pm_qos_add_request(&adapter->pm_qos_req, PM_QOS_CPU_DMA_LATENCY,
<                          PM_QOS_DEFAULT_VALUE);
---
>       cpu_latency_qos_add_request(&adapter->pm_qos_req, PM_QOS_DEFAULT_VALUE);
5192,5193c5191
<       pm_qos_add_request(&adapter->pm_qos_req, PM_QOS_CPU_DMA_LATENCY,
<                          PM_QOS_DEFAULT_VALUE);
---
>       cpu_latency_qos_add_request(&adapter->pm_qos_req, PM_QOS_DEFAULT_VALUE);
5243c5241
<       pm_qos_remove_request(&adapter->pm_qos_req);
---
>       cpu_latency_qos_remove_request(&adapter->pm_qos_req);
5245c5243
<       pm_qos_remove_request(&adapter->pm_qos_req);
---
>       cpu_latency_qos_remove_request(&adapter->pm_qos_req);
5330c5328
<       pm_qos_remove_request(&adapter->pm_qos_req);
---
>       cpu_latency_qos_remove_request(&adapter->pm_qos_req);
5332c5330
<       pm_qos_remove_request(&adapter->pm_qos_req);
---
>       cpu_latency_qos_remove_request(&adapter->pm_qos_req);
8099,8100d8096
< 
<       pci_cleanup_aer_uncorrect_error_status(pdev);

skerit commented on 2020-06-16 09:20 (UTC)

I'm able to install the module for kernel 5.6, but it fails on 5.7:

DKMS make.log for e1000e-3.8.4 for kernel 5.7.0-3-MANJARO (x86_64)
di 16 jun 2020 11:12:05 CEST
make: Map '/usr/lib/modules/5.7.0-3-MANJARO/build' wordt binnengegaan
  AR      /var/lib/dkms/e1000e/3.8.4/build/built-in.a
  CC [M]  /var/lib/dkms/e1000e/3.8.4/build/netdev.o
  CC [M]  /var/lib/dkms/e1000e/3.8.4/build/ich8lan.o
  CC [M]  /var/lib/dkms/e1000e/3.8.4/build/ethtool.o
  CC [M]  /var/lib/dkms/e1000e/3.8.4/build/mac.o
  CC [M]  /var/lib/dkms/e1000e/3.8.4/build/nvm.o
  CC [M]  /var/lib/dkms/e1000e/3.8.4/build/phy.o
  CC [M]  /var/lib/dkms/e1000e/3.8.4/build/manage.o
  CC [M]  /var/lib/dkms/e1000e/3.8.4/build/80003es2lan.o
/var/lib/dkms/e1000e/3.8.4/build/netdev.c: In functie ‘e1000_configure_rx’:
/var/lib/dkms/e1000e/3.8.4/build/netdev.c:3714:3: fout: implicit declaration of function ‘pm_qos_update_request’; did you mean ‘freq_qos_update_request’? [-Werror=implicit-function-declaration]
 3714 |   pm_qos_update_request(&adapter->pm_qos_req, lat);
      |   ^~~~~~~~~~~~~~~~~~~~~
      |   freq_qos_update_request
/var/lib/dkms/e1000e/3.8.4/build/netdev.c: In functie ‘e1000e_open’:
/var/lib/dkms/e1000e/3.8.4/build/netdev.c:5189:2: fout: implicit declaration of function ‘pm_qos_add_request’; did you mean ‘freq_qos_add_request’? [-Werror=implicit-function-declaration]
 5189 |  pm_qos_add_request(&adapter->pm_qos_req, PM_QOS_CPU_DMA_LATENCY,
      |  ^~~~~~~~~~~~~~~~~~
      |  freq_qos_add_request
  CC [M]  /var/lib/dkms/e1000e/3.8.4/build/82571.o
/var/lib/dkms/e1000e/3.8.4/build/netdev.c:5189:43: fout: ‘PM_QOS_CPU_DMA_LATENCY’ undeclared (first use in this function)
 5189 |  pm_qos_add_request(&adapter->pm_qos_req, PM_QOS_CPU_DMA_LATENCY,
      |                                           ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/e1000e/3.8.4/build/netdev.c:5189:43: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/e1000e/3.8.4/build/netdev.c:5243:2: fout: implicit declaration of function ‘pm_qos_remove_request’; did you mean ‘freq_qos_remove_request’? [-Werror=implicit-function-declaration]
 5243 |  pm_qos_remove_request(&adapter->pm_qos_req);
      |  ^~~~~~~~~~~~~~~~~~~~~
      |  freq_qos_remove_request
  CC [M]  /var/lib/dkms/e1000e/3.8.4/build/param.o
/var/lib/dkms/e1000e/3.8.4/build/netdev.c: In functie ‘e1000_io_slot_reset’:
  CC [M]  /var/lib/dkms/e1000e/3.8.4/build/ptp.o
/var/lib/dkms/e1000e/3.8.4/build/netdev.c:8100:2: fout: impliciete declaratie van functie ‘pci_cleanup_aer_uncorrect_error_status’ [-Werror=implicit-function-declaration]
 8100 |  pci_cleanup_aer_uncorrect_error_status(pdev);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/e1000e/3.8.4/build/kcompat.o
cc1: sommige waarschuwingen worden als fouten behandeld
make[1]: *** [scripts/Makefile.build:267: /var/lib/dkms/e1000e/3.8.4/build/netdev.o] Fout 1
make[1]: *** Wachten op onvoltooide taken...
make: *** [Makefile:1729: /var/lib/dkms/e1000e/3.8.4/build] Fout 2
make: Map '/usr/lib/modules/5.7.0-3-MANJARO/build' wordt verlaten

RedSky commented on 2020-05-01 12:19 (UTC)

  1. Install "common.mk" to src directory. It's a necessary file to build module.

  2. Remove "MAKE[0]" line in /usr/src/e1000e-xxx/dkms.conf or dkms.conf.in before package install, dkms will generate make command line properly and install the module.