Bad return status for module build on kernel: 4.13.0-26-generic (i686)

Bug #1742470 reported by la Nube
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ndiswrapper (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Distributor ID: LinuxMint
Description: Linux Mint 18.3 Sylvia
Release: 18.3
Codename: sylvia
Linux Asus-1000HE 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 i686 i686 i686 GNU/Linux

Linux Mint 18.3 with HWE Kernel (sudo apt install --install-recommends linux-generic-hwe-16.04 xserver-xorg-hwe-16.04)

I've upgraded linux kernel from 4.10.0-4.10.0-42.46~16.04.1 to 4.13.0-26.29~16.04.2.
I've got errors while upgrade kernel.
And, After rebooting, my linux login screen has been broken.
I cannot log in and my linux screen has gone black.
Restroing kernel 4.10, then works well.

run-parts: executing /etc/kernel/postinst.d/dkms 4.13.0-26-generic /boot/vmlinuz-4.13.0-26-generic
Error! Bad return status for module build on kernel: 4.13.0-26-generic (i686)
Consult /var/lib/dkms/ndiswrapper/1.60/build/make.log for more information.

Belows are /var/lib/dkms/ndiswrapper/1.60/build/make.log.

DKMS make.log for ndiswrapper-1.60 for kernel 4.13.0-26-generic (i686)
2018. 01. 11. (목) 00:16:20 KST
make: 디렉터리 '/usr/src/linux-headers-4.13.0-26-generic' 들어감
  AR /var/lib/dkms/ndiswrapper/1.60/build/built-in.o
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/crt_exports.h
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/hal_exports.h
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/ndis_exports.h
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel_exports.h
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel_io_exports.h
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/rtl_exports.h
  MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/usb_exports.h
  CC [M] /var/lib/dkms/ndiswrapper/1.60/build/crt.o
  CC [M] /var/lib/dkms/ndiswrapper/1.60/build/hal.o
  CC [M] /var/lib/dkms/ndiswrapper/1.60/build/iw_ndis.o
  CC [M] /var/lib/dkms/ndiswrapper/1.60/build/loader.o
  CC [M] /var/lib/dkms/ndiswrapper/1.60/build/ndis.o
In file included from /var/lib/dkms/ndiswrapper/1.60/build/ndis.h:19:0,
                 from /var/lib/dkms/ndiswrapper/1.60/build/ndis.c:16:
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c: In function ‘NdisMAllocateSharedMemory’:
/var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h:122:20: error: ‘__GFP_REPEAT’ undeclared (first use in this function)
       GFP_KERNEL | __GFP_REPEAT)
                    ^
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c:1095:10: note: in expansion of macro ‘PCI_DMA_ALLOC_COHERENT’
  *virt = PCI_DMA_ALLOC_COHERENT(wd->pci.pdev, size, &dma_addr);
          ^
/var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h:122:20: note: each undeclared identifier is reported only once for each function it appears in
       GFP_KERNEL | __GFP_REPEAT)
                    ^
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c:1095:10: note: in expansion of macro ‘PCI_DMA_ALLOC_COHERENT’
  *virt = PCI_DMA_ALLOC_COHERENT(wd->pci.pdev, size, &dma_addr);
          ^
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c: In function ‘NdisMIndicateReceivePacket’:
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c:2261:15: error: ‘struct net_device’ has no member named ‘last_rx’
   wnd->net_dev->last_rx = jiffies;
               ^
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c: In function ‘EthRxIndicateHandler’:
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c:2349:14: error: ‘struct net_device’ has no member named ‘last_rx’
  wnd->net_dev->last_rx = jiffies;
              ^
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c: In function ‘NdisMTransferDataComplete’:
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c:2464:14: error: ‘struct net_device’ has no member named ‘last_rx’
  wnd->net_dev->last_rx = jiffies;
              ^
scripts/Makefile.build:308: '/var/lib/dkms/ndiswrapper/1.60/build/ndis.o' 타겟에 대한 명령이 실패했습니다
make[1]: *** [/var/lib/dkms/ndiswrapper/1.60/build/ndis.o] 오류 1
Makefile:1550: '_module_/var/lib/dkms/ndiswrapper/1.60/build' 타겟에 대한 명령이 실패했습니다
make: *** [_module_/var/lib/dkms/ndiswrapper/1.60/build] 오류 2
make: 디렉터리 '/usr/src/linux-headers-4.13.0-26-generic' 나감

la Nube (anselch1011)
description: updated
description: updated
description: updated
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ndiswrapper (Ubuntu):
status: New → Confirmed
Revision history for this message
Gabriel Ramirez (gabriel1109) wrote :

Hi,
Thanks for submitting this. I took a look at your description and saw you're running linux mint. Even though linux mint is based on Ubuntu, this bug tracker is reserved only for Ubuntu bugs. As such I will proceed to close it out. But note, I do see it is a duplicate of https://bugs.launchpad.net/bugs/1724869

I'd highly suggest following that case and posting any comments you have there.

Regards,
Gabe

Revision history for this message
Martin Dünkelmann (nc-duenkekl3-deactivatedaccount) wrote :

Same Problem on Ubuntu with Kernel 4.13.
But 4.13 was pushed because of meltdown/spectre......

Revision history for this message
Martin Dünkelmann (nc-duenkekl3-deactivatedaccount) wrote :

Same Problem on Ubuntu with Kernel 4.13.
But 4.13 was pushed because of meltdown/spectre......

1.60-3~ubuntu16.04.2 fixes this problem
but
only 1.60-3~ubuntu16.04.1 is available via apt update

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.