Bug 7514 (int139278/int-139458)

Summary: /etc/modules doesn't load modules as expected
Product: [Maemo Official Platform] System software Reporter: nathanael <nathan>
Component: UpstartAssignee: unassigned <nobody>
Status: RESOLVED FIXED QA Contact: upstart-bugs
Severity: major    
Priority: Medium CC: andre_klapper
Version: 5.0/(1.2009.42-11)   
Target Milestone: Harmattan   
Hardware: All   
OS: Maemo   

Description nathanael (reporter) 2009-12-31 01:28:11 UTC
SOFTWARE VERSION:
Kernel 1.2009.42-11.002

EXACT STEPS LEADING TO PROBLEM: 
Adding a module to "/etc/modules" should auto modprobe that module.

EXPECTED OUTCOME:
Modules in /etc/modules are loaded

ACTUAL OUTCOME:
Nothing happens

REPRODUCIBILITY:
Always

OTHER COMMENTS:
1. New "upstart" system does not run the "/init.d/modules-init-tools" script or
anything in the rdS.d directory (which has a symlink to modules-init-tools).

2. modules-init-tools script is also broken and missing "/etc/default/rcS" file
it tries to include.  Adding a "empty" file fixes the problem.


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.6)
Gecko/20091201 Firefox/3.5.6 (.NET CLR 3.5.30729) FirePHP/0.4
Comment 1 nathanael (reporter) 2009-12-31 01:30:53 UTC
To work around the issue you can add a new "modulename" file to /etc/event.d
adding (everything between the ----) replace modulename with the module you
want loaded at startup.
----
start on startup
exec modprobe modulename
----
Comment 2 Andre Klapper maemo.org 2010-01-04 13:26:10 UTC
Thanks for reporting this.
Confirming.

This will not be fixed for Maemo5, but is on the list for Maemo6.
Comment 3 Andre Klapper maemo.org 2010-06-01 10:50:55 UTC
Fixed for Maemo6.