Click to See Complete Forum and Search --> : loading modules with 2.6 kernel?


deanrantala
08-09-2003, 12:51 PM
Ok, I searched, and downloaded modules-init-tools. But I still can't load modules. Am I supposed to use a different command? (rather than modprobe?)

Heres what I get....


bash-2.05b# modprobe snd-emu10k1
WARNING: /etc/modprobe.conf line 1: ignoring bad line starting with 'Cannot'
FATAL: Error inserting snd_emu10k1 (/lib/modules/2.6.0-test2/kernel/sound/pci/emu10k1/snd-emu10k1.ko): Unknown symbol in module, or unknown parameter (see dmesg)
bash-2.05b#


There is hardly no documentation on this that I could find. And I don't use Debian, why does google link every one of my searches to suse or debian?

kshim5
08-09-2003, 01:09 PM
try insmod

http://reinolinux.fe.up.pt/cgi-bin/man2html?insmod+8

hard candy
08-09-2003, 01:15 PM
I had to use "modprobe -l" to see what modules were present.
Then I looked in "man depmod" and "man modprobe". You may have to run "depmod" as root.

Hayl
08-09-2003, 01:15 PM
the error looks more like a badly compiled module than a modprobe errror because of 2.6.x. the modprobe command works with 2.6.x kernels as long as you have the new module-init-tools.

deanrantala
08-09-2003, 01:29 PM
I'm gonna try compiling the 2.6 kernel with sound biult-in this time.

Does it hurt to have the kernel compiling on one virtual terminal, while you listen to music and surf on another? Could that have caused problems?

Hayl
08-09-2003, 01:34 PM
Originally posted by deanrantala
I'm gonna try compiling the 2.6 kernel with sound biult-in this time.

ALSA is in the 2.6 kernel so - yes, you should.

Does it hurt to have the kernel compiling on one virtual terminal, while you listen to music and surf on another? Could that have caused problems?

no. it doesn't matter.

deanrantala
08-09-2003, 01:49 PM
ALSA is in the 2.6 kernel so - yes, you should.


I didn't compile it seperately. I compiled it as a module from the xconfig menu.

I meant I'm gonna select "y" instead of "m"