Hi!

Recently I'm getting I/O errors from the msp3400 module.
This is really odd because I did not have a major problem
so far. Moreover, the errors seem to come only _after_ the
first capture (see logs below). The first from 04:15-06:00
was ok but the second on 20:15 failed.

Jun 29 04:15:02 banshee kernel: saa7115: decoder enable output
Jun 29 06:00:03 banshee kernel: ivtv: ENC: User stopped capture.
Jun 29 20:15:02 banshee kernel: msp34xx: I/O error #1 (write 0x12/0x00)
Jun 29 20:15:04 banshee kernel: msp34xx: I/O error #2 (write 0x12/0x00)
Jun 29 20:15:06 banshee kernel: msp34xx: I/O error #3 (write 0x12/0x00)
Jun 29 20:15:06 banshee kernel: msp34xx: giving up, reseting chip. Sound will 
go off, sorry folks :-|
Jun 29 20:15:06 banshee kernel: i2c_adapter i2c-3: sendbytes: error - bailout.
Jun 29 20:15:07 banshee kernel: msp3400: chip reset failed
Jun 29 20:15:08 banshee kernel: msp34xx: I/O error #1 (write 0x12/0x06)
Jun 29 20:15:10 banshee kernel: msp34xx: I/O error #2 (write 0x12/0x06)
Jun 29 20:15:12 banshee kernel: msp34xx: I/O error #3 (write 0x12/0x06)
Jun 29 20:15:12 banshee kernel: msp34xx: giving up, reseting chip. Sound will 
go off, sorry folks :-|
Jun 29 20:15:12 banshee kernel: i2c_adapter i2c-3: sendbytes: error - bailout.
Jun 29 20:15:13 banshee kernel: msp3400: chip reset failed
Jun 29 20:15:14 banshee kernel: msp34xx: I/O error #1 (write 0x12/0x07)
Jun 29 20:15:16 banshee kernel: msp34xx: I/O error #2 (write 0x12/0x07)

Also, only some ioctl's do not work, i.e.
'ivtvctl -d /dev/video0 -y brightness=150' works, but
'ivtvctl -d /dev/video0 -y volume=50000' fails with the same error
messages.

 i2c_adapter i2c-3: sendbytes: error - bailout.
 msp34xx: I/O error #1 (write 0x12/0x06)
 msp34xx: I/O error #2 (write 0x12/0x06)
 msp34xx: I/O error #3 (write 0x12/0x06)
 msp34xx: giving up, reseting chip. Sound will go off, sorry folks :-|
 i2c_adapter i2c-3: sendbytes: error - bailout.
 msp3400: chip reset failed
 msp34xx: I/O error #1 (write 0x12/0x07)

Now, any hints to further diagnose this problem?
Searching the mailing-list did not turn up any evident solution. :-(
Thanks in advance!

Regards, Walter

PS:

Please tell me if additional system information is required, perhaps
with debug level raised.

Important: I've also tried 0.3.6t drivers. Compiled and loaded well
           but gave similar results (i.e. same errors) so I reverted 
           back to the stable series for now. Also tell me if 
           I should try the devel version again. Thanks.
 
System: SuSE 9.2 with vanilla 2.6.11.12 kernel with bytesex.org patches: 
        http://dl.bytesex.org/patches/2.6.11-2/All-2.6.11.diff.gz

Hardware: Asus A7N8X-E
        
The bytesex patches are required for my Pinnacle PCTV pro.
I did not have problems running the bttv and ivtv drivers concurrently so
far. However, the ivtv errors also show without btvv loaded, I've already
tested this.
         
Jun 28 23:14:29 banshee kernel: 
 ivtv: ==================== START INIT IVTV ====================
 ivtv: version 0.2.0 (rc3k) loading
 ivtv: Linux version: 2.6.11.12 preempt K7 gcc-3.3
 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.
 ivtv: Autodetected WinTV PVR 350 card
 ivtv: Found an iTVC15 based chip
 ACPI: PCI interrupt 0000:01:09.0[A] -> GSI 17 (level, high) -> IRQ 209
 ivtv: XXX PCI device: 0x01e0 vendor: 0x10de
 ivtv: i2c attach [client=(tuner unset),ok]
 tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #0)
 msp34xx: ivtv version
 msp34xx: init: chip=MSP3418W-A2, has NICAM support, simple (D) mode, simpler 
(G) no-thread mode
 msp34xx: $Id$ compiled on: Jun 28 2005 22:38:35
 ivtv: i2c attach [client=MSP3418W-A2,ok]
 ivtv: i2c attach [client=tveeprom,ok]
 saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)
 saa7115: detecting saa7115 client on address 0x42
 saa7115: writing init values
 ivtv: i2c attach [client=saa7115,ok]
 saa7115: status: (1E) 0xa4, (1F) 0x80
 saa7127: detecting saa7127 client on address 0x88
 saa7127: Selecting NTSC video Standard
 saa7127: Selecting S-Video+Composite
 saa7127: Turn WSS off
 saa7127: Widescreen Mode 4:3 Full Format
 saa7127: Selecting Normal Encoder Input
 saa7127: Enable Video Output
 ivtv: i2c attach [client=saa7127,ok]
 tveeprom: Hauppauge: model = 48134, rev = J321, serial# = 2771457
 tveeprom: tuner = Philips FM1216 (idx = 21, type = 5)
 tveeprom: tuner fmt = PAL(B/G) (eeprom = 0x04, v4l2 = 0x00000007)
 tveeprom: audio_processor = CS5331 (type = 9)
 ivtv: Tuner Type 5, Tuner formats 0x00000007, Radio: yes, Model 0x00a93491, 
