I lose DNS resolution every 5 min on Gnome [QCA9377]

I have a problem with my internet connection, it seems like I lose the DNS service every 5 min, but the wifi still connected. I'm using Manjaro Gnome now, with Manjaro KDE I didn't have this problem.

Inxi info
System:
  Host: aaron-e5-573 Kernel: 4.14.141-1-MANJARO x86_64 bits: 64 
  compiler: gcc v: 9.1.0 Desktop: Gnome 3.32.2 wm: gnome-shell dm: GDM 
  Distro: Manjaro Linux 
Machine:
  Type: Laptop System: Acer product: Aspire E5-573 v: V3.72 
  serial: <root required> 
  Mobo: Acer model: ZORO_BH v: Type2 - A01 Board Version 
  serial: <root required> UEFI: Insyde v: 1.37 date: 02/16/2016 
Battery:
  ID-1: BAT1 charge: 32.1 Wh condition: 32.1/37.0 Wh (87%) volts: 17.1/14.8 
  model: SANYO AL15A32 serial: 56616 status: Full 
CPU:
  Topology: Dual Core model: Intel Core i5-5200U bits: 64 type: MT MCP 
  arch: Broadwell rev: 4 L2 cache: 3072 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 17607 
  Speed: 871 MHz min/max: 500/2700 MHz Core speeds (MHz): 1: 1330 2: 1392 
  3: 1315 4: 1703 
Graphics:
  Device-1: Intel HD Graphics 5500 vendor: Acer Incorporated ALI 
  driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:1616 
  Display: x11 server: X.org 1.20.5 driver: i915 compositor: gnome-shell 
  resolution: <xdpyinfo missing> 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 5500 (Broadwell GT2) 
  v: 4.5 Mesa 19.1.5 compat-v: 3.0 direct render: Yes 
Audio:
  Device-1: Intel Broadwell-U Audio vendor: Acer Incorporated ALI 
  driver: snd_hda_intel v: kernel bus ID: 00:03.0 chip ID: 8086:160c 
  Device-2: Intel Wildcat Point-LP High Definition Audio 
  vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel 
  bus ID: 00:1b.0 chip ID: 8086:9ca0 
  Sound Server: ALSA v: k4.14.141-1-MANJARO 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Acer Incorporated ALI driver: r8169 v: 2.3LK-NAPI port: 3000 
  bus ID: 02:00.0 chip ID: 10ec:8168 
  IF: enp2s0 state: down mac:
  Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter 
  vendor: Foxconn driver: ath10k_pci v: kernel port: 3000 bus ID: 03:00.0 
  chip ID: 168c:0042 
  IF: wlp3s0 state: up mac:  
Drives:
  Local Storage: total: 704.24 GiB used: 591.45 GiB (84.0%) 
  ID-1: /dev/sda vendor: SanDisk model: SDSSDP256G size: 238.47 GiB 
  speed: 6.0 Gb/s serial: 124729400509 
  ID-2: /dev/sdb type: USB vendor: Toshiba model: MQ01ABD050 
  size: 465.76 GiB serial: 1437SMD4S 
Partition:
  ID-1: / size: 60.00 GiB used: 9.64 GiB (16.1%) fs: f2fs dev: /dev/sda2 
  ID-2: /home size: 167.97 GiB used: 128.64 GiB (76.6%) fs: f2fs 
  dev: /dev/sda3 
Sensors:
  System Temperatures: cpu: 47.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 248 Uptime: 26m Memory: 15.59 GiB used: 2.49 GiB (16.0%) 
  Init: systemd v: 242 Compilers: gcc: N/A Shell: bash v: 5.0.9 
  running in: gnome-terminal inxi: 3.0.36
