[Bug 1742474] Re: Bad return status for module build on kernel: 4.13.0-26-generic (i686)
But I have no problems with login screen or something else. Seems all works fine. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1742474 Title: Bad return status for module build on kernel: 4.13.0-26-generic (i686) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1742474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1742474] Re: Bad return status for module build on kernel: 4.13.0-26-generic (i686)
When upgrading the kernel from 4.4 to 4.13 Error! Bad return status for module build on kernel: 4.13.0-26-generic (x86_64) Consult /var/lib/dkms/ndiswrapper/1.60/build/make.log for more information. DKMS make.log for ndiswrapper-1.60 for kernel 4.13.0-26-generic (x86_64) Thu Jan 11 14:23:50 EET 2018 make: Entering directory '/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 MKSTUBS /var/lib/dkms/ndiswrapper/1.60/build/win2lin_stubs.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, _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, _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: recipe for target '/var/lib/dkms/ndiswrapper/1.60/build/ndis.o' failed make[1]: *** [/var/lib/dkms/ndiswrapper/1.60/build/ndis.o] Error 1 Makefile:1550: recipe for target '_module_/var/lib/dkms/ndiswrapper/1.60/build' failed make: *** [_module_/var/lib/dkms/ndiswrapper/1.60/build] Error 2 make: Leaving directory '/usr/src/linux-headers-4.13.0-26-generic' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1742474 Title: Bad return status for module build on kernel: 4.13.0-26-generic (i686) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1742474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1630063] Re: specific USB devices disconnect and don't reconnect
Randomly (once a day, none or ten times in an hour) I got this: Oct 13 11:19:55 work mtp-probe: checking bus 1, device 27: "/sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.4" Oct 13 11:19:55 work mtp-probe: bus: 1, device: 27 was not an MTP device Oct 13 11:20:44 work kernel: [ 6972.357596] usb 1-1-port4: disabled by hub (EMI?), re-enabling... Oct 13 11:20:44 work kernel: [ 6972.357732] usb 1-1.4: USB disconnect, device number 27 Oct 13 11:20:45 work kernel: [ 6972.590461] usb 1-1.4: new low-speed USB device number 28 using ehci-pci Oct 13 11:20:45 work kernel: [ 6972.686106] usb 1-1.4: New USB device found, idVendor=093a, idProduct=2516 Oct 13 11:20:45 work kernel: [ 6972.686112] usb 1-1.4: New USB device strings: Mfr=0, Product=2, SerialNumber=0 Oct 13 11:20:45 work kernel: [ 6972.686115] usb 1-1.4: Product: USB OPTICAL MOUSE Oct 13 11:20:45 work kernel: [ 6972.690293] input: USB OPTICAL MOUSE as /devices/pci:00/:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:093A:2516.001D/input/input44 Oct 13 11:20:45 work kernel: [ 6972.690562] hid-generic 0003:093A:2516.001D: input,hidraw1: USB HID v1.11 Mouse [USB OPTICAL MOUSE] on usb-:00:1a.0-1.4/input0 Oct 13 11:20:45 work mtp-probe: checking bus 1, device 28: "/sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.4" Oct 13 11:20:45 work mtp-probe: bus: 1, device: 28 was not an MTP device The mouse stops to work until physically reconnect. The mouse: Bus 001 Device 023: ID 093a:2516 Pixart Imaging, Inc. Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x093a Pixart Imaging, Inc. idProduct 0x2516 bcdDevice1.00 iManufacturer 0 iProduct2 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 34 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 4 bmAttributes 0xa0 (Bus Powered) Remote Wakeup bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 1 Boot Interface Subclass bInterfaceProtocol 2 Mouse iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType33 bcdHID 1.11 bCountryCode0 Not supported bNumDescriptors 1 bDescriptorType34 Report wDescriptorLength 79 Report Descriptors: ** UNAVAILABLE ** Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes3 Transfer TypeInterrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 10 when mouse is disappeared: $ lsusb Bus 002 Device 003: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash Card Reader Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 047f:c010 Plantronics, Inc. Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub After reconnect: $ lsusb Bus 002 Device 003: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS Flash Card Reader Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 028: ID 093a:2516 Pixart Imaging, Inc. Bus 001 Device 003: ID 047f:c010 Plantronics, Inc. Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub I found this: https://www.raspberrypi.org/forums/viewtopic.php?p=864077 which is similar to my problem $ apt list --installed | grep mtp libmtp-common/xenial,xenial,now 1.1.10-2ubuntu1 all [installed] libmtp-runtime/xenial,now 1.1.10-2ubuntu1 amd64 [installed] libmtp9/xenial,now 1.1.10-2ubuntu1 amd64 [installed] libnet-smtp-ssl-perl/xenial,xenial,now 1.03-1 all [installed] It seems MTP is devil here: https://sourceforge.net/p/libmtp/bugs/435/ How this is resolved: https://bbs.archlinux.org/viewtopic.php?pid=1015265#p1015265 But commenting out that will ignore MTP devices. I found
[Bug 1630063] Re: specific USB devices disconnect and don't reconnect
And this seems belongs: https://sourceforge.net/p/libmtp/bugs/435/#dee2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1630063 Title: specific USB devices disconnect and don't reconnect To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1630063/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs