On 5/23/07, Mark Paulus <[EMAIL PROTECTED]> wrote:
Mark Murray wrote: > I have 3 PVR150s and it seems the latest ivtv driver craps out on the > third one.
...
> > 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 =============================
Thanks for the response. Okay, I tried loading up with the debug setting and here's what it gave me: Once again, all three cards operate fine under 0.7.4, but, for some reason, 0.10 (1.0.0) doesn't like my third card - also it doesn't matter which card is third - swapping them around made no difference. The size of the firmware that dmesg is reporting is suspicious and different for all three cards(4104401848 bytes, 4104402336 bytes, and 4104402672 bytes respectively), weird since the firmware in /lib/firmware/2.6.22-5-generic/ is actually 256K bytes. The firmware I was loading with 0.7.4 (located in /lib/firmware/ is a different size (369K), but is supposedly the same version. I tried loading the old firmware with 0.10, but got basically the same result. Any ideas? [ 514.024362] ivtv: ==================== START INIT IVTV ==================== [ 514.024367] ivtv: version 1.0.0 (2.6.22-5-generic SMP mod_unload 586 ) loading [ 514.025173] ivtv0: Autodetected Hauppauge card (cx23416 based) [ 514.025352] ivtv0 info: base addr: 0xd0000000 [ 514.025354] ivtv0 info: Enabling pci device [ 514.025595] ivtv0 info: Attempting to enable Bus Mastering [ 514.025601] ivtv0 info: Bus Mastering Enabled. [ 514.025606] ivtv0 info: 22 (rev 1) at 02:06.0, irq: 20, latency: 64, memory: 0xd0000000 [ 514.025610] ivtv0 info: attempting ioremap at 0xd0000000 len 0x00800000 [ 514.025629] ivtv0 info: attempting ioremap at 0xd2000000 len 0x00010000 [ 514.025632] ivtv0 info: Preparing for firmware halt. [ 514.031876] ivtv0 info: Stopping VDM [ 514.031881] ivtv0 info: Stopping AO [ 514.031882] ivtv0 info: pinging (?) APU [ 514.031884] ivtv0 info: Stopping VPU [ 514.031886] ivtv0 info: Resetting Hw Blocks [ 514.031888] ivtv0 info: Stopping SPU [ 514.039850] ivtv0 info: init Encoder SDRAM pre-charge [ 514.039855] ivtv0 info: init Encoder SDRAM refresh to 1us [ 514.039858] ivtv0 info: Sleeping for 600ms (600 recommended) [ 514.639327] ivtv0 info: Loading encoder image [ 514.660539] ivtv0: loaded v4l-cx2341x-enc.fw firmware (4104401848 bytes) [ 514.859141] ivtv0 api: API Call: CX2341X_ENC_PING_FW [ 514.867144] ivtv0 info: Getting firmware version.. [ 514.867148] ivtv0 api: API Call: CX2341X_ENC_GET_VERSION [ 514.875139] ivtv0: Encoder revision: 0x02050032 [ 514.875141] ivtv0: Recommended firmware version is 0x02060039. [ 514.875147] ivtv0 info: GPIO initial dir: 0000df01 out: 000026f3 [ 514.875149] ivtv0 info: activating i2c... [ 514.875151] ivtv0 i2c: i2c init [ 514.875154] ivtv0 i2c: setting scl and sda to 1 [ 514.883030] tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0) [ 514.885110] ivtv0 i2c: i2c client attach [ 514.900803] cx25840 2-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #0) [ 514.902900] ivtv0 i2c: i2c client attach [ 518.193277] wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #0) [ 518.203108] ivtv0 i2c: i2c client attach [ 518.205964] ivtv0 i2c: i2c client attach [ 518.212617] ivtv0 info: Active card count: 1. [ 518.221353] ivtv0 info: Loaded module tveeprom [ 518.270012] ivtv0: Autodetected Hauppauge WinTV PVR-150 [ 518.270014] ivtv0 info: NTSC tuner detected [ 518.280574] ivtv0 info: Loaded module tuner [ 518.289718] ivtv0 info: Loaded module cx25840 [ 518.298664] ivtv0 info: Loaded module wm8775 [ 518.298672] ivtv0 i2c: call_i2c_client addr=44 [ 518.335711] ivtv0 info: Changing input from 1 to 0 [ 518.335715] ivtv0 ioctl: VIDIOC_S_CTRL(00980909, 1) [ 518.335717] ivtv0 i2c: call_i2c_client addr=44 [ 518.338983] ivtv0 info: Mute [ 518.338988] ivtv0 i2c: call_i2c_client addr=44 [ 518.376654] ivtv0 i2c: call_i2c_client addr=1b [ 518.379242] ivtv0 i2c: call_i2c_client addr=44 [ 518.415795] ivtv0 api: API Call: CX2341X_ENC_INITIALIZE_INPUT [ 518.519987] ivtv0 ioctl: VIDIOC_S_CTRL(00980909, 0) [ 518.519990] ivtv0 i2c: call_i2c_client addr=44 [ 518.522098] ivtv0 info: Unmute [ 518.522102] ivtv0 ioctl: VIDIOC_S_CTRL(00980909, 1) [ 518.522104] ivtv0 i2c: call_i2c_client addr=44 [ 518.525097] ivtv0 info: Mute [ 518.525100] ivtv0 info: v4l2 ioctl: set frequency 1076 [ 518.539233] ivtv0 api: API Call: CX2341X_ENC_INITIALIZE_INPUT [ 518.643885] ivtv0 ioctl: VIDIOC_S_CTRL(00980909, 0) [ 518.643891] ivtv0 i2c: call_i2c_client addr=44 [ 518.646071] ivtv0 info: Unmute [ 518.650629] ivtv0: Registered device video0 for encoder MPEG (4 MB) [ 518.650636] ivtv0 info: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096kB total) [ 518.655823] ivtv0: Registered device video32 for encoder YUV (2 MB) [ 518.655830] ivtv0 info: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2046kB total) [ 518.660963] ivtv0: Registered device vbi0 for encoder VBI (1 MB) [ 518.660971] ivtv0 info: Allocate DMA encoder VBI stream: 60 x 17472 buffers (1023kB total) [ 518.665969] ivtv0: Registered device video24 for encoder PCM audio (1 MB) [ 518.665977] ivtv0 info: Allocate DMA encoder PCM audio stream: 227 x 4608 buffers (1021kB total) [ 518.666703] ivtv0 info: Switching standard to 1000. [ 518.688093] ivtv0 irq: Masking interrupts [ 518.688104] ivtv0: Initialized Hauppauge WinTV PVR-150, card #0 [ 518.688523] ivtv: ====================== NEXT CARD ====================== [ 518.688528] ivtv1: Autodetected Hauppauge card (cx23416 based) [ 518.689000] ivtv1 info: base addr: 0xd4000000 [ 518.689003] ivtv1 info: Enabling pci device [ 518.689363] ivtv1 info: Attempting to enable Bus Mastering [ 518.689369] ivtv1 info: Bus Mastering Enabled. [ 518.689375] ivtv1 info: 22 (rev 1) at 02:07.0, irq: 21, latency: 64, memory: 0xd4000000 [ 518.689378] ivtv1 info: attempting ioremap at 0xd4000000 len 0x00800000 [ 518.689398] ivtv1 info: attempting ioremap at 0xd6000000 len 0x00010000 [ 518.689402] ivtv1 info: Preparing for firmware halt. [ 518.695843] ivtv1 info: Stopping VDM [ 518.695845] ivtv1 info: Stopping AO [ 518.695847] ivtv1 info: pinging (?) APU [ 518.695849] ivtv1 info: Stopping VPU [ 518.695850] ivtv1 info: Resetting Hw Blocks [ 518.695852] ivtv1 info: Stopping SPU [ 518.703830] ivtv1 info: init Encoder SDRAM pre-charge [ 518.703832] ivtv1 info: init Encoder SDRAM refresh to 1us [ 518.703835] ivtv1 info: Sleeping for 600ms (600 recommended) [ 519.303316] ivtv1 info: Loading encoder image [ 519.325154] ivtv1: loaded v4l-cx2341x-enc.fw firmware (4104402336 bytes) [ 519.523132] ivtv1 api: API Call: CX2341X_ENC_PING_FW [ 519.531137] ivtv1 info: Getting firmware version.. [ 519.531140] ivtv1 api: API Call: CX2341X_ENC_GET_VERSION [ 519.539129] ivtv1: Encoder revision: 0x02050032 [ 519.539131] ivtv1: Recommended firmware version is 0x02060039. [ 519.539136] ivtv1 info: GPIO initial dir: 0000df01 out: 000026f3 [ 519.539139] ivtv1 info: activating i2c... [ 519.539141] ivtv1 i2c: i2c init [ 519.539144] ivtv1 i2c: setting scl and sda to 1 [ 519.547072] tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #1) [ 519.549163] ivtv1 i2c: i2c client attach [ 519.564520] cx25840 3-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #1) [ 519.566608] ivtv1 i2c: i2c client attach [ 522.847240] wm8775 3-001b: chip found @ 0x36 (ivtv i2c driver #1) [ 522.857098] ivtv1 i2c: i2c client attach [ 522.859746] ivtv1 i2c: i2c client attach [ 522.866421] ivtv1 info: Active card count: 2. [ 522.875202] ivtv1 info: Loaded module tveeprom [ 522.923848] ivtv1: Autodetected Hauppauge WinTV PVR-150 [ 522.923850] ivtv1 info: NTSC tuner detected [ 522.935080] ivtv1 info: Loaded module tuner [ 522.944483] ivtv1 info: Loaded module cx25840 [ 522.953351] ivtv1 info: Loaded module wm8775 [ 522.953358] ivtv1 i2c: call_i2c_client addr=44 [ 522.990411] ivtv1 info: Changing input from 1 to 0 [ 522.990415] ivtv1 ioctl: VIDIOC_S_CTRL(00980909, 1) [ 522.990417] ivtv1 i2c: call_i2c_client addr=44 [ 522.993461] ivtv1 info: Mute [ 522.993464] ivtv1 i2c: call_i2c_client addr=44 [ 523.030168] ivtv1 i2c: call_i2c_client addr=1b [ 523.032679] ivtv1 i2c: call_i2c_client addr=44 [ 523.069221] ivtv1 api: API Call: CX2341X_ENC_INITIALIZE_INPUT [ 523.175990] ivtv1 ioctl: VIDIOC_S_CTRL(00980909, 0) [ 523.175996] ivtv1 i2c: call_i2c_client addr=44 [ 523.178185] ivtv1 info: Unmute [ 523.178189] ivtv1 ioctl: VIDIOC_S_CTRL(00980909, 1) [ 523.178191] ivtv1 i2c: call_i2c_client addr=44 [ 523.181191] ivtv1 info: Mute [ 523.181193] ivtv1 info: v4l2 ioctl: set frequency 1076 [ 523.195328] ivtv1 api: API Call: CX2341X_ENC_INITIALIZE_INPUT [ 523.299883] ivtv1 ioctl: VIDIOC_S_CTRL(00980909, 0) [ 523.299889] ivtv1 i2c: call_i2c_client addr=44 [ 523.302060] ivtv1 info: Unmute [ 523.306592] ivtv1: Registered device video1 for encoder MPEG (4 MB) [ 523.306600] ivtv1 info: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096kB total) [ 523.311959] ivtv1: Registered device video33 for encoder YUV (2 MB) [ 523.311967] ivtv1 info: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2046kB total) [ 523.317121] ivtv1: Registered device vbi1 for encoder VBI (1 MB) [ 523.317130] ivtv1 info: Allocate DMA encoder VBI stream: 60 x 17472 buffers (1023kB total) [ 523.322189] ivtv1: Registered device video25 for encoder PCM audio (1 MB) [ 523.322197] ivtv1 info: Allocate DMA encoder PCM audio stream: 227 x 4608 buffers (1021kB total) [ 523.322917] ivtv1 info: Switching standard to 1000. [ 523.344654] ivtv1 irq: Masking interrupts [ 523.344670] ivtv1: Initialized Hauppauge WinTV PVR-150, card #1 [ 523.345159] ivtv: ====================== NEXT CARD ====================== [ 523.345164] ivtv2: Autodetected Hauppauge card (cx23416 based) [ 523.345630] ivtv2 info: base addr: 0xd8000000 [ 523.345633] ivtv2 info: Enabling pci device [ 523.345993] ivtv2 info: Attempting to enable Bus Mastering [ 523.345999] ivtv2 info: Bus Mastering Enabled. [ 523.346005] ivtv2 info: 22 (rev 1) at 02:08.0, irq: 22, latency: 64, memory: 0xd8000000 [ 523.346008] ivtv2 info: attempting ioremap at 0xd8000000 len 0x00800000 [ 523.346028] ivtv2 info: attempting ioremap at 0xda000000 len 0x00010000 [ 523.346032] ivtv2 info: Preparing for firmware halt. [ 523.351837] ivtv2 info: Stopping VDM [ 523.351840] ivtv2 info: Stopping AO [ 523.351842] ivtv2 info: pinging (?) APU [ 523.351844] ivtv2 info: Stopping VPU [ 523.351846] ivtv2 info: Resetting Hw Blocks [ 523.351848] ivtv2 info: Stopping SPU [ 523.359830] ivtv2 info: init Encoder SDRAM pre-charge [ 523.359834] ivtv2 info: init Encoder SDRAM refresh to 1us [ 523.359837] ivtv2 info: Sleeping for 600ms (600 recommended) [ 523.959315] ivtv2 info: Loading encoder image [ 523.977142] ivtv2: loaded v4l-cx2341x-enc.fw firmware (4104402672 bytes) [ 524.175142] ivtv2 api: API Call: CX2341X_ENC_PING_FW [ 524.183161] ivtv2 info: Getting firmware version.. [ 524.183165] ivtv2 api: API Call: CX2341X_ENC_GET_VERSION [ 524.191157] ivtv2: Encoder revision: 0x02050032 [ 524.191159] ivtv2: Recommended firmware version is 0x02060039. [ 524.191190] ivtv2 info: GPIO initial dir: 0000df00 out: 000026f3 [ 524.191193] ivtv2 info: activating i2c... [ 524.191195] ivtv2 i2c: i2c init [ 524.191198] ivtv2 i2c: setting scl and sda to 1 [ 524.229559] ivtv2 info: Active card count: 3. [ 524.238433] ivtv2 info: Loaded module tveeprom [ 524.239870] ivtv2: Invalid EEPROM [ 524.249389] ivtv2 info: Loaded module tuner [ 524.258574] ivtv2 info: Loaded module cx25840 [ 524.267352] ivtv2 info: Loaded module wm8775 [ 524.267359] ivtv2 info: Changing input from 1 to 0 [ 524.267363] ivtv2 ioctl: VIDIOC_S_CTRL(00980909, 1) [ 524.267367] ivtv2: i2c hardware 0x00000001 (cx2584x) not found for command 0xc008561c! [ 524.267370] ivtv2 info: Mute [ 524.267372] ivtv2 i2c: call_i2c_client addr=44 [ 524.267375] ivtv2: i2c addr 0x44 not found for command 0x4008646f! [ 524.267379] ivtv2: i2c hardware 0x00000020 (wm8775) not found for command 0x4008646d! [ 524.267382] ivtv2: i2c hardware 0x00000001 (cx2584x) not found for command 0x4008646d! [ 524.267385] ivtv2 api: API Call: CX2341X_ENC_INITIALIZE_INPUT [ 524.375877] ivtv2 ioctl: VIDIOC_S_CTRL(00980909, 0) [ 524.375885] ivtv2: i2c hardware 0x00000001 (cx2584x) not found for command 0xc008561c! [ 524.375889] ivtv2 info: Unmute [ 524.375892] ivtv2 ioctl: VIDIOC_S_CTRL(00980909, 1) [ 524.375895] ivtv2: i2c hardware 0x00000001 (cx2584x) not found for command 0xc008561c! [ 524.375897] ivtv2 info: Mute [ 524.375899] ivtv2 info: v4l2 ioctl: set frequency 1076 [ 524.376815] ivtv2 api: API Call: CX2341X_ENC_INITIALIZE_INPUT [ 524.482865] ivtv2 ioctl: VIDIOC_S_CTRL(00980909, 0) [ 524.482872] ivtv2: i2c hardware 0x00000001 (cx2584x) not found for command 0xc008561c! [ 524.482876] ivtv2 info: Unmute [ 524.487754] ivtv2: Registered device video2 for encoder MPEG (4 MB) [ 524.487761] ivtv2 info: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096kB total) [ 524.492861] ivtv2: Registered device video34 for encoder YUV (2 MB) [ 524.492869] ivtv2 info: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2046kB total) [ 524.498014] ivtv2: Registered device vbi2 for encoder VBI (1 MB) [ 524.498021] ivtv2 info: Allocate DMA encoder VBI stream: 60 x 17472 buffers (1023kB total) [ 524.503007] ivtv2: Registered device video26 for encoder PCM audio (1 MB) [ 524.503015] ivtv2 info: Allocate DMA encoder PCM audio stream: 227 x 4608 buffers (1021kB total) [ 524.503962] ivtv2: Registered device radio2 for encoder radio [ 524.503970] ivtv2 info: Switching standard to 1000. [ 524.504243] ivtv2 irq: Masking interrupts [ 524.504296] ivtv2: Initialized Hauppauge WinTV PVR-150, card #2 [ 524.504566] ivtv: ==================== END INIT IVTV ==================== -- Mark Murray http://gtee.homelinux.com:8000/gallery/
_______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