Journalctl info
-- Logs begin at Sat 2019-09-14 08:19:02 WEST, end at Sat 2019-09-14 19:00:20 W>
sep 14 18:32:03 aaron-e5-573 bluetoothd[578]: Failed to set mode: Blocked throu>
sep 14 18:32:13 aaron-e5-573 gdm-password][1192]: gkr-pam: unable to locate dae>
sep 14 18:32:17 aaron-e5-573 bluetoothd[578]: Failed to set mode: Blocked throu>
sep 14 18:38:52 aaron-e5-573 NetworkManager[577]: <error> [1568482732.9037] aud>
sep 14 18:43:15 aaron-e5-573 bluetoothd[578]: Failed to set mode: Blocked throu>
sep 14 18:48:48 aaron-e5-573 bluetoothd[578]: Failed to set mode: Blocked throu>
sep 14 18:49:04 aaron-e5-573 kernel: wlp3s0: failed to remove key (0, ff:ff:ff:>
lines 1-8/8 (END)...skipping...
-- Logs begin at Sat 2019-09-14 08:19:02 WEST, end at Sat 2019-09-14 19:00:20 WEST. --
sep 14 18:32:03 aaron-e5-573 bluetoothd[578]: Failed to set mode: Blocked through rfkill (0x12)
sep 14 18:32:13 aaron-e5-573 gdm-password][1192]: gkr-pam: unable to locate daemon control file
sep 14 18:32:17 aaron-e5-573 bluetoothd[578]: Failed to set mode: Blocked through rfkill (0x12)
sep 14 18:38:52 aaron-e5-573 NetworkManager[577]: <error> [1568482732.9037] audit: failed to open auditd socket: Protocol not >
sep 14 18:43:15 aaron-e5-573 bluetoothd[578]: Failed to set mode: Blocked through rfkill (0x12)
sep 14 18:48:48 aaron-e5-573 bluetoothd[578]: Failed to set mode: Blocked through rfkill (0x12)
sep 14 18:49:04 aaron-e5-573 kernel: wlp3s0: failed to remove key (0, ff:ff:ff:ff:ff:ff) from hardware (-110)
~
~

lines 1-8/8 (END)

-- Logs begin at Sat 2019-09-14 08:19:02 WEST, end at Sat 2019-09-14 19:00:20 WEST. --
sep 14 18:32:03 aaron-e5-573 bluetoothd[578]: Failed to set mode: Blocked through rfkill (0x12)
sep 14 18:32:13 aaron-e5-573 gdm-password][1192]: gkr-pam: unable to locate daemon control file
sep 14 18:32:17 aaron-e5-573 bluetoothd[578]: Failed to set mode: Blocked through rfkill (0x12)
sep 14 18:38:52 aaron-e5-573 NetworkManager[577]: <error> [1568482732.9037] audit: failed to open auditd socket: Protocol>
sep 14 18:43:15 aaron-e5-573 bluetoothd[578]: Failed to set mode: Blocked through rfkill (0x12)
sep 14 18:48:48 aaron-e5-573 bluetoothd[578]: Failed to set mode: Blocked through rfkill (0x12)
sep 14 18:49:04 aaron-e5-573 kernel: wlp3s0: failed to remove key (0, ff:ff:ff:ff:ff:ff) from hardware (-110)
~

I tried to modify the DNS to manual and add google DNS and check the power saving setting but I still have the problem.

Screenshot%20from%202019-09-14%2018-38-42

Thanks :slight_smile:

If you fiddle with dns and using Cloudflare - some routers and ISPs may make your life hard.

Desktop environments are the candy on top of the kernel including drivers.

So under the hood KDE and Gnome are the same - so this is probably a configurtion issue.

Looking at your inxi - I noted you are using 4.14? Any particular reason for that?

Change to linux52 and check if the issue persist.

Try a forum search - I think there is a firmware issue here.

1 Like

Yes it looks like a firmware problem (I already know about all problems with QCA9377), but it's a problem with Gnome, because with KDE Plasma works well. Now I'm trying with the kernel 4.19 LTS and I have the same problem. And I saw that Manjaro Gnome had installed 5.2 by default, that's weird because normally the default kernel is LTS right?. But also I have a problem with the kernel 5.X > my speakers are making a weird noise, that is the reason because I had the kernel 4.14 LTS.

Also I have new Issues with 4.19

