ArcoLinux 19.09 iso has been released

[SOLVED] Error message "Failed: Apply Kernel Variables" after latest updates

First check the forums - Do not know where to put it then put it here
jeschmie
recruit crewman
Posts: 2
Joined: Fri Jun 21, 2019 4:54 pm
United States of America
Re: [OPEN] Error message "Failed: Apply Kernel Variables" after latest updates

Post by jeschmie » Fri Jun 21, 2019 5:30 pm

Hello Erik & Arco fans!
I have been wondering why no one on the Arch forums has mentioned this error. Then I realized that I have not seen this error myself on my Arch installs on any of my 3 desktops. It has showed up on all my Arco installs, so I decided to investigate further. I first wondered where the entries below originated from and determined they come from /etc/sysctl.d/99-sysctl.conf. This file is dated 25 May and is on all my Arco systems.

June 18 14:18:46 tsundoku systemd-sysctl[335]: Couldn't write '0' to 'vm/dirty_background_bytes': Invalid argument
June 18 14:18:46 tsundoku systemd-sysctl[335]: Couldn't write '0' to 'vm/dirty_bytes': Invalid argument

Please reference the Arch Wiki here for more info: https://wiki.archlinux.org/index.php/Sysctl

If I comment out the two offending invalid argument entries, the error on boot is not seen. By the way, on my regular Arch installs, I don't have the file '99-sysctl.conf'. The directory or folder 'sysctl.conf' is there, but no file is located here.

For some reason the kernel (before June 18th) didn't seem to care about the '0' entries, but the two latest kernels including the 'LTS' ones are exposing those entries as invalid arguments.

I am hopeful that someone smarter or more knowledgeable then me can run with this and come up with a better fix. This is just a workaround. I recommend you leave your systems as they are for now since everything else seems to be fine.

Thank you Erik for your fine distro!

User avatar
erikdubois
Captain
Posts: 2498
Joined: Tue Nov 07, 2017 3:45 pm
Location: Belgium
Contact:
Belgium
Re: [OPEN] Error message "Failed: Apply Kernel Variables" after latest updates

Post by erikdubois » Fri Jun 21, 2019 6:01 pm

Nick just texted me with exactly the same solution.

We make a new package and all you need is type

Code: Select all

update
in your terminal.

When you reboot, you will see no error anymore.

Thanks for helping out.

It is not a work-around. You found the solution.

We delete the file and its contents in our update of arcolinux-system-config package version 19.07.1.
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.

jeschmie
recruit crewman
Posts: 2
Joined: Fri Jun 21, 2019 4:54 pm
United States of America
Re: [SOLVED] Error message "Failed: Apply Kernel Variables" after latest updates

Post by jeschmie » Fri Jun 21, 2019 6:34 pm

Thanks Erik & Nick,

Glad I was able to contribute. You made my day!

Regards,
John

User avatar
erikdubois
Captain
Posts: 2498
Joined: Tue Nov 07, 2017 3:45 pm
Location: Belgium
Contact:
Belgium
Re: [SOLVED] Error message "Failed: Apply Kernel Variables" after latest updates

Post by erikdubois » Fri Jun 21, 2019 6:36 pm

Thanks Jeshmie.

Thanks Nick.


Image
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.

Serial
Crewman
Posts: 46
Joined: Mon Jun 10, 2019 12:56 am
Brazil
Re: [SOLVED] Error message "Failed: Apply Kernel Variables" after latest updates

Post by Serial » Fri Jun 21, 2019 10:07 pm

Hello everyone

After this system update the problem here has also been solved (!) No more error message appears at startup of ArcoLinux Deepin

[2019-06-21 16:51] [ALPM] upgraded smbclient (4.10.4-1 -> 4.10.5-1)
[2019-06-21 16:51] [ALPM] upgraded libwbclient (4.10.4-1 -> 4.10.5-1)
[2019-06-21 16:51] [ALPM] upgraded arcolinux-system-config-git (19.6-1 -> 19.7-1)

