linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: problems when recompiling dmasound modules
@ 2001-01-04 13:17 Iain Sandoe
  2001-01-05 15:10 ` Michel Dänzer
  0 siblings, 1 reply; 8+ messages in thread
From: Iain Sandoe @ 2001-01-04 13:17 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Michel Ddnzer, linuxppc-dev


On Thu, Jan 4, 2001, Geert Uytterhoeven wrote:
> On Thu, 4 Jan 2001, Iain Sandoe wrote:
>> > Whenever I rebuild my linux-pmac-devel tree when the kernel version changed
I
>> > get bitten by this:
>> > The sound modules don't get rebuilt so their version doesn't match the
kernel
>> > version and they can't be insmoded.
[...]
>> and viola!
>> it seemed to work as before...
>>
>> (so maybe that wasn't what you were saying at all ;-)
>
> Real men
heeeey.... ;-)
>don't have the time to do `make mrproper' and `make 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 ;-)....

> so they rely on `make oldconfig' and `make 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.

> 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/

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: problems when recompiling dmasound modules
@ 2001-01-05 15:58 Iain Sandoe
  2001-01-05 21:20 ` Michel Dänzer
  0 siblings, 1 reply; 8+ messages in thread
From: Iain Sandoe @ 2001-01-05 15:58 UTC (permalink / raw)
  To: Michel Dänzer; +Cc: Geert Uytterhoeven, linuxppc-dev


Michel Dänzer wrote:
>> > so they rely on `make oldconfig' and `make 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.
>
> The problem only shows up when I boot the new kernel and try to insmod the
> dmasound modules, have you tried that?

yes, just double-checked (in case my mind was playing tricks...) all OK
AFAICT.

> 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'd assumed it was necessary... I can't recall ever seeing the Makefile
finish an oldconfig without saying "now do a make dep"...

ciao,
Iain.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: problems when recompiling dmasound modules
@ 2001-01-04  9:56 Iain Sandoe
  2001-01-04 11:51 ` Geert Uytterhoeven
  0 siblings, 1 reply; 8+ messages in thread
From: Iain Sandoe @ 2001-01-04  9:56 UTC (permalink / raw)
  To: Michel Ddnzer, linuxppc-dev



> Whenever I rebuild my linux-pmac-devel tree when the kernel version changed I
> get bitten by this:
> The sound modules don't get rebuilt so their version doesn't match the kernel
> version and they can't be insmoded.
> I can investigate to find a solution myself but I figured it should be easier
> for Geert or one of the other dmasound hackers to fix it.

I just did (after an absence of nearly six months ;-) :

rsync ppc.samba.og::linux-pmac-devel - which picked up 2.4.0-t13-p3
make mrproper
make menuconfig (selected, amongst other things, sound card support built
in, pmac sound as module)
make dep vmlinux modules modules_install
  - I saw it compile the damsound_core, dmasound_awacs
copied the kernel to my MacOS partition...
rebooted
modprobe dmasound_awacs

and viola!
it seemed to work as before...

(so maybe that wasn't what you were saying at all ;-)

ciao,
Iain.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread
* problems when recompiling dmasound modules
@ 2001-01-04  3:59 Michel Dänzer
  0 siblings, 0 replies; 8+ messages in thread
From: Michel Dänzer @ 2001-01-04  3:59 UTC (permalink / raw)
  To: linuxppc-dev


Whenever I rebuild my linux-pmac-devel tree when the kernel version changed I
get bitten by this:

The sound modules don't get rebuilt so their version doesn't match the kernel
version and they can't be insmoded.

I can investigate to find a solution myself but I figured it should be easier
for Geert or one of the other dmasound hackers to fix it.


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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-01-05 21:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-04 13:17 problems when recompiling dmasound modules Iain Sandoe
2001-01-05 15:10 ` Michel Dänzer
2001-01-05 15:20   ` Geert Uytterhoeven
  -- strict thread matches above, loose matches on Subject: below --
2001-01-05 15:58 Iain Sandoe
2001-01-05 21:20 ` Michel Dänzer
2001-01-04  9:56 Iain Sandoe
2001-01-04 11:51 ` Geert Uytterhoeven
2001-01-04  3:59 Michel Dänzer

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