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.
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.
(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.