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

Bug 118490

Summary: alsa-driver-1.0.11_rc2, kernel 2.6.15 and CONFIG_PM_LEGACY
Product: Gentoo Linux Reporter: Jaak Ristioja <jaak>
Component: [OLD] UnspecifiedAssignee: Gentoo Sound Team <sound>
Status: VERIFIED FIXED    
Severity: normal CC: kernel
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.