Alan Cox said:
> On Tue, Nov 30, 2004 at 05:57:04PM -0000, [EMAIL PROTECTED]
> wrote:
>> I for a brief moment think that maybe the cause as the system disk is
>> rather a slow 8Gb one[1]
>
> Is your capture/playback going to a disk on the SiS chipset or an
external
> controller. If it's going to an external controller move it onto the
SiS
> one so it doesn't contend with the capture board for the PCI bus.

Hmmmm....

cat /dev/video0 > /mnt/store/test.mpg

Results in 700-900Mb file (soft raid5 on a pci sata card)

cat /dev/video0 > /tmp/test.mpg

Results in a 2685077440b (second attempt 2685026240b) file (SiS Onboard
ide)

The thing is though while I can see that congestion over the pci bus
could cause problems during a cat of /dev/video0 why would it be an
issue
with dd if=/dev/video0 of=/dev/video16 bs=64k ??

Actually thinking about that, I would suppose that dd if=/dev/video0
of=/dev/video16 bs=64k would still be as bad as copying to an offboard
ide
controller.

The logical progression of that is that if dd between device nodes works
then copying to the offboard ide drives _should_ work. :-) Except dd
doesn't work :-(

A _very_ quick calculation shows the file to be building at aprox
1.2Mb/s,
the PCI bandwidth is 127Mb/s, there has to be some overhead there but
even
so that should be using 1%-2% of the available bandwidth

Also while the cat /dev/video0 to the offboard controller was
recoverable
the one to the onboard controller while lasting for longer needed the
ivtv
module to be unloaded and reloaded before it would work again.

I've got another cat going at the moment with the debug level set to 255
anyway but the output of dmesg I'm getting at the moment is below.

Thanks

David

ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.2.0 (rc3a) loading
ivtv: Linux version: 2.6.8-1.521 686 REGPARM 4KSTACKS 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:00:0c.0[A] -> GSI 11 (level, low) -> IRQ 11
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: XXX PCI device: 0x0746 vendor: 0x1039
tveeprom: Ignoring new-style parameters in presence of obsolete ones
tveeprom: Hauppauge: model = 48135, rev = J324, serial# = 7245336
tveeprom: tuner = Philips FM1246 (idx = 24, type = 1)
tveeprom: tuner fmt = PAL(I) (eeprom = 0x10, v4l2 = 0x00000010)
tveeprom: audio_processor = CS5331 (type = 9)
ivtv: i2c attach [client=tveeprom[0],ok]
ivtv: Tuner Type 1, Tuner formats 0x00000010, Radio: yes, Model
0x00a93494, Revision 0x00000001
ivtv: Radio detected
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
saa7115: Ignoring new-style parameters in presence of obsolete ones
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[0],ok]
saa7115: status: (1E) 0x48, (1F) 0xc0
saa7127: Ignoring new-style parameters in presence of obsolete ones
saa7127: video encoder driver version V 0.3 loaded
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[0],ok]
msp3400: Ignoring new-style parameters in presence of obsolete ones
msp34xx: ivtv version
msp34xx: init: chip=MSP3418W-A2, has NICAM support, simple (D) mode,
simpler (G) no-thread mode
msp34xx: $Id$ compiled on: Nov 29 2004 04:12:07
ivtv: i2c attach [client=MSP3418W-A2,ok]
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 0
ivtv: Create DMA stream 1 using 8 131072 byte buffers  1048576 kbytes
total
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 224
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 64
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 using 16 65536 byte buffers  1048576 kbytes
total
ivtv: Registered v4l2 device, streamtype 8 minor 48
ivtv: ivtv_enc_thread: pid = 2650, itv = 0x22d833a0
ivtv: Setting Tuner 1
ivtv: ivtv_dec_thread: pid = 2651, itv = 0x22d833a0
tuner: type set to 1 (Philips PAL_I (FI1246 and compatibles)) by ivtv
i2c
driver #0
ivtv: Setting audio matrix to input 3, output 1
ivtv: Switching standard to PAL.
spurious 8259A interrupt: IRQ7.
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
ivtv: ====================  END INIT IVTV  ====================
saa7115: decoder disable output
saa7115: decoder enable output
ivtv: ENC: User stopped capture.
XFS mounting filesystem md0
Ending clean XFS mount for filesystem: md0
saa7115: decoder disable output
saa7115: decoder enable output
*********************************************************************
This section (below) is where it fell over copying to the pci controller
card
*********************************************************************
ivtv: IRQ: IVTV_IRQ_DEC_DMA_ERR intr 1
ivtv: DMA Registers State: xfer: 0x00000000, state: 0x00000013 dec_addr:
0x00000000 enc_addr: 0x14d80000 control: 0x00000003
ivtv: DMA DEC Buffers:
 0x00000000:0x00000000:0x00000000
