[mythtv] Issue with dual PVR350

Claus M. Christiansen a at skjern-net.dk
Thu Nov 11 20:05:33 UTC 2004


Evening ML...

When I modprobe ivtv all is good for both my tuners, PVR350 both of 
them, and I can cat /dev/video[0-1] > video[0-1].mpg just fine, also at 
the same time. I can (now) also dd if=video[0-1].mpg 
of=/dev/video[16-17] bs=64k just fine and I get crystal clear output to 
my TV.

The issue comes when trying to watch livetv with myth, either 0.16 or 
latest CVS (08/11-2004 ~20:00). I get no video and nothing more happens. 
I get a dump in dmesg (see below) with an error. The error is comming 
when using both one and two tuner cards.
I have applied the myth-ivtv patch but no good either (dmesg below is without patch)
I suspect it to be myth since it is the mythbackend process that crashes
but it seems that it is mostly ivtv calls in the stacktrace. Any fix that 
I don't know about? 

The computer is:
Asus Pundit-R (specs: http://uk.asus.com/prog/spec.asp?m=Pundit-R&langs=11)
512mb Ram
2xPVR350
Pentium 4 Celeron

Hopeing someone can help...

Sincerly

Claus

Nov  8 20:37:30 mythbox kernel: ivtv: ==================== START INIT 
IVTV ====================
Nov  8 20:37:30 mythbox kernel: ivtv: version 0.2.0 (0.2.0-rc2l) loading
Nov  8 20:37:30 mythbox kernel: ivtv: Linux version: 2.6.9 preempt 
PENTIUM4 gcc-3.3
Nov  8 20:37:30 mythbox kernel: ivtv: In case of problems please include 
the debug info
Nov  8 20:37:30 mythbox kernel: ivtv: between the START INIT IVTV and 
END INIT IVTV lines when
Nov  8 20:37:30 mythbox kernel: ivtv: mailing the ivtv-devel mailinglist.
Nov  8 20:37:30 mythbox kernel: ivtv: Autodetected WinTV PVR 350 card
Nov  8 20:37:30 mythbox kernel: ivtv: Found an iTVC15 based chip
Nov  8 20:37:30 mythbox kernel: ACPI: PCI interrupt 0000:02:09.0[A] -> 
GSI 16 (level, low) -> IRQ 16
Nov  8 20:37:30 mythbox kernel: ivtv: XXX PCI device: 0x5833 vendor: 0x1002
Nov  8 20:37:30 mythbox kernel: tveeprom: Ignoring new-style parameters 
in presence of obsolete ones
Nov  8 20:37:30 mythbox kernel: tveeprom: Hauppauge: model = 48134, rev 
= J321,serial# = 2764030
Nov  8 20:37:30 mythbox kernel: tveeprom: tuner = Philips FM1216 (idx = 
21, type = 5)
Nov  8 20:37:30 mythbox kernel: tveeprom: tuner fmt = PAL(B/G) (eeprom = 
0x04, v4l2 = 0x00000007)
Nov  8 20:37:30 mythbox kernel: tveeprom: audio_processor = CS5331 (type 
= 9)
Nov  8 20:37:30 mythbox kernel: ivtv: i2c attach [client=tveeprom[0],ok]
Nov  8 20:37:30 mythbox kernel: ivtv: Tuner Type 5, Tuner formats 
0x00000007, Radio: yes, Model 0x00a93491, Revision 0x00000001
Nov  8 20:37:30 mythbox kernel: ivtv: PAL tuner detected
Nov  8 20:37:30 mythbox kernel: ivtv: Radio detected
Nov  8 20:37:30 mythbox kernel: tuner: Ignoring new-style parameters in 
presence of obsolete ones
Nov  8 20:37:30 mythbox kernel: tuner: chip found at addr 0xc2 i2c-bus 
ivtv i2cdriver #0
Nov  8 20:37:30 mythbox kernel: ivtv: i2c attach [client=(tuner unset),ok]
Nov  8 20:37:30 mythbox kernel: saa7115: Ignoring new-style parameters 
in presence of obsolete ones
Nov  8 20:37:30 mythbox kernel: saa7115: starting probe for adapter 
monid (0x30000)
Nov  8 20:37:30 mythbox kernel: saa7115: starting probe for adapter dvi 
(0x30000)
Nov  8 20:37:30 mythbox kernel: saa7115: starting probe for adapter vga 
(0x30000)
Nov  8 20:37:30 mythbox kernel: saa7115: starting probe for adapter crt2 
(0x30000)
Nov  8 20:37:30 mythbox kernel: saa7115: starting probe for adapter ivtv 
i2c driver #0 (0x10005)
Nov  8 20:37:30 mythbox kernel: saa7115: detecting saa7115 client on 
address 0x42
Nov  8 20:37:30 mythbox kernel: saa7115: writing init values
Nov  8 20:37:30 mythbox kernel: ivtv: i2c attach [client=saa7115[0],ok]
Nov  8 20:37:30 mythbox kernel: saa7115: status: (1E) 0x48, (1F) 0xc0
Nov  8 20:37:30 mythbox kernel: saa7127: Ignoring new-style parameters 
in presence of obsolete ones
Nov  8 20:37:30 mythbox kernel: saa7127: video encoder driver version V 
0.3 loaded
Nov  8 20:37:30 mythbox kernel: saa7127: Selecting NTSC video Standard
Nov  8 20:37:30 mythbox kernel: saa7127: Selecting S-Video+Composite
Nov  8 20:37:30 mythbox kernel: saa7127: Turn WSS off
Nov  8 20:37:30 mythbox kernel: saa7127: Widescreen Mode 4:3 Full Format
Nov  8 20:37:30 mythbox kernel: saa7127: Selecting Normal Encoder Input
Nov  8 20:37:30 mythbox kernel: saa7127: Enable Video Output
Nov  8 20:37:30 mythbox kernel: ivtv: i2c attach [client=saa7127[0],ok]
Nov  8 20:37:30 mythbox kernel: msp3400: Ignoring new-style parameters 
in presence of obsolete ones
Nov  8 20:37:30 mythbox kernel: msp34xx: ivtv version
Nov  8 20:37:30 mythbox kernel: msp34xx: init: chip=MSP3418W-A2, has 
NICAM support, simple (D) mode, simpler (G) no-thread mode
Nov  8 20:37:30 mythbox kernel: msp34xx: $Id$ compiled on: Nov  7 2004 
15:54:21
Nov  8 20:37:31 mythbox kernel: ivtv: i2c attach [client=MSP3418W-A2,ok]
Nov  8 20:37:32 mythbox kernel: ivtv: Encoder revision: 0x02040024
Nov  8 20:37:32 mythbox kernel: ivtv: Encoder Firmware is buggy, use 
version 0x02040011
Nov  8 20:37:32 mythbox kernel: ivtv: Decoder revision: 0x02020023
Nov  8 20:37:32 mythbox kernel: ivtv: Configuring WinTV PVR 350 card 
with 9 streams
Nov  8 20:37:32 mythbox kernel: ivtv: Create DMA stream 0 using 256 
16384 byte buffers  4194304 kbytes total
Nov  8 20:37:32 mythbox kernel: ivtv: Registered v4l2 device, streamtype 
0 minor 0
Nov  8 20:37:32 mythbox kernel: ivtv: Create DMA stream 1 using 64 16384 
byte buffers  1048576 kbytes total
Nov  8 20:37:32 mythbox kernel: ivtv: Registered v4l2 device, streamtype 
1 minor 32
Nov  8 20:37:32 mythbox kernel: ivtv: Create stream 2 using 40 52224 
byte buffers  2097152 kbytes total
Nov  8 20:37:32 mythbox kernel: ivtv: Registered v4l2 device, streamtype 
2 minor 224
Nov  8 20:37:32 mythbox kernel: ivtv: Create DMA stream 3 using 128 
16384 byte buffers  2097152 kbytes total
Nov  8 20:37:32 mythbox kernel: ivtv: Registered v4l2 device, streamtype 
3 minor 24
Nov  8 20:37:32 mythbox kernel: ivtv: Create stream 4
Nov  8 20:37:32 mythbox kernel: ivtv: Registered v4l2 device, streamtype 
4 minor 64
Nov  8 20:37:32 mythbox kernel: ivtv: Create DMA stream 5 using 16 65536 
byte buffers  1048576 kbytes total
Nov  8 20:37:32 mythbox kernel: ivtv: Registered v4l2 device, streamtype 
5 minor 16
Nov  8 20:37:32 mythbox kernel: ivtv: Create stream 6 using 1024 2048 
byte buffers  262144 kbytes total
Nov  8 20:37:32 mythbox kernel: ivtv: Registered v4l2 device, streamtype 
6 minor 228
Nov  8 20:37:32 mythbox kernel: ivtv: Create stream 7
Nov  8 20:37:32 mythbox kernel: ivtv: Registered v4l2 device, streamtype 
7 minor 232
Nov  8 20:37:32 mythbox kernel: ivtv: Create DMA stream 8 using 16 65536 
byte buffers  1048576 kbytes total
Nov  8 20:37:32 mythbox kernel: ivtv: Registered v4l2 device, streamtype 
8 minor 48
Nov  8 20:37:32 mythbox kernel: ivtv: Setting Tuner 5
Nov  8 20:37:32 mythbox kernel: tuner: type set to 5 (Philips PAL_BG 
(FI1216 and compatibles)) by ivtv i2c driver #0
Nov  8 20:37:32 mythbox kernel: ivtv: Setting audio matrix to input 3, 
output 1
Nov  8 20:37:32 mythbox kernel: ivtv: Switching standard to PAL.
Nov  8 20:37:32 mythbox kernel: ivtv: ivtv_enc_thread: pid = 1397, itv = 
0xdd94bba0
Nov  8 20:37:32 mythbox kernel: ivtv: ivtv_dec_thread: pid = 1398, itv = 
0xdd94bba0
Nov  8 20:37:32 mythbox kernel: saa7115: decoder set norm PAL
Nov  8 20:37:32 mythbox kernel: saa7115: set audio: 0x01
Nov  8 20:37:32 mythbox kernel: saa7127: Setting Encoder Video Standard
Nov  8 20:37:32 mythbox kernel: saa7127: Set PAL Video Mode
Nov  8 20:37:32 mythbox kernel: saa7127: Selecting PAL video Standard
Nov  8 20:37:32 mythbox kernel: ivtv: Initialized WinTV PVR 350, card #0
Nov  8 20:37:32 mythbox kernel: ivtv: Autodetected WinTV PVR 350 card
Nov  8 20:37:32 mythbox kernel: ivtv: Found an iTVC15 based chip
Nov  8 20:37:32 mythbox kernel: ACPI: PCI interrupt 0000:02:0e.0[A] -> 
GSI 17 (level, low) -> IRQ 17
Nov  8 20:37:32 mythbox kernel: ivtv: XXX PCI device: 0x5833 vendor: 0x1002
Nov  8 20:37:32 mythbox kernel: tveeprom: Hauppauge: model = 48134, rev 
= J347,serial# = 6821816
Nov  8 20:37:32 mythbox kernel: tveeprom: tuner = LG TP18PSB01D (idx = 
47, type= 28)
Nov  8 20:37:32 mythbox kernel: tveeprom: tuner fmt = PAL(B/G) (eeprom = 
0x04, v4l2 = 0x00000007)
Nov  8 20:37:32 mythbox kernel: tveeprom: audio_processor = CS5331 (type 
= 9)
Nov  8 20:37:32 mythbox kernel: ivtv: i2c attach [client=tveeprom[1],ok]
Nov  8 20:37:32 mythbox kernel: tuner: chip found at addr 0xc2 i2c-bus 
ivtv i2cdriver #1
Nov  8 20:37:32 mythbox kernel: ivtv: i2c attach [client=(tuner unset),ok]
Nov  8 20:37:32 mythbox kernel: saa7115: starting probe for adapter ivtv 
i2c driver #1 (0x10005)
Nov  8 20:37:32 mythbox kernel: saa7115: detecting saa7115 client on 
address 0x42
Nov  8 20:37:32 mythbox kernel: saa7115: writing init values
Nov  8 20:37:32 mythbox kernel: ivtv: i2c attach [client=saa7115[1],ok]
Nov  8 20:37:32 mythbox kernel: saa7115: status: (1E) 0x48, (1F) 0xc0
Nov  8 20:37:32 mythbox kernel: saa7127: Selecting NTSC video Standard
Nov  8 20:37:32 mythbox kernel: saa7127: Selecting S-Video+Composite
Nov  8 20:37:32 mythbox kernel: saa7127: Turn WSS off
Nov  8 20:37:32 mythbox kernel: saa7127: Widescreen Mode 4:3 Full Format
Nov  8 20:37:32 mythbox kernel: saa7127: Selecting Normal Encoder Input
Nov  8 20:37:32 mythbox kernel: saa7127: Enable Video Output
Nov  8 20:37:32 mythbox kernel: ivtv: i2c attach [client=saa7127[1],ok]
Nov  8 20:37:32 mythbox kernel: msp34xx: ivtv version
Nov  8 20:37:32 mythbox kernel: msp34xx: init: chip=MSP3418W-A2, has 
NICAM support, simple (D) mode, simpler (G) no-thread mode
Nov  8 20:37:32 mythbox kernel: msp34xx: $Id$ compiled on: Nov  7 2004 
15:54:21
Nov  8 20:37:33 mythbox kernel: ivtv: i2c attach [client=MSP3418W-A2,ok]
Nov  8 20:37:33 mythbox kernel: ivtv: Tuner Type 28, Tuner formats 
0x00000007, Radio: yes, Model 0x00a93517, Revision 0x00000001
Nov  8 20:37:33 mythbox kernel: ivtv: PAL tuner detected
Nov  8 20:37:33 mythbox kernel: ivtv: Radio detected
Nov  8 20:37:33 mythbox kernel: ivtv: Encoder revision: 0x02040024
Nov  8 20:37:33 mythbox kernel: ivtv: Encoder Firmware is buggy, use 
version 0x02040011
Nov  8 20:37:33 mythbox kernel: ivtv: Decoder revision: 0x02020023
Nov  8 20:37:33 mythbox kernel: ivtv: Configuring WinTV PVR 350 card 
with 9 streams
Nov  8 20:37:33 mythbox kernel: ivtv: Create DMA stream 0 using 256 
16384 byte buffers  4194304 kbytes total
Nov  8 20:37:33 mythbox kernel: ivtv: Registered v4l2 device, streamtype 
0 minor 1
Nov  8 20:37:33 mythbox kernel: ivtv: Create DMA stream 1 using 64 16384 
byte buffers  1048576 kbytes total
Nov  8 20:37:33 mythbox kernel: ivtv: Registered v4l2 device, streamtype 
1 minor 33
Nov  8 20:37:33 mythbox kernel: ivtv: Create stream 2 using 40 52224 
byte buffers  2097152 kbytes total
Nov  8 20:37:33 mythbox kernel: ivtv: Registered v4l2 device, streamtype 
2 minor 225
Nov  8 20:37:33 mythbox kernel: ivtv: Create DMA stream 3 using 128 
16384 byte buffers  2097152 kbytes total
Nov  8 20:37:33 mythbox kernel: ivtv: Registered v4l2 device, streamtype 
3 minor 25
Nov  8 20:37:33 mythbox kernel: ivtv: Create stream 4
Nov  8 20:37:33 mythbox kernel: ivtv: Registered v4l2 device, streamtype 
4 minor 65
Nov  8 20:37:33 mythbox kernel: ivtv: Create DMA stream 5 using 16 65536 
byte buffers  1048576 kbytes total
Nov  8 20:37:33 mythbox kernel: ivtv: Registered v4l2 device, streamtype 
5 minor 17
Nov  8 20:37:33 mythbox kernel: ivtv: Create stream 6 using 1024 2048 
byte buffers  262144 kbytes total
Nov  8 20:37:33 mythbox kernel: ivtv: Registered v4l2 device, streamtype 
6 minor 229
Nov  8 20:37:33 mythbox kernel: ivtv: Create stream 7
Nov  8 20:37:33 mythbox kernel: ivtv: Registered v4l2 device, streamtype 
7 minor 233
Nov  8 20:37:33 mythbox kernel: ivtv: Create DMA stream 8 using 16 65536 
byte buffers  1048576 kbytes total
Nov  8 20:37:33 mythbox kernel: ivtv: Registered v4l2 device, streamtype 
8 minor 49
Nov  8 20:37:33 mythbox kernel: ivtv: Setting Tuner 28
Nov  8 20:37:33 mythbox kernel: tuner: type set to 28 (LG PAL_BG+FM 
(TPI8PSB01D)) by ivtv i2c driver #1
Nov  8 20:37:33 mythbox kernel: ivtv: Setting audio matrix to input 3, 
output 1
Nov  8 20:37:33 mythbox kernel: ivtv: Switching standard to PAL.
Nov  8 20:37:33 mythbox kernel: ivtv: ivtv_enc_thread: pid = 1426, itv = 
0xdd95fe64
Nov  8 20:37:33 mythbox kernel: ivtv: ivtv_dec_thread: pid = 1427, itv = 
0xdd95fe64
Nov  8 20:37:34 mythbox kernel: saa7115: decoder set norm PAL
Nov  8 20:37:34 mythbox kernel: saa7115: set audio: 0x01
Nov  8 20:37:34 mythbox kernel: saa7127: Setting Encoder Video Standard
Nov  8 20:37:34 mythbox kernel: saa7127: Set PAL Video Mode
Nov  8 20:37:34 mythbox kernel: saa7127: Selecting PAL video Standard
Nov  8 20:37:34 mythbox kernel: ivtv: Initialized WinTV PVR 350, card #1
Nov  8 20:37:34 mythbox kernel: ivtv: ====================  END INIT 
IVTV  ====================
Nov  8 20:40:10 mythbox kernel: saa7115: decoder set picture bright=128 
contrast=63 saturation=64 hue=0
Nov  8 20:40:10 mythbox kernel: saa7115: decoder set picture bright=128 
contrast=63 saturation=63 hue=0
Nov  8 20:40:10 mythbox kernel: saa7115: decoder set picture bright=127 
contrast=63 saturation=63 hue=0
Nov  8 20:40:10 mythbox kernel: saa7115: decoder set picture bright=127 
contrast=63 saturation=63 hue=0
Nov  8 20:40:10 mythbox kernel: saa7115: decoder disable output
Nov  8 20:40:11 mythbox kernel: saa7115: decoder enable output
Nov  8 20:40:39 mythbox kernel: saa7115: decoder set picture bright=127 
contrast=63 saturation=63 hue=0
Nov  8 20:40:39 mythbox last message repeated 3 times
Nov  8 20:40:39 mythbox kernel: saa7115: decoder set size
Nov  8 20:40:39 mythbox kernel: PREEMPT
Nov  8 20:40:39 mythbox kernel: Modules linked in: msp3400 saa7127 
saa7115 tuner tveeprom ivtv snd_mixer_oss snd soundcore videodev
Nov  8 20:40:39 mythbox kernel: CPU:    0
Nov  8 20:40:39 mythbox kernel: EIP:    
0060:[pg0+490100561/1067873280]    Not tainted VLI
Nov  8 20:40:39 mythbox kernel: EFLAGS: 00210246   (2.6.9)
Nov  8 20:40:39 mythbox kernel: EIP is at saa7115_command+0x68d/0xbe0 
[saa7115]
Nov  8 20:40:39 mythbox kernel: eax: 000b4000   ebx: db8fad00   ecx: 
00000000edx: 00000000
Nov  8 20:40:39 mythbox kernel: esi: ce357e68   edi: dbf1a200   ebp: 
00000000esp: ce357d4c
Nov  8 20:40:39 mythbox kernel: ds: 007b   es: 007b   ss: 0068
Nov  8 20:40:39 mythbox kernel: Process mythbackend (pid: 1486, 
threadinfo=ce356000 task=cde3e560)
Nov  8 20:40:39 mythbox kernel: Stack: dbf1a200 000000cf 00000002 
ffffffff ffffffff ffffffff ffffffff ffffffff
Nov  8 20:40:39 mythbox kernel:        ffffffff ffffffff ffffffff 
ffffffff ffffffff ffffffff dbf1a200 00000002
Nov  8 20:40:39 mythbox kernel:        dd94bba0 dd94bc48 dd92e069 
dbf1a200 40206467 ce357e68 dbf1b680 c0cc5605
Nov  8 20:40:39 mythbox kernel: Call Trace:
Nov  8 20:40:39 mythbox kernel:  [pg0+490303593/1067873280] 
ivtv_call_i2c_client+0xe5/0x144 [ivtv]
Nov  8 20:40:39 mythbox kernel:  [pg0+490303727/1067873280] 
ivtv_saa7115+0x27/0x2b [ivtv]
Nov  8 20:40:39 mythbox kernel:  [pg0+490352264/1067873280] 
ivtv_v4l2_ioctls+0xe6b/0x1143 [ivtv]
Nov  8 20:40:39 mythbox kernel:  [dput+36/532] dput+0x24/0x214
Nov  8 20:40:39 mythbox kernel:  [link_path_walk+2618/3448] 
link_path_walk+0xa3a/0xd78
Nov  8 20:40:39 mythbox kernel:  [pg0+490356307/1067873280] 
ivtv_v4l2_do_ioctl+0x1ca/0x416 [ivtv]
Nov  8 20:40:39 mythbox kernel:  [pg0+472503295/1067873280] 
video_usercopy+0x7b/0x135 [videodev]
Nov  8 20:40:39 mythbox kernel:  [pg0+472502808/1067873280] 
video_open+0x11f/0x232 [videodev]
Nov  8 20:40:39 mythbox kernel:  [pg0+472502521/1067873280] 
video_open+0x0/0x232 [videodev]
Nov  8 20:40:39 mythbox kernel:  [chrdev_open+237/532] 
chrdev_open+0xed/0x214
Nov  8 20:40:39 mythbox kernel:  [dentry_open+265/546] 
dentry_open+0x109/0x222
Nov  8 20:40:39 mythbox kernel:  [filp_open+98/100] filp_open+0x62/0x64
Nov  8 20:40:39 mythbox kernel:  [pg0+490356895/1067873280] 
ivtv_v4l2_ioctl+0x0/0x182 [ivtv]
Nov  8 20:40:39 mythbox kernel:  [pg0+490357006/1067873280] 
ivtv_v4l2_ioctl+0x6f/0x182 [ivtv]
Nov  8 20:40:39 mythbox kernel:  [pg0+490355849/1067873280] 
ivtv_v4l2_do_ioctl+0x0/0x416 [ivtv]
Nov  8 20:40:39 mythbox kernel:  [pg0+490356895/1067873280] 
ivtv_v4l2_ioctl+0x0/0x182 [ivtv]
Nov  8 20:40:39 mythbox kernel:  [sys_ioctl+247/588] sys_ioctl+0xf7/0x24c
Nov  8 20:40:39 mythbox kernel:  [syscall_call+7/11] syscall_call+0x7/0xb
Nov  8 20:40:39 mythbox kernel: Code: fa a4 e2 8b 4e 08 81 f9 d0 02 00 
00 0f 84ff 01 00 00 31 d2 b8 d0 02 00 00 f7 f1 89 c2 89 c5 b8 00 40 0b 
00 0f af d1 89 d1 31 d2 <f7> f1 83 3d 60 e8 8f dd 01 89 44 24 14 0f 8f 
ba 01 00 00 83 e5



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
ivtv-devel mailing list
ivtv-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ivtv-devel




More information about the mythtv-dev mailing list