Wifi not working in Lenovo laptop/Ideapad/Atheros QCA9377

2019-05-31 Thread 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


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

2019-05-31 Thread 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 
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


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

2019-05-31 Thread tv.deb...@googlemail.com

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.



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

2019-05-31 Thread idiotei...@gmail.com
Putting thread back on list, this was sent to me directly. Answer is at 
bottom.


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 :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 :00:02.0: Failed to load
DMC firmware [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 :03:00.0: Direct firmware load for
ath10k/pre-cal-pci-:03:00.0.bin failed with error -2May 31 12:58:48
debian kernel: [8.226118] ath10k_pci :03:00.0: Direct firmware load
for ath10k/cal-pci-:03:00.0.bin failed with error -2May 31 12:58:48
debian kernel: [8.226129] ath10k_pci :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 :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 :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 :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]:   [1559287730.5479]
manager[0x5578b9b35040]: monitoring kernel firmware directory
'/lib/firmware'.May 31 12:58:50 debian kernel: [   16.179299] r8169
: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 :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 tv.deb...@googlemail.com <
tv.deb...@googlemail.com> 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.



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

2019-05-31 Thread 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 idiotei...@gmail.com 
wrote:

> Putting thread back on list, this was sent to me directly. Answer is at
> bottom.
>
> 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 :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 :00:02.0: Failed to load
> > DMC firmware [
> 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 :03:00.0: Direct firmware load for
> > ath10k/pre-cal-pci-:03:00.0.bin failed with error -2May 31 12:58:48
> > debian kernel: [8.226118] ath10k_pci :03:00.0: Direct firmware
> load
> > for ath10k/cal-pci-:03:00.0.bin failed with error -2May 31 12:58:48
> > debian kernel: [8.226129] ath10k_pci :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 :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 :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 :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]:   [1559287730.5479]
> > manager[0x5578b9b35040]: monitoring kernel firmware directory
> > '/lib/firmware'.May 31 12:58:50 debian kernel: [   16.179299] r8169
> > :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 :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 tv.deb...@googlemail.com <
> > tv.deb...@googlemail.com> 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

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

2019-05-31 Thread tv.deb...@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 idiotei...@gmail.com 
wrote:


Putting thread back on list, this was sent to me directly. Answer is at
bottom.

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 :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 :00:02.0: Failed to load
DMC firmware [

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 :03:00.0: Direct firmware load for
ath10k/pre-cal-pci-:03:00.0.bin failed with error -2May 31 12:58:48
debian kernel: [8.226118] ath10k_pci :03:00.0: Direct firmware

load

for ath10k/cal-pci-:03:00.0.bin failed with error -2May 31 12:58:48
debian kernel: [8.226129] ath10k_pci :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 :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 :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 :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]:   [1559287730.5479]
manager[0x5578b9b35040]: monitoring kernel firmware directory
'/lib/firmware'.May 31 12:58:50 debian kernel: [   16.179299] r8169
: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 :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 tv.deb...@googlemail.com <
tv.deb...@googlemail.com> 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,

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

2019-06-01 Thread senthil kosapeta
On Fri, May 31, 2019 at 11:02 PM tv.deb...@googlemail.com <
tv.deb...@googlemail.com> 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 idiotei...@gmail.com <
> idiotei...@gmail.com>
> > wrote:
> >
> >> Putting thread back on list, this was sent to me directly. Answer is at
> >> bottom.
> >>
> >> 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 :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 :00:02.0: Failed to
> load
> >>> DMC firmware [
> >> 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 :03:00.0: Direct firmware load for
> >>> ath10k/pre-cal-pci-:03:00.0.bin failed with error -2May 31 12:58:48
> >>> debian kernel: [8.226118] ath10k_pci :03:00.0: Direct firmware
> >> load
> >>> for ath10k/cal-pci-:03:00.0.bin failed with error -2May 31 12:58:48
> >>> debian kernel: [8.226129] ath10k_pci :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 :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 :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 :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]:   [1559287730.5479]
> >>> manager[0x5578b9b35040]: monitoring kernel firmware directory
> >>> '/lib/firmware'.May 31 12:58:50 debian kernel: [   16.179299] r8169
> >>> :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
> :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 tv.deb...@googlemail.com <
> >>> tv.deb...@googlemail.com> 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 

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

2019-06-01 Thread tv.deb...@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.



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

2019-06-05 Thread 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 
wrote:

> On Sat, Jun 1, 2019 at 6:54 PM tv.deb...@googlemail.com <
> tv.deb...@googlemail.com> 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


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

2019-05-31 Thread rhkramer
On Friday, May 31, 2019 01:32:20 PM tv.deb...@googlemail.com 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!



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

2019-05-31 Thread tv.deb...@googlemail.com

On 31/05/2019 23:22, rhkra...@gmail.com wrote:

On Friday, May 31, 2019 01:32:20 PM tv.deb...@googlemail.com 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 ;-) .