View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 12 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Feb 07, 2006 7:23 am 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
I have gone through the wiki and the forums and I am coming up empty handed. This is the error I am getting in my syslog:
Code:
Feb  7 06:16:42 mythtvbackend kernel: ivtv: Unknown parameter `mixer_input'
Feb  7 06:16:42 mythtvbackend modprobe: FATAL: Error inserting ivtv (/lib/modules/2.6.13.2-chw-3/ivtv/backup/ivtv.ko): Unknown symbol in mod$
Feb  7 06:16:42 mythtvbackend modprobe: FATAL: Error running install command for ivtv
Feb  7 06:16:42 mythtvbackend pci.agent[3579]:      ivtv: can't be loaded
Feb  7 06:16:42 mythtvbackend pci.agent[3579]: missing kernel or user mode driver ivtv


I followed tjc's instructions from here: http://www.knoppmythwiki.org/index.php?page=CompileIvtv

I am trying to install a PVR-150 non MCE (model 1045). It shows up in lspci as:
Code:
0000:00:07.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)

Any help is appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 07, 2006 9:05 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Sounds like your /etc/mythtv/modules/ivtv is borked, or maybe /etc/modules

1) What version are you doing this on top of?

2) Did you get any interesting errors along the way? I'd recommend running through the procedure again and paying attention to any scary messages...

3) What does your /etc/mythtv/modules/ivtv look like? it should be something like this:
Code:
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
remove ivtv /sbin/modprobe -r --ignore-remove ivtv && /sbin/modprobe -rsaa7115 && /sbin/modprobe -r msp3400 && /sbin/modprobe -r tuner


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 07, 2006 10:47 pm 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
1) Clean install, this is my first time trying to setup a slave backend (master backend is running R5A16)

2)I'll get back to you on this one

3)
Code:
root@mythtvbackend:~# 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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 07, 2006 11:00 pm 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
2)

Code:
root@mythtvbackend:/usr/src/ivtv-0.4.2# make
make -C driver all
make[1]: Entering directory `/usr/src/ivtv-0.4.2/driver'
make -C /lib/modules/2.6.13.2-chw-3/build M=/usr/src/ivtv-0.4.2/driver modules
make[2]: Entering directory `/usr/src/kernel-source-2.6.13.2-chw-3'
  Building modules, stage 2.
  MODPOST
make[2]: Leaving directory `/usr/src/kernel-source-2.6.13.2-chw-3'
make[1]: Leaving directory `/usr/src/ivtv-0.4.2/driver'
make -C utils all
make[1]: Entering directory `/usr/src/ivtv-0.4.2/utils'
make -C ../driver ivtv-svnversion.h
make[2]: Entering directory `/usr/src/ivtv-0.4.2/driver'
make[2]: Leaving directory `/usr/src/ivtv-0.4.2/driver'
make CFLAGS="-I/usr/src/ivtv-0.4.2/utils -I/usr/src/ivtv-0.4.2/utils/../driver -D_GNU_SOURCE -O2 -Wall" -C ivtv-tune
make[2]: Entering directory `/usr/src/ivtv-0.4.2/utils/ivtv-tune'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/ivtv-0.4.2/utils/ivtv-tune'
make CFLAGS="-I/usr/src/ivtv-0.4.2/utils -I/usr/src/ivtv-0.4.2/utils/../driver -D_GNU_SOURCE -O2 -Wall" -C cx25840ctl
make[2]: Entering directory `/usr/src/ivtv-0.4.2/utils/cx25840ctl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/ivtv-0.4.2/utils/cx25840ctl'
make[1]: Leaving directory `/usr/src/ivtv-0.4.2/utils'
make -C test all
make[1]: Entering directory `/usr/src/ivtv-0.4.2/test'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/ivtv-0.4.2/test'


Code:
root@mythtvbackend:/usr/src/ivtv-0.4.2# make install
make -C driver install
make[1]: Entering directory `/usr/src/ivtv-0.4.2/driver'
make -C /lib/modules/2.6.13.2-chw-3/build M=/usr/src/ivtv-0.4.2/driver modules
make[2]: Entering directory `/usr/src/kernel-source-2.6.13.2-chw-3'
  Building modules, stage 2.
  MODPOST
make[2]: Leaving directory `/usr/src/kernel-source-2.6.13.2-chw-3'
make INSTALL_MOD_PATH= INSTALL_MOD_DIR=ivtv \
        -C /lib/modules/2.6.13.2-chw-3/build M=/usr/src/ivtv-0.4.2/driver modules_install
make[2]: Entering directory `/usr/src/kernel-source-2.6.13.2-chw-3'
  INSTALL /usr/src/ivtv-0.4.2/driver/cs53l32a.ko
  INSTALL /usr/src/ivtv-0.4.2/driver/cx25840.ko
  INSTALL /usr/src/ivtv-0.4.2/driver/ivtv-fb.ko
  INSTALL /usr/src/ivtv-0.4.2/driver/ivtv.ko
  INSTALL /usr/src/ivtv-0.4.2/driver/msp3400.ko
  INSTALL /usr/src/ivtv-0.4.2/driver/saa7115.ko
  INSTALL /usr/src/ivtv-0.4.2/driver/saa7127.ko
  INSTALL /usr/src/ivtv-0.4.2/driver/tda9887.ko
  INSTALL /usr/src/ivtv-0.4.2/driver/tuner.ko
  INSTALL /usr/src/ivtv-0.4.2/driver/tveeprom.ko
  INSTALL /usr/src/ivtv-0.4.2/driver/wm8775.ko
make[2]: Leaving directory `/usr/src/kernel-source-2.6.13.2-chw-3'
/sbin/depmod -a

v4l-cx2341x-init.mpg needs copying to the hotplug firmware
directory if needed for PVR350 mpeg initialization
make[1]: Leaving directory `/usr/src/ivtv-0.4.2/driver'
make -C utils install
make[1]: Entering directory `/usr/src/ivtv-0.4.2/utils'
make -C ../driver ivtv-svnversion.h
make[2]: Entering directory `/usr/src/ivtv-0.4.2/driver'
make[2]: Leaving directory `/usr/src/ivtv-0.4.2/driver'
make CFLAGS="-I/usr/src/ivtv-0.4.2/utils -I/usr/src/ivtv-0.4.2/utils/../driver -D_GNU_SOURCE -O2 -Wall" -C ivtv-tune
make[2]: Entering directory `/usr/src/ivtv-0.4.2/utils/ivtv-tune'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/ivtv-0.4.2/utils/ivtv-tune'
make CFLAGS="-I/usr/src/ivtv-0.4.2/utils -I/usr/src/ivtv-0.4.2/utils/../driver -D_GNU_SOURCE -O2 -Wall" -C cx25840ctl
make[2]: Entering directory `/usr/src/ivtv-0.4.2/utils/cx25840ctl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/ivtv-0.4.2/utils/cx25840ctl'
install -d //usr/include/linux
install -m 0644 ../driver/ivtv.h //usr/include/linux
install -d //usr/local/bin
install -m 0755 ivtvctl ivtv-detect ivtv-radio ivtvfbctl ivtvplay ivtv-mpegindex ivtv-encoder ivtv-tune/ivtv-tune cx25840ctl/cx25840ctl //usr/local/bin
make[1]: Leaving directory `/usr/src/ivtv-0.4.2/utils'
make -C test install
make[1]: Entering directory `/usr/src/ivtv-0.4.2/test'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/usr/src/ivtv-0.4.2/test'


seems to be okay (no errors)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 07, 2006 11:02 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Since I don't even remeber what version of MythTV was used in R5A16 _insert standard warning about incompatible protocol versions here_.

Oh, and did you remember to update the firmware too? The updated instructions should make that a lead pipe cinch.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 07, 2006 11:24 pm 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
According to the changelog, R5A16 is running MythTV 0.18.1.

I followed your instructions at this link verbatim:
http://www.knoppmythwiki.org/index.php?page=CompileIvtv
(everything under "Directions for upgrading R5A22 or later to 0.4.2 for the PVR-150 and PVR-500 fixes.")

I understand that I may have protocol version issues, but should that be preventing ivtv from setting up the card properly? I eventually plan on turning this slave backend into the master backend, but I would like to iron out the bugs around setting up this card first. I thought it would be easier to just get a second tuner up until I was ready to put the time towards migrating. I've probably spent more time on this now than I would have if i'd just migrated...

At this point i've moved the card onto a new pci slot and i'm re-installing Knoppmyth. If this doesn't work maybe I'll try my R5A16 disk. The reason I was using the R5A30.2 was that I thought I had seen in the forums that the new versions of Knoppmyth supported PVR-150s and 500s from the get-go.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 07, 2006 11:47 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
kmkittre wrote:
According to the changelog, R5A16 is running MythTV 0.18.1,

OK, no troubles then.
kmkittre wrote:
I followed your instructions at this link verbatim:
http://www.knoppmythwiki.org/index.php?page=CompileIvtv
(everything under "Directions for upgrading R5A22 or later to 0.4.2 for the PVR-150 and PVR-500 fixes.")

Yeah but I've revised these three times in the last week. ;-) The question was more "Try the new procedure (as of ~9PMEST) to make sure you've got good firmware." Did you get good md5sum values?
kmkittre wrote:
should that be preventing ivtv from setting up the card properly?

Nope. It was just a "future shock" warning.
kmkittre wrote:
At this point i've moved the card onto a new pci slot and i'm re-installing Knoppmyth. If this doesn't work maybe I'll try my R5A16 disk. The reason I was using the R5A30.2 was that I thought I had seen in the forums that the new versions of Knoppmyth supported PVR-150s and 500s from the get-go.

New slot is a worth a shot, but this seems more like bad software or config. The errors are bizarre especially if it's a new and fairly vanilla install. If you'd followed some convulted path I'd worry that you had two conflicting versions of the driver and were mixing and matching incompatible tuner modules. Did you boot the CD with the "testcd" option to make sure it's not a bad burn?

OBTW - You do realize that if you wget something twice it doesn't normally overwrite right? You may want to try:
Code:
md5sum /usr/src/ivtv-0.4.2.tar.gz*
rm /usr/src/ivtv-0.4.2.tar.gz*
wget http://dl.ivtvdriver.org/ivtv/archive/0.4.x/ivtv-0.4.2.tar.gz
md5sum /usr/src/ivtv-0.4.2.tar.gz*

To make sure that it's a good download.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 08, 2006 12:08 am 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
yeah, thanks for the help tjc. I re-installed and now the card seems to be working as-is (at least it is recognizing it now...)

So, now here's my question. Is it worth trying to upgrade to the newest ivtv drivers, or should I just leave well enough alone?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 08, 2006 12:16 am 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
Okay, now it all looks good, but when I look at my encoder status on mythtweb it says:

Code:
Encoder 1 is local on mythtv and is recording: 'South Park' on KASW. This recording will end at 11:30 PM.
Encoder 2 is remote on mythtvbackend (currently not connected).


The card appears to be setup correctly, though (from dmesg):
Code:
ivtv:  ==================== START INIT IVTV ====================
ivtv:  version 0.4.0 (tagged release) loading
ivtv:  Linux version: 2.6.13.2-chw-3 SMP preempt 586 gcc-3.3
ivtv:  In case of problems please include the debug info
ivtv:  between the START INIT IVTV and END INIT IVTV lines when
ivtv:  mailing the ivtv-devel mailinglist.
ivtv0: Autodetected WinTV PVR 150 card (iTVC16 based)
ACPI: PCI Interrupt 0000:00:08.0[A] -> GSI 19 (level, low) -> IRQ 18
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
tveeprom: ivtv version
tveeprom: Hauppauge: model = 26032, rev = C199, serial# = 8226227
tveeprom: tuner = TCL 2002N 5H (idx = 99, type = 50)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio processor = CX25841 (type = 23)
tveeprom: decoder processor = CX25841 (type = 1c)
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
cx25840 0-0044: cx25841-23 found @ 0x88 (ivtv i2c driver #0)
cx25840 0-0044: loaded /lib/modules/HcwMakoA.ROM firmware (14264 bytes)
ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
ivtv0: loading /lib/modules/ivtv-fw-enc.bin
ivtv0: Encoder revision: 0x02040011
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
tuner: type set to 50 (TCL 2002N) by ivtv i2c driver #0
ivtv0: Initialized WinTV PVR 150, card #0
ivtv:  ====================  END INIT IVTV  ====================


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 08, 2006 12:25 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
For the PVR-150 0.4.2 is supposed to fix the i2c related problems where your remote quits working and the firmware needs to be reset/reloaded to cure it.

Lots of folks have done the upgrade following the directions and said it worked for them. YMMV. The only problems I had were botching the firmare install once (don't ask, lack of sleep made me stupid :oops:) and figuring out the two module order/option config file things. After writing it up I went through the directions from end to end to verify them.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 08, 2006 12:38 am 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
well, i'm not planning on running a frontend on this box, so I guess upgrading those drivers is pretty useless?

Any suggestions on why the tuner is saying it is not connected?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 08, 2006 10:47 pm 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
Any more nuggets of wisdom, tjc? Anyone? I'm kinda stuck here. I'm not seeing anyone else that has this problem...


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 25 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:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu