Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118490 - alsa-driver-1.0.11_rc2, kernel 2.6.15 and CONFIG_PM_LEGACY
Summary: alsa-driver-1.0.11_rc2, kernel 2.6.15 and CONFIG_PM_LEGACY
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-09 23:38 UTC by Jaak Ristioja
Modified: 2008-06-05 19:37 UTC (History)
1 user (show)

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 Jaak Ristioja 2006-01-09 23:38:54 UTC
The modules won't load. The snd module complains:
snd: Unknown symbol pm_register
snd: Unknown symbol pm_unregister

All the other modules complain about unknown symbols, because snd has not been loaded. The compilation process of alsa-driver also outputs warnings about this, but does not fail.

Writing this report, this is what i discovered:

commit bca73e4bf8563d83f7856164caa44d5f42e44cca
Author: Jeff Garzik <jgarzik@pobox.com>
Date:   Sun Nov 13 16:06:25 2005 -0800

    [PATCH] move pm_register/etc. to CONFIG_PM_LEGACY, pm_legacy.h
    
    Since few people need the support anymore, this moves the legacy
    pm_xxx functions to CONFIG_PM_LEGACY, and include/linux/pm_legacy.h.
    
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Indeed, i disabled CONFIG_PM_LEGACY, because i really didn't expect anything to depend on it. Anyway, i would have expected this:

 * Checking for suitable kernel configuration options:

To at least issue a warning. I hope this is relevant.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-01-10 01:44:30 UTC
I have no experience with those checks, if kernel team can suggest something, it would really rocks :)
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-01-10 04:20:13 UTC
Okay check added, hopefully it will work.