Hi All,
I understand that this question has been asked a number of times.
However, I didn't find a solid, satisfactory answer. At least one that
worked for me! Perhaps it should be added to the FAQ?
I've got a hauppauge pvr-250. The driver compiled fine, loads well.
The motherboard is an AOpen, KT-333 chipset. When I load the driver,
it's with the new msp3400, and I use mpg_buffers=100 debug=127 for ivtv
parameters. I'm using kernel 2.4.21, patched with v4l2.
The drivers are from a CVS-tarball, with an entry in the README from Aug
12, 2003.
The card has it's own irq. In fact I've tried this without anything but
the pvr and the agp cards, with the pvr in all the different slots.
I've also tried a number of versions of the firmware. The copy on the
cd that shipped with the card, as well as pvr250_16_21062.exe, and
pvr250_17_21199.exe. Same thing.
The symptoms? When I cat /dev/video0 > first_capture.mpg, it sits as
though recording, but when I mplayer first_capture.mpg, it's only about
5 secs long (it looks damned good for those 5 seconds, though!). The
output from dmesg follows. Note the lines
ivtv: dma still pending! stopping anyway.
ivtv: EOS interrupt not received! stopping anyway.
I've done this with virtually nothing running (no X), so cpu load is
negligible.
Can anyone expand on what they had to do to get this (somewhat common?)
problem to go away?
I _really_ appreciate any help that can be offered!
Regards,
Todd
Here's the dmesg stuff (somewhat truncated):
.
.
.
ivtv: ======= valid IRQ bits: 0x08000000 ======
ivtv: DMA Done tasklet
ivtv: Processed DMA-complete
ivtv: datalen 0x00008700
ivtv: new datalen 0x00007700
ivtv: Returning 4096
ivtv: v4l2 read
ivtv: Read stream..
ivtv: datalen 0x00007700
ivtv: new datalen 0x00006700
ivtv: Returning 4096
ivtv: v4l2 read
ivtv: Read stream..
ivtv: datalen 0x00006700
ivtv: new datalen 0x00005700
ivtv: Returning 4096
ivtv: v4l2 read
ivtv: Read stream..
ivtv: datalen 0x00005700
ivtv: new datalen 0x00004700
ivtv: Returning 4096
ivtv: v4l2 read
ivtv: Read stream..
ivtv: datalen 0x00004700
ivtv: new datalen 0x00003700
ivtv: Returning 4096
ivtv: v4l2 read
ivtv: Read stream..
ivtv: datalen 0x00003700
ivtv: new datalen 0x00002700
ivtv: Returning 4096
ivtv: v4l2 read
ivtv: Read stream..
ivtv: datalen 0x00002700
ivtv: new datalen 0x00001700
ivtv: Returning 4096
ivtv: v4l2 read
ivtv: Read stream..
ivtv: datalen 0x00001700
ivtv: new datalen 0x00000700
ivtv: Returning 4096
ivtv: v4l2 read
ivtv: Read stream..
ivtv: datalen 0x00000700
ivtv: new datalen 0x00000000
ivtv: datalen 0x00002900
ivtv: new datalen 0x00002000
ivtv: Returning 4096
ivtv: v4l2 read
ivtv: Read stream..
ivtv: datalen 0x00002000
ivtv: new datalen 0x00001000
ivtv: Returning 4096
ivtv: v4l2 read
ivtv: Read stream..
ivtv: datalen 0x00001000
ivtv: new datalen 0x00000000
ivtv: Returning 4096
ivtv: v4l2 read
ivtv: Read stream..
ivtv: ======= valid IRQ bits: 0x80000000 ======
ivtv: Sched DMA tasklet
ivtv: DMA/MPG type 0x00000000,size 0x00001040,offset 0x0017b8dc
ivtv: bufs_needed: 1, free: 100
ivtv: size: 4160 0x00001040
ivtv: SGarray[0]: 0x0017b8dc, 0x27670000 0x80001100
ivtv: Sched dma: addr: 0x3075bc00, array_size 0x0000000c, type
0x00000000
ivtv: API Call: 0x000000cc
ivtv: getting mailbox
ivtv: [0] .. 0x00000007
ivtv: recycled mailbox: 0
ivtv: Processed enc-startcap
ivtv: ======= valid IRQ bits: 0x08000000 ======
ivtv: DMA Done tasklet
ivtv: Processed DMA-complete
ivtv: ======= valid IRQ bits: 0x80000000 ======
ivtv: Sched DMA tasklet
ivtv: DMA/MPG type 0x00000000,size 0x00008fc0,offset 0x000dc91c
ivtv: bufs_needed: 2, free: 99
ivtv: size: 36800 0x00008fc0
ivtv: size: 2240 0x000008c0
ivtv: SGarray[0]: 0x000dc91c, 0x27a80000 0x00008700
ivtv: SGarray[1]: 0x000e501c, 0x27a90000 0x80000900
ivtv: Sched dma: addr: 0x3075bc00, array_size 0x00000018, type
0x00000000
ivtv: API Call: 0x000000cc
ivtv: getting mailbox
ivtv: [0] .. 0x00000007
ivtv: recycled mailbox: 0
ivtv: Processed enc-startcap
ivtv: datalen 0x00001040
ivtv: new datalen 0x00000040
ivtv: Returning 4096
ivtv: ======= valid IRQ bits: 0x08000000 ======
ivtv: DMA Done tasklet
ivtv: Processed DMA-complete
ivtv: ======= valid IRQ bits: 0x80000000 ======
ivtv: Sched DMA tasklet
ivtv: DMA/MPG type 0x00000000,size 0x00016800,offset 0x000e58dc
ivtv: bufs_needed: 3, free: 97
ivtv: size: 92160 0x00016800
ivtv: size: 57600 0x0000e100
ivtv: size: 23040 0x00005a00
ivtv: SGarray[0]: 0x000e58dc, 0x27aa0000 0x00008700
ivtv: SGarray[1]: 0x000edfdc, 0x27ab0000 0x00008700
ivtv: SGarray[2]: 0x000f66dc, 0x27ac0000 0x80005a00
ivtv: Sched dma: addr: 0x3075bc00, array_size 0x00000024, type
0x00000000
ivtv: API Call: 0x000000cc
ivtv: getting mailbox
ivtv: [0] .. 0x00000007
ivtv: recycled mailbox: 0
ivtv: Processed enc-startcap
ivtv: ======= valid IRQ bits: 0x10000000 ======
ivtv: VIM Restart
ivtv: v4l2 read
ivtv: Read stream..
ivtv: datalen 0x00000040
ivtv: new datalen 0x00000000
ivtv: Returning 64
ivtv: v4l2 read
ivtv: Read stream..
ivtv: datalen 0x00008700
ivtv: new datalen 0x00007700
ivtv: Returning 4096
ivtv: v4l2 read
ivtv: Read stream..
ivtv: datalen 0x00007700
ivtv: new datalen 0x00006700
ivtv: Returning 4096
ivtv: v4l2 read
ivtv: Read stream..
ivtv: datalen 0x00006700
ivtv: new datalen 0x00005700
ivtv: Returning 4096
ivtv: v4l2 read
ivtv: Read stream..
ivtv: datalen 0x00005700
ivtv: new datalen 0x00004700
ivtv: Returning 4096
ivtv: v4l2 read
ivtv: Read stream..
ivtv: datalen 0x00004700
ivtv: new datalen 0x00003700
ivtv: Returning 4096
ivtv: v4l2 read
ivtv: Read stream..
ivtv: datalen 0x00003700
ivtv: new datalen 0x00002700
ivtv: Returning 4096
ivtv: v4l2 read
ivtv: Read stream..
ivtv: datalen 0x00002700
ivtv: new datalen 0x00001700
ivtv: Returning 4096
ivtv: v4l2 read
ivtv: Read stream..
ivtv: datalen 0x00001700
ivtv: new datalen 0x00000700
ivtv: Returning 4096
ivtv: v4l2 read
ivtv: Read stream..
ivtv: datalen 0x00000700
ivtv: new datalen 0x00000000
ivtv: datalen 0x000008c0
ivtv: new datalen 0x00000000
ivtv: Returning 4032
ivtv: v4l2 read
ivtv: Read stream..
ivtv: v4l2 close
ivtv: API Call: 0x000000d5
ivtv: getting mailbox
ivtv: [0] .. 0x00000007
ivtv: recycled mailbox: 0
ivtv: retval: 0x00000000
ivtv: Releasing mailbox (before 0x00000007, ivtv: after 0x00000000 )
ivtv: API Call: 0x00000082
ivtv: getting mailbox
ivtv: [0] .. 0x00000000
ivtv: got free mailbox: 0
ivtv: retval: 0x00000000
ivtv: Releasing mailbox (before 0x00000007, ivtv: after 0x00000000 )
ivtv: dma still pending! stopping anyway.
ivtv: EOS interrupt not received! stopping anyway.
ivtv: IRQ Mask is now: 0xffffffff
|