LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-16-2004, 09:53 AM   #1
don_dimo
Member
 
Registered: Oct 2003
Location: Blacksburg, VA
Distribution: Fedora Core 2 (kde)
Posts: 144

Rep: Reputation: 15
Question 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!
 
Old 05-16-2004, 06:44 PM   #2
don_dimo
Member
 
Registered: Oct 2003
Location: Blacksburg, VA
Distribution: Fedora Core 2 (kde)
Posts: 144

Original Poster
Rep: Reputation: 15
Can anyone pls help ... just tell me how to create the /proc/video/dev/video0???
 
Old 05-16-2004, 07:02 PM   #3
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
Maybe you could add those module names to /etc/modules? Or you could use modprobe instead of insmod.
 
Old 05-17-2004, 09:06 AM   #4
don_dimo
Member
 
Registered: Oct 2003
Location: Blacksburg, VA
Distribution: Fedora Core 2 (kde)
Posts: 144

Original Poster
Rep: Reputation: 15
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....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
module loading problem tiluu Linux - Networking 0 06-28-2004 09:20 AM
module loading problem in 2.6.3 silverline Linux - Hardware 1 04-08-2004 06:51 PM
module loading problem usr Linux - General 2 01-11-2004 10:18 AM
Problem loading a module louai Linux - Software 1 01-07-2004 09:57 PM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration