general module gottcha...
Quoted 3 lines · Derek Homeier
Quoted 2 lines · Iain Sandoe
Quoted 2 lines
I did compile dmasound as module (I noticed that after applyiing your
patch,
Quoted 11 lines
Quoted 11 lines
Quoted 1 line
dmasound was unselected in .config - is there a reason for this?).
Yes, the
CONFIG_DMASOUNDchanged to a set ofCONFIG_DMASOUND_XXXXfor the various different platforms. Note there is no such thing as 'dmasound.o' any more :-)you have to modprobe:
soundcoredmasound_core<params>dmasound_awacs
Quoted 4 lines
Ay, that may be the rub! I think I've still seen 'dmasound.o' when I did a lsmod. I did not change conf.modules, that's for sure.
I have no idea, though, where I might have got the old dmasound.o from, because I made a 'mrproper' before the last compiles.
This is because (as things stand) modules_install does *not* remove un-built modules - just overwrites rebuilt ones with the new versions...
This is probably the only sensible behaviour (gurus?)...
I am (usually) paranoid and do a:
rm -rf /lib/modules/kernel-version-i'm-working-on
before doing modules_install :-)
Quoted 3 lines
I can imagine that
would have messed up everything a bit, though I'm wondering how the module got loaded with the wrong kernel version at all...
Hmmm.. it's probably a little too tolerant - I have module versioning switched on in all my compiles and that is quite successful at whining when you've forgotten to delete/update something.
Iain.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 11 lines · Iain Sandoe
Quoted 4 lines · Derek Homeier
Ay, that may be the rub! I think I've still seen 'dmasound.o' when I did a lsmod. I did not change conf.modules, that's for sure.
I have no idea, though, where I might have got the old dmasound.o from, because I made a 'mrproper' before the last compiles.This is because (as things stand)
modules_installdoes *not* remove un-built modules - just overwrites rebuilt ones with the new versions...
Quoted 7 lines
This is probably the only sensible behaviour (gurus?)...
I am (usually) paranoid and do a:
rm -rf /lib/modules/kernel-version-i'm-working-onbefore doing
modules_install:-)
I was quite aware of that, and recreated the modules dir several times, also because I built three versions in a series and moved the corresponding modules to a different place. I may have missed something there, though.
Quoted 8 lines
Quoted 3 lines
I can imagine that
would have messed up everything a bit, though I'm wondering how the module got loaded with the wrong kernel version at all...Hmmm.. it's probably a little too tolerant - I have module versioning switched on in all my compiles and that is quite successful at whining when you've forgotten to delete/update something.
Good idea! Where do you enable that?
Cheers,
Derek
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/