LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-22-2019, 01:16 AM   #1
Andrew Stallard
Member
 
Registered: Nov 2012
Posts: 39

Rep: Reputation: Disabled
Angry Wifi Adapter is not recognized when Centos 7 updates


I have a Dell Laptop with a Qualcomm Atheros QCA9377 Network Adapter on Centos 7

When the system updated, the network adapter no longer works because the OS can't see it.

However, when I use the command

Code:
lspci | grep Network
I get

Quote:
Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
So it appears that my Adapter is recognized.

Why isn't it connecting?

I have searched for solutions to this problem and it seems to be that the driver needs to be re-installed, but no drivers for Linux exist for that particular adapter.

Has anybody actually had this problem and fixed it?
 
Old 09-22-2019, 04:03 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,807

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Actually, that command only reports that a network-class device is present, not that driver is loaded. Instead do
Code:
lspci -nnk |grep -iA3 net
Also, is firmware present/loaded?
Code:
dmesg | egrep -i "ath|firmware"
When a suitable driver (and if applicable firmware) is loaded then the network device node should be present...
Code:
ip link

Last edited by ferrari; 09-22-2019 at 04:05 AM.
 
Old 09-22-2019, 04:04 AM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,807

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
BTW, the same issue reported here....

https://www.centos.org/forums/viewto...71707&p=301576
 
Old 09-22-2019, 10:26 AM   #4
Andrew Stallard
Member
 
Registered: Nov 2012
Posts: 39

Original Poster
Rep: Reputation: Disabled
Angry

Quote:
Originally Posted by ferrari View Post
Actually, that command only reports that a network-class device is present, not that driver is loaded. Instead do
Code:
lspci -nnk |grep -iA3 net
Also, is firmware present/loaded?
Code:
dmesg | egrep -i "ath|firmware"
When a suitable driver (and if applicable firmware) is loaded then the network device node should be present...
Code:
ip link
The relevant output of the command

Code:
lspci -nnk |grep -iA3 net
is

Code:
16:00.0 Network controller [0280]: Qualcomm Atheros QCA9377 802.11ac Wireless network Adapter [168c:0042] (rev 31)
        Subsystem: Dell Device [1028:1810]
        Kernel driver in use: ath10k_pci
        Kernel modules: ath10k_pci


The output of the command

Code:
dmesg | egrep -i "ath|firmware"
is

Code:
[    0.012941] [Firmware Bug]: cpu 0, invalid threshold interrupt offset 1 for bank 4, block 0 (MSR00000413=0xd000000001000000)
[    0.253024] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.262433] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
[    0.262598] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
[    0.282215] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[    2.272142] [drm] Found UVD firmware Version: 1.43 Family ID: 1
[    2.272503] [drm] Found VCE firmware Version: 52.0 Binary ID: 3
[   13.337661] ath10k_pci 0000:16:00.0: enabling device (0000 -> 0002)
[   13.339198] ath10k_pci 0000:16:00.0: irq 228 for MSI/MSI-X
[   13.339267] ath10k_pci 0000:16:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   14.002571] ath10k_pci 0000:16:00.0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 1028:1810
[   14.002577] ath10k_pci 0000:16:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 0 testmode 0
[   14.003290] ath10k_pci 0000:16:00.0: firmware ver WLAN.TF.2.1-00021-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 42e41877
[   14.050469] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
[   14.184398] Bluetooth: hci0: QCA: patch rome 0x302 build 0x3e8, firmware rome 0x302 build 0x111
[   17.113843] ath10k_pci 0000:16:00.0: unable to read from the device
[   17.113851] ath10k_pci 0000:16:00.0: could not execute otp for board id check: -110
[   17.113855] ath10k_pci 0000:16:00.0: failed to get board id from otp: -110
[   17.113912] ath10k_pci 0000:16:00.0: could not probe fw (-110)
Apparently it can no longer read the driver after the updates.


Thank you for your help.
 
Old 09-22-2019, 10:37 AM   #5
Andrew Stallard
Member
 
Registered: Nov 2012
Posts: 39

Original Poster
Rep: Reputation: Disabled
Angry

Could this be related to the Meltdown CPU Vulnerability CVE-2017-5754 on Linux?


https://www.cyberciti.biz/faq/patch-...17-5754-linux/
 
Old 09-22-2019, 10:40 AM   #6
Andrew Stallard
Member
 
Registered: Nov 2012
Posts: 39

Original Poster
Rep: Reputation: Disabled
I found a firmware update on GitHub

firmware-5.bin_WLAN.TF.1.0-00023-QCATFSWPZ-1

I have no idea how I can install it though.
 
Old 09-22-2019, 02:19 PM   #7
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,807

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
With something like
Code:
sudo cp firmware-5.bin_WLAN.TF.1.0-00023-QCATFSWPZ-1 /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin
https://wireless.wiki.kernel.org/en/...th10k/firmware

However, you need to be sure that this is suitable for your particular chipset, and I have no idea whether this will fix the issue you've encountered. Uoi might want to subscribe/add to the CentOS thread I linked to.
 
