Failed module acpi in boot

Hi!

I have a problem with my OpenSUSE Leap42.1. I installed the OS and my kernel options were:


$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.1.15-8-default root=UUID=4f460bfb-60bf-4d21-963b-2c95d710b89a apm=off acpi=off mce=off barrier=off ide=nodma idewait=50 i8042.nomux irqpoll pci=nommconf resume=/dev/disk/by-uuid/d224cb91-9fe0-4f29-815f-f5857a8a5485 splash=silent quiet showopts

If I remove the **acpi=off, **my laptop can not boot (after the grub menu appears).

I executed:


$ lsmod | grep battery

and anything appears.

But if I add that module with:


# modprobe battery

The module loads but it is not persistent.

I have already added to **/etc/modprobe.d **in a file such as 20-battery.conf with the name of the module *battery, *but it does not works.

Can you help me?

Thanks.

Have you tried acpi=windows and acpi=linux (seperately), I cannot remember which one is default.

Bo

Another option is:

acpi_osi=Linux acpi_backlight=vendor

Have a look at: https://www.suse.com/documentation/sles10/book_sle_reference/data/sec_pmanage_acpi.html

Troubleshooting

There are two different types of problems. On one hand, the ACPI code of the kernel may contain bugs that were not detected in time. In this case, a solution will be made available for download.
More often, however, the problems are caused by the BIOS. Sometimes, deviations from the ACPI specification are purposely integrated in the BIOS to circumvent errors in the ACPI implementation
in other widespread operating systems. Hardware components that have serious errors in the ACPI implementation are recorded in a blacklist that prevents the Linux kernel from using ACPI for these components.

The first thing to do when problems are encountered is to update the BIOS. If the computer does not boot at all, one of the following boot parameters may be helpful:

pci=noacpi

Do not use ACPI for configuring the PCI devices.

acpi=ht

Only perform a simple resource configuration. Do not use ACPI for other purposes.

acpi=off

Disable ACPI.

WARNING: Problems Booting without ACPI

Some newer machines (especially SMP systems and AMD64 systems) need ACPI for configuring the hardware correctly. On these machines, disabling ACPI can cause problems.

Monitor the boot messages of the system with the command dmesg | grep -2i acpi (or all messages, because the problem may not be caused by ACPI) after booting.
If an error occurs while parsing an ACPI table, the most important table—the DSDT—can be replaced with an improved version. In this case, the faulty DSDT of the BIOS is ignored. The procedure is described in Section 28.5.4, Troubleshooting.

In the kernel configuration, there is a switch for activating ACPI debug messages. If a kernel with ACPI debugging is compiled and installed, experts searching for an error can be supported with detailed information.

If you experience BIOS or hardware problems, it is always advisable to contact the manufacturers. Especially if they do not always provide assistance for Linux, they should be confronted with the problems.
Manufacturers will only take the issue seriously if they realize that an adequate number of their customers use Linux.

Install acpid using zypper:

zypper in acpid

Thank bosim for your response.

I tried to set the two options seperately but it still does not work. I have already set it with the option acpi=force but the system does not boot.

I searched the options in:

https://www.kernel.org/doc/Documentation/kernel-parameters.txt

Thank all for your response.

Romanator

I took a look of that information, but it is from SLES10 and I do not have the path /proc/acpi. My OpenSuse is Leap 42.1 with systemd and the paths that I have related to acpi are: /lib/modules/4.1.15-8-default/kernel/drivers/acpi, /sys/module/acpi and /sys/module/acpi/parameters. I read the Troubleshooting section and I set the following debug options:

… cpi=off debug ignore_loglevel fbcon=scrollback:512k earlyprintk=vga,kee apm=off pci=noacpi

without de *acpi=off *parameter and it crashes at lines:

Loading Linux 4.1.15-8-default …
Loading initial ramdisk …
_

After that, it does not show me something else. I have to press the power-off button.

Hi,
have you fixed the problem?
I’m having the same issues with a HP Envy 15 laptop.
The strange thing is that with Tumbleweed everything works fine but I’d like to go with Leap.

Hi x3m3,

I haven’t fixed the problem. Maybe we can see the issue if we run the kernel in debug mode.

Am Mon, 12 Sep 2016 14:26:01 GMT
schrieb rmartinezv1102 <rmartinezv1102@no-mx.forums.microfocus.com>:

> x3m3;2792198 Wrote:
> > Hi,
> > have you fixed the problem?
> > I’m having the same issues with a HP Envy 15 laptop.
> > The strange thing is that with Tumbleweed everything works fine but I’d
> > like to go with Leap.
>
>
> Hi x3m3,
>
> I haven’t fixed the problem. Maybe we can see the issue if we run the
> kernel in debug mode.
>
>

Well, you could use Leap with a more recent kernel from one of these repos:

http://download.opensuse.org/repositories/Kernel:/

  • openSUSE-42.2 = kernel 4.4.X

  • stable = kernel 4.7.X (atm.)

If your machine is running well with 4.4.X from (upcoming) 42.2 it would be my
first choice as it will stay a 4.4.X for some considerable time.

If you rely on external proprietary drivers (fglrx or nvidia come to mind) you
will have to take care of them yourself, but that is not too complicated if you
once know how to do that.

AK


Never attribute to malice that which can be adequately explained by stupidity.
(R.J. Hanlon)

Update

New openSUSE 42.2 will be released in the 2nd week of November 2016.
The kernel 4.4x LTS will have patches backported from kernel 4.7x.

Thanks rmartinezv1102 and Akoellh,

If I select NoACPI before starting the installation everything goes fine but many features are not installed.
in the next days I’ll find the time to make another attempt and upload the logfile.
In the meantime I’m enjoying Leap 42.1 on another laptop (acer) where installation has been smooth.

Cheers

Don’t forget about openSUSE 42.2. Release date is this November.
If you have additional questions, you should subscribe to the openSUSE Factory ML.