** Also affects: ndiswrapper (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1742474

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

Status in linux package in Ubuntu:
  Confirmed
Status in ndiswrapper package in Ubuntu:
  New

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' 나감

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1742474/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to