[mythtv-users] ivtv.o locks up my computer everytime, help

sschaefer1 at woh.rr.com sschaefer1 at woh.rr.com
Fri Oct 8 16:25:17 UTC 2004


I'm having trouble with ivtv.o and Hauppauge WinTV PVR-350. What am I doing wrong?
I suspect maybe ivtv is trying to initialize the wrong card, is there a way to pass an address/IO/IRQ or something to force it to one card?
I don't see any options in the ivtv.o but maybe with the saa7115.o module.

I've found past messages in the archive, but none has shed any light on my issue.
I get one of two errors, the first error is either it locks up, completely having not produced any log messages, when loading ivtv.o
or it outputs the following messages:

/lib/modules/2.4.26/kernel/drivers/media/video/ivtv.o: init_module: No such device
/lib/modules/2.4.26/kernel/drivers/media/video/ivtv.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
/lib/modules/2.4.26/kernel/drivers/media/video/ivtv.o: insmod /lib/modules/2.4.26/kernel/drivers/media/video/ivtv.o failed
/lib/modules/2.4.26/kernel/drivers/media/video/ivtv.o: insmod ivtv failed

/var/log/syslog reports:
Oct  5 10:50:32 www kernel: ivtv: version 0.1.9 (release) loading
Oct  5 10:50:32 www kernel: ivtv: SGarray_size = 340, DSGarray_size = 16
Oct  5 10:50:32 www kernel: ivtv: Found an iTVC15 based chip
Oct  5 10:50:33 www kernel: ivtv: failed loading encoder firmware
Oct  5 10:50:33 www kernel: ivtv: Error loading firmware!
Oct  5 10:50:33 www kernel: ivtv: Error initializing.
Oct  5 10:50:33 www kernel: ivtv: Error -12 on init
Oct  5 10:50:33 www kernel: ivtv: Error detecting PCI card

I tested the card under Windows prior to loading it into the Linux machine, so I know it is a working card.
I followed the directions for extracting the firmware, which the supplied CD has a file located ./Pvr/pvr48xxx.EXE

I update the default values in the ivtvfwextract.pl to reflect the proper directory on the CD and filename, but
it still produces the error message:

ivtvfwextract.pl: Can't open /tmp/ivtvex.508/hcwpvrp2.sys: No such file or directory

I downloaded the driver from Hauppauge support site, link I found in the Wiki, it extracted stuff:

root at www:~# md5sum /lib/modules/*.bin
305dba74bbe5905447add8883f3ecb68  /lib/modules/ivtv-fw-dec.bin
6e2012d919fa48811c27e25e54a0a5dc  /lib/modules/ivtv-fw-enc.bin

These match up with values I found on the firmware page in Wiki (http://ivtv.writeme.ch/tiki-index.php?page=FirmwareVersions).
I've, last night, downloaded/extracted/recompiled driver,
	pvr48wdm_1.6.21062.exe 0feb4f6aef94b6fab843c5269d7f0848 839fb0b71324fa2ef3c7c43a17a41396
to be sure, but with the same results.
I'm running Slackware 10 on an Intel Pentium III  1 GHz, 512 MB.
My kernel is 2.4.26 with V4L2 patch (20_v4l2-2.4.26.diff.gz) applied, I've tried i2c-core and i2c-algo-bit compiled in and as modules.

I have another PixelView PlayTV Pro (BTTV based, PCI tuner card) but I unload all drivers before trying to load the ivtv related modules.
The PixelView card, I think, has the same tuner type as the Hauppauge.

I built the driver as follows:
	tar -zxf ivtv-0.1.9.tar.gz
	cd ivtv
	cd driver
	make
	make install
	cd ../utils
	make
	make install
	cd

I load the modules like so:
	modprobe tuner type=2
	modprobe msp3400
	modprobe videodev
	modprobe saa7115 debug=1
	modprobe ivtv ivtv_debug=1

I tried editing /etc/modules.conf file like the FAQ section mentions, but that doesn't help any, so I've removed that stuff.
I'm also curious about the FAQ ...

"
Q: Why does my patched copy of Ivtv freezes the system upon insertion with my Yuan MPG600 card? 
A: It seems some Yuan MPG600 cards have a subsystem of 0xfff3 and some have a subsystem of 0xffff. Use lspci to find out which yours is (lspci -v -n). If it is 0xffff you'll need to change the subsystem define (IVTV_PCI_ID_MPG600) in the ivtv.h header file (drivers/ivtvh.h) from 0xfff3 to 0xffff.
"

If I execute "lspci -v" I get the following, (I put the output for the Hauppauge card first here)

01:0c.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)
        Subsystem: Hauppauge computer works Inc. WinTV PVR-350
        Flags: bus master, medium devsel, latency 0, IRQ 6
        Memory at f0000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [44] Power Management version 2

