LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   modprobe problems (https://www.linuxquestions.org/questions/slackware-14/modprobe-problems-194866/)

nakedjohn 06-18-2004 01:30 AM

modprobe problems
 
yeah, i'm having more problems... i'm trying to get my sound going, and i'm getting close, but when i try this:

modprobe snd-via82xx;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss

i get this:

WARNING: Error inserting snd (/lib/modules/2.6.6/kernel/sound/acore/snd.ko): Invalid module format
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.6/kernel/sound/acore/seq/snd-seq-device.ko): Invalid module format
WARNING: Error inserting snd_rawmidi (/lib/modules/2.6.6/kernel/sound/acore/snd-rawmidi.ko): Invalid module format
WARNING: Error inserting snd_mpu401_uart (/lib/modules/2.6.6/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko): In valid module format
WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.6/kernel/sound/acore/snd-page-alloc.ko): Invalid module format
WARNING: Error inserting snd_ac97_codec (/lib/modules/2.6.6/kernel/sound/pci/ac97/snd-ac97-codec.ko): Invalid module format
WARNING: Error inserting snd_timer (/lib/modules/2.6.6/kernel/sound/acore/snd-timer.ko): Invalid module format
WARNING: Error inserting snd_pcm (/lib/modules/2.6.6/kernel/sound/acore/snd-pcm.ko): Invalid module format
FATAL: Error inserting snd_via82xx (/lib/modules/2.6.6/kernel/sound/pci/snd-via82xx.ko): Invalid module format
WARNING: Error inserting snd (/lib/modules/2.6.6/kernel/sound/acore/snd.ko): Invalid module format
WARNING: Error inserting snd_mixer_oss (/lib/modules/2.6.6/kernel/sound/acore/oss/snd-mixer-oss.ko): Invalid module format
WARNING: Error inserting snd_timer (/lib/modules/2.6.6/kernel/sound/acore/snd-timer.ko): Invalid module format
WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.6/kernel/sound/acore/snd-page-alloc.ko): Invalid modul e format
WARNING: Error inserting snd_pcm (/lib/modules/2.6.6/kernel/sound/acore/snd-pcm.ko): Invalid module format
FATAL: Error inserting snd_pcm_oss (/lib/modules/2.6.6/kernel/sound/acore/oss/snd-pcm-oss.ko): Invalid module fo rmat
WARNING: Error inserting snd (/lib/modules/2.6.6/kernel/sound/acore/snd.ko): Invalid module format
FATAL: Error inserting snd_mixer_oss (/lib/modules/2.6.6/kernel/sound/acore/oss/snd-mixer-oss.ko): Invalid modul e format
WARNING: Error inserting snd (/lib/modules/2.6.6/kernel/sound/acore/snd.ko): Invalid module format
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.6/kernel/sound/acore/seq/snd-seq-device.ko): Invalid m odule format
WARNING: Error inserting snd_timer (/lib/modules/2.6.6/kernel/sound/acore/snd-timer.ko): Invalid module format
WARNING: Error inserting snd_seq (/lib/modules/2.6.6/kernel/sound/acore/seq/snd-seq.ko): Invalid module format
WARNING: Error inserting snd_seq_midi_event (/lib/modules/2.6.6/kernel/sound/acore/seq/snd-seq-midi-event.ko): I nvalid module format
FATAL: Error inserting snd_seq_oss (/lib/modules/2.6.6/kernel/sound/acore/seq/oss/snd-seq-oss.ko): Invalid modul e format

i think there might be something wrong, because i got the same error message when i was trying to get my video drivers going (invalid module format)

any suggestions?

keefaz 06-18-2004 06:44 AM

What's your output for : /sbin/modprobe --version
?

xdan779 06-20-2004 11:09 PM

Hello,
This looks like the newer module init tools were not installed correctly. I will post the readme from the src, notice the part about make links if installing in default /usr/local, and make moveold if installing in sbin. Modprobe will not work if this is not done.
READ INSTRUCTIONS CAREFULLY, OTHERWISE YOU MAY DESTROY YOUR OLD UTILS!

1a) If you want to install in /sbin:
./configure --prefix=/
make moveold (if installing for the first time).

"make moveold" renames the old insmod, modprobe, rmmod and lsmod to
insmod.old, modprobe.old, rmmod.old and lsmod.old, and the matching
manpages.

OR,

1b) If you want to install in /usr/local/sbin:
./configure
make links

"make links" makes links to the previous insmod, modprobe, rmmod and
lsmod (which are in /sbin) in /usr/local/sbin

2) Now, build it:
make
make install

3) If running for the first time, you might want to convert your old
modules.conf to modprobe.conf:

./generate-modprobe.conf /etc/modprobe.conf

4) If you are using devfs, copy modprobe.devfs to /etc

5) You will need to run "depmod" for your new kernel, eg:

depmod 2.5.50

6) If you want to hack on the source:
aclocal && automake --add-missing --copy && autoconf

If this is all too complicated, I recommend getting and installing the
source rpm or debian package instead.


All times are GMT -5. The time now is 09:39 PM.