* general module gottcha...
@ 2000-07-12 13:06 Iain Sandoe
2000-07-12 13:43 ` Derek Homeier
0 siblings, 1 reply; 2+ messages in thread
From: Iain Sandoe @ 2000-07-12 13:06 UTC (permalink / raw)
To: Derek Homeier; +Cc: linuxppc-dev
Wed, Jul 12, 2000, Derek Homeier wrote:
> On Wed, 12 Jul 2000, Iain Sandoe wrote:
>>
>> > I did compile dmasound as module (I noticed that after applyiing your
patch,
>> > dmasound was unselected in .config - is there a reason for this?).
>>
>> Yes, the CONFIG_DMASOUND changed to a set of CONFIG_DMASOUND_XXXX for the
>> various different platforms. Note there is no such thing as 'dmasound.o'
>> any more :-)
>>
>> you have to modprobe:
>> soundcore
>> dmasound_core <params>
>> dmasound_awacs
>>
> 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 :-)
> 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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: general module gottcha...
2000-07-12 13:06 general module gottcha Iain Sandoe
@ 2000-07-12 13:43 ` Derek Homeier
0 siblings, 0 replies; 2+ messages in thread
From: Derek Homeier @ 2000-07-12 13:43 UTC (permalink / raw)
To: Iain Sandoe; +Cc: linuxppc-dev
On Wed, 12 Jul 2000, Iain Sandoe wrote:
>
> Wed, Jul 12, 2000, Derek Homeier wrote:
> > 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 :-)
>
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.
> > 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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-07-12 13:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-12 13:06 general module gottcha Iain Sandoe
2000-07-12 13:43 ` Derek Homeier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).