Mailing List Archive

Strange reboot issues (30sec off boot good; quick/warm/reboot bad)
Hi,

After fighting for a few days with ivtv I've discovered my problem.
If I do a reboot my PVR250 card is wrongly identified as a PVR150. If
I leave the computer off for 30 sec then it is properly identified as
a PVR250. It also worked correctly the first time I made the modules
and did a "modprobe ivtv".

I'm running Ubuntu 5.10 (very fresh install - no lirc or mythtv).
Thanks for the good documentation. Here's the requested info:

Firmwares:
305dba74bbe5905447add8883f3ecb68 /lib/modules/ivtv-fw-dec.bin
d85cb08382395390dc95ac6ebc2205f9 /lib/modules/ivtv-fw-enc.bin
0661f8b2693fe3123e6234557353eacc /lib/modules/ivtv_init_mpeg.bin

diff of working (cold boot) and broken (warm boot) ivtv logs (with
hopefully irrelevant columns removed):
--- 1-Works-modprobe.ivtv 2005-10-14 23:25:15.000000000 -0400
+++ 2-Broken-reboot.ivtv 2005-10-14 23:25:27.000000000 -0400
@@ -4,15 +4,12 @@
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 250 card (iTVC16 based)
+ivtv0: Autodetected WinTV PVR 150 card (iTVC16 based)
tveeprom: ivtv version
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
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]
-saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
-ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
-msp34xx: ivtv version
-ivtv0: i2c attach to card #0 ok [client=MSP3448W-B3, addr=40]
+ivtv0 warning: i2c client addr: 0x44 not found for command 0x400464c9!
ivtv0: loading /lib/modules/ivtv-fw-enc.bin
ivtv0: Encoder revision: 0x02050032
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
@@ -20,5 +17,18 @@
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 39 (LG NTSC (newer TAPC series)) by ivtv i2c driver #0
-ivtv0: Initialized WinTV PVR 250, card #0
+ivtv0 warning: i2c client addr: 0x44 not found for command 0x40046403!
+ivtv0 warning: i2c client addr: 0x44 not found for command 0x40046404!
+ivtv0 warning: i2c client addr: 0x1b not found for command 0x40047764!
+ivtv0 warning: i2c client addr: 0x44 not found for command 0x4004646e!
+ivtv0 warning: i2c client addr: 0x44 not found for command 0x40046403!
+ivtv0 warning: i2c client addr: 0x44 not found for command 0x80287610!
+ivtv0 warning: i2c client addr: 0x44 not found for command 0x40287611!
+ivtv0 warning: i2c client addr: 0x44 not found for command 0x40046406!
+ivtv0 warning: i2c client addr: 0x1b not found for command 0x4004760f!
+ivtv0 warning: i2c client addr: 0x44 not found for command 0x4004760f!
+ivtv0 warning: i2c client addr: 0x44 not found for command 0x40046406!
+ivtv0 warning: i2c client addr: 0x44 not found for command 0x80287610!
+ivtv0 warning: i2c client addr: 0x44 not found for command 0x40287611!
+ivtv0: Initialized WinTV PVR 150, card #0
ivtv: ==================== END INIT IVTV ====================

Output of lspci -v (warm boot only):

0000:02:09.0 Multimedia video controller: Internext Compression Inc
iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
Subsystem: Hauppauge computer works Inc. WinTV PVR 250
Flags: bus master, medium devsel, latency 64, IRQ 21
Memory at f0000000 (32-bit, prefetchable) [size=64M]
Capabilities: [44] Power Management version 2



I have both gcc-4 and gcc-3.4 installed and since I didn't do a
CC=gcc-3.4 I'm not sure which compiler was used (the kernel was
compiled with 3.4).

If there is any other info that would be helpful please let me know.
I also tried specifying the module params which didn't make a
difference.

Thanks for the good howto. The only problem I had was the ivtv
modules were installed in /lib/modules/2.6.12 instead of
/lib/modules/2.6.12-9-386. `uname -r` returns the latter.

Thanks for the great software....now to get mythtv installed.

e