Old 09-22-2019, 11:41 PM   #8
Andrew Stallard
Member
 
Registered: Nov 2012
Posts: 39

Original Poster
Rep: Reputation: Disabled
Angry

Well, nobody seems to know how to fix this so maybe it's not fixable.

I checked out this Bugzilla page

https://bugzilla.redhat.com/show_bug.cgi?id=1527137

Apparently, the latest Qualcomm has is firmware-5. These new updates require firmware-6.

At any rate can anybody recommend a good USB wifi adapter that plays nicely with Centos 7?
 
Old 09-23-2019, 02:49 AM   #9
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,807

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Try the following workaround, as described in this Gentoo thread...
https://forums.gentoo.org/viewtopic-...2-start-0.html

Code:
cd lib/firmware/ath10k/QCA9377/hw1.0/
Code:
ls
For reference I get
Code:
board-2.bin  board.bin  firmware-5.bin  firmware-6.bin  notice_ath10k_firmware-5.txt  notice_ath10k_firmware-6.txt
Remove 'firmware-6.bin' and 'notice_ath10k_firmware-6.txt', (leaving firmware-5.bin and notice_ath10k_firmware-5.txt). When you next reboot (or unload and reload the ath10k_pci module), you'll find that it loads the working API 5 firmware. (Your previous output showed it was loading the API 6 firmware.)

So
Code:
dmesg | grep -i ath10k
should show something like
Code:
ath10k_pci 0000:16:00.0: firmware ver WLAN.TF.1.0-00002-QCATFSWPZ-5 api 5 features ignore-otp crc32 c3e0d04f
and more importantly, your wifi should be working.

According to that thread, the firmware-6 files always seem to result in non-working wifi for these devices.

Hope that does the trick.
 
3 members found this post helpful.
Old 09-23-2019, 10:42 AM   #10
Andrew Stallard
Member
 
Registered: Nov 2012
Posts: 39

Original Poster
Rep: Reputation: Disabled
Talking

Quote:
Originally Posted by ferrari View Post
Try the following workaround, as described in this Gentoo thread...
https://forums.gentoo.org/viewtopic-...2-start-0.html

Code:
cd lib/firmware/ath10k/QCA9377/hw1.0/
Code:
ls
For reference I get
Code:
board-2.bin  board.bin  firmware-5.bin  firmware-6.bin  notice_ath10k_firmware-5.txt  notice_ath10k_firmware-6.txt
Remove 'firmware-6.bin' and 'notice_ath10k_firmware-6.txt', (leaving firmware-5.bin and notice_ath10k_firmware-5.txt). When you next reboot (or unload and reload the ath10k_pci module), you'll find that it loads the working API 5 firmware. (Your previous output showed it was loading the API 6 firmware.)

So
Code:
dmesg | grep -i ath10k
should show something like
Code:
ath10k_pci 0000:16:00.0: firmware ver WLAN.TF.1.0-00002-QCATFSWPZ-5 api 5 features ignore-otp crc32 c3e0d04f
and more importantly, your wifi should be working.

According to that thread, the firmware-6 files always seem to result in non-working wifi for these devices.

Hope that does the trick.
Yes, that worked!

Thank You!
 
Old 09-23-2019, 12:45 PM   #11
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,807

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Glad to have been of assistance.
 
Old 09-23-2019, 01:47 PM   #12
Dennis2
LQ Newbie
 
Registered: Apr 2018
Posts: 13

Rep: Reputation: Disabled
Also a big thank from me.

After searching where I expected to find the solution I found it here.

I also run Fedora aswell where I expect to have problems not on Centos.

Dennis
 
Old 09-30-2019, 10:13 PM   #13
msfontana
LQ Newbie
 
Registered: Sep 2019
Location: BR
Distribution: CentOS
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
Try the following workaround, as described in this Gentoo thread
...
Hope that does the trick.
Just created an account to say thank you. This solves the problem, at least for me on Centos 7.7 (Kernel 3.10.0-1062)
 
Old 09-30-2019, 11:52 PM   #14
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,807

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Glad that you found this thread, and it was of help to you.
 
Old 11-22-2019, 01:55 PM   #15
pbakhil
LQ Newbie
 
Registered: Nov 2019
Posts: 1

Rep: Reputation: Disabled
Wink Big thank you!

Thank you the help. It worked like a charm.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
If a printer, and a wifi adapter have the same chipset, can the driver from the printer be applied to the wifi adapter? unwound Linux - Newbie 5 02-18-2017 12:46 PM
internal wifi adapter not recognized wolfwarrior Linux - Hardware 1 12-05-2012 09:46 AM
usb wifi adapter doesn't recognized my Backtrack 3 jj_100 Linux - Hardware 1 07-23-2010 11:59 AM
Compiler error : /usr/lib/libc.so: file not recognized: File format not recognized kreena Solaris / OpenSolaris 7 12-14-2009 02:51 AM
/usr/lib/libgd.so: file not recognized: File format not recognized kimjao Linux - Software 2 07-24-2009 11:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration