Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191003 - compile gentoo-sources 2.6.22-5 EMT64T, flat memory model, alsa modules missing symbols
Summary: compile gentoo-sources 2.6.22-5 EMT64T, flat memory model, alsa modules missi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-01 20:21 UTC by Bogdan Nicolae
Modified: 2007-09-02 09:38 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 Bogdan Nicolae 2007-09-01 20:21:55 UTC
When compiling the gentoo-sources 2.6.22-r5 kernel, if disabling NUMA support and
choosing the flat memory model and choosing to compile ALSA as a module, the resulting modules give a warning that they miss the mem_select symbol when doing a "make modules_install". Of course, those modules are useless.


Reproducible: Always

Steps to Reproduce:
1. emerge the gentoo-sources 2.6.22-r5
2. select core 2 duo, 64 bit support
3. disable NUMA, select flat memory model
4. select to compile ALSA as a module.
5. save configuration, compile the kernel + modules and install setup.
Actual Results:  
compiled alsa modules are missing the mem_select symbol and cannot be inserted.

Expected Results:  
kernel compilation should be clean, regardless of chosen options.

Tested the sparse memory model, works perfectly for gentoo-sources.
Tested the flat memory model with vanilla 2.6.22.5 sources, works perfectly.
I guess it is the gentoo patches causing problems.
Comment 1 Mike Pagano gentoo-dev 2007-09-01 20:45:05 UTC
As gentoo-sources-2.6.22-gentoo-r6 is the revision bump for Linux 2.6.22.5 and 2.6.22.6 could you please test with this version.

My hope is that since you had success with vanilla 2.6.22.5, we will see the same results with gentoo-r6.

Comment 2 Bogdan Nicolae 2007-09-02 09:38:05 UTC
(In reply to comment #1)
> As gentoo-sources-2.6.22-gentoo-r6 is the revision bump for Linux 2.6.22.5 and
> 2.6.22.6 could you please test with this version.
> 
> My hope is that since you had success with vanilla 2.6.22.5, we will see the
> same results with gentoo-r6.
> 

Yes, gentoo-sources-2.6.22-gentoo-r6 seems to fix this problem.