Revision 0xf90b1c2c
 ivtv: Radio detected
 ivtv: Encoder revision: 0x02040011
 ivtv: Decoder revision: 0x02020023
 ivtv: Configuring WinTV PVR 350 card with 9 streams
 ivtv: Create DMA stream 0 using 256 16384 byte buffers  4194304 kbytes total
 ivtv: Registered v4l2 device, streamtype 0 minor 1
 ivtv: Create DMA stream 1 
 ivtv: Registered v4l2 device, streamtype 1 minor 32
 ivtv: Create stream 2 using 40 52224 byte buffers  2097152 kbytes total
 ivtv: Registered v4l2 device, streamtype 2 minor 225
 ivtv: Create DMA stream 3 using 455 4608 byte buffers  2097152 kbytes total
 ivtv: Registered v4l2 device, streamtype 3 minor 24
 ivtv: Create stream 4 
 ivtv: Registered v4l2 device, streamtype 4 minor 65
 ivtv: Create DMA stream 5 using 16 65536 byte buffers  1048576 kbytes total
 ivtv: Registered v4l2 device, streamtype 5 minor 16
 ivtv: Create stream 6 using 1024 2048 byte buffers  262144 kbytes total
 ivtv: Registered v4l2 device, streamtype 6 minor 228
 ivtv: Create stream 7 
 ivtv: Registered v4l2 device, streamtype 7 minor 232
 ivtv: Create DMA stream 8 
 ivtv: Registered v4l2 device, streamtype 8 minor 48
 ivtv: Setting Tuner 5
 tuner 3-0061: type set to 5 (Philips PAL_BG (FI1216 and compatibles))
 saa7115: decoder set input (4)
 saa7115: now setting Composite input
 ivtv: Setting audio matrix to input 3, output 1
 ivtv: ivtv_enc_thread: pid = 18321, itv = 0xf90a6b20
 ivtv: ivtv_dec_thread: pid = 18322, itv = 0xf90a6b20
 ivtv: Switching standard to PAL.
 saa7115: decoder set norm PAL
 saa7115: set audio: 0x01
 saa7127: Setting Encoder Video Standard
 saa7127: Set PAL Video Mode
 saa7127: Selecting PAL video Standard
 ivtv: Initialized WinTV PVR 350, card #0
Jun 28 23:14:32 banshee kernel: i
 ivtv: ====================  END INIT IVTV  ====================

Modules (manually loaded in order given, eeprom is explicity removed 
before):
  I2C_MODULES="i2c-core i2c-algo-bit"
  TV_MODULES="tveeprom tvaudio tuner msp3400 tda9887 saa7115 saa7127"
  VIDEODEV_MODULES="v4l2-common v4l1-compat videodev ivtv bttv pwc"

/etc/modprobe.conf:
 options ivtv ivtv_std=2

/proc/interrupts:
           CPU0       
  0:   86541859    IO-APIC-edge  timer
  1:      21881    IO-APIC-edge  i8042
  4:     241838    IO-APIC-edge  serial
  5:          1    IO-APIC-edge  MPU-401 (UART)
  7:          1    IO-APIC-edge  parport0
  9:          0   IO-APIC-level  acpi
 12:     155353    IO-APIC-edge  i8042
 14:    1222103    IO-APIC-edge  ide0
 15:    1085023    IO-APIC-edge  ide1
177:    2351747   IO-APIC-level  ide2, ide3
185:   10324137   IO-APIC-level  SB Audigy, [EMAIL PROTECTED]:0000:03:00.0
193:        371   IO-APIC-level  Nvidia nForce2, ohci_hcd
201:          0   IO-APIC-level  ohci_hcd
209:    9669786   IO-APIC-level  eth1, ivtv0
217:    4272730   IO-APIC-level  aic7xxx, ohci1394, bttv0
225:       6191   IO-APIC-level  ehci_hcd, ohci1394
NMI:          0 
LOC:   86541473 
ERR:          0
MIS:          0

lspci:
# lspci
0000:00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?) 
(rev c1)
0000:00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev c1)
0000:00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)
0000:00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)
0000:00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)
0000:00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)
0000:00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
0000:00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
0000:00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
0000:00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
0000:00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
0000:00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet 
Controller (rev a1)
0000:00:05.0 Multimedia audio controller: nVidia Corporation nForce MultiMedia 
audio [Via VT82C686B] (rev a2)
0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio 
Controler (MCP) (rev a1)
0000:00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3)
0000:00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
0000:00:0d.0 FireWire (IEEE 1394): nVidia Corporation nForce2 FireWire (IEEE 
1394) Controller (rev a3)
0000:00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)
0000:01:04.0 Ethernet controller: Marvell Technology Group Ltd. Yukon Gigabit 
Ethernet 10/100/1000Base-T Adapter (rev 13)
0000:01:06.0 SCSI storage controller: Adaptec AHA-2940/2940W / AIC-7871
0000:01:07.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
0000:01:07.1 Input device controller: Creative Labs SB Audigy MIDI/Game port 
(rev 03)
0000:01:07.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port
0000:01:08.0 Unknown mass storage controller: Promise Technology, Inc. PDC20268 
(Ultra100 TX2) (rev 02)
0000:01:09.0 Multimedia video controller: Internext Compression Inc iTVC15 
MPEG-2 Encoder (rev 01)
0000:01:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video 
Capture (rev 11)
0000:01:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture 
(rev 11)
0000:01:0b.0 RAID bus controller: Silicon Image, Inc. (formerly CMD Technology 
Inc) SiI 3112 [SATALink/SATARaid] Serial ATA Controller (rev 02)
0000:03:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 
04)




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to