You are not logged in.

#1 2011-08-08 13:28:49

Camus
Member
Registered: 2011-07-03
Posts: 71

[SOLVED] Failure when loading modules, but everything works fine

I've updated Linux from 2.6 to 3.0, everything seems to be working as before, but I'm getting this when booting:

Loading modules          [FAIL]

I don't see anything relevant in dmesg output, everything seems to be loaded fine. Is anybody else getting the same error since the kernel update?

Last edited by Camus (2011-08-08 14:07:56)

Offline

#2 2011-08-08 13:30:34

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] Failure when loading modules, but everything works fine

Check against each modules that you are trying to load to see which one is failing.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-08-08 13:30:36

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Failure when loading modules, but everything works fine

paste rc.conf


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2011-08-08 13:33:54

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: [SOLVED] Failure when loading modules, but everything works fine

Well, you can use lsmod to check what modules are or aren't loaded.
Anyway, if you have virtualbox, you should recompile the modules with

rc.d setup vboxdrv

and it will solve your problem.

Offline

#5 2011-08-08 13:51:04

Danylo
Member
Registered: 2011-08-08
Posts: 3

Re: [SOLVED] Failure when loading modules, but everything works fine

Do you have any blacklisting remnants from before the change in your rc.conf ?

If so , removing them will probably fix the problem.

Offline

#6 2011-08-08 14:07:22

Camus
Member
Registered: 2011-07-03
Posts: 71

Re: [SOLVED] Failure when loading modules, but everything works fine

Thanks for the quick replies!

Here's my modules list from rc.conf:

MODULES=(tp_smapi acpi-cpufreq)

The issue was with tp_smapi. It isn't listed in lsmod output and I can't load it via modprobe:

# modprobe tp_smapi
FATAL: Module tp_smapi not found.
# modprobe tp-smapi
FATAL: Module tp_smapi not found.

What's strange is that Tp smapi's functionality seems to be there anyway... It's a module for battery control in Thinkpads and my battery indeed doesn't charge beyond 80%, the way I want it to be. And this is really strange, because the script that sets threshold at boot doesn't work, since there's no 'smapi' directory in /sys/devices/platform anymore.

Anyway, I've removed tp_smapi from modules list and there's no 'FAIL' message anymore. Thanks for the help!

Last edited by Camus (2011-08-08 14:08:47)

Offline

#7 2011-08-19 10:41:30

idx
Member
Registered: 2009-07-22
Posts: 34

Re: [SOLVED] Failure when loading modules, but everything works fine

What's strange is that Tp smapi's functionality seems to be there anyway... It's a module for battery control in Thinkpads and my battery indeed doesn't charge beyond 80%, the way I want it to be.

I'm having the same issue. I think you will find that the "functionality" isn't provided, as you said, /sys/devices/platform/smapi doesn't exist, and that your battery is actually remembering the last charge limits you sent to it. Try to remove the battery and put it back, I'm nearly sure that it'll lose them. This is what happens to me on my second battery, the ultra-bay one, which I occasionally have to remove to insert my CD drive.

No idea why tp_smapi doesn't load when put in MODULES in rc.conf, but workarounds should be easy. Alternatively, if you only use it to update your charge settings, you can just manually load it each time you need to.

EDIT :
Have just found out that by manually adding thinkpad_ec before tp_smapi in MODULES in rc.conf, everything loads. Strange, since thinkpad_ec should be loaded automatically with tp_smapi. But hey, it works.

Last edited by idx (2011-08-19 11:08:08)

Offline

#8 2011-08-19 14:00:23

Camus
Member
Registered: 2011-07-03
Posts: 71

Re: [SOLVED] Failure when loading modules, but everything works fine

Yeah, I figured out that too (about reseting the values by removing the battery).

I've fixed tp_smapi but, I can't remember how exactly I've did it. I've installed tp_smapi-builder from AUR and the after-install output said I should run some command to set it up. I've then uninstalled tp_smapi-builder.

Offline

Board footer

Powered by FluxBB