Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 191085

Summary: livecd-tools: lack of acpi support in autoconfig
Product: Gentoo Linux Reporter: Kristoffer <krek6597>
Component: Current packagesAssignee: Gentoo LiveCD Package Maintainers <livecd>
Status: RESOLVED FIXED    
Severity: minor Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

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.