Mark Murray wrote:
    On 5/19/07, Hans Verkuil < [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>> wrote:
     > I would appreciate it if people could start testing the latest
    ivtv on
     > the 0.10 branch, available here:


I have 3 PVR150s and it seems the latest ivtv driver craps out on the third one. At first, I thought I had a bad card or a bad slot on the motherboard, but no matter which slots I put any of the cards into, I got the same errors on the third card (no matter which card the third one was). When I downgraded to 0.7.4, all was fine again.

I saw a message on here a few days ago about a fellow who was getting the same errors on his second card...

Here's the dmesg output for 0.10:

70.347331] ivtv: ==================== START INIT IVTV ==================== [ 70.347335] ivtv: version 1.0.0 (2.6.22-5-generic SMP mod_unload 586 ) loading
[   70.347412] ivtv0: Autodetected Hauppauge card (cx23416 based)
[ 70.347451] ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
[   71.029978] ivtv0: loaded v4l-cx2341x-enc.fw firmware (4159345264 bytes)
[   71.244902] ivtv0: Encoder revision: 0x02060039
[   71.302599] ivtv0: Autodetected Hauppauge WinTV PVR-150
[   71.324754] tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0)
[   71.351637] cx25840 2-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #0)
[   74.660030] wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #0)
[   75.015468] ivtv0: Registered device video0 for encoder MPEG (4 MB)
[   75.015700] ivtv0: Registered device video32 for encoder YUV (2 MB)
[   75.015945] ivtv0: Registered device vbi0 for encoder VBI (1 MB)
[ 75.016116] ivtv0: Registered device video24 for encoder PCM audio (1 MB)
[   75.037467] ivtv0: Initialized Hauppauge WinTV PVR-150, card #0
[ 75.037531] ivtv: ====================== NEXT CARD ======================
[   75.037534] ivtv1: Autodetected Hauppauge card (cx23416 based)
[   75.037786] ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
[   75.688897] ivtv1: loaded v4l-cx2341x-enc.fw firmware (4159346128 bytes)
[   75.900753] ivtv1: Encoder revision: 0x02060039
[   75.907859] tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #1)
[   75.924346] cx25840 3-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #1)
[   79.194714] wm8775 3-001b: chip found @ 0x36 (ivtv i2c driver #1)
[   79.261046] ivtv1: Autodetected Hauppauge WinTV PVR-150
[   79.635393] ivtv1: Registered device video1 for encoder MPEG (4 MB)
[   79.635648] ivtv1: Registered device video33 for encoder YUV (2 MB)
[   79.635906] ivtv1: Registered device vbi1 for encoder VBI (1 MB)
[   79.636076] ivtv1: Registered device video25 for encoder PCM audio (1 MB)
[   79.657392] ivtv1: Initialized Hauppauge WinTV PVR-150, card #1
[ 79.658500] ivtv: ====================== NEXT CARD ======================
[   79.658506] ivtv2: Autodetected Hauppauge card (cx23416 based)
[   79.658742] ivtv2: Unreasonably low latency timer, setting to 64 (was 32)
[   80.303571] ivtv2: loaded v4l-cx2341x-enc.fw firmware (4159347184 bytes)
[   80.516665] ivtv2: Encoder revision: 0x02060039
[   80.552536] ivtv2: Invalid EEPROM
[ 80.578359] ivtv2: i2c hardware 0x00000001 (cx2584x) not found for command 0xc008561c!
[   80.578408] ivtv2: i2c addr 0x44 not found for command 0x4008646f!
[ 80.578451] ivtv2: i2c hardware 0x00000020 (wm8775) not found for command 0x4008646d! [ 80.578495] ivtv2: i2c hardware 0x00000001 (cx2584x) not found for command 0x4008646d! [ 80.684476] ivtv2: i2c hardware 0x00000001 (cx2584x) not found for command 0xc008561c! [ 80.684522] ivtv2: i2c hardware 0x00000001 (cx2584x) not found for command 0xc008561c! [ 80.792379] ivtv2: i2c hardware 0x00000001 (cx2584x) not found for command 0xc008561c!
[   80.792658] ivtv2: Registered device video2 for encoder MPEG (4 MB)
[   80.792913] ivtv2: Registered device video34 for encoder YUV (2 MB)
[   80.793174] ivtv2: Registered device vbi2 for encoder VBI (1 MB)
[ 80.793363] ivtv2: Registered device video26 for encoder PCM audio (1 MB)
[   80.793624] ivtv2: Registered device radio2 for encoder radio
[   80.793682] ivtv2: Initialized Hauppauge WinTV PVR-150, card #2
[ 80.793700] ivtv: ==================== END INIT IVTV ==================== [ 114.287190] ivtv2: i2c hardware 0x00000001 (cx2584x) not found for command 0xc008561c! [ 114.395127] ivtv2: i2c hardware 0x00000001 (cx2584x) not found for command 0xc008561c!
[  149.649967] ivtv2: i2c addr 0x44 not found for command 0xc0cc5605!


For comparison, here are the same three cards with 0.7.4: [17179587.380000] ivtv: ==================== START INIT IVTV ====================
[17179587.380000] ivtv:  version 0.7.4 (tagged release) loading
[17179587.380000] ivtv: Linux version: 2.6.17-11-generic SMP mod_unload 586 REGPARM gcc-4.1 [17179587.380000] ivtv: In case of problems please include the debug info between [17179587.380000] ivtv: the START INIT IVTV and END INIT IVTV lines, along with [17179587.380000] ivtv: any module options, when mailing the ivtv-users mailinglist. [17179587.380000] ivtv0: Autodetected Hauppauge WinTV PVR-150 card (cx23416 based) [17179587.380000] ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
[17179587.544000] tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0)
[17179587.740000] cx25840 2-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
[17179591.188000] wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #0)
[17179591.892000] ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
[17179592.108000] ivtv0: Encoder revision: 0x02060039
[17179592.108000] ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total) [17179592.108000] ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total) [17179592.112000] ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total) [17179592.112000] ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
[17179592.212000] ivtv0: Initialized Hauppauge WinTV PVR-150, card #0
[17179592.212000] ivtv: ====================== NEXT CARD ====================== [17179592.212000] ivtv1: Autodetected Hauppauge WinTV PVR-150 card (cx23416 based) [17179592.212000] ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
[17179592.260000] tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #1)
[17179592.420000] cx25840 3-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #1)
[17179595.436000] wm8775 3-001b: chip found @ 0x36 (ivtv i2c driver #1)
[17179596.208000] ivtv1: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
[17179596.424000] ivtv1: Encoder revision: 0x02060039
[17179596.424000 ] ivtv1: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total) [17179596.428000] ivtv1: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total) [17179596.428000] ivtv1: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total) [17179596.428000] ivtv1: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
[17179596.528000] ivtv1: Initialized Hauppauge WinTV PVR-150, card #1
[17179596.528000] ivtv: ====================== NEXT CARD ====================== [17179596.528000] ivtv2: Autodetected Hauppauge WinTV PVR-150 card (cx23416 based) [17179596.528000] ivtv2: Unreasonably low latency timer, setting to 64 (was 32)
[17179597.212000] tuner 4-0061: chip found @ 0xc2 (ivtv i2c driver #2)
[17179599.532000] cx25840 4-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #2)
[17179642.392000] wm8775 4-001b: chip found @ 0x36 (ivtv i2c driver #2)
[17179644.084000] ivtv2: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
[17179644.300000] ivtv2: Encoder revision: 0x02060039
[17179644.300000] ivtv2: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total) [17179644.300000] ivtv2: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total) [17179644.300000] ivtv2: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total) [17179644.300000] ivtv2: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
[17179645.756000] ivtv2: Initialized Hauppauge WinTV PVR-150, card #2
[17179645.756000] ivtv: ==================== END INIT IVTV ====================

