[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Xen + DVB = not working. memory allocation issue?



Hey Konrad,

>Please do not top-post.
Apologies.


>So try also limiting how much memory the hypervisor has to eliminate
>this being a 4GB issue. Meaning on the _hypervisor_ line add 'mem=4G'.

Yes, that was on the hypervisor line which I was specifying mem=3G. I've also tried mem=4G and still having the same problem.

>And I need to know whether you are running this in a domain or in the initial domain?

Running in Dom0.

>If you do it manually (cat /dev/video0 > /tmp/file.mpg)
>does the file increase? Is it full of garbage ?

cat: /dev/video0: Input/output error

The file size is 0 bytes.

>Does the channel selection work? Can you select the proper channel?
Analogue selection works ok and I can also watch analogue TV. When using digital, I get a lock but no video data.

> If you crank up all the debug options do you get anything saying what the problem is

With debug turned on to level 8 (echo 8 > /proc/sys/kernel/printk) I see the following in dmesg which may be useful:
[130009.484098] cx88[0]/0: [ffff8802c03b3400/0] timeout - dma=0x96a7e000

Let me know if there's anything else I can try?

Regards,

John

On 26 September 2012 00:10, Konrad Rzeszutek Wilk <konrad@xxxxxxxxxx> wrote:
On Tue, Sep 25, 2012 at 10:49:38AM +1000, John Krstev wrote:
> Hello Konrad,

Hey John,

Please do not top-post.
>
> Do you have any patches I can try? FYI I've tried booting dom0 with mem=3G and various other options, still does not work. As I mentioned it runs fine on bare metal.

So try also limiting how much memory the hypervisor has to eliminate
this being a 4GB issue. Meaning on the _hypervisor_ line add 'mem=4G'.

The next step is to actually figure out if where in the driver (cx88)
fails. And I need to know whether you are running this in a domain or
in the initial domain? If you crank up all the debug options do you
get anything saying what the problem is? How do you 'capture' the
video output? If you do it manually (cat /dev/video0 > /tmp/file.mpg)
does the file increase? Is it full of garbage ?

Does the channel selection work? Can you select the proper channel?

>
> Last time it did work with xen was Jeremy's kernel + xen 4.0, also kernel 3.0.8 with xen 4.0.4 i believe (cannot reproduce success).
>
> Thank you again for your input.
>
> Regards,
>
> John
>
>
>
> On 22/09/2012, at 3:29, Konrad Rzeszutek Wilk <konrad@xxxxxxxxxx> wrote:
>
> > On Fri, Sep 21, 2012 at 01:02:23PM +1000, John Krstev wrote:
> >> Hi Konrad,
> >
> > Hey John,
> >
> > Please next time also include xen-devel on the To header. I've done that
> > for you.
> >>
> >> I refer to your patch at:
> >> http://lists.xen.org/archives/html/xen-devel/2012-01/msg01927.html
> >> which I found reading
> >> http://www.gossamer-threads.com/lists/xen/devel/256197
> >>
> >> I have a winfast DVT 2000H (cx88) DVB card which is not able to
> >> scan/watch digital TV when running under Xen.
> >
> > Did you first try running it under baremetal Linux (using a Live CD for
> > example?) Did it work there?
> >
> > How does it not work? Can you program it? Is this under a guest or the
> > main kernel? When it wsa not working, did you try all the debug
> > options enable (http://wiki.xen.org/wiki/XenSerialConsole) to
> > see if there is anthing being reported?
> >
> >>
> >> I've tried installing the above patch to the 3.6-rc6 kernel, but did
> >> not seem to help.
> >>
> >> Apologies if this has been asked before (I wasn't able to find another
> >> patch), but is there a patch to get this (suspected vmalloc_32) fixed
> >> and DVB card working?
> >
> > Eventually yes.
> >>
> >> FYI I'm running 64 bit 3.5-rc6 and xen 4.3-unstable.
> >
> > 3.5-rc6 or 3.6-rc6?
> > I presume the latter?
> >>
> >> Thank you! :)
> >>
> >> Regards,
> >>
> >> John
> >>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.