View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat May 05, 2007 9:22 pm 
Offline
Joined: Thu Dec 23, 2004 12:22 pm
Posts: 55
Location: Portland, OR
Version: R5E50
Video cards: PVR-150 x 2

Working for months now. I screwed something up, and now neither of my video cards get recognized. I don't think it's even running modprobe ivtv when it boots (actually, I don't now if it's supposed to).

When I reboot the box it acts like there are no video cards. If I run modprobe ivtv and restart the back end everything is fine.

There are no ivtv messages in /var/log/dmesg

Does anyone have any ideas on what I can do? I think I need to have modprobe run automatically, but I'm not even sure where I should do that or if it's the right thing to fix this.

Thanks everyone.

-Lane


Top
 Profile  
 
PostPosted: Sun May 06, 2007 12:15 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
lane wrote:
I screwed something up, and now neither of my video cards get recognized.

So what did you change and what were you trying to do before it broke?

If you can narrow it down me might be able to provide a short cut to fixing it.

Otherwise the advise may very well be, "Make a good back up, and auto upgrade to the same version, following the directions in the R5E50 hints posting."


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 06, 2007 9:45 am 
Offline
Joined: Thu Dec 23, 2004 12:22 pm
Posts: 55
Location: Portland, OR
I filled the / file system and locked the machine up. I had to pull the power twice on the box before I realized what was wrong and deleted the offending directory that I filled up. The directory and files had nothing to do with mythtv operations. Something in the hard reboots must have done it.

The primary problem is that modprobe ivtv is not being run at boot and I can't find where this is supposed to happen to fix it.

-Lane


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 06, 2007 10:21 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
I suspect that you did more damage than you realize. What do these directories show on you machine?
Code:
root@black2:~# ls -al /etc/sysconfig/ivtv /etc/mythtv/modules /etc/modprobe.d/KnoppMyth /etc/init.d/KnoppMyth-tv
-rwxr-xr-x 1 root root 4871 Feb  4 23:00 /etc/init.d/KnoppMyth-tv
-rw-r--r-- 1 root root  101 May  1 22:36 /etc/modprobe.d/KnoppMyth

/etc/mythtv/modules:
total 48
drwxr-xr-x 2 root root 4096 Apr  9 23:42 .
drwxr-xr-x 3 root root 4096 May  1 22:36 ..
-rw-r--r-- 1 root root   29 Oct 30  2003 bttv
-rw-r--r-- 1 root root   27 Oct 30  2003 bttv0
-rw-r--r-- 1 root root   27 Oct 30  2003 bttv1
-rw-r--r-- 1 root root   27 Oct 30  2003 bttv2
-rw-r--r-- 1 root root   27 Oct 30  2003 bttv3
-rw-r--r-- 1 root root  392 Mar 19 20:21 ivtv
-rw-r--r-- 1 root root   27 Oct 30  2003 ivtv0
-rw-r--r-- 1 root root   27 Oct 30  2003 ivtv1
-rw-r--r-- 1 root root   27 Oct 30  2003 ivtv2
-rw-r--r-- 1 root root   27 Oct 30  2003 ivtv3

/etc/sysconfig/ivtv:
total 20
drwxr-xr-x 2 root root 4096 May  1 22:36 .
drwxr-xr-x 5 root root 4096 May  1 22:34 ..
-rw-r--r-- 1 root root  734 Oct 24  2003 Readme
-rw-r--r-- 1 root root  734 May  1 22:36 cfg-0
-rw-r--r-- 1 root root  734 May  1 22:36 cfg-1

root@black2:~# cat /etc/modprobe.d/KnoppMyth
include /etc/mythtv/modules/ivtv
include /etc/mythtv/modules/ivtv0
include /etc/mythtv/modules/ivtv1
root@black2:~# cat /etc/mythtv/modules/ivtv
alias char-major-81 videodev
alias char-major-61 lirc_i2c
options msp3400 once=1

install ivtv /sbin/modprobe tuner; /sbin/modprobe msp3400; /sbin/modprobe saa7115; /sbin/modprobe --ignore-install ivtv; /sbin/modprobe lirc_i2c
remove ivtv /sbin/modprobe -r --ignore-remove ivtv && /sbin/modprobe -rsaa7115 && /sbin/modprobe -r msp3400 && /sbin/modprobe -r tuner && /sbin/modprobe -r lirc_i2c
root@black2:~# cat /etc/mythtv/modules/ivtv0
alias char-major-81-0 ivtv
root@black2:~# cat /etc/mythtv/modules/ivtv1
alias char-major-81-1 ivtv
root@black2:~# ls -al /etc/rc?.d/*KnoppMyth-tv
lrwxrwxrwx 1 root root 22 May  1 22:34 /etc/rcS.d/S19KnoppMyth-tv -> ../init.d/KnoppMyth-tv


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 06, 2007 10:50 am 
Offline
Joined: Thu Dec 23, 2004 12:22 pm
Posts: 55
Location: Portland, OR
Almost identical to yours. Minus the lirc on the PVR card. I'll look at them a little better once I get them pasted into this post.

Code:
root@tvbox1:~# la -al /etc/sysconfig/ivtv /etc/mythtv/modules /etc/modprobe.d/KnoppMyth /etc/init.d/KnoppMyth-tv
-rwxr-xr-x 1 root root 4832 Dec 22 16:37 /etc/init.d/KnoppMyth-tv
-rw-r--r-- 1 root root  101 May  5 13:17 /etc/modprobe.d/KnoppMyth

/etc/mythtv/modules:
total 48
drwxr-xr-x 2 root root 4096 Aug  6  2004 .
drwxr-xr-x 3 root root 4096 Jan 28 10:43 ..
-rw-r--r-- 1 root root   29 Aug  6  2004 bttv
-rw-r--r-- 1 root root   27 Aug  6  2004 bttv0
-rw-r--r-- 1 root root   27 Aug  6  2004 bttv1
-rw-r--r-- 1 root root   27 Aug  6  2004 bttv2
-rw-r--r-- 1 root root   27 Aug  6  2004 bttv3
-rw-r--r-- 1 root root  384 Jan  7  2006 ivtv
-rw-r--r-- 1 root root   27 Aug  6  2004 ivtv0
-rw-r--r-- 1 root root   27 Aug  6  2004 ivtv1
-rw-r--r-- 1 root root   27 Aug  6  2004 ivtv2
-rw-r--r-- 1 root root   27 Aug  6  2004 ivtv3

/etc/sysconfig/ivtv:
total 20
drwxr-xr-x 2 root root 4096 Jan 28 10:43 .
drwxr-xr-x 5 root root 4096 Mar 11 17:42 ..
-rw-r--r-- 1 root root  734 Oct 24  2003 Readme
-rw-r--r-- 1 root root  734 Jan 28 10:43 cfg-0
-rw-r--r-- 1 root root  734 Jan 28 10:43 cfg-1

root@tvbox1:~# cat /etc/modprobe.d/KnoppMyth
include /etc/mythtv/modules/ivtv
include /etc/mythtv/modules/ivtv0
include /etc/mythtv/modules/ivtv1

root@tvbox1:~# cat /etc/mythtv/modules/ivtv
alias char-major-81 videodev
alias char-major-61 lirc_i2c
#options ivtv debug=1
#options tuner type=2
options msp3400 once=1
install ivtv /sbin/modprobe tuner; /sbin/modprobe msp3400; /sbin/modprobe saa7115;  /sbin/modprobe --ignore-install  ivtv
remove ivtv /sbin/modprobe -r --ignore-remove ivtv && /sbin/modprobe -r saa7115 && /sbin/modprobe -r msp3400 && /sbin/modprobe -r tuner

root@tvbox1:~# cat /etc/mythtv/modules/ivtv0
alias char-major-81-0 ivtv

root@tvbox1:~# cat /etc/mythtv/modules/ivtv1
alias char-major-81-1 ivtv

root@tvbox1:~# ls -al /etc/rc?.d/*KnoppMyth-tv
lrwxrwxrwx 1 root root 22 Jan 28 10:41 /etc/rcS.d/S19KnoppMyth-tv -> ../init.d/KnoppMyth-tv



Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 14 guests


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 post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu