No wifi connectivity with kernel 4.4.0-83 if ath9k-msi dkms is installed

Bug #1702685 reported by Augustine Souza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OEM Priority Project
Fix Released
High
Shih-Yuan Lee
linux (Ubuntu)
Incomplete
Medium
Unassigned

Bug Description

I have wifi connectivity with the previous kernel if I choose it from the GRUB screen.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-83-generic 4.4.0-83.106
ProcVersionSignature: Ubuntu 4.4.0-83.106-generic 4.4.70
Uname: Linux 4.4.0-83-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.6
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: vasa1 2000 F.... pulseaudio
CRDA:
 country IN: DFS-JP
  (2402 - 2482 @ 40), (N/A, 20), (N/A)
  (5170 - 5250 @ 80), (N/A, 20), (N/A)
  (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS
  (5735 - 5835 @ 80), (N/A, 20), (N/A)
CurrentDesktop: Unity
Date: Thu Jul 6 18:21:07 2017
DistributionChannelDescriptor:
 # This is a distribution channel descriptor
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-xenial-amd64-20160624-2
HibernationDevice: RESUME=UUID=087adc85-f179-4429-9373-e2227f37cb9a
InstallationDate: Installed on 2017-01-02 (185 days ago)
InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 20160624-10:47
MachineType: Dell Inc. Inspiron 15-3567
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-83-generic.efi.signed root=UUID=30e6bdd2-27bf-4ef2-8076-333d24f18336 ro quiet splash
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-83-generic N/A
 linux-backports-modules-4.4.0-83-generic N/A
 linux-firmware 1.157.11
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/07/2017
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 01.07.00
dmi.board.name: 0FGN4M
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr01.07.00:bd04/07/2017:svnDellInc.:pnInspiron15-3567:pvr:rvnDellInc.:rn0FGN4M:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.name: Inspiron 15-3567
dmi.sys.vendor: Dell Inc.

Revision history for this message
Augustine Souza (aesouza2008) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Re: No wifi connectivity with kernel 4.4.0-83

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.12 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
tags: added: needs-bisect
Revision history for this message
Augustine Souza (aesouza2008) wrote :

I don't know if this helps but I also have Kubuntu 16.04.2 installed on the same machine with:

uname -a
Linux aes-Inspiron-15-3567 4.8.0-58-generic #63~16.04.1-Ubuntu SMP Mon Jun 26 18:08:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

and wifi is working out-of-the-box on that.

If you still want me to test with the kernel you've suggested, could you please explain how I could install it?

Revision history for this message
Augustine Souza (aesouza2008) wrote :

Never mind. I read the wiki and understood it. I'll post back once I've done the test.

Revision history for this message
Augustine Souza (aesouza2008) wrote :
Download full text (4.8 KiB)

I tried but failed to get the kernel going.

I downloaded
linux-headers-4.12.0-041200_4.12.0-041200.201707022031_all.deb
linux-headers-4.12.0-041200-generic_4.12.0-041200.201707022031_amd64.deb
linux-image-4.12.0-041200-generic_4.12.0-041200.201707022031_amd64.deb

Then I ran sudo dpkg -i *.deb from the folder containing the debs and got a lot of error messages:
10:37 PM ~/Dropbox/Mainline $ sudo dpkg -i *.deb
[sudo] password for vasa1:
Selecting previously unselected package linux-headers-4.12.0-041200.
(Reading database ... 301085 files and directories currently installed.)
Preparing to unpack linux-headers-4.12.0-041200_4.12.0-041200.201707022031_all.deb ...
Unpacking linux-headers-4.12.0-041200 (4.12.0-041200.201707022031) ...
Selecting previously unselected package linux-headers-4.12.0-041200-generic.
Preparing to unpack linux-headers-4.12.0-041200-generic_4.12.0-041200.201707022031_amd64.deb ...
Unpacking linux-headers-4.12.0-041200-generic (4.12.0-041200.201707022031) ...
Selecting previously unselected package linux-image-4.12.0-041200-generic.
Preparing to unpack linux-image-4.12.0-041200-generic_4.12.0-041200.201707022031_amd64.deb ...
Done.
Unpacking linux-image-4.12.0-041200-generic (4.12.0-041200.201707022031) ...
Setting up linux-headers-4.12.0-041200 (4.12.0-041200.201707022031) ...
Setting up linux-headers-4.12.0-041200-generic (4.12.0-041200.201707022031) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.12.0-041200-generic /boot/vmlinuz-4.12.0-041200-generic
ERROR (dkms apport): kernel package linux-headers-4.12.0-041200-generic is not supported
Error! Bad return status for module build on kernel: 4.12.0-041200-generic (x86_64)
Consult /var/lib/dkms/ath9k-msi/1.0/build/make.log for more information.
Error! The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch. This indicates that it should not be built.
Error! The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch. This indicates that it should not be built.
ERROR (dkms apport): kernel package linux-headers-4.12.0-041200-generic is not supported
Error! Bad return status for module build on kernel: 4.12.0-041200-generic (x86_64)
Consult /var/lib/dkms/radeon-si/1a/build/make.log for more information.
Setting up linux-image-4.12.0-041200-generic (4.12.0-041200.201707022031) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.12.0-041200-generic /boot/vmlinuz-4.12.0-041200-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.12.0-041200-generic /boot/vmlinuz-4.12.0-041200-generic
ERROR (dkms apport): kernel package linux-headers-4.12.0-041200-generic is not supported
Error! Bad return status for module build on kernel: 4.12.0-041200-generic (x86_64)
Consult /var/lib/dkms/ath9k-msi/1.0/build/make.log for more information.
Error! The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch. This indicates that it should not be built.
Error! The d...

Read more...

Revision history for this message
Augustine Souza (aesouza2008) wrote :

Based on advice by jeremy31 at Ubuntu Forums in https://ubuntuforums.org/showthread.php?t=2364875, I ran "dkms status" and got
09:38 AM ~ $ dkms status
ath9k-msi, 1.0, 4.4.0-81-generic, x86_64: installed
ath9k-msi, 1.0, 4.4.0-83-generic, x86_64: installed
intel-hid, 3.1, 4.4.0-81-generic, x86_64: installed
intel-hid, 3.1, 4.4.0-83-generic, x86_64: installed
oem-audio-hda-daily, 0.201612080732~ubuntu16.04.1, 4.4.0-81-generic, x86_64: installed
radeon-si, 1a, 4.4.0-38-generic, x86_64: built
radeon-si, 1a, 4.4.0-81-generic, x86_64: installed
radeon-si, 1a, 4.4.0-83-generic, x86_64: installed
09:41 AM ~ $

I then ran "sudo dkms remove -m ath9k-msi -v 1.0 -k 4.4.0-83-generic" with the following output:
09:41 AM ~ $ sudo dkms remove -m ath9k-msi -v 1.0 -k 4.4.0-83-generic

-------- Uninstall Beginning --------
Module: ath9k-msi
Version: 1.0
Kernel: 4.4.0-83-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

ath.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.4.0-83-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

ath9k.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.4.0-83-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

ath9k_common.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.4.0-83-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

ath9k_htc.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.4.0-83-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

ath9k_hw.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.4.0-83-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod.........

Backing up initrd.img-4.4.0-83-generic to /boot/initrd.img-4.4.0-83-generic.old-dkms
Making new initrd.img-4.4.0-83-generic
(If next boot fails, revert to initrd.img-4.4.0-83-generic.old-dkms image)
update-initramfs...............

DKMS: uninstall completed.
09:43 AM ~ $

On rebooting and choosing the 4.4.0-83 kernel, wifi is working "out of the box".

Cyrus Lien (cyruslien)
Changed in oem-priority:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Shih-Yuan Lee (fourdollars)
tags: added: inspiron-15-3567
Revision history for this message
Taihsiang Ho (tai271828) wrote :

Pre-installed Dell Vostro 15-3568 with wifi component Atheros Communications - 168c:0036 could not reproduce this issue with kernel 4.4.0-85-generic, 4.4.0-84-generic and 4.4.0-82-generic

ubuntu@201606-22528:~$ dkms status
fwts-efi-runtime-dkms, 17.03.00, 4.4.0-79-generic, x86_64: installed
fwts-efi-runtime-dkms, 17.03.00, 4.4.0-80-generic, x86_64: installed
fwts-efi-runtime-dkms, 17.03.00, 4.4.0-81-generic, x86_64: installed
fwts-efi-runtime-dkms, 17.03.00, 4.4.0-82-generic, x86_64: installed
fwts-efi-runtime-dkms, 17.03.00, 4.4.0-83-generic, x86_64: installed
fwts-efi-runtime-dkms, 17.03.00, 4.4.0-84-generic, x86_64: installed
fwts-efi-runtime-dkms, 17.03.00, 4.4.0-85-generic, x86_64: installed
intel-hid, 3.1, 4.4.0-46-generic, x86_64: installed
intel-hid, 3.1, 4.4.0-78-generic, x86_64: installed
intel-hid, 3.1, 4.4.0-79-generic, x86_64: installed
intel-hid, 3.1, 4.4.0-80-generic, x86_64: installed
intel-hid, 3.1, 4.4.0-81-generic, x86_64: installed
intel-hid, 3.1, 4.4.0-82-generic, x86_64: installed
intel-hid, 3.1, 4.4.0-83-generic, x86_64: installed
intel-hid, 3.1, 4.4.0-84-generic, x86_64: installed
intel-hid, 3.1, 4.4.0-85-generic, x86_64: installed
oem-audio-hda-daily, 0.201612080732~ubuntu16.04.1, 4.4.0-46-generic, x86_64: installed
oem-audio-hda-daily, 0.201612080732~ubuntu16.04.1, 4.4.0-78-generic, x86_64: installed
oem-audio-hda-daily, 0.201612080732~ubuntu16.04.1, 4.4.0-79-generic, x86_64: installed
oem-audio-hda-daily, 0.201612080732~ubuntu16.04.1, 4.4.0-81-generic, x86_64: installed
ubuntu@201606-22528:~$ uname -a
Linux 201606-22528 4.4.0-85-generic #108-Ubuntu SMP Mon Jul 3 17:23:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

summary: - No wifi connectivity with kernel 4.4.0-83
+ No wifi connectivity with kernel 4.4.0-83 if ath9k-msi dams is installed
summary: - No wifi connectivity with kernel 4.4.0-83 if ath9k-msi dams is installed
+ No wifi connectivity with kernel 4.4.0-83 if ath9k-msi dkms is installed
Changed in oem-priority:
status: Confirmed → In Progress
Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

checking the database, the platform was with pci id 168c:0042. but the one that the bug report and #8 use 168c:0036.

Revision history for this message
Taihsiang Ho (tai271828) wrote :

The case of the comment 8[1] does not has ath9k-msi dkms installed.

[1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1702685/comments/8

Changed in oem-priority:
status: In Progress → Fix Committed
Revision history for this message
Cyrus Lien (cyruslien) wrote :

[168c:0042] DW1810
[168c:0036] DW1707

#8 is incorrect platform as bug reported, the manifest for #8 platform doesn't include ath9k-msi dkms.

Revision history for this message
Cyrus Lien (cyruslien) wrote :

Need to confirm the issue on correct platform before online update verify.

Changed in oem-priority:
status: Fix Committed → Fix Released
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.