>
> > I am building a new system that has two HVR-1600s in it. The
> > motherboard is a Via C7 based board with a dual PCI riser. It has 1GB
> > of memory.
> >
> > I am running a custom built 2.6.27 (final) kernel with the cx18 and
> > ivtv drivers built in.
> >
> > After adding vmalloc=192M to my kernel boot line, both cards appear to
> > initialize properly:
>
> > After boot, I can talk to and utilize /dev/video0 relatively normally
> > (I am getting a slight jerkiness in watching video off /dev/video0 but
> > I can investigate that one later).
>
> I know some of the cause here. For now, you'll have to be satisfied
> with buffered playback. Use the -cache 16384 command line option option
> for mplayer or use MythTV which always buffers.
>
>
Great, I'll add a small buffer at the front.
>
> > However, if I try
> >
> > cat /dev/video1 > test1.mpg
> >
> > I get zero length file
> >
> > -rw-r--r-- 1 root root 0 Oct 13 17:46 test1.mpg
>
> At first glance, I'd say you're not getting interrupts for some reason.
> PLease provide the output of
>
> # cat /proc/interrupts
>
Here is /proc/interrupts
enc239-009-060:~# cat /proc/interrupts
CPU0
0: 699019 IO-APIC-edge timer
1: 2 IO-APIC-edge i8042
9: 0 IO-APIC-fasteoi acpi
12: 4 IO-APIC-edge i8042
16: 0 IO-APIC-fasteoi cx18-1
17: 63 IO-APIC-fasteoi cx18-0
18: 109280 IO-APIC-fasteoi eth0
19: 3 IO-APIC-fasteoi
21: 506 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb2,
uhci_hcd:usb3, uhci_hcd:usb4, uhci_hcd:usb5
22: 0 IO-APIC-fasteoi VIA8237
NMI: 0 Non-maskable interrupts
LOC: 113 Local timer interrupts
TRM: 0 Thermal event interrupts
SPU: 0 Spurious interrupts
ERR: 0
MIS: 0
> after the failed attempt. You may also wish to load the cx18 module
> with some of the debug flags enabled. Namely the flags for info, warn,
> mailbox, & irq. See the output of modinfo cx18 for details on how to
> set them.
>
I tried modinfo cx18 and was told it couldn't find the module, which I
expected, as I have it compiled in directly to the kernel. Given that it is
part of the kernel itself (and not a loadable module) is there a way to set
the various debug options or do I need to spin a new kernel with cx18 as a
loadable module so I can change flags on insert?
>
>
>
> > If I try and do the cat test again, I get:
> >
> > enc239-009-060:~# cat /dev/video1 > test1.mpg
> > cat: /dev/video1: Input/output error
>
> Hmm. I got something like this only once or twice, when mailbox debug
> messaging showed somethings happening out of order.
>
> Please send the debug messages I mentioned above if you can reproduce
> this.
>
>
Here is some interesting information. I can reproduce it again this morning
on the same machine. I have a similar machine (same motherboard and memory
and cards but a different PCI riser card) and it was able to pass the "cat"
test no problem last night (identical kernel/os load (same svn)).
>
>
> > Here is the output of
> >
> > lspci -vv
> >
> > (after the failed attempts)
> >
> > enc239-009-060:~# cat pcilog.txt
> > 00:00.0 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro
> > Host Bridge
> > Subsystem: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro
> > Host Bridge
> > Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> > ParErr- Stepping- SERR- FastB2B- DisINTx-
> > Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium
> > >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
> > Latency: 8
> > Region 0: Memory at f8000000 (32-bit, prefetchable) [size=32M]
> > Capabilities: [80] AGP version 3.5
> > Status: RQ=8 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64-
> > HTrans- 64bit- FW- AGP3+ Rate=x4,x8
> > Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit-
> > FW- Rate=<none>
> > Capabilities: [50] Power Management version 2
> > Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
> > PME(D0-,D1-,D2-,D3hot-,D3cold-
> > )
> > Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
> Nothing too unusual that I see. The host bridge is showing a Master
> Abort, which typically happens on the bridge device the CX23418 is
> behind (which both of yours are in this case).
>
> The host bridge latency timer of 8 seems odd - it's a little low.
>
Is this something I can set myself or is that determined by the BIOS?
I'll look at getting the cx18 in to a loadable form this morning and report
back with more info, unless I can change the options on the compiled in
driver.
Thanks,
-Jeff
_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel