LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Module loading problem (https://www.linuxquestions.org/questions/linux-software-2/module-loading-problem-182041/)

don_dimo 05-16-2004 09:53 AM

Module loading problem
 
Hi guys!

I have a script that loads the modules for a brooktree 878 capture card. This is the script

#!/bin/sh

insmod i2c-core
insmod i2c-dev
insmod i2c-algo-bit
insmod tuner
insmod tvaudio
insmod tvmixer
insmod videodev
insmod bttv

but anytime I execute it gives a seg fault on the very last line:

Using /lib/modules/2.4.22-1.2188.nptl/kernel/drivers/i2c/i2c-core.o
Using /lib/modules/2.4.22-1.2188.nptl/kernel/drivers/i2c/i2c-dev.o
Using /lib/modules/2.4.22-1.2188.nptl/kernel/drivers/i2c/i2c-algo-bit.o
Using /lib/modules/2.4.22-1.2188.nptl/kernel/drivers/media/video/tuner.o
Using /lib/modules/2.4.22-1.2188.nptl/kernel/drivers/media/video/tvaudio.o
Using /lib/modules/2.4.22-1.2188.nptl/kernel/drivers/media/video/tvmixer.o
Using /lib/modules/2.4.22-1.2188.nptl/kernel/drivers/media/video/videodev.o
Using /lib/modules/2.4.22-1.2188.nptl/kernel/drivers/media/video/bttv.o
/etc/init.d/lvm.old: line 10: 5296 Segmentation fault insmod bttv

Bttv loads fine in the module list but in the proc the video0 process is not started - it does not exist. Does anyone know a fix for this or a useful site .. or anything :)??!!
I am running Fedora Core 1, on an athlon 1.4Mhz.
Thank you!

don_dimo 05-16-2004 06:44 PM

Can anyone pls help ... just tell me how to create the /proc/video/dev/video0???

LavaDevil94 05-16-2004 07:02 PM

Maybe you could add those module names to /etc/modules? Or you could use modprobe instead of insmod.

don_dimo 05-17-2004 09:06 AM

Quote:

Originally posted by LavaDevil94
Maybe you could add those module names to /etc/modules? Or you could use modprobe instead of insmod.
Thanks for the reply LavaDevil94!!! I did all you suggested but even with modprobe modules still load fine just with a segmentation error, and then when u do a dmesg it gives an EIP code error for the bttv module.
That should not be such a hassle .. I mean kudzu detected the card just fine when I installed it, but now the kernel refuses to work with that and even started crashing after I load those modules....


All times are GMT -5. The time now is 11:10 PM.