00:00.0 Host bridge: Intel Corp. 82815 815 Chipset Host Bridge and Memory Contr
        Subsystem: Intel Corp. D815EEA2 mainboard
        Flags: bus master, fast devsel, latency 0
        Memory at f8000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [88] #09 [e104]
        Capabilities: [a0] AGP version 2.0

00:01.0 PCI bridge: Intel Corp. 82815 815 Chipset AGP Bridge (rev 02) (prog-if
        Flags: bus master, 66Mhz, fast devsel, latency 32
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
        I/O behind bridge: 0000d000-0000dfff
        Memory behind bridge: fca00000-feafffff
        Prefetchable memory behind bridge: f4700000-f47fffff

00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
        I/O behind bridge: 0000c000-0000cfff
        Memory behind bridge: fc900000-fc9fffff
        Prefetchable memory behind bridge: ec600000-f46fffff

00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 02)
        Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 02) (prog-if 80 [Maste
        Subsystem: Intel Corp. D815EEA2 mainboard
        Flags: bus master, medium devsel, latency 0
        I/O ports at ffa0 [size=16]

00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 02) (prog-if
        Subsystem: Intel Corp. D815EEA2 mainboard
        Flags: bus master, medium devsel, latency 0, IRQ 10
        I/O ports at ef40 [size=32]

00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 02)
        Subsystem: Intel Corp. D815EEA2 mainboard
        Flags: medium devsel, IRQ 6
        I/O ports at efa0 [size=16]

00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 02) (prog-if
        Subsystem: Intel Corp. D815EEA2 mainboard
        Flags: bus master, medium devsel, latency 0, IRQ 9
        I/O ports at ef80 [size=32]

00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio (rev 0
        Subsystem: Intel Corp.: Unknown device 4532
        Flags: bus master, medium devsel, latency 0, IRQ 6
        I/O ports at e800 [size=256]
        I/O ports at ef00 [size=64]

01:08.0 Ethernet controller: Intel Corp. 82801BA/BAM/CA/CAM Ethernet Controller
        Subsystem: Intel Corp. EtherExpress PRO/100 VE
        Flags: bus master, medium devsel, latency 32, IRQ 11
        Memory at fc9fe000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at cf00 [size=64]
        Capabilities: [dc] Power Management version 2

01:09.0 Serial controller: Siig Inc CyberSerial (2-port) 16550 (prog-if 02 [165
        Subsystem: Siig Inc PCI Serial Card
        Flags: medium devsel, IRQ 7
        I/O ports at cff0 [size=8]
        I/O ports at cfe0 [size=8]
        Capabilities: [a0] Power Management version 1

01:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture
        Flags: bus master, medium devsel, latency 32, IRQ 3
        Memory at f46fe000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data
        Capabilities: [4c] Power Management version 2

01:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 1
        Flags: bus master, medium devsel, latency 32, IRQ 3
        Memory at f46ff000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data
        Capabilities: [4c] Power Management version 2

01:0b.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 3
        Subsystem: 3Com Corporation 3C905B Fast Etherlink XL 10/100
        Flags: bus master, medium devsel, latency 32, IRQ 9
        I/O ports at cc00 [size=128]
        Memory at fc9ffc00 (32-bit, non-prefetchable) [size=128]
        Expansion ROM at fc9c0000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 1

02:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X/2X (
        Subsystem: ATI Technologies Inc Rage Pro AIW AGP 2X
        Flags: bus master, stepping, medium devsel, latency 32, IRQ 11
        Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
        I/O ports at d800 [size=256]
        Memory at feaff000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at feac0000 [disabled] [size=128K]
        Capabilities: [50] AGP version 1.0




More information about the mythtv-users mailing list