Skip to main content
Topic: DKMS error in upgrade (Read 1642 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

DKMS error in upgrade

I ran pacman -Scc and pacman -Syy ... just for fun and maybe brokem the DKMS on the upgrade

(2/4) Install DKMS modules
Code: [Select]
==> dkms install e1000e/3.3.6 -k 4.15.9-1-ARTIX
Error! Bad return status for module build on kernel: 4.15.9-1-ARTIX (x86_64)
Consult /var/lib/dkms/e1000e/3.3.6/build/make.log for more information.


Now I am lost in the wood.  Maybe these aren't related things and the upgrade just has a bug.


vim /var/lib/dkms/e1000e/3.3.6/build/make.log


Code: [Select]
DKMS make.log for e1000e-3.3.6 for kernel 4.15.9-1-ARTIX (x86_64)
Wed Mar 14 22:29:34 EDT 2018
make -C /lib/modules/4.15.9-1-ARTIX/build CC=gcc SUBDIRS=/var/lib/dkms/e1000e/3.3.6/build modules
make[1]: Entering directory '/usr/lib/modules/4.15.9-1-ARTIX/build'
  CC [M]  /var/lib/dkms/e1000e/3.3.6/build/netdev.o
/var/lib/dkms/e1000e/3.3.6/build/netdev.c: In function ‘e1000_probe’:
/var/lib/dkms/e1000e/3.3.6/build/netdev.c:8328:2: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werror=implicit-function-declaration]
  init_timer(&adapter->watchdog_timer);
  ^~~~~~~~~~
  init_timers
/var/lib/dkms/e1000e/3.3.6/build/netdev.c:8329:35: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
  adapter->watchdog_timer.function = e1000_watchdog;
                                   ^
/var/lib/dkms/e1000e/3.3.6/build/netdev.c:8330:25: error: ‘struct timer_list’ has no member named ‘data’
  adapter->watchdog_timer.data = (unsigned long)adapter;
                         ^
/var/lib/dkms/e1000e/3.3.6/build/netdev.c:8333:35: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
  adapter->phy_info_timer.function = e1000_update_phy_info;
                                   ^
/var/lib/dkms/e1000e/3.3.6/build/netdev.c:8334:25: error: ‘struct timer_list’ has no member named ‘data’
  adapter->phy_info_timer.data = (unsigned long)adapter;
                         ^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:317: /var/lib/dkms/e1000e/3.3.6/build/netdev.o] Error 1
make[1]: *** [Makefile:1510: _module_/var/lib/dkms/e1000e/3.3.6/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/4.15.9-1-ARTIX/build'
make: *** [Makefile:256: default] Error 2

Re: DKMS error in upgrade

Reply #1
I see 3 options.

1. Kernel API changed and module was not updated.
2. There is an error in the module.
3. Your system is rotten / broken.

I would bet for 1. or 2. option.

Re: DKMS error in upgrade

Reply #2
If you do the below, this should rebuild the dkms
 
Code: [Select]
sudo pacman -S e1000e-dkms

Re: DKMS error in upgrade

Reply #3
If you do the below, this should rebuild the dkms
 
Code: [Select]
sudo pacman -S e1000e-dkms


I was hoping for that but
error: target not found: e1000e-dkms
[www3 ~]# pacman -Qs e10
local/e1000e-dkms 3.3.6-1
    Intel e1000e Ethernet adapter driver (latest version from Intel) (DKMS version)

Code: [Select]
[www3 ~]# ls -al /var/lib/dkms/e1000e/
total 12
drwxr-xr-x  3 root root 4096 Mar 13 22:18 .
drwxr-xr-x  3 root root 4096 Dec 23 07:00 ..
drwxr-xr-x 16 root root 4096 Mar 14 22:29 3.3.6
lrwxrwxrwx  1 root root   28 Jan 11 08:05 kernel-4.14.13-1-ARTIX-x86_64 -> 3.3.6/4.14.13-1-ARTIX/x86_64
lrwxrwxrwx  1 root root   26 Feb 11 07:10 kernel-4.14.18-1-lts-x86_64 -> 3.3.6/4.14.18-1-lts/x86_64
lrwxrwxrwx  1 root root   26 Feb 18 20:34 kernel-4.14.19-1-lts-x86_64 -> 3.3.6/4.14.19-1-lts/x86_64
lrwxrwxrwx  1 root root   26 Feb 21 22:04 kernel-4.14.20-1-lts-x86_64 -> 3.3.6/4.14.20-1-lts/x86_64
lrwxrwxrwx  1 root root   26 Mar  5 08:41 kernel-4.14.23-1-lts-x86_64 -> 3.3.6/4.14.23-1-lts/x86_64
lrwxrwxrwx  1 root root   26 Mar  9 20:03 kernel-4.14.24-1-lts-x86_64 -> 3.3.6/4.14.24-1-lts/x86_64
lrwxrwxrwx  1 root root   26 Mar 13 22:18 kernel-4.14.26-1-lts-x86_64 -> 3.3.6/4.14.26-1-lts/x86_64
lrwxrwxrwx  1 root root   25 Dec  9 18:38 kernel-4.9.67-1-lts-x86_64 -> 3.3.6/4.9.67-1-lts/x86_64
lrwxrwxrwx  1 root root   25 Dec 23 07:01 kernel-4.9.71-1-lts-x86_64 -> 3.3.6/4.9.71-1-lts/x86_64
lrwxrwxrwx  1 root root   25 Dec 27 10:09 kernel-4.9.72-1-lts-x86_64 -> 3.3.6/4.9.72-1-lts/x86_64
lrwxrwxrwx  1 root root   25 Dec 29 18:37 kernel-4.9.73-1-lts-x86_64 -> 3.3.6/4.9.73-1-lts/x86_64
lrwxrwxrwx  1 root root   25 Jan 10 01:00 kernel-4.9.75-1-lts-x86_64 -> 3.3.6/4.9.75-1-lts/x86_64
lrwxrwxrwx  1 root root   25 Jan 11 07:59 kernel-4.9.76-1-lts-x86_64 -> 3.3.6/4.9.76-1-lts/x86_64
[www3 ~]# ls -al /var/lib/dkms/e1000e/

Re: DKMS error in upgrade

Reply #4
Quote
local/e1000e-dkms 3.3.6-1
you need to rebuild the package manually

Re: DKMS error in upgrade

Reply #5
My apologies it is in the AUR

Code: [Select]
yaourt -S e1000e-dkms

Re: DKMS error in upgrade

Reply #6
https://aur.archlinux.org/packages/e1000e-dkms/

I noticed this has been orphaned  How would I do this manually from a gits archive?

Quote

Package Actions

    View PKGBUILD / View Changes
    Download snapshot
    Search wiki
    Flagged out-of-date (2018-01-17)
    Vote for this package
    Enable notifications
    Submit Request



Re: DKMS error in upgrade

Reply #7
Unless someone picks it up again it seems as you will be stuck with an old kernel with this.  Maybe you should be seeking an alternative hw solution for the long run.  Last it was having problems with 4.12.

Re: DKMS error in upgrade

Reply #8
My post on #5 works for me whether its orphaned or not. Bit drastic to go changing hardware just because its the driver is orphaned.