ivtv: DMA ENC Buffers:
 0x001582dc:0x14974000:0x00004000
 0x0015c2dc:0x14978000:0x00004000
 0x001602dc:0x1497c000:0x80004000
 0x0012e2dc:0x14944000:0x80004000
 0x00129adc:0x14da0000:0x80004000
 0x000efb1c:0x14b60000:0x00004000
 0x000f3b1c:0x14b64000:0x00004000
 0x000f7b1c:0x14b68000:0x00004000
ivtv: IRQ: IVTV_IRQ_DEC_DMA_ERR intr 2
ivtv: DMA Registers State: xfer: 0x00000000, state: 0x00000003 dec_addr:
0x00000000 enc_addr: 0x14d80000 control: 0x00000003
ivtv: DMA DEC Buffers:
 0x00000000:0x00000000:0x00000000
ivtv: DMA ENC Buffers:
 0x001582dc:0x14974000:0x00004000
 0x0015c2dc:0x14978000:0x00004000
 0x001602dc:0x1497c000:0x80004000
 0x0012e2dc:0x14944000:0x80004000
 0x00129adc:0x14da0000:0x80004000
 0x000efb1c:0x14b60000:0x00004000
 0x000f3b1c:0x14b64000:0x00004000
 0x000f7b1c:0x14b68000:0x00004000
ivtv: Checking FW at 3361532 jiffies
ivtv: ENC: User stopped capture.
***************************************************************
Restart to onboard ide
***************************************************************
saa7115: decoder disable output
saa7115: decoder enable output
***************************************************************
Then at 2685077440b it dies but no messages?
***************************************************************
Ctrl-C the cat (which takes ages then attempt to retry but it
gives the errors below (and a zero sized file).
***************************************************************
ivtv: ENC: User stopped capture.
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x00000082 with result 0xfffffff0
ivtv: ENC: Failed stopping capture -16
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000d5 with result 0xfffffff0
ivtv: ENC: Failed stopping event notification -16
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000c6 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000c7 with result 0xfffffff0
ivtv: No Free Mailbox for cmd 0x000000bb after 100 tries!
ivtv: Mailbox[0] 0x000000c9 flags 0x00000003
ivtv: Mailbox[1] 0x000000d6 flags 0x00000003
ivtv: Mailbox[2] 0x000000b9 flags 0x00000003
ivtv: Firmware UNRESPONSIVE when trying cmd 0x000000bb!!!
ivtv: No Free Mailbox for cmd 0x00000095 after 100 tries!
ivtv: Mailbox[0] 0x0000008f flags 0x00000003
ivtv: Mailbox[1] 0x00000091 flags 0x00000003
ivtv: Mailbox[2] 0x00000099 flags 0x00000003
ivtv: Firmware UNRESPONSIVE when trying cmd 0x00000095!!!
ivtv: No Free Mailbox for cmd 0x000000bd after 100 tries!
ivtv: Mailbox[0] 0x00000097 flags 0x00000003
ivtv: Mailbox[1] 0x000000b1 flags 0x00000003
ivtv: Mailbox[2] 0x000000c5 flags 0x00000003
ivtv: Firmware UNRESPONSIVE when trying cmd 0x000000bd!!!
ivtv: No Free Mailbox for cmd 0x000000a1 after 100 tries!
ivtv: Mailbox[0] 0x0000009b flags 0x00000003
ivtv: Mailbox[1] 0x0000009d flags 0x00000003
ivtv: Mailbox[2] 0x0000009f flags 0x00000003
ivtv: Firmware UNRESPONSIVE when trying cmd 0x000000a1!!!
ivtv: No Free Mailbox for cmd 0x000000c8 after 100 tries!
ivtv: Mailbox[0] 0x000000d0 flags 0x00000003
ivtv: Mailbox[1] 0x000000d8 flags 0x00000003
ivtv: Mailbox[2] 0x000000d9 flags 0x00000003
ivtv: Firmware UNRESPONSIVE when trying cmd 0x000000c8!!!
ivtv: init error 21. Code -16
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
ivtv: 1000 ms time out waiting for firmware
ivtv: Failed api call 0x000000b7 with result 0xfffffff0
saa7115: decoder disable output
saa7115: decoder enable output
ivtv: ENC: User stopped capture.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
ivtv-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to