Brian Parish wrote:
> Frans Ketelaars wrote:
> 
> ALSA rc2 placed my snd-seq-device.o here:
> /lib/modules/2.4.18-6mdk/kernel/sound/acore/seq/snd-seq-device.o
> 
> I think you'll find with 
> 'rpm -qf /lib/modules/2.4.18-8.1mdk/alsa/snd-seq-device.o.gz' that it's
> part
> of the new kernel RPM, not your newly installed rc2 :) HTH,
> 
>     -Frans
> 
> Hi Frans,
> 
> It certainly helps me understand what's going on, but I'm not quite
> smart enough to turn that into a solution.  I see now that everything
> in: /lib/modules/2.4.18-8.1mdk/alsa/ is from the kernel rpm.  If I
> remove this stuff, modprobe no longer finds anything.  The rc2 install
> has built everything, but put it all elsewhere and modprobe just wants
> to find the old stuff.  How do I point modprobe in the right direction?

Well, I made symlinks in /usr/include :

linux -> /usr/src/linux/include/linux
asm      -> /usr/src/linux/include/asm (that points itself to asm-i386)
asm-generic -> /usr/src/linux/include/asm-generic

/usr/src/linux poins to /usr/src/linux-2.4.18-8.1mdk

removed ALSA related modules from /lib/modules
depmod -a
ldconfig
removed alsa-driver sources
unpacked them again, cd alsadriver-0.9.0rc2
./configure --with-sequencer=yes --with-oss=yes
make
make install
ldconfig
depmod -a
service alsa start

Same problem:

Starting ALSA version 
none:/lib/modules/2.4.18-8.1mdk/kernel/sound/acore/snd.o: unresolved 
symbol register_sound_special_R69a88294
/lib/modules/2.4.18-8.1mdk/kernel/sound/acore/snd.o: unresolved symbol 
unregister_sound_special_R99c95fa5
modprobe: insmod /lib/modules/2.4.18-8.1mdk/kernel/sound/acore/snd.o failed
modprobe: insmod snd failed

[root@localhost taupter]# cd /lib/modules/2.4.18-8.1mdk/
[root@localhost 2.4.18-8.1mdk]# grep unregister_sound_special * -R
build/drivers/sound/cmpci.c: 
unregister_sound_special(s->dev_dmfm);
build/drivers/sound/cmpci.c: 
unregister_sound_special(s->dev_dmfm);
build/drivers/sound/esssolo1.c: unregister_sound_special(s->dev_dmfm);
build/drivers/sound/soundcard.c:        unregister_sound_special(1);
build/drivers/sound/soundcard.c:        unregister_sound_special(1);
build/drivers/sound/soundcard.c:        unregister_sound_special(8);
build/drivers/sound/sound_core.c: *     unregister_sound_special - 
unregister a special sound device
build/drivers/sound/sound_core.c:void unregister_sound_special(int unit)
build/drivers/sound/sound_core.c:EXPORT_SYMBOL(unregister_sound_special);
build/drivers/sound/dmasound/dmasound_core.c: 
unregister_sound_special(state_unit);
build/drivers/sound/sonicvibes.c: 
unregister_sound_special(s->dev_dmfm);
build/include/linux/sound.h:extern void unregister_sound_special(int unit);
build/include/linux/modules/sound_core.ver:#define 
__ver_unregister_sound_special       _ver_str(99c95fa5)
build/include/linux/modules/sound_core.ver:#define 
unregister_sound_special _set_ver(unregister_sound_special)
Arquivo binário kernel/sound/acore/snd.o casa com o padrão (matches)

[root@localhost 2.4.18-8.1mdk]# mv modules.dep modules.old
[root@localhost 2.4.18-8.1mdk]# depmod -a
depmod: /lib/modules/2.4.18-8.1mdk/modules.old is not an ELF file
depmod: *** Unresolved symbols in 
/lib/modules/2.4.18-8.1mdk/kernel/3rdparty/audigy/audigy.o.gz
depmod: *** Unresolved symbols in 
/lib/modules/2.4.18-8.1mdk/kernel/3rdparty/dxr3/em8300.o.gz
depmod: *** Unresolved symbols in 
/lib/modules/2.4.18-8.1mdk/kernel/drivers/media/radio/miropcm20.o.gz
depmod: *** Unresolved symbols in 
/lib/modules/2.4.18-8.1mdk/kernel/drivers/media/video/tvmixer.o.gz
depmod: *** Unresolved symbols in 
/lib/modules/2.4.18-8.1mdk/kernel/drivers/usb/audio.o.gz
depmod: *** Unresolved symbols in 
/lib/modules/2.4.18-8.1mdk/kernel/sound/acore/snd.o


Ouch... Even the built-in modules seem to break apart. 2.4.18-8.1mdk 
seems hosed. The 2.4.18-6mdk has a hosed ISA NE2000 driver (I didn't 
test the 2.4.18-8.1mdk one).
The last RML's preemption patch (2.4.19rc5-3) doesn't apply to the 
2.4.19final, the low-latency one neither. AlsaBuild just tries to 
compile from CVS (=moving_target), so we have no way to run linux-2.4.19 
with performance enhancements with ALSA-0.9.0rc2. So no Rosegarden, no 
Noteedit, no MusE and no sound at all. Fine.
Ok, I'm upset, I know it's not to blame ALSA developers for, and I'm 
considering returning to Debian. Mandrake 8.2 is a nice end-user distro, 
but to a developer's, it's _far_ from perfect.



Taupter



-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to