Journalctl with 4.19
-- Logs begin at Sat 2019-09-14 08:19:02 WEST, end at Sat 2019-09-14 19:42:14 W>
sep 14 19:30:53 aaron-e5-573 kernel: dw_dmac INTL9C60:00: Missing DT data
sep 14 19:32:27 aaron-e5-573 gdm-password][3293]: gkr-pam: unable to locate dae>
lines 1-3/3 (END)...skipping...
-- Logs begin at Sat 2019-09-14 08:19:02 WEST, end at Sat 2019-09-14 19:42:14 WEST. --
sep 14 19:30:53 aaron-e5-573 kernel: dw_dmac INTL9C60:00: Missing DT data
sep 14 19:32:27 aaron-e5-573 gdm-password][3293]: gkr-pam: unable to locate daemon control file

lines 1-3/3 (END)

-- Logs begin at Sat 2019-09-14 08:19:02 WEST, end at Sat 2019-09-14 19:42:14 WEST. --
sep 14 19:30:53 aaron-e5-573 kernel: dw_dmac INTL9C60:00: Missing DT data
sep 14 19:32:27 aaron-e5-573 gdm-password][3293]: gkr-pam: unable to locate daemon control file
~

Let me try with the Kernel 5.2, but I'm completly sure this is a bug with Gnome, maybe with Gnome 3.34 the problem will fixed.

I will post againg when I will install the kernel 5.2, thanks :slight_smile:

Do you mean on the same installation, or another one (other partition, or else)?
It would be helpful to see any journal messages on this

journalctl -b -g "failed|disconnect" --no-pager

or other search, look into the logs for the part with the difficulties to connect (NetworkManager etc)

Hello, this is a new installation on the same partition. Now I'm trying with the kernel 5.2. Now the connection is very slow but stable, so weird. But still with some issues related with the wifi card.

Journalctl -p 3 -xb
-- Logs begin at Sat 2019-09-14 08:19:02 WEST, end at Sat 2019-09-14 19:59:04 W>
sep 14 19:51:12 aaron-e5-573 kernel: dw_dmac INTL9C60:00: Missing DT data
sep 14 19:51:13 aaron-e5-573 kernel: intel-spi intel-spi: error -22 reading CR
sep 14 19:51:13 aaron-e5-573 kernel: intel-spi intel-spi: error while reading c>
sep 14 19:51:13 aaron-e5-573 kernel: intel-spi intel-spi: fail to clear block p>
sep 14 19:52:44 aaron-e5-573 gdm-password][3275]: gkr-pam: unable to locate dae>
lines 1-6/6 (END)...skipping...
-- Logs begin at Sat 2019-09-14 08:19:02 WEST, end at Sat 2019-09-14 19:59:04 WEST. --
sep 14 19:51:12 aaron-e5-573 kernel: dw_dmac INTL9C60:00: Missing DT data
sep 14 19:51:13 aaron-e5-573 kernel: intel-spi intel-spi: error -22 reading CR
sep 14 19:51:13 aaron-e5-573 kernel: intel-spi intel-spi: error while reading configuration register
sep 14 19:51:13 aaron-e5-573 kernel: intel-spi intel-spi: fail to clear block protection bits
sep 14 19:52:44 aaron-e5-573 gdm-password][3275]: gkr-pam: unable to locate daemon control file

lines 1-6/6 (END)