Code: Select all

[edson@edson-pc6540br ~]$ update
[sudo] senha para edson: 
:: Sincronizando a base de dados de pacotes...
 core                                     134,4 KiB  55,4K/s 00:02 [------------------------------------] 100%
 extra                                   1634,0 KiB  82,3K/s 00:20 [------------------------------------] 100%
 community                                  4,8 MiB  86,7K/s 00:57 [------------------------------------] 100%
 multilib                                 171,2 KiB   124K/s 00:01 [------------------------------------] 100%
 arcolinux_repo                            30,2 KiB   126K/s 00:00 [------------------------------------] 100%
 arcolinux_repo.sig                       310,0   B  0,00B/s 00:00 [------------------------------------] 100%
 arcolinux_repo_3party                     10,1 KiB  0,00B/s 00:00 [------------------------------------] 100%
 arcolinux_repo_3party.sig                310,0   B  0,00B/s 00:00 [------------------------------------] 100%
 arcolinux_repo_submicron                   9,9 KiB  0,00B/s 00:00 [------------------------------------] 100%
 arcolinux_repo_submicron.sig             309,0   B  0,00B/s 00:00 [------------------------------------] 100%
:: Iniciando atualização completa do sistema...
 não há nada a fazer
[edson@edson-pc6540br ~]$ skel
[edson@edson-pc6540br ~]$ cb
                    /-                      edson@edson-pc6540br 
                   ooo:                     -------------------- 
                  yoooo/                    OS: ArcoLinuxB-deepin v19.06.1 
                 yooooooo                   Kernel: 5.1.12-arch1-1-ARCH 
                yooooooooo                  Uptime: 3 mins 
               yooooooooooo                 Packages: 1210 (pacman) 
             .yooooooooooooo                Shell: bash 5.0.7 
            .oooooooooooooooo               Resolution: 1920x1080 
           .oooooooarcoooooooo              DE: Deepin 
          .ooooooooo-oooooooooo             WM: Mutter(DeepinGala) 
         .ooooooooo-  oooooooooo            Theme: Arc-Dark [GTK2/3] 
        :ooooooooo.    :ooooooooo           Icons: Sardi-Arc [GTK2], Sardi-Mono-Colora [GTK3] 
       :ooooooooo.      :ooooooooo          Terminal: deepin-terminal 
      :oooarcooo         .oooarcooo         Terminal Font: Droid Sans Mono 11 
     :ooooooooy           .ooooooooo        CPU: Intel i3 540 (4) @ 3.067GHz 
    :ooooooooo   /ooooooooooooooooooo       GPU: Intel Core Processor 
   :ooooooooo      .-ooooooooooooooooo.     Memory: 866MiB / 7712MiB 
  ooooooooo-             -ooooooooooooo.
 ooooooooo-                 .-oooooooooo.                           
ooooooooo.                     -ooooooooo                           


[edson@edson-pc6540br ~]$ jctl
-- Logs begin at Fri 2019-06-21 16:57:41 -03, end at Fri 2019-06-21 17:00:39 -03. --
jun 21 16:57:43 edson-pc6540br kernel: usb 1-1.6: 3:1: cannot get freq at ep 0x84
jun 21 16:57:54 edson-pc6540br esets_mac[545]: error[02210000]: Cannot unblock removable media (org.freedeskt>
jun 21 16:58:01 edson-pc6540br lightdm[561]: gkr-pam: unable to locate daemon control file
jun 21 16:58:14 edson-pc6540br kernel: usb 1-1.6: 3:1: cannot get freq at ep 0x84
jun 21 16:58:15 edson-pc6540br kernel: usb 1-1.6: 3:1: cannot get freq at ep 0x84
jun 21 16:59:02 edson-pc6540br daemon/bluetooth[657]: bluetooth.go:236: Failed to activate service 'org.bluez>
                                                        ->  bluetooth.go:211
                                                        ->  asm_amd64.s:1337
Thank you to all involved

Serial


Post Reply

Return to “General Questions”