Wifi not working in Lenovo laptop/Ideapad/Atheros QCA9377

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Wifi not working in Lenovo laptop/Ideapad/Atheros QCA9377

senthil kosapeta
Dear Debians,

I have purchased Lenovo laptop around 6 months back. (Lenovo ideapad)
I had installed ubuntu earlier and Wifi used to work fine.
Somehow it got crashed a month back.

I have decided to switch over to debian 9.9 and installed it.
Internet via Ethernet port is working. But wifi is not working and not showing available wireless networks.
I searched/googled certain topic related to Debian wifi and tried installing firmware-atheros earlier.
It did not work. When i tried restart, shutdown is stuck.
If i force shutdown and restart, It will be stuck again.
When i tried to do recover mode, msg displays that
"ath10k_pci ** failed recieve control reponse completion, polling ...."

Please let me know how to proceed.

 Thanks
Senthil

Reply | Threaded
Open this post in threaded view
|

Re: Wifi not working in Lenovo laptop/Ideapad/Atheros QCA9377

An Liu
Hi,

Can you see your wireless interface by excuting /sbin/ifconfig -a

should have device wlan0 or wlo0 or wls0p0 listed there

if not,you missed driver for that device,either look non-free repository or download source code compile yourself



On Fri, May 31, 2019 at 12:17 senthil kosapeta <[hidden email]> wrote:
Dear Debians,

I have purchased Lenovo laptop around 6 months back. (Lenovo ideapad)
I had installed ubuntu earlier and Wifi used to work fine.
Somehow it got crashed a month back.

I have decided to switch over to debian 9.9 and installed it.
Internet via Ethernet port is working. But wifi is not working and not showing available wireless networks.
I searched/googled certain topic related to Debian wifi and tried installing firmware-atheros earlier.
It did not work. When i tried restart, shutdown is stuck.
If i force shutdown and restart, It will be stuck again.
When i tried to do recover mode, msg displays that
"ath10k_pci ** failed recieve control reponse completion, polling ...."

Please let me know how to proceed.

 Thanks

Senthil

--
Liu An
Reply | Threaded
Open this post in threaded view
|

Re: Wifi not working in Lenovo laptop/Ideapad/Atheros QCA9377

tv.debian@googlemail.com
In reply to this post by senthil kosapeta
On 31/05/2019 15:46, senthil kosapeta wrote:

> Dear Debians,
>
> I have purchased Lenovo laptop around 6 months back. (Lenovo ideapad)
> I had installed ubuntu earlier and Wifi used to work fine.
> Somehow it got crashed a month back.
>
> I have decided to switch over to debian 9.9 and installed it.
> Internet via Ethernet port is working. But wifi is not working and not
> showing available wireless networks.
> I searched/googled certain topic related to Debian wifi and tried
> installing firmware-atheros earlier.
> It did not work. When i tried restart, shutdown is stuck.
> If i force shutdown and restart, It will be stuck again.
> When i tried to do recover mode, msg displays that
> "ath10k_pci ** failed recieve control reponse completion, polling ...."
>
> Please let me know how to proceed.
>
>   Thanks
> Senthil
>

Hi, can you check for firmware loading information in your logs ?

"grep firmware /var/log/messages" or "journalctl -b" and look for info
related to the wifi chip.

Given the "shutdown stuck" issue I would try disabling interrupts and
see if it solves the problem, "modinfo" says ath10k_pci accepts three
irq options:

"parm:           irq_mode:0: auto, 1: legacy, 2: msi"

Maybe try "legacy" mode first, that may be what Ubuntu is doing as a
default. You will need elevated privileges to run the next commands
("sudo command" or "su -" and then type commands).

First two commands unload the driver module:


modprobe -r ath10k_pci
modprobe -r ath10k_core

Then reload it with proper option:

modprobe -v ath10k_core
modprobe -v ath10k_pci irq_mode=1

If it solves the problem you can make the change permanent.

Hope it helps.

Reply | Threaded
Open this post in threaded view
|

Re: Wifi not working in Lenovo laptop/Ideapad/Atheros QCA9377

idiotein30@gmail.com
Putting thread back on list, this was sent to me directly. Answer is at
bottom.vvvvvvvv

On 31/05/2019 19:07, senthil kosapeta wrote:

