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.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 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.
> >>
> >>
> >
>
>   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 via email to