Granted, this is under an older kernel (2.6.17-11), but I had the same problem with .10.1 and .10.2 under 2.6.20-15 and 2.6.21.1 <http://2.6.21.1>.



One thing that looks really wierd on your dmesg output is that the module is trying to load a Huge, wierd sized firmware file:
[   71.029978] ivtv0: loaded v4l-cx2341x-enc.fw firmware (4159345264 bytes)
Can you set the debug level higher when ivtv is loaded, so we can see what is
going on?  On my box (Debian etch), I created a file:
=============================
cat /etc/modprobe.d/ivtv
options ivtv debug=511
=============================

which produces additional output:
ivtv:  ==================== START INIT IVTV ====================
ivtv:  version 0.10.3 (tagged release) loading
ivtv:  Linux version: 2.6.18-4-k7 SMP mod_unload K7 REGPARM gcc-4.1
ivtv:  In case of problems please include the debug info between
ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
ivtv:  any module options, when mailing the ivtv-users mailinglist.
ts: Compaq touchscreen protocol output
ivtv0: Autodetected Hauppauge card (cx23416 based)
ACPI: PCI Interrupt Link [APCJ] enabled at IRQ 21
ACPI: PCI Interrupt 0000:00:06.0[A] -> Link [APCJ] -> GSI 21 (level, high) -> 
IRQ 185
PCI: Setting latency timer of device 0000:00:06.0 to 64
ivtv0 info: base addr: 0xf0000000
ivtv0 info: Enabling pci device
ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
ACPI: PCI Interrupt 0000:02:0a.0[A] -> Link [APC3] -> GSI 18 (level, low) -> 
IRQ 217
ivtv0 info: Bus Mastering Enabled.
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
ivtv0 info: 22 (rev 1) at 02:0a.0, irq: 217, latency: 64, memory: 0xf0000000
ivtv0 info: attempting ioremap at 0xf0000000 len 0x00800000
ivtv0 info: attempting ioremap at 0xf2000000 len 0x00010000
ivtv0 info: Preparing for firmware halt.
ivtv0 info: Stopping VDM
ivtv0 info: Stopping AO
ivtv0 info: pinging (?) APU
ivtv0 info: Stopping VPU
ivtv0 info: Resetting Hw Blocks
ivtv0 info: Stopping SPU
ivtv0 info: init Encoder SDRAM pre-charge
ivtv0 info: init Encoder SDRAM refresh to 1us
ivtv0 info: Sleeping for 600ms (600 recommended)
intel8x0_measure_ac97_clock: measured 58670 usecs
intel8x0: clocking to 46936
ivtv0 info: Loading encoder image
ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv0 api: API Call: CX2341X_ENC_PING_FW
ivtv0 info: Getting firmware version..
ivtv0 api: API Call: CX2341X_ENC_GET_VERSION
ivtv0: Encoder revision: 0x02060039
ivtv0 info: GPIO initial dir: 0000c000 out: 00000000
ivtv0 info: activating i2c...
ivtv0 i2c: i2c init
ivtv0 i2c: setting scl and sda to 1
ivtv0 i2c: i2c client attach
ivtv0 info: Active card count: 1.
ivtv0 info: Loaded module tveeprom
tveeprom 3-0050: Hauppauge model 26552, rev B268, serial# 7946856
tveeprom 3-0050: tuner model is LG TAPE H001F MK3 (idx 68, type 47)
tveeprom 3-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 3-0050: audio processor is CX25843 (idx 37)
tveeprom 3-0050: decoder processor is CX25843 (idx 30)
tveeprom 3-0050: has radio, has no IR remote
ivtv0: Autodetected Hauppauge WinTV PVR-150
ivtv0 info: NTSC tuner detected
tuner 3-0043: chip found @ 0x86 (ivtv i2c driver #0)
ivtv0 i2c: i2c client attach
tda9887 3-0043: tda988[5/6/7] found @ 0x43 (tuner)
tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #0)
ivtv0 i2c: i2c client attach
ivtv0 info: Loaded module tuner
cx25840 3-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
cx25840 3-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
ivtv0 i2c: i2c client attach
ivtv0 info: Loaded module cx25840
wm8775 3-001b: chip found @ 0x36 (ivtv i2c driver #0)
ivtv0 i2c: i2c client attach
ivtv0 info: Loaded module wm8775
ivtv0 i2c: call_i2c_client addr=44
ivtv0: Registered device video0 for encoder MPEG (4 MB)
ivtv0 info: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096kB total)
ivtv0: Registered device video32 for encoder YUV (2 MB)
ivtv0 info: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2046kB total)
ivtv0: Registered device vbi0 for encoder VBI (1 MB)
ivtv0 info: Allocate DMA encoder VBI stream: 60 x 17472 buffers (1023kB total)
ivtv0: Registered device video24 for encoder PCM audio (1 MB)
ivtv0 info: Allocate DMA encoder PCM audio stream: 227 x 4608 buffers (1021kB 
total)
ivtv0: Registered device radio0 for encoder radio
ivtv0 info: Starting Threads
ivtv0 irq: Masking interrupts
tuner 3-0061: type set to 47 (LG NTSC (TAPE series))
ivtv0 ioctl: VIDIOC_S_INPUT
ivtv0 info: Changing input from 1 to 0
ivtv0 ioctl: VIDIOC_S_CTRL(00980909, 1)
ivtv0 i2c: call_i2c_client addr=44
ivtv0 info: Mute
ivtv0 i2c: call_i2c_client addr=44
ivtv0 i2c: call_i2c_client addr=1b
ivtv0 i2c: call_i2c_client addr=44
ivtv0 api: API Call: CX2341X_ENC_INITIALIZE_INPUT
ivtv0 ioctl: VIDIOC_S_CTRL(00980909, 0)
ivtv0 i2c: call_i2c_client addr=44
ivtv0 info: Unmute
ivtv0 ioctl: VIDIOC_S_STD
ivtv0 info: Switching standard to 1000.
ivtv0 ioctl: VIDIOC_S_FREQUENCY
ivtv0 ioctl: VIDIOC_S_CTRL(00980909, 1)
ivtv0 i2c: call_i2c_client addr=44
ivtv0 info: Mute
ivtv0 info: v4l2 ioctl: set frequency 1076
ivtv0 api: API Call: CX2341X_ENC_INITIALIZE_INPUT
ivtv0 ioctl: VIDIOC_S_CTRL(00980909, 0)
ivtv0 i2c: call_i2c_client addr=44
ivtv0 info: Unmute
ivtv0: Initialized Hauppauge WinTV PVR-150, card #0
ivtv:  ====================  END INIT IVTV  ====================
ivtv0 ioctl: v4l2 ioctl 0x80685600
ivtv0 ioctl: VIDIOC_QUERYCAP
ivtv0 ioctl: v4l2 ioctl 0x80685600
ivtv0 ioctl: VIDIOC_QUERYCAP
ivtv0 ioctl: v4l2 ioctl 0x80685600
ivtv0 ioctl: VIDIOC_QUERYCAP
ivtv0 ioctl: v4l2 ioctl 0xc04c561a
ivtv0 ioctl: VIDIOC_ENUMINPUT
ivtv0 ioctl: v4l2 ioctl 0xc04c561a
ivtv0 ioctl: VIDIOC_ENUMINPUT
ivtv0 ioctl: v4l2 ioctl 0xc04c561a
ivtv0 ioctl: VIDIOC_ENUMINPUT
ivtv0 ioctl: v4l2 ioctl 0xc04c561a
ivtv0 ioctl: VIDIOC_ENUMINPUT
ivtv0 ioctl: v4l2 ioctl 0xc04c561a
ivtv0 ioctl: VIDIOC_ENUMINPUT
ivtv0 ioctl: v4l2 ioctl 0xc04c561a
ivtv0 ioctl: VIDIOC_ENUMINPUT
ivtv0 ioctl: v4l2 ioctl 0xc0045627
ivtv0 ioctl: VIDIOC_S_INPUT
ivtv0 info: Input unchanged
ivtv0 ioctl: v4l2 ioctl 0x40085618
ivtv0 ioctl: VIDIOC_S_STD
ivtv0 info: Switching standard to b000.
ivtv0 ioctl: v4l2 ioctl 0xc0045627
ivtv0 ioctl: VIDIOC_S_INPUT
ivtv0 info: Input unchanged
ivtv0 ioctl: v4l2 ioctl 0x40085618
ivtv0 ioctl: VIDIOC_S_STD
ivtv0 ioctl: v4l2 ioctl 0xc0445636
ivtv0 ioctl: v4l2 ioctl 0x402c5639
ivtv0 ioctl: VIDIOC_S_FREQUENCY
ivtv0 ioctl: VIDIOC_S_CTRL(00980909, 1)
ivtv0 i2c: call_i2c_client addr=44
ivtv0 info: Mute
ivtv0 info: v4l2 ioctl: set frequency 3860
ivtv0 api: API Call: CX2341X_ENC_INITIALIZE_INPUT
ivtv0 ioctl: VIDIOC_S_CTRL(00980909, 0)
ivtv0 i2c: call_i2c_client addr=44
ivtv0 info: Unmute
ivtv0 ioctl: v4l2 ioctl 0xc02c5638
ivtv0 ioctl: VIDIOC_G_FREQUENCY
ivtv0 ioctl: close() of encoder MPEG
begin:vcard
fn:Mark Paulus
n:Paulus;Mark
org:MCI;Lec Interfaces / 40419
adr;dom:;;2424 Garden of the Gods Rd;Colorado Springs;CO;80919
email;internet:[EMAIL PROTECTED]
title:Mark Paulus
tel;work:719-535-5578
tel;pager:800-pagemci / 1406052
tel;home:v622-5578
version:2.1
end:vcard

_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to