Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191085 - livecd-tools: lack of acpi support in autoconfig
Summary: livecd-tools: lack of acpi support in autoconfig
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2007-09-02 18:51 UTC by Kristoffer
Modified: 2007-09-04 21:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kristoffer 2007-09-02 18:51:45 UTC
livecd-tools' autoconfig script doesn't load acpi modules like video, thermal and dock if acpi is enabled through the kernel command line. Instead you have to load them manually or add them to /etc/modules.autoload.d/kernel-2.6.

This is easily fixed by simply adding the following lines to somwewhere around row 290 in /etc/init.d/autoconfig:
                modprobe thermal >/dev/null 2>&1
                modprobe video >/dev/null 2>&1
                modprobe dock >/dev/null 2>&1

(this list might not be complete as there may be more acpi modules that I'm unaware of)  

Reproducible: Always

Steps to Reproduce:
1. generate a livecd with catalyst (and livecd-tools-1.0.35-r1)
2. boot livecd with acpi=on on the kernel command line
3. lsmod

Actual Results:  
livecd-tools' autoconfig script doesn't load acpi modules like video, thermal and dock.

Expected Results:  
autoconfig should load all available acpi modules.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-02 18:56:22 UTC

*** This bug has been marked as a duplicate of bug 71812 ***
Comment 2 Kristoffer 2007-09-02 19:57:29 UTC
Unless I'm mistaking, I think marking this bug as duplicate of [Bug 71812] was a mistake. This bug is about not all acpi modules being loaded by the autoconfig script. It doesn't have anything to do with insmod vs. modprobe and unwanted error messages being displayed.

Cheers!
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2007-09-04 21:34:06 UTC
Correct...
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2007-09-04 21:38:55 UTC
I've fixed this in SVN now...
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2007-09-04 21:46:14 UTC
OK.  This is in 1.0.36 which was just added to the tree.