> Hi,
>
> These are the logs that i got, it says "firmware loading failed"
>
>
>
> *May 31 12:58:48 debian kernel: [    0.048770] Spectre V2 : Enabling
> Restricted Speculation for firmware calls*
> *May 31 12:58:48 debian kernel: [    7.671866] i915 0000:00:02.0: Direct
> firmware load for i915/kbl_dmc_ver1_01.bin failed with error -2May 31
> 12:58:48 debian kernel: [    7.671873] i915 0000:00:02.0: Failed to load
> DMC firmware [https://01.org/linuxgraphics/intel-linux-graphics-firmwares
> <https://01.org/linuxgraphics/intel-linux-graphics-firmwares>], disabling
> runtime power management.May 31 12:58:48 debian kernel: [    7.677946]
> [drm] GuC firmware load skippedMay 31 12:58:48 debian kernel: [
>  8.226104] ath10k_pci 0000:03:00.0: Direct firmware load for
> ath10k/pre-cal-pci-0000:03:00.0.bin failed with error -2May 31 12:58:48
> debian kernel: [    8.226118] ath10k_pci 0000:03:00.0: Direct firmware load
> for ath10k/cal-pci-0000:03:00.0.bin failed with error -2May 31 12:58:48
> debian kernel: [    8.226129] ath10k_pci 0000:03:00.0: Direct firmware load
> for ath10k/QCA9377/hw1.0/firmware-5.bin failed with error -2May 31 12:58:48
> debian kernel: [    8.226143] ath10k_pci 0000:03:00.0: Direct firmware load
> for ath10k/QCA9377/hw1.0/firmware-4.bin failed with error -2May 31 12:58:48
> debian kernel: [    8.226156] ath10k_pci 0000:03:00.0: Direct firmware load
> for ath10k/QCA9377/hw1.0/firmware-3.bin failed with error -2May 31 12:58:48
> debian kernel: [    8.226168] ath10k_pci 0000:03:00.0: Direct firmware load
> for ath10k/QCA9377/hw1.0/firmware-2.bin failed with error -2May 31 12:58:50
> debian NetworkManager[559]: <info>  [1559287730.5479]
> manager[0x5578b9b35040]: monitoring kernel firmware directory
> '/lib/firmware'.May 31 12:58:50 debian kernel: [   16.179299] r8169
> 0000:02:00.0: Direct firmware load for rtl_nic/rtl8168g-3.fw failed with
> error -2May 31 12:58:50 debian kernel: [   16.179307] r8169 0000:02:00.0
> enp2s0: unable to load firmware patch rtl_nic/rtl8168g-3.fw (-2)May 31
> 14:37:49 debian kernel: [ 5323.527328] [drm] GuC firmware load skippedMay
> 31 18:44:53 debian kernel: [11230.812795] [drm] GuC firmware load skipped*
>
> On Fri, May 31, 2019 at 4:46 PM [hidden email] <
> [hidden email]> wrote:
>
>> On 31/05/2019 15:46, senthil kosapeta wrote:
>>> Dear Debians,
>>>
>>> I have purchased Lenovo laptop around 6 months back. (Lenovo ideapad)
>>> I had installed ubuntu earlier and Wifi used to work fine.
>>> Somehow it got crashed a month back.
>>>
>>> I have decided to switch over to debian 9.9 and installed it.
>>> Internet via Ethernet port is working. But wifi is not working and not
>>> showing available wireless networks.
>>> I searched/googled certain topic related to Debian wifi and tried
>>> installing firmware-atheros earlier.
>>> It did not work. When i tried restart, shutdown is stuck.
>>> If i force shutdown and restart, It will be stuck again.
>>> When i tried to do recover mode, msg displays that
>>> "ath10k_pci ** failed recieve control reponse completion, polling ...."
>>>
>>> Please let me know how to proceed.
>>>
>>>   Thanks
>>> Senthil
>>>
>>
>> Hi, can you check for firmware loading information in your logs ?
>>
>> "grep firmware /var/log/messages" or "journalctl -b" and look for info
>> related to the wifi chip.
>>
>> Given the "shutdown stuck" issue I would try disabling interrupts and
>> see if it solves the problem, "modinfo" says ath10k_pci accepts three
>> irq options:
>>
>> "parm:           irq_mode:0: auto, 1: legacy, 2: msi"
>>
>> Maybe try "legacy" mode first, that may be what Ubuntu is doing as a
>> default. You will need elevated privileges to run the next commands
>> ("sudo command" or "su -" and then type commands).
>>
>> First two commands unload the driver module:
>>
>>
>> modprobe -r ath10k_pci
>> modprobe -r ath10k_core
>>
>> Then reload it with proper option:
>>
>> modprobe -v ath10k_core
>> modprobe -v ath10k_pci irq_mode=1
>>
>> If it solves the problem you can make the change permanent.
>>
>> Hope it helps.
>>
>>

The error message is very generic (ignore the message regarding the
graphic chip, it's unrelated and mostly harmless).

First look into the firmware directory to make sure you do have the
needed firmware binary:

ls -l /lib/firmware/ath10k/QCA9377/hw1.0/

You should see a "firmware-6.bin" file in the output.

Then try the commands I suggested before in a terminal window, you need
to do this as root, either by using "sudo" in front of the commands or
by doing "su -" and ater providing the root password type the actual
commands one line at a time:

modprobe -r ath10k_pci
modprobe -r ath10k_core

modprobe -v ath10k_core
modprobe -v ath10k_pci irq_mode=1

and report back to the list the outcome.

Reply | Threaded
Open this post in threaded view
|

Re: Wifi not working in Lenovo laptop/Ideapad/Atheros QCA9377

senthil kosapeta
Hi,

Earlier my system got stuck after firmware-atheros installation.
Now i have freshly installed debian 9.9.

So it does not have following
/lib/firmware/ath10k/QCA9377/hw1.0/

Shall i retry installing "firmware-atheros" and proceed as per your suggestion?






On Fri, May 31, 2019 at 9:10 PM [hidden email] <[hidden email]> wrote:
Putting thread back on list, this was sent to me directly. Answer is at
bottom.vvvvvvvv

On 31/05/2019 19:07, senthil kosapeta wrote:

> Hi,
>
> These are the logs that i got, it says "firmware loading failed"
>
>
>
> *May 31 12:58:48 debian kernel: [    0.048770] Spectre V2 : Enabling
> Restricted Speculation for firmware calls*
> *May 31 12:58:48 debian kernel: [    7.671866] i915 0000:00:02.0: Direct
> firmware load for i915/kbl_dmc_ver1_01.bin failed with error -2May 31
> 12:58:48 debian kernel: [    7.671873] i915 0000:00:02.0: Failed to load
> DMC firmware [https://01.org/linuxgraphics/intel-linux-graphics-firmwares
> <https://01.org/linuxgraphics/intel-linux-graphics-firmwares>], disabling
> runtime power management.May 31 12:58:48 debian kernel: [    7.677946]
> [drm] GuC firmware load skippedMay 31 12:58:48 debian kernel: [
>  8.226104] ath10k_pci 0000:03:00.0: Direct firmware load for
> ath10k/pre-cal-pci-0000:03:00.0.bin failed with error -2May 31 12:58:48
> debian kernel: [    8.226118] ath10k_pci 0000:03:00.0: Direct firmware load
> for ath10k/cal-pci-0000:03:00.0.bin failed with error -2May 31 12:58:48
> debian kernel: [    8.226129] ath10k_pci 0000:03:00.0: Direct firmware load
> for ath10k/QCA9377/hw1.0/firmware-5.bin failed with error -2May 31 12:58:48
> debian kernel: [    8.226143] ath10k_pci 0000:03:00.0: Direct firmware load
> for ath10k/QCA9377/hw1.0/firmware-4.bin failed with error -2May 31 12:58:48
> debian kernel: [    8.226156] ath10k_pci 0000:03:00.0: Direct firmware load
> for ath10k/QCA9377/hw1.0/firmware-3.bin failed with error -2May 31 12:58:48
> debian kernel: [    8.226168] ath10k_pci 0000:03:00.0: Direct firmware load
> for ath10k/QCA9377/hw1.0/firmware-2.bin failed with error -2May 31 12:58:50
> debian NetworkManager[559]: <info>  [1559287730.5479]
> manager[0x5578b9b35040]: monitoring kernel firmware directory
> '/lib/firmware'.May 31 12:58:50 debian kernel: [   16.179299] r8169
> 0000:02:00.0: Direct firmware load for rtl_nic/rtl8168g-3.fw failed with
> error -2May 31 12:58:50 debian kernel: [   16.179307] r8169 0000:02:00.0
> enp2s0: unable to load firmware patch rtl_nic/rtl8168g-3.fw (-2)May 31
> 14:37:49 debian kernel: [ 5323.527328] [drm] GuC firmware load skippedMay
> 31 18:44:53 debian kernel: [11230.812795] [drm] GuC firmware load skipped*
>
> On Fri, May 31, 2019 at 4:46 PM [hidden email] <
> [hidden email]> wrote:
>
>> On 31/05/2019 15:46, senthil kosapeta wrote:
>>> Dear Debians,
>>>
>>> I have purchased Lenovo laptop around 6 months back. (Lenovo ideapad)
>>> I had installed ubuntu earlier and Wifi used to work fine.
>>> Somehow it got crashed a month back.
>>>
>>> I have decided to switch over to debian 9.9 and installed it.
>>> Internet via Ethernet port is working. But wifi is not working and not
>>> showing available wireless networks.
>>> I searched/googled certain topic related to Debian wifi and tried
>>> installing firmware-atheros earlier.
>>> It did not work. When i tried restart, shutdown is stuck.
>>> If i force shutdown and restart, It will be stuck again.
>>> When i tried to do recover mode, msg displays that
>>> "ath10k_pci ** failed recieve control reponse completion, polling ...."
>>>
>>> Please let me know how to proceed.
>>>
>>>   Thanks
>>> Senthil
>>>
>>
>> Hi, can you check for firmware loading information in your logs ?
>>
>> "grep firmware /var/log/messages" or "journalctl -b" and look for info
>> related to the wifi chip.
>>
>> Given the "shutdown stuck" issue I would try disabling interrupts and
>> see if it solves the problem, "modinfo" says ath10k_pci accepts three
>> irq options:
>>
>> "parm:           irq_mode:0: auto, 1: legacy, 2: msi"
>>
>> Maybe try "legacy" mode first, that may be what Ubuntu is doing as a
>> default. You will need elevated privileges to run the next commands
>> ("sudo command" or "su -" and then type commands).
>>
>> First two commands unload the driver module:
>>
>>
>> modprobe -r ath10k_pci
>> modprobe -r ath10k_core
>>
>> Then reload it with proper option:
>>
>> modprobe -v ath10k_core
>> modprobe -v ath10k_pci irq_mode=1
>>
>> If it solves the problem you can make the change permanent.
>>
>> Hope it helps.
>>
>>

The error message is very generic (ignore the message regarding the
graphic chip, it's unrelated and mostly harmless).

First look into the firmware directory to make sure you do have the
needed firmware binary:

ls -l /lib/firmware/ath10k/QCA9377/hw1.0/

You should see a "firmware-6.bin" file in the output.

Then try the commands I suggested before in a terminal window, you need
to do this as root, either by using "sudo" in front of the commands or
by doing "su -" and ater providing the root password type the actual
commands one line at a time:

modprobe -r ath10k_pci
modprobe -r ath10k_core

modprobe -v ath10k_core
modprobe -v ath10k_pci irq_mode=1

and report back to the list the outcome.



--
Senthil Kumar
Mob No : 9000311791
Reply | Threaded
Open this post in threaded view
|

Re: Wifi not working in Lenovo laptop/Ideapad/Atheros QCA9377

tv.debian@googlemail.com
Hi, most people on this list prefer bottom-posting rather than
top-posting, so I'll stick with the convention and post my answer at the
bottom of the message, suggesting you do the same in the future to avoid
potential nasty comments. ;-) vvv

On 31/05/2019 22:38, senthil kosapeta wrote:

> Hi,
>
> Earlier my system got stuck after firmware-atheros installation.
> Now i have freshly installed debian 9.9.
>
> So it does not have following
> /lib/firmware/ath10k/QCA9377/hw1.0/
>
> Shall i retry installing "firmware-atheros" and proceed as per your
> suggestion?
>
>
>
>
>
>
> On Fri, May 31, 2019 at 9:10 PM [hidden email] <[hidden email]>
> wrote:
>
>> Putting thread back on list, this was sent to me directly. Answer is at
>> bottom.vvvvvvvv
>>
>> On 31/05/2019 19:07, senthil kosapeta wrote:
>>
>>> Hi,
>>>
>>> These are the logs that i got, it says "firmware loading failed"
>>>
>>>
>>>
>>> *May 31 12:58:48 debian kernel: [    0.048770] Spectre V2 : Enabling
>>> Restricted Speculation for firmware calls*
>>> *May 31 12:58:48 debian kernel: [    7.671866] i915 0000:00:02.0: Direct
>>> firmware load for i915/kbl_dmc_ver1_01.bin failed with error -2May 31
>>> 12:58:48 debian kernel: [    7.671873] i915 0000:00:02.0: Failed to load
>>> DMC firmware [
>> https://01.org/linuxgraphics/intel-linux-graphics-firmwares
>>> <https://01.org/linuxgraphics/intel-linux-graphics-firmwares>],
>> disabling
>>> runtime power management.May 31 12:58:48 debian kernel: [    7.677946]
>>> [drm] GuC firmware load skippedMay 31 12:58:48 debian kernel: [
>>>   8.226104] ath10k_pci 0000:03:00.0: Direct firmware load for
>>> ath10k/pre-cal-pci-0000:03:00.0.bin failed with error -2May 31 12:58:48
>>> debian kernel: [    8.226118] ath10k_pci 0000:03:00.0: Direct firmware
>> load
>>> for ath10k/cal-pci-0000:03:00.0.bin failed with error -2May 31 12:58:48
>>> debian kernel: [    8.226129] ath10k_pci 0000:03:00.0: Direct firmware
>> load
>>> for ath10k/QCA9377/hw1.0/firmware-5.bin failed with error -2May 31
>> 12:58:48
>>> debian kernel: [    8.226143] ath10k_pci 0000:03:00.0: Direct firmware
>> load
>>> for ath10k/QCA9377/hw1.0/firmware-4.bin failed with error -2May 31
>> 12:58:48
>>> debian kernel: [    8.226156] ath10k_pci 0000:03:00.0: Direct firmware
>> load
>>> for ath10k/QCA9377/hw1.0/firmware-3.bin failed with error -2May 31
>> 12:58:48
>>> debian kernel: [    8.226168] ath10k_pci 0000:03:00.0: Direct firmware
>> load
>>> for ath10k/QCA9377/hw1.0/firmware-2.bin failed with error -2May 31
>> 12:58:50
>>> debian NetworkManager[559]: <info>  [1559287730.5479]
>>> manager[0x5578b9b35040]: monitoring kernel firmware directory
>>> '/lib/firmware'.May 31 12:58:50 debian kernel: [   16.179299] r8169
>>> 0000:02:00.0: Direct firmware load for rtl_nic/rtl8168g-3.fw failed with
>>> error -2May 31 12:58:50 debian kernel: [   16.179307] r8169 0000:02:00.0
>>> enp2s0: unable to load firmware patch rtl_nic/rtl8168g-3.fw (-2)May 31
>>> 14:37:49 debian kernel: [ 5323.527328] [drm] GuC firmware load skippedMay
>>> 31 18:44:53 debian kernel: [11230.812795] [drm] GuC firmware load
>> skipped*
>>>
>>> On Fri, May 31, 2019 at 4:46 PM [hidden email] <
>>> [hidden email]> wrote:
>>>
>>>> On 31/05/2019 15:46, senthil kosapeta wrote:
>>>>> Dear Debians,
>>>>>
>>>>> I have purchased Lenovo laptop around 6 months back. (Lenovo ideapad)
>>>>> I had installed ubuntu earlier and Wifi used to work fine.
>>>>> Somehow it got crashed a month back.
>>>>>
>>>>> I have decided to switch over to debian 9.9 and installed it.
>>>>> Internet via Ethernet port is working. But wifi is not working and not
>>>>> showing available wireless networks.
>>>>> I searched/googled certain topic related to Debian wifi and tried
>>>>> installing firmware-atheros earlier.
>>>>> It did not work. When i tried restart, shutdown is stuck.
>>>>> If i force shutdown and restart, It will be stuck again.
>>>>> When i tried to do recover mode, msg displays that
>>>>> "ath10k_pci ** failed recieve control reponse completion, polling ...."
>>>>>
>>>>> Please let me know how to proceed.
>>>>>
>>>>>    Thanks
>>>>> Senthil
>>>>>
>>>>
>>>> Hi, can you check for firmware loading information in your logs ?
>>>>
>>>> "grep firmware /var/log/messages" or "journalctl -b" and look for info
>>>> related to the wifi chip.
>>>>
>>>> Given the "shutdown stuck" issue I would try disabling interrupts and
>>>> see if it solves the problem, "modinfo" says ath10k_pci accepts three
>>>> irq options:
>>>>
>>>> "parm:           irq_mode:0: auto, 1: legacy, 2: msi"
>>>>
>>>> Maybe try "legacy" mode first, that may be what Ubuntu is doing as a
>>>> default. You will need elevated privileges to run the next commands
>>>> ("sudo command" or "su -" and then type commands).
>>>>
>>>> First two commands unload the driver module:
>>>>
>>>>
>>>> modprobe -r ath10k_pci
>>>> modprobe -r ath10k_core
>>>>
>>>> Then reload it with proper option:
>>>>
>>>> modprobe -v ath10k_core
>>>> modprobe -v ath10k_pci irq_mode=1
>>>>
>>>> If it solves the problem you can make the change permanent.
>>>>
>>>> Hope it helps.
>>>>
>>>>
>>
>> The error message is very generic (ignore the message regarding the
>> graphic chip, it's unrelated and mostly harmless).
>>
>> First look into the firmware directory to make sure you do have the
>> needed firmware binary:
>>
>> ls -l /lib/firmware/ath10k/QCA9377/hw1.0/
>>
>> You should see a "firmware-6.bin" file in the output.
>>
>> Then try the commands I suggested before in a terminal window, you need
>> to do this as root, either by using "sudo" in front of the commands or
>> by doing "su -" and ater providing the root password type the actual
>> commands one line at a time:
>>
>> modprobe -r ath10k_pci
>> modprobe -r ath10k_core
>>
>> modprobe -v ath10k_core
>> modprobe -v ath10k_pci irq_mode=1
>>
>> and report back to the list the outcome.
>>
>>
>

  I looked into the firmware-atheros package in Debian Stable (9),
backports, testing and unstable. Only the version in unstable currently
has the firmware file you need to make your wifi chip work
(/lib/firmware/ath10k/QCA9377/hw1.0/firmware-6.bin) .

You can download it yourself on one of the Debian mirrors:

https://packages.debian.org/sid/all/firmware-atheros/download

Then install the package with the command:

dpkg -i firmware-atheros_20190502-1_all.deb

This command must be issued in the directory where you downloaded the
package, and with root privileges.

When this is done, simply reboot your system, or unload/reload the
driver module with:

modprobe -r ath10k_pci
modprobe -r ath10k_core

modprobe -v ath10k_core
modprobe -v ath10k


Ignore the "irq=" option for now, I am on Debian unstable and wrongly
assumed you had the needed firmware file already on your system.

Reply | Threaded
Open this post in threaded view
|

Snipping and quoting: Re: Wifi not working in Lenovo laptop/Ideapad/Atheros QCA9377

rhkramer
On Friday, May 31, 2019 01:32:20 PM [hidden email] wrote:
> Hi, most people on this list prefer bottom-posting rather than
> top-posting, so I'll stick with the convention and post my answer at the
> bottom of the message, suggesting you do the same in the future to avoid
> potential nasty comments. ;-) vvv

Thanks for the consideration!

I think another part of it for most of us (I take myself as a sample of one
representing most of us ;-) ...

.. is that we like quotes of previous emails to be snipped to the relevant
part and then the response to that relevant part be underneath that quote.

If you are replying to more than one relevant part, snip  irrelevant parts,
and intersperse your comments within the email, under the relevant part.

If anyone wants to chime in and agree (or disagree), please do!

Reply | Threaded
Open this post in threaded view
|

Re: Snipping and quoting: Re: Wifi not working in Lenovo laptop/Ideapad/Atheros QCA9377

tv.debian@googlemail.com
On 31/05/2019 23:22, [hidden email] wrote:

> On Friday, May 31, 2019 01:32:20 PM [hidden email] wrote:
>> Hi, most people on this list prefer bottom-posting rather than
>> top-posting, so I'll stick with the convention and post my answer at the
>> bottom of the message, suggesting you do the same in the future to avoid
>> potential nasty comments. ;-) vvv
>
> Thanks for the consideration!
>
> I think another part of it for most of us (I take myself as a sample of one
> representing most of us ;-) ...
>
> .. is that we like quotes of previous emails to be snipped to the relevant
> part and then the response to that relevant part be underneath that quote.
>
> If you are replying to more than one relevant part, snip  irrelevant parts,
> and intersperse your comments within the email, under the relevant part.
>
> If anyone wants to chime in and agree (or disagree), please do!
>
Hi there, I mostly agree but I also have to say that I don't really give
a damn about netiquette as a whole as long as the problem is solved, and
it is still possible with minimum efforts to make head or tail from the
thread. Now this thread is already mangled beyond recognition twice,
sent all over the place and back, from several different addresses, and
I don't have time to fix it today.
I also feel the need to say that meta-discussions about style or
off-topic and/or personal matters on this list is seriously putting me
off lately. I personally feel much more problematic to scroll through
several unrelated messages scratching personal itches much more painful
that any formatting bias.
Maybe it would be better to send a polite message to the original
"offending" party(ies) once (off-list?), and if they don't comply just
stop helping at all if one feels strongly about it.

Taking my own advice, I won't argue on the subject of style anymore in
this thread ;-) .

Reply | Threaded
Open this post in threaded view
|

Re: Wifi not working in Lenovo laptop/Ideapad/Atheros QCA9377

senthil kosapeta
In reply to this post by tv.debian@googlemail.com

On Fri, May 31, 2019 at 11:02 PM [hidden email] <[hidden email]> wrote:
Hi, most people on this list prefer bottom-posting rather than
top-posting, so I'll stick with the convention and post my answer at the
bottom of the message, suggesting you do the same in the future to avoid
potential nasty comments. ;-) vvv

On 31/05/2019 22:38, senthil kosapeta wrote:
> Hi,
>
> Earlier my system got stuck after firmware-atheros installation.
> Now i have freshly installed debian 9.9.
>
> So it does not have following
> /lib/firmware/ath10k/QCA9377/hw1.0/
>
> Shall i retry installing "firmware-atheros" and proceed as per your
> suggestion?
>
>
>
>
>
>
> On Fri, May 31, 2019 at 9:10 PM [hidden email] <[hidden email]>
> wrote:
>
>> Putting thread back on list, this was sent to me directly. Answer is at
>> bottom.vvvvvvvv
>>
>> On 31/05/2019 19:07, senthil kosapeta wrote:
>>
>>> Hi,
>>>
>>> These are the logs that i got, it says "firmware loading failed"
>>>
>>>
>>>
>>> *May 31 12:58:48 debian kernel: [    0.048770] Spectre V2 : Enabling
>>> Restricted Speculation for firmware calls*
>>> *May 31 12:58:48 debian kernel: [    7.671866] i915 0000:00:02.0: Direct
>>> firmware load for i915/kbl_dmc_ver1_01.bin failed with error -2May 31
>>> 12:58:48 debian kernel: [    7.671873] i915 0000:00:02.0: Failed to load
>>> DMC firmware [
>> https://01.org/linuxgraphics/intel-linux-graphics-firmwares
>>> <https://01.org/linuxgraphics/intel-linux-graphics-firmwares>],
>> disabling
>>> runtime power management.May 31 12:58:48 debian kernel: [    7.677946]
>>> [drm] GuC firmware load skippedMay 31 12:58:48 debian kernel: [
>>>   8.226104] ath10k_pci 0000:03:00.0: Direct firmware load for
>>> ath10k/pre-cal-pci-0000:03:00.0.bin failed with error -2May 31 12:58:48
>>> debian kernel: [    8.226118] ath10k_pci 0000:03:00.0: Direct firmware
>> load
>>> for ath10k/cal-pci-0000:03:00.0.bin failed with error -2May 31 12:58:48
>>> debian kernel: [    8.226129] ath10k_pci 0000:03:00.0: Direct firmware
>> load
>>> for ath10k/QCA9377/hw1.0/firmware-5.bin failed with error -2May 31
>> 12:58:48
>>> debian kernel: [    8.226143] ath10k_pci 0000:03:00.0: Direct firmware
>> load
>>> for ath10k/QCA9377/hw1.0/firmware-4.bin failed with error -2May 31
>> 12:58:48
>>> debian kernel: [    8.226156] ath10k_pci 0000:03:00.0: Direct firmware
>> load
>>> for ath10k/QCA9377/hw1.0/firmware-3.bin failed with error -2May 31
>> 12:58:48
>>> debian kernel: [    8.226168] ath10k_pci 0000:03:00.0: Direct firmware
>> load
>>> for ath10k/QCA9377/hw1.0/firmware-2.bin failed with error -2May 31
>> 12:58:50
>>> debian NetworkManager[559]: <info>  [1559287730.5479]
>>> manager[0x5578b9b35040]: monitoring kernel firmware directory
>>> '/lib/firmware'.May 31 12:58:50 debian kernel: [   16.179299] r8169
>>> 0000:02:00.0: Direct firmware load for rtl_nic/rtl8168g-3.fw failed with
>>> error -2May 31 12:58:50 debian kernel: [   16.179307] r8169 0000:02:00.0
>>> enp2s0: unable to load firmware patch rtl_nic/rtl8168g-3.fw (-2)May 31
>>> 14:37:49 debian kernel: [ 5323.527328] [drm] GuC firmware load skippedMay
>>> 31 18:44:53 debian kernel: [11230.812795] [drm] GuC firmware load
>> skipped*
>>>
>>> On Fri, May 31, 2019 at 4:46 PM [hidden email] <
>>> [hidden email]> wrote:
>>>
>>>> On 31/05/2019 15:46, senthil kosapeta wrote:
>>>>> Dear Debians,
>>>>>
>>>>> I have purchased Lenovo laptop around 6 months back. (Lenovo ideapad)
>>>>> I had installed ubuntu earlier and Wifi used to work fine.
>>>>> Somehow it got crashed a month back.
>>>>>
>>>>> I have decided to switch over to debian 9.9 and installed it.
>>>>> Internet via Ethernet port is working. But wifi is not working and not
>>>>> showing available wireless networks.
>>>>> I searched/googled certain topic related to Debian wifi and tried
>>>>> installing firmware-atheros earlier.
>>>>> It did not work. When i tried restart, shutdown is stuck.
>>>>> If i force shutdown and restart, It will be stuck again.
>>>>> When i tried to do recover mode, msg displays that
>>>>> "ath10k_pci ** failed recieve control reponse completion, polling ...."
>>>>>
>>>>> Please let me know how to proceed.
>>>>>
>>>>>    Thanks
>>>>> Senthil
>>>>>
>>>>
>>>> Hi, can you check for firmware loading information in your logs ?
>>>>
>>>> "grep firmware /var/log/messages" or "journalctl -b" and look for info
>>>> related to the wifi chip.
>>>>
>>>> Given the "shutdown stuck" issue I would try disabling interrupts and
>>>> see if it solves the problem, "modinfo" says ath10k_pci accepts three
>>>> irq options:
>>>>
>>>> "parm:           irq_mode:0: auto, 1: legacy, 2: msi"
>>>>
>>>> Maybe try "legacy" mode first, that may be what Ubuntu is doing as a
>>>> default. You will need elevated privileges to run the next commands
>>>> ("sudo command" or "su -" and then type commands).
>>>>
>>>> First two commands unload the driver module:
>>>>
>>>>
>>>> modprobe -r ath10k_pci
>>>> modprobe -r ath10k_core
>>>>
>>>> Then reload it with proper option:
>>>>
>>>> modprobe -v ath10k_core
>>>> modprobe -v ath10k_pci irq_mode=1
>>>>
>>>> If it solves the problem you can make the change permanent.
>>>>
>>>> Hope it helps.
>>>>
>>>>
>>
>> The error message is very generic (ignore the message regarding the
>> graphic chip, it's unrelated and mostly harmless).
>>
>> First look into the firmware directory to make sure you do have the
>> needed firmware binary:
>>
>> ls -l /lib/firmware/ath10k/QCA9377/hw1.0/
>>
>> You should see a "firmware-6.bin" file in the output.
>>
>> Then try the commands I suggested before in a terminal window, you need
>> to do this as root, either by using "sudo" in front of the commands or
>> by doing "su -" and ater providing the root password type the actual
>> commands one line at a time:
>>
>> modprobe -r ath10k_pci
>> modprobe -r ath10k_core
>>
>> modprobe -v ath10k_core
>> modprobe -v ath10k_pci irq_mode=1
>>
>> and report back to the list the outcome.
>>
>>
>

  I looked into the firmware-atheros package in Debian Stable (9),
backports, testing and unstable. Only the version in unstable currently
has the firmware file you need to make your wifi chip work
(/lib/firmware/ath10k/QCA9377/hw1.0/firmware-6.bin) .

You can download it yourself on one of the Debian mirrors:

https://packages.debian.org/sid/all/firmware-atheros/download

Then install the package with the command:

dpkg -i firmware-atheros_20190502-1_all.deb

This command must be issued in the directory where you downloaded the
package, and with root privileges.

When this is done, simply reboot your system, or unload/reload the
driver module with:

modprobe -r ath10k_pci
modprobe -r ath10k_core

modprobe -v ath10k_core
modprobe -v ath10k


Ignore the "irq=" option for now, I am on Debian unstable and wrongly
assumed you had the needed firmware file already on your system.


-- 

HI,

My system got crashed. 
After installing firmware-atheros, I tried modprobe commands. (Even before restarting)
When i am done with last command which is "modprobe -v ath10k_pci", system got stuck.
I had force shutdown, and restarting the laptop is hit with the same old problem like earlier crash.

When i run through recovery mode, it says following (also seen during earlier crash)
ath10_pci *** : failed to recieve control response completion, polling ...

After that i tried booting via debian live usb, got the root prompt, tried following commands
>> modprobe -r ath10k_pci
>> modprobe -r ath10k_core
>>
>> modprobe -v ath10k_core
>> modprobe -v ath10k_pci irq_mode=1

It is still not working and is stuck while boot.
Please suggest more.

Sen

Reply | Threaded
Open this post in threaded view
|

Re: Wifi not working in Lenovo laptop/Ideapad/Atheros QCA9377

tv.debian@googlemail.com
On 01/06/2019 16:52, senthil kosapeta wrote:
[...giant snip]

>>    I looked into the firmware-atheros package in Debian Stable (9),
>> backports, testing and unstable. Only the version in unstable currently
>> has the firmware file you need to make your wifi chip work
>> (/lib/firmware/ath10k/QCA9377/hw1.0/firmware-6.bin) .
>>
>> You can download it yourself on one of the Debian mirrors:
>>
>> https://packages.debian.org/sid/all/firmware-atheros/download
>>
>> Then install the package with the command:
>>
>> dpkg -i firmware-atheros_20190502-1_all.deb
>>
>> This command must be issued in the directory where you downloaded the
>> package, and with root privileges.
>>
>> When this is done, simply reboot your system, or unload/reload the
>> driver module with:
>>
>> modprobe -r ath10k_pci
>> modprobe -r ath10k_core
>>
>> modprobe -v ath10k_core
>> modprobe -v ath10k
>>
>>
>> Ignore the "irq=" option for now, I am on Debian unstable and wrongly
>> assumed you had the needed firmware file already on your system.
>>
>
> HI,
>
> My system got crashed.
> After installing firmware-atheros, I tried modprobe commands. (Even before
> restarting)
> When i am done with last command which is "modprobe -v ath10k_pci", system
> got stuck.
> I had force shutdown, and restarting the laptop is hit with the same old
> problem like earlier crash.
>
> When i run through recovery mode, it says following (also seen during
> earlier crash)
> *ath10_pci *** : failed to recieve control response completion, polling ...*
>
> After that i tried booting via debian live usb, got the root prompt, tried
> following commands
>>> modprobe -r ath10k_pci
>>> modprobe -r ath10k_core
>>>
>>> modprobe -v ath10k_core
>>> modprobe -v ath10k_pci irq_mode=1
>
> It is still not working and is stuck while boot.
> Please suggest more.
>
> Sen
>


Hi, which version of the firmware-atheros package did you install ? Was
the installation successful, no error messages ?

When the boot sequence gets stuck, when exactly does it happen, what do
you see on the screen ? If you crashed the system a few times, the
file-system may need to be checked, did you see any message mentioning
"fsck" or file-system check ?

Nota: you can answer back to the list only, I am subscribed.

Reply | Threaded
Open this post in threaded view
|

Re: Wifi not working in Lenovo laptop/Ideapad/Atheros QCA9377

senthil kosapeta
Attaching the mail to debian-debbugs list & debian-boot lists.
Please redirect if necessary. 
Summary : 
1) System hangs/stucks when firmware-atheros is installed. 
2) Thereaferwards Rebooting is not successfull.

Please help.

Thanks,
Senthil


On Sun, Jun 2, 2019 at 12:12 PM senthil kosapeta <[hidden email]> wrote:
On Sat, Jun 1, 2019 at 6:54 PM [hidden email] <[hidden email]> wrote:
On 01/06/2019 16:52, senthil kosapeta wrote:
[...giant snip]
>>    I looked into the firmware-atheros package in Debian Stable (9),
>> backports, testing and unstable. Only the version in unstable currently
>> has the firmware file you need to make your wifi chip work
>> (/lib/firmware/ath10k/QCA9377/hw1.0/firmware-6.bin) .
>>
>> You can download it yourself on one of the Debian mirrors:
>>
>> https://packages.debian.org/sid/all/firmware-atheros/download
>>
>> Then install the package with the command:
>>
>> dpkg -i firmware-atheros_20190502-1_all.deb
>>
>> This command must be issued in the directory where you downloaded the
>> package, and with root privileges.
>>
>> When this is done, simply reboot your system, or unload/reload the
>> driver module with:
>>
>> modprobe -r ath10k_pci
>> modprobe -r ath10k_core
>>
>> modprobe -v ath10k_core
>> modprobe -v ath10k
>>
>>
>> Ignore the "irq=" option for now, I am on Debian unstable and wrongly
>> assumed you had the needed firmware file already on your system.
>>
>
> HI,
>
> My system got crashed.
> After installing firmware-atheros, I tried modprobe commands. (Even before
> restarting)
> When i am done with last command which is "modprobe -v ath10k_pci", system
> got stuck.
> I had force shutdown, and restarting the laptop is hit with the same old
> problem like earlier crash.
>
> When i run through recovery mode, it says following (also seen during
> earlier crash)
> *ath10_pci *** : failed to recieve control response completion, polling ...*
>
> After that i tried booting via debian live usb, got the root prompt, tried
> following commands
>>> modprobe -r ath10k_pci
>>> modprobe -r ath10k_core
>>>
>>> modprobe -v ath10k_core
>>> modprobe -v ath10k_pci irq_mode=1
>
> It is still not working and is stuck while boot.
> Please suggest more.
>
> Sen
>


Hi, which version of the firmware-atheros package did you install ? Was
the installation successful, no error messages ?

When the boot sequence gets stuck, when exactly does it happen, what do
you see on the screen ? If you crashed the system a few times, the
file-system may need to be checked, did you see any message mentioning
"fsck" or file-system check ?

Nota: you can answer back to the list only, I am subscribed.


Hi, 

I installed the same version you have mentioned.
firmware-atheros_20190502-1_all.deb
I did not see any error messages.

I am attaching the screenshots
It stucks after "Started D-bug system Message bus" only if i boot via recovery mode.
I don't see any clear messages when boot through normal mode, but it does not continue. (at the very beginning stage). 

I dont think of "file-system" problem because it runs fine until firmware-atheros is installed. 
Also i have run the the memory test and check everything is fine.

 
Senthil Kumar



--
Senthil Kumar
Mob No : 9000311791