-- Logs begin at Sat 2019-09-14 08:19:02 WEST, end at Sat 2019-09-14 19:59:04 WEST. --
sep 14 19:51:12 aaron-e5-573 kernel: dw_dmac INTL9C60:00: Missing DT data
sep 14 19:51:13 aaron-e5-573 kernel: intel-spi intel-spi: error -22 reading CR
sep 14 19:51:13 aaron-e5-573 kernel: intel-spi intel-spi: error while reading configuration register
sep 14 19:51:13 aaron-e5-573 kernel: intel-spi intel-spi: fail to clear block protection bits
sep 14 19:52:44 aaron-e5-573 gdm-password][3275]: gkr-pam: unable to locate daemon control file
journalctl -b -g "failed|disconnect" --no-pager
-- Logs begin at Sat 2019-09-14 08:19:02 WEST, end at Sat 2019-09-14 20:00:36 WEST. --
sep 14 19:51:13 aaron-e5-573 kernel: intel-spi intel-spi: failed to locate the chip
sep 14 19:51:13 aaron-e5-573 kernel: intel-spi: probe of intel-spi failed with error -22
sep 14 19:52:33 aaron-e5-573 /usr/lib/gdm-x-session[2812]: (WW) Failed to open protocol names file lib/xorg/protocol.txt
sep 14 19:52:33 aaron-e5-573 /usr/lib/gdm-x-session[2812]: (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
sep 14 19:52:33 aaron-e5-573 /usr/lib/gdm-x-session[2812]: xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
sep 14 19:52:34 aaron-e5-573 gnome-shell[2876]: Failed to launch ibus-daemon: Failed to execute child process “ibus-daemon” (No such file or directory)
sep 14 19:52:35 aaron-e5-573 gnome-shell[2876]: No permission to trigger offline updates: Polkit.Error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.packagekit.trigger-offline-update is not registered
sep 14 19:52:37 aaron-e5-573 dbus-daemon[2666]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found.
sep 14 19:52:37 aaron-e5-573 geoclue[3043]: Failed to connect to avahi service: Daemon not running
sep 14 19:52:37 aaron-e5-573 NetworkManager[2667]: <info>  [1568487157.6522] device (p2p-dev-wlp3s0): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
sep 14 19:52:37 aaron-e5-573 NetworkManager[2667]: <info>  [1568487157.6526] device (wlp3s0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
sep 14 19:52:37 aaron-e5-573 NetworkManager[2667]: <warn>  [1568487157.6576] sup-iface: failed to cancel p2p connect: P2P cancel failed
sep 14 19:52:38 aaron-e5-573 pulseaudio[3021]: E: [pulseaudio] backend-ofono.c: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files
sep 14 19:52:38 aaron-e5-573 dbus-daemon[2666]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found.
sep 14 19:52:40 aaron-e5-573 dbus-daemon[2666]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found.
sep 14 19:52:42 aaron-e5-573 NetworkManager[2667]: <info>  [1568487162.4978] device (wlp3s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
sep 14 19:52:44 aaron-e5-573 /usr/lib/gdm-x-session[3430]: _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
sep 14 19:52:44 aaron-e5-573 polkitd[2693]: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.26, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
sep 14 19:52:44 aaron-e5-573 /usr/lib/gdm-x-session[3430]: (WW) Failed to open protocol names file lib/xorg/protocol.txt
sep 14 19:52:45 aaron-e5-573 /usr/lib/gdm-x-session[3430]: (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
sep 14 19:52:45 aaron-e5-573 /usr/lib/gdm-x-session[3430]: xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
sep 14 19:52:46 aaron-e5-573 gnome-shell[3520]: Failed to launch ibus-daemon: Failed to execute child process “ibus-daemon” (No such file or directory)
sep 14 19:52:46 aaron-e5-573 pulseaudio[3552]: E: [pulseaudio] backend-ofono.c: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files
sep 14 19:52:47 aaron-e5-573 gnome-shell[3520]: No permission to trigger offline updates: Polkit.Error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.packagekit.trigger-offline-update is not registered
sep 14 19:52:47 aaron-e5-573 dbus-daemon[2666]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found.
sep 14 19:52:47 aaron-e5-573 gsd-xsettings[3666]: Failed to get current display configuration state: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.Mutter.DisplayConfig" does not exist
sep 14 19:52:47 aaron-e5-573 gsd-sharing[3678]: Failed to StopUnit service: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit rygel.service not loaded.
sep 14 19:52:47 aaron-e5-573 gsd-sharing[3678]: Failed to StopUnit service: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit gnome-remote-desktop.service not loaded.
sep 14 19:52:47 aaron-e5-573 gsd-sharing[3678]: Failed to StopUnit service: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit rygel.service not loaded.
sep 14 19:52:47 aaron-e5-573 gsd-sharing[3678]: Failed to StopUnit service: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit gnome-remote-desktop.service not loaded.
sep 14 19:52:47 aaron-e5-573 dbus-daemon[2666]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.resolve1.service': Unit dbus-org.freedesktop.resolve1.service not found.
sep 14 19:52:48 aaron-e5-573 gsd-media-keys[3645]: g_variant_get_va: assertion 'value != NULL' failed
sep 14 19:52:48 aaron-e5-573 gsd-media-keys[3645]: g_variant_unref: assertion 'value != NULL' failed
sep 14 19:52:51 aaron-e5-573 org.freedesktop.FileManager1[3439]: Failed to register: Unable to acquire bus name 'org.gnome.Nautilus'
sep 14 19:52:51 aaron-e5-573 dbus-daemon[3439]: [session uid=1000 pid=3439] Activated service 'org.freedesktop.FileManager1' failed: Process org.freedesktop.FileManager1 exited with status 1

/etc/resolv.conf
# Generated by NetworkManager
search Home
nameserver 87.216.1.65
nameserver 87.216.1.66

Thanks :slight_smile:

Slow compared to what?

I don't see such thing in your posted info. Post what you think a problem.

which means that this problem might have also happened on KDE. Anyway it could be just a local problem (your router, your provider, the weather, a thunder strike, etc), until you discover relevant messages or other objective info from the system...

The internet connection is working well, I have 3 laptops. There is not a problem outside. The problem started when I installed Manjaro Gnome and I have issues, you can see in my journalctl info, with Manjaro KDE I have 0 issues. So it's a problem with Gnome or with the latest update, but also because of the firmware of course.

I played with this:

And now it looks like the connection is good, the internet is working fine, but the same issues on the output, but the important thing is now is working well, so nevermind. Thanks for your help :slight_smile:

which means the "issues" were not the problem. I still believe it was the weather!

Have fun! :laughing:

1 Like

I think the problem was fixed when I downloaded the firmware-5.bin from the github page and replaced for the firmware-6.bin. But yeahh this problem is so random. The weather here is Sunny, and when it's raining or an horrible temporal is working well too.

1 Like

I marked @linux-aarhus's post as the solution as his suggestions appeared to have led to you being able to solve your issue. :wink:

2 Likes

Thanks Yochanan :slight_smile:

To be clear about what changes I did, this is for everyone who find this thread:

1- I edited /etc/default/grub:

And I added pcie_aspm=off to GRUB_CMDLINE_LINUX_DEFAULT at the final if you have more options, just like that:

GRUB_CMDLINE_LINUX_DEFAULT="apparmor=1 security=apparmor udev.log_priority=3 pcie_aspm=off"

Then update the grub:

sudo upgrade-grub

2- I downloaded the latest update of firmware-5.bin from kvalo/ath10k-firmware :

I renamed the file to firmware-6.bin and replace the original in /usr/lib/firmware/ath10k/QCA9377/hw1.0/firmware-6.bin

First, backup: mv /usr/lib/firmware/ath10k/QCA9377/hw1.0/firmware-6.bin /usr/lib/firmware/ath10k/QCA9377/hw1.0/firmware-6.bin.bak

Second, replace: mv /home/user/Downloads/firmware-6.bin /usr/lib/firmware/ath10k/QCA9377/hw1.0/firmware-6.bin

And the wifi works fine with any kernel. I hope this helps other users, thanks :slight_smile:

1 Like

You need to be aware that anytime the linux-firmware package updates you may need to repeat the firmware replacement procedure.

This can be easily scripted, or you could use a bash alias to execute the required commands. Also, perhaps a pacman hook could be created to automate the procedure for you.

1 Like

Yes I know, I remember when you created the pacman hook for that, but I tried and it didn't work. But an Alias is a good idea, thanks TBG :slight_smile:

1 Like

There is also one other possibility to automate the process. You could create a startup service that executes the commands automatically. As long as you reboot after a system update then the process should not require any manual intervention.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by