problems when recompiling dmasound modules
Quoted 2 lines · Geert Uytterhoeven
Quoted 1 line · Iain Sandoe
Quoted 1 line
Whenever I rebuild my linux-pmac-devel tree when the kernel version changed
I
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
get bitten by this:
The sound modules don't get rebuilt so their version doesn't match the
kernel
Quoted 1 line
Quoted 1 line
Quoted 1 line
version and they can't be insmoded.
[...]
Quoted 6 lines
Quoted 4 lines
and viola!
it seemed to work as before...(so maybe that wasn't what you were saying at all ;-)
Real men
heeeey.... ;-)
Quoted 2 lines
don't have the time to do
make mrproper' andmake menuconfig' every time the kernel changed,
true enough - although for those of us using rsync (even when doing your cp -rl method for maintaining trees) it often takes less time than figuring out which changes to options depend on which *when the version changes*.
(and, OK, I don't often hand-edit .config - but every now and then ;-)....
Quoted 2 lines
so they rely on
make oldconfig' andmake dep'
instead...
vi Makefile, change EXTRAVERSION to append -ids (my usual kinda practice)...
make oldconfig dep vmlinux modules
- builds dmasound_core & dmasound_awacs
make_install creates a new /lib/modules/2.4.0-test13-pre3-ids and the modules appear to be installed...
so... it seems to work for me.
Quoted 1 line
Sorry Michel, no clue...
IIRC there was, about 8 months ago, a problem with modversions.h dependencies in the dmasound driver... it doesn't seem to be there in the set of code I just pulled.
so... am I still missing the problem?
Iain.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 4 lines · Iain Sandoe
Quoted 1 line
so they rely on
make oldconfig' andmake dep' instead...vi
Makefile, change EXTRAVERSION to append -ids (my usual kinda practice)...
Quoted 8 lines
make oldconfig dep vmlinux modules
- builds
dmasound_core&dmasound_awacs
make_installcreates a new/lib/modules/2.4.0-test13-pre3-idsand the modules appear to be installed...so... it seems to work for me.
The problem only shows up when I boot the new kernel and try to insmod the dmasound modules, have you tried that?
If make dep is always needed after make oldconfig that may be the problem as I also rely on make oldconfig telling me if I have to do that. (real men, you know ;)
I'll report back when I've had the chance to test that.
Michel
--
Earthling Michel Dänzer (MrCooper) \ CS student and free software enthusiast
Debian GNU/Linux (powerpc,i386) user \ member of XFree86 and The DRI Project
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 14 lines · Michel Dänzer
Quoted 4 lines · Iain Sandoe
Quoted 1 line
so they rely on
make oldconfig' andmake dep' instead...vi
Makefile, change EXTRAVERSION to append -ids (my usual kinda practice)...Quoted 8 lines
make oldconfig dep vmlinux modules
- builds
dmasound_core&dmasound_awacs
make_installcreates a new/lib/modules/2.4.0-test13-pre3-idsand the modules appear to be installed...so... it seems to work for me.
Quoted 7 lines
The problem only shows up when I boot the new kernel and try to insmod the dmasound modules, have you tried that?
If make dep is always needed after make oldconfig that may be the problem as I also rely on make oldconfig telling me if I have to do that. (real men, you know ;)
I always do make dep after make oldconfig.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/