Skip to main content
Topic: Battery not found, other systems don’t have this issue (Read 3724 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

Battery not found, other systems don’t have this issue

Code: [Select]
# /var/log/openrc.log
...
* Loading acpi_call ...
* Failed to load acpi_call :(
...
All the ACPI, uPower, eLoginD packages are installed before the reboot, but the system still doesn’t load the battery.
:) AMD APU R4750G Zen2 Lucienne-G GCN Vega8 :) ASRock DeskMini X300 AMD edition :) (14.9+46.9)GiB SoDiMM DDR4 RAM’s
:) Samsung 990PRO HS NVMe SSD 3.63TiB (nda0; with 2.61TiB ZPool) :) Kingston NV2 NVMe SSD 3.63TiB (nvme1n1; with 2.7TiB ZPool)
:) Samsung 860QVO 2.5’’ SSD 3.63TiB (sda; with 2.1TiB ZPool) :) Transcend 220Q 2.5’’ SSD 1.82TiB (sdb; with 1.29TiB ZPool)
:) Intehill 4K UHD LED-IGZo screen


Re: Battery not found, other systems don’t have this issue

Reply #2
Code: [Select]
# /var/log/openrc.log
...
* Loading acpi_call ...
* Failed to load acpi_call :(
...
All the ACPI, uPower, eLoginD packages are installed before the reboot, but the system still doesn’t load the battery.

If you try to start it manually /usr/sbin/acpid  what do you get as output?  I think all that acpid-openrc does is this.

Re: Battery not found, other systems don’t have this issue

Reply #3
Please, post the output of
Code: [Select]
$ sudo modprobe acpi_call
$ lsmod | grep acpi
Code: [Select]
[hd_scania@hd-scania ~]$ sudo modprobe acpi_call && lsmod|grep acpi
modprobe: FATAL: Module acpi_call not found in directory /lib/modules/4.20.12-artix1-1-ARTIX
[hd_scania@hd-scania ~]$
Kernel-specific issue should be ... Since other systems don’t occur this
:) AMD APU R4750G Zen2 Lucienne-G GCN Vega8 :) ASRock DeskMini X300 AMD edition :) (14.9+46.9)GiB SoDiMM DDR4 RAM’s
:) Samsung 990PRO HS NVMe SSD 3.63TiB (nda0; with 2.61TiB ZPool) :) Kingston NV2 NVMe SSD 3.63TiB (nvme1n1; with 2.7TiB ZPool)
:) Samsung 860QVO 2.5’’ SSD 3.63TiB (sda; with 2.1TiB ZPool) :) Transcend 220Q 2.5’’ SSD 1.82TiB (sdb; with 1.29TiB ZPool)
:) Intehill 4K UHD LED-IGZo screen

Re: Battery not found, other systems don’t have this issue

Reply #4
If you try to start it manually /usr/sbin/acpid  what do you get as output?  I think all that acpid-openrc does is this.

‘‘sudo acpid’’ command just runs without any logs. :)
:) AMD APU R4750G Zen2 Lucienne-G GCN Vega8 :) ASRock DeskMini X300 AMD edition :) (14.9+46.9)GiB SoDiMM DDR4 RAM’s
:) Samsung 990PRO HS NVMe SSD 3.63TiB (nda0; with 2.61TiB ZPool) :) Kingston NV2 NVMe SSD 3.63TiB (nvme1n1; with 2.7TiB ZPool)
:) Samsung 860QVO 2.5’’ SSD 3.63TiB (sda; with 2.1TiB ZPool) :) Transcend 220Q 2.5’’ SSD 1.82TiB (sdb; with 1.29TiB ZPool)
:) Intehill 4K UHD LED-IGZo screen

Re: Battery not found, other systems don’t have this issue

Reply #5
Code: [Select]
[hd_scania@hd-scania ~]$ sudo modprobe acpi_call && lsmod|grep acpi
modprobe: FATAL: Module acpi_call not found in directory /lib/modules/4.20.12-artix1-1-ARTIX
[hd_scania@hd-scania ~]$
Kernel-specific issue should be ... Since other systems don’t occur this
Your kernel installation is incomplete or botched, run
Code: [Select]
find /usr/lib/modules -name "*acpi_call*"
and post results. If it comes back empty, re-install your kernel.

Re: Battery not found, other systems don’t have this issue

Reply #6
Code: [Select]
[hd_scania@hd-scania ~]$ sudo updatedb && locate acpi_call|grep -e /usr/lib/modules 
/usr/lib/modules/extramodules-ARCH/acpi_call.ko.xz
/usr/lib/modules-load.d/acpi_call.conf
[hd_scania@hd-scania ~]$ cat /usr/lib/modules-load.d/acpi_call.conf                                                                                                                                                                                                                                                                            
acpi_call                                                                                                                                                                                                                                                                                                                                      
[hd_scania@hd-scania ~]$
Your kernel installation is incomplete or botched, run
Code: [Select]
find /usr/lib/modules -name "*acpi_call*"
and post results. If it's come back empty, re-install your kernel.
I have these acpi_call modules and what to do now? After kernel reinstallation the above results are remained the same. After a reboot then nothing wrong? :)
:) AMD APU R4750G Zen2 Lucienne-G GCN Vega8 :) ASRock DeskMini X300 AMD edition :) (14.9+46.9)GiB SoDiMM DDR4 RAM’s
:) Samsung 990PRO HS NVMe SSD 3.63TiB (nda0; with 2.61TiB ZPool) :) Kingston NV2 NVMe SSD 3.63TiB (nvme1n1; with 2.7TiB ZPool)
:) Samsung 860QVO 2.5’’ SSD 3.63TiB (sda; with 2.1TiB ZPool) :) Transcend 220Q 2.5’’ SSD 1.82TiB (sdb; with 1.29TiB ZPool)
:) Intehill 4K UHD LED-IGZo screen

Re: Battery not found, other systems don’t have this issue

Reply #7
Are you by any chance using the new arch kernel 5.0 or 5.0.1?
I tried it and had some problems, USB disks sticks, etc, wouldn't list on /dev/disk
Hwinfo would show that the system read the hw but this didn't translate in being able to access them or mount them.
I switched back to artix 4.19 and the problem went away.

Re: Battery not found, other systems don’t have this issue

Reply #8
Code: [Select]
[hd_scania@hd-scania ~]$ sudo updatedb && locate acpi_call|grep -e /usr/lib/modules 
/usr/lib/modules/extramodules-ARCH/acpi_call.ko.xz
/usr/lib/modules-load.d/acpi_call.conf
[hd_scania@hd-scania ~]$ cat /usr/lib/modules-load.d/acpi_call.conf                                                                                                                                                                                                                                                                            
acpi_call                                                                                                                                                                                                                                                                                                                                      
[hd_scania@hd-scania ~]$
I have these acpi_call modules and what to do now? After kernel reinstallation the above results are remained the same. After a reboot then nothing wrong? :)

Please, run the commands exactly as I requested. Not updatedbs, no locates, no greps. It makes it hard to get meaningful information. Even so, your result only showed a module in extramodules-ARCH and you seem to be running 4.20.12-artix1-1-ARTIX. No wonder your kernel can't load it.
Follow the instructions of my previous post and also show us your running kernel with uname -a.

Re: Battery not found, other systems don’t have this issue

Reply #9
My kernel is 4.20.12-ARTIX, and the outputs from the command you request are the same from:
Code: [Select]
/usr/lib/modules/extramodules-ARCH/acpi_call.ko.xz
Please, run the commands exactly as I requested. Not updatedbs, no locates, no greps. It makes it hard to get meaningful information. Even so, your result only showed a module in extramodules-ARCH and you seem to be running 4.20.12-artix1-1-ARTIX. No wonder your kernel can't load it.
Follow the instructions of my previous post and also show us your running kernel with uname -a.
:) AMD APU R4750G Zen2 Lucienne-G GCN Vega8 :) ASRock DeskMini X300 AMD edition :) (14.9+46.9)GiB SoDiMM DDR4 RAM’s
:) Samsung 990PRO HS NVMe SSD 3.63TiB (nda0; with 2.61TiB ZPool) :) Kingston NV2 NVMe SSD 3.63TiB (nvme1n1; with 2.7TiB ZPool)
:) Samsung 860QVO 2.5’’ SSD 3.63TiB (sda; with 2.1TiB ZPool) :) Transcend 220Q 2.5’’ SSD 1.82TiB (sdb; with 1.29TiB ZPool)
:) Intehill 4K UHD LED-IGZo screen


Re: Battery not found, other systems don’t have this issue

Reply #11
Install acpi_call-dkms, it should fix your problem.
Code: [Select]
[hd_scania@hd-scania ~]$ cat /var/log/rc*.log|grep -e acpi && pacman -Ss acpi_call-dkms
 * Stopping acpid ...
 * Stopping acpid ...
 * Loading module acpi_call ...
 * Failed to load acpi_call
 * Starting acpid ...
community/acpi_call-dkms 1.1.0-199 [installed]                                                                                                                                                                                                                                                                                                 
    A linux kernel module that enables calls to ACPI methods through /proc/acpi/call                                                                                                                                                                                                                                                           
galaxy/acpi_call-dkms 1.1.0-199 [installed]                                                                                                                                                                                                                                                                                                    
    A linux kernel module that enables calls to ACPI methods through /proc/acpi/call                                                                                                                                                                                                                                                           
[hd_scania@hd-scania ~]$ sudo rc-update|grep -e elogind -e acpi
                acpid | boot                                  
              elogind | boot                                  
[hd_scania@hd-scania ~]$
Seems useless :(
:) AMD APU R4750G Zen2 Lucienne-G GCN Vega8 :) ASRock DeskMini X300 AMD edition :) (14.9+46.9)GiB SoDiMM DDR4 RAM’s
:) Samsung 990PRO HS NVMe SSD 3.63TiB (nda0; with 2.61TiB ZPool) :) Kingston NV2 NVMe SSD 3.63TiB (nvme1n1; with 2.7TiB ZPool)
:) Samsung 860QVO 2.5’’ SSD 3.63TiB (sda; with 2.1TiB ZPool) :) Transcend 220Q 2.5’’ SSD 1.82TiB (sdb; with 1.29TiB ZPool)
:) Intehill 4K UHD LED-IGZo screen

Re: Battery not found, other systems don’t have this issue

Reply #12
Try re-installing, the acpi_call is missing from your kernel modules directory.
This is what you should be seeing:
Code: [Select]
hyperion:[nous]:~% uname -a
Linux hyperion 4.20.14-1-ck-haswell #1 SMP PREEMPT Tue Mar 5 16:47:13 EST 2019 x86_64 GNU/Linux
hyperion:[nous]:~% find /usr/lib/modules/`uname -r` -name "acpi_call*"
/usr/lib/modules/4.20.14-1-ck-haswell/kernel/drivers/acpi/acpi_call.ko
hyperion:[nous]:~% lsmod|grep acpi
acpi_call              16384  0
hyperion:[nous]:~% pacman -Q | grep acpi_call
acpi_call-dkms 1.1.0-195
hyperion:[nous]:~%

Re: Battery not found, other systems don’t have this issue

Reply #13
Code: [Select]
[hd_scania@hd-scania ~]$ uname -a && find /usr/lib/modules/`uname -r` -name "acpi_call*" && lsmod|grep -e acpi && pacman -Q|grep -e acpi_call
Linux hd-scania 5.0.2-artix1-1-ARTIX #1 SMP PREEMPT Thu Mar 14 22:57:06 UTC 2019 x86_64 GNU/Linux                                                                                                                                                                                                                                              
pata_acpi              16384  0
libata                278528  3 ata_piix,pata_acpi,ata_generic
acpi_call-dkms 1.1.0-199
[hd_scania@hd-scania ~]$
Note that I’m already 5.0.2 kernel that misses acpi kernel object somewhy. So downgrade the kernel as casually proposed before?
Try re-installing, the acpi_call is missing from your kernel modules directory.
This is what you should be seeing:
Code: [Select]
hyperion:[nous]:~% uname -a
Linux hyperion 4.20.14-1-ck-haswell #1 SMP PREEMPT Tue Mar 5 16:47:13 EST 2019 x86_64 GNU/Linux
hyperion:[nous]:~% find /usr/lib/modules/`uname -r` -name "acpi_call*"
/usr/lib/modules/4.20.14-1-ck-haswell/kernel/drivers/acpi/acpi_call.ko
hyperion:[nous]:~% lsmod|grep acpi
acpi_call              16384  0
hyperion:[nous]:~% pacman -Q | grep acpi_call
acpi_call-dkms 1.1.0-195
hyperion:[nous]:~%
:) AMD APU R4750G Zen2 Lucienne-G GCN Vega8 :) ASRock DeskMini X300 AMD edition :) (14.9+46.9)GiB SoDiMM DDR4 RAM’s
:) Samsung 990PRO HS NVMe SSD 3.63TiB (nda0; with 2.61TiB ZPool) :) Kingston NV2 NVMe SSD 3.63TiB (nvme1n1; with 2.7TiB ZPool)
:) Samsung 860QVO 2.5’’ SSD 3.63TiB (sda; with 2.1TiB ZPool) :) Transcend 220Q 2.5’’ SSD 1.82TiB (sdb; with 1.29TiB ZPool)
:) Intehill 4K UHD LED-IGZo screen

Re: Battery not found, other systems don’t have this issue

Reply #14
My guess is acpi_call-dkms fails to build the module for kernel 5. Perhaps, until this is fixed upstream, you should downgrade your kernel.