You are not logged in.

#1 2012-03-26 18:28:28

rubik
Member
Registered: 2012-03-23
Posts: 104

[SOLVED] ArchLinux does not boot if AC adapter is plugged in.

Well, actually it does not boot when AC adapter is unplugged too! When I boot ArchLinux it stops working (i.e. the screen becomes completely black without the chance to recover it) just after it says: "Waiting for UDev uevents to be processed".

The only workaround I found is to plug in the AC adapter before turning the computer on and unplug it exactly after it started booting the kernel. Otherwise it does not complete the boot process (as I said, it stops at: "Waiting for UDev uevents to be processed").

More, on KDE startup I always see a message concerning Power Management, but it is too fast and I cannot read it. If I go to System Settings > Power Management I see this notice: "Power Management configuration module could not be loaded. The Power Management Service appears not to be running. This can be solved by starting or scheduling it inside `Startup and Shutdown`". Do I have to add `powerdevil` to `Startup and Shutdown` as pre-kde startup service?

As for my configuration I have this modules in my rc.conf:
MODULES=(ac battery button acpi-cpufreq cpufreq_ondemand acpi)

The last one was acpid, but at startup it said it could not find that module, so I changed it to acpi.

Thank you,
rubik

Last edited by rubik (2012-07-23 07:31:25)

Offline

#2 2012-03-26 18:38:51

astenorh
Member
From: Belgium
Registered: 2010-08-18
Posts: 5

Re: [SOLVED] ArchLinux does not boot if AC adapter is plugged in.

Does it work without loading the modules?

If you haven't tried, try see what happens. And if it does work without the modules try booting with each module one at a time. You might isolate the problem. Sorry if I can't be more specific. It is unlikely to be the governors module though.

Last edited by astenorh (2012-03-26 18:40:11)

Offline

#3 2012-03-26 19:12:25

rubik
Member
Registered: 2012-03-23
Posts: 104

Re: [SOLVED] ArchLinux does not boot if AC adapter is plugged in.

At the moment I cannot try but I remember that it started to behave like that from the very first boot (after the Archlinux installlation). I will try to disable the modules as you said.

Offline

#4 2012-03-27 16:14:04

rubik
Member
Registered: 2012-03-23
Posts: 104

Re: [SOLVED] ArchLinux does not boot if AC adapter is plugged in.

Ok, I tried and I got something
+ -------------------------- MODULES -----------------------------------+ Result        +
| ac battery button acpi-cpufreq cpufreq_ondemand acpi  | FAIL            |
| battery button acpi-cpufreq cpufreq_ondemand acpi      |  SUCCEED  |
| ac button acpi-cpufreq cpufreq_ondemand acpi             | SUCCEED   |
| battery                                                                      | SUCCEED   |
| ac                                                                            |  SUCCEED   |
| ac battery                                                                 |  FAIL            |
+--------------------------------------------------------------------------------+-------------------+

As you can see, it fails booting only when ac and battery are loaded together.

EDIT: With lsmod I can see nobody uses either ac or battery, so can I remove them from MODULES? This would solve the problem.

Mod Edit:  I added code tags -- that output was just too ugly  tongue  I took them back out, they did not help

Last edited by ewaller (2012-03-27 17:38:17)

Offline

#5 2012-03-28 11:00:41

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,374

Re: [SOLVED] ArchLinux does not boot if AC adapter is plugged in.

you should only put modules in rc.conf when udev/kernel autodetection doesn't work (or doesn't load them).

cpufreq_ondemand should definitely stay in modules.
If you have an intel processor acpi-cpufreq should also stay , i'd remove all others and check after boot if some are missing / things not working.

on my laptop i have only powernow-k8 (AMD proc) & cpufreq-ondemand in modules array.
The other modules are loaded/unloaded automagically.

Last edited by Lone_Wolf (2012-03-28 11:04:27)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#6 2012-03-28 11:58:52

rubik
Member
Registered: 2012-03-23
Posts: 104

Re: [SOLVED] ArchLinux does not boot if AC adapter is plugged in.

Thank you, I'll edit my rc.conf. I have an Intel Centrino Duo proc, what do I have to add in addition to acpi-cpufreq? I was wondering why cpufreq-ondemand was used by 0 processes (I used lsmod), shouldn't I remove it if it is useless?

Offline

#7 2012-03-28 12:15:09

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,374

Re: [SOLVED] ArchLinux does not boot if AC adapter is plugged in.

the acpi-cpufreq module should be the correct one for your processor.

cpufreq_ondemand is not useless, but the fact no processes use it suggests you have not configured power saving options correctly.

Check https://wiki.archlinux.org/index.php/Cpufreq for details on how to configure it.

Last edited by Lone_Wolf (2012-03-28 12:16:20)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#8 2012-07-23 07:31:07

rubik
Member
Registered: 2012-03-23
Posts: 104

Re: [SOLVED] ArchLinux does not boot if AC adapter is plugged in.

I discovered that it wasn't the AC or something, it was the hardware. To correctly install ArchLinux on Intel driver I had to add "i915" to the MODULES array in /etc/mkinitcpio.conf, like this one:
https://bbs.archlinux.org/viewtopic.php?id=145555

Offline

Board footer

Powered by FluxBB