Log in Register FAQ Memberlist Search pcHDTV Forum Index
pcHDTV Forum

pcHDTV Forum Index -> Driver Issues -> modprobe commands at end of FC5 driver install guide fail
Post new topic  This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic 
modprobe commands at end of FC5 driver install guide fail
PostPosted: Sat Aug 26, 2006 10:28 am Reply with quote
jcllings
 
Joined: 16 Sep 2005
Posts: 13
Location: Washington State




I have two HD5500 cards. Kernel is 2.6.17-1.2174_FC5 #1 SMP Tue Aug 8 15:30:44 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux

Was instructed to do:
Issue the following commands (as root) to reload the modules to get the new perm
issions:

> /sbin/modprobe -rv cx88-dvb
> /sbin/modprobe -rv cx8800
> /sbin/modprobe -v cx8800
> /sbin/modprobe -v cx88-dvb

Here is the problem:

root@obsidian ~]# /sbin/modprobe -rv cx8800
FATAL: Module cx8800 is in use.

How could it possibly be in use? Should I try to blow it away more forcefully?

Also:

[root@obsidian ~]# rmmod cx8800 cx88_blackbird
ERROR: Module cx8800 is in use by cx88_blackbird
[root@obsidian ~]# rmmod cx88_blackbird
ERROR: Module cx88_blackbird does not exist in /proc/modules

Doesn't exist?

OK, I risked a 'rmmod -f' and that seems to have worked but what exactly is the correct modprobe config for this card on FC5?
View user's profile Send private message
PostPosted: Sun Aug 27, 2006 2:24 pm Reply with quote
Chipster3rd
 
Joined: 27 Aug 2006
Posts: 2




I have EXACTLY the same problem. Unfortunately even rmmod -f didn't work for me. According to the help for rmmod I need to have the Forced Removal option set in the kernal before rmmod -f will work.

I'm a Linux newbie and I'm not sure if I should set the forced removal option, even if I knew how.

Can some one either answer jclings question or tell me how to set the forced removal option?

Thanks
Chip
View user's profile Send private message
PostPosted: Sun Aug 27, 2006 3:15 pm Reply with quote
xyzzy
 
Joined: 12 Feb 2006
Posts: 225




You should not need to force module removal. But you do need to remove module in the right order. If one module is being used by another, you cannot remove it until you first remove the module that is using it.

If you run lsmod:
Code:

Module                  Size  Used by
cx88_blackbird         15108  0
cx88_dvb               15300  0
cx8800                 28492  1 cx88_blackbird
cx8802                 10180  2 cx88_blackbird,cx88_dvb
cx88xx                 60196  4 cx88_blackbird,cx88_dvb,cx8800,cx8802


cx8800 is being used by cx88_blackbird, so you must remove cx88_blackbird first. If you list mutiple modules in a rmmod command, it will try to remove them in the order you list them. This means, you must use rmmod cx88_blackbird cx8800, so that the blackbird module is removed first. If one module in a list can't be removed, rmmod will keep trying to remove the rest of the modules listed. That is why rmmod told you cx88_blackbird didn't exist when you ran it a second time, it was removed by your first rmmod command.
View user's profile Send private message
PostPosted: Sun Aug 27, 2006 4:01 pm Reply with quote
Chipster3rd
 
Joined: 27 Aug 2006
Posts: 2




Got it. Removing cx88_blackbird was all I needed to do.
Thanks
View user's profile Send private message
OK, whats the modprove conf for not loading blackbird
PostPosted: Mon Aug 28, 2006 7:28 pm Reply with quote
jcllings
 
Joined: 16 Sep 2005
Posts: 13
Location: Washington State




Assumeing, of course, that blacbird is not desireable.

Could someone post a listing of the lsmod output of a working and properly config'ed system?
View user's profile Send private message
PostPosted: Mon Aug 28, 2006 8:50 pm Reply with quote
xyzzy
 
Joined: 12 Feb 2006
Posts: 225




You do not want the blackbird module for any pcHDTV cards. It shouldn't actually break anything, but it's for a hardware mpeg encoder that the cards don't have. For the HD-3000 and 5500 you want cx88_dvb for digital TV and cx8800 for analog TV. You can load both of those at once, or only one of them. They require a pile of other modules which modprobe should load automatically.
View user's profile Send private message
PostPosted: Tue Aug 29, 2006 7:49 pm Reply with quote
jcllings
 
Joined: 16 Sep 2005
Posts: 13
Location: Washington State




xyzzy wrote:
You do not want the blackbird module for any pcHDTV cards. ...
They require a pile of other modules which modprobe should load automatically.


Cool. Smile

Will special settings for modprobe.conf be required or will the drivers set themselves up automagically? What about preventing the blackbird driver from loading, for example? I'm having a great deal of difficulty getting set up and while I agree that it really *shouldn't* cause problems, I am suspicious of the blackbird module. Escpecially if there's no known reason for it.

Jim C.
View user's profile Send private message
Let me show you the Gordian knot
PostPosted: Tue Aug 29, 2006 8:58 pm Reply with quote
jcllings
 
Joined: 16 Sep 2005
Posts: 13
Location: Washington State




I have two HD 5500's. Every time I try to test the NTSC signal I get an error to the effect that the device is busy. dtvscan *will* write a channels list though. Below is the mess I am trying to untangle. As you can see, it's pretty difficult to know where to begin. I know what some of it is, but I have know idea of what is supposed to be here and what isn't.

Oh, I should ask what is a good mplayer command for testing a given channel? It could be that I'm getting it wrong somehow. Also, how does one change or select a channel?

Code:
[root@obsidian ~]# lsmod | grep -E "cx88|Module"
Module                  Size  Used by
cx88_dvb               51364  1
cx8802                 49156  1 cx88_dvb
cx88_vp3054_i2c        39680  1 cx88_dvb
mt352                  41604  1 cx88_dvb
or51132                44036  1 cx88_dvb
cx8800                 73612  0
cx88_alsa              50568  0
cx88xx                104868  4 cx88_dvb,cx8802,cx8800,cx88_alsa
ir_common              63492  1 cx88xx
i2c_algo_bit           42953  2 cx88_vp3054_i2c,cx88xx
video_buf_dvb          41220  1 cx88_dvb
nxt200x                48516  1 cx88_dvb
zl10353                40196  1 cx88_dvb
cx24123                48776  1 cx88_dvb
lgdt330x               43676  1 cx88_dvb
video_buf              64516  6 cx88_dvb,cx8802,cx8800,cx88_alsa,cx88xx,video_buf_dvb
cx22702                41348  1 cx88_dvb
tveeprom               50960  1 cx88xx
compat_ioctl32         42368  1 cx8800
v4l2_common            51200  3 tuner,cx8800,compat_ioctl32
v4l1_compat            45444  1 cx8800
btcx_risc              39048  4 cx8802,cx8800,cx88_alsa,cx88xx
dvb_pll                47748  4 cx88_dvb,or51132,nxt200x,cx22702
videodev               46080  2 cx8800,cx88xx
snd_pcm               142409  4 cx88_alsa,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
i2c_core               60993  14 tda9887,tuner,cx88_dvb,mt352,or51132,cx88xx,i2c_algo_bit,nxt200x,zl10353,cx24123,lgdt330x,cx22702,tveeprom,i2c_nforce2
snd                   108777  10 cx88_alsa,snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
View user's profile Send private message
PostPosted: Wed Aug 30, 2006 1:33 am Reply with quote
xyzzy
 
Joined: 12 Feb 2006
Posts: 225




jcllings wrote:

Will special settings for modprobe.conf be required or will the drivers set themselves up automagically? What about preventing the blackbird driver from loading, for example?

You should not need any settings in modprobe.conf, provided you are using new enough drivers. I think the drivers that are part of 2.6.16 are new enough, as are the ones on the CD downloadable here. If the blackbird module is getting auto-loaded a boot time, it is part of some kind of auto hardware detection system your distribution is using. I really can't help you with that. That's really more a distribution issue than a driver issue.
View user's profile Send private message
PostPosted: Wed Aug 30, 2006 6:03 pm Reply with quote
jcllings
 
Joined: 16 Sep 2005
Posts: 13
Location: Washington State




Quote:
You should not need any settings in modprobe.conf, provided you are ....
hardware detection system your distribution is using. I really can't help you with that. That's really more a distribution issue than a driver issue.


OK, fair enough. Fedora's Core 5's problem.
As previously discussed, the Blackbird probably isn't at fault anyway.

Any ideas what might be? Clues as to where to look?
View user's profile Send private message
modprobe commands at end of FC5 driver install guide fail
  pcHDTV Forum Index -> Driver Issues
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 7 Hours  
Page 1 of 1  

  
  
 Post new topic  This topic is locked: you cannot edit posts or make replies.  


Powered by phpBB © 2001-2003 phpBB Group
Theme created by Vjacheslav Trushkin