All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yan Seiner <yan@seiner.com>
To: Andy Walls <awalls@md.metrocast.net>
Cc: linux-media@vger.kernel.org
Subject: Re: cx231xx kernel oops
Date: Mon, 12 Dec 2011 04:46:51 -0800	[thread overview]
Message-ID: <4EE5F7BB.4070306@seiner.com> (raw)
In-Reply-To: <0b3ac95d-1977-4e86-9337-9e1390d51b83@email.android.com>

Andy Walls wrote:
> 800 MB for 320x420 frames? It sounds like your app has gooned its requested buffer size.
>   

That's an understatement.  :-)

> <wild speculation>
> This might be due to endianess differences between MIPS abd x86 and your app only being written and tested on x86.
> </wild speculation>
>   

My speculation too.  I don't know where that number comes from; the same 
app works fine with the saa7115 driver if I switch frame grabbers.  I'll 
have to do some fiddling with the code to figure out where the problem 
lies.  It's some interaction between the app and the cx231xx driver.



> You still appear to USB stack problems, but not as severe (can't change device config to some bogus config).
>   

The requested buffer size is the result of multiplying max_pkt_size * 
max_packets and the rejected config shows a max_packet_size of 0, maybe 
ithere;'s a problem with either endianness or int size... ???  Something 
to follow up on.
> Regards,
> Andy
>
> !DSPAM:4ee5f4e4112206551461313!
>
>   


-- 
Few people are capable of expressing with equanimity opinions which differ from the prejudices of their social environment. Most people are even incapable of forming such opinions.
    Albert Einstein


  reply	other threads:[~2011-12-12 12:46 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-05  2:01 cx231xx kernel oops Yan Seiner
2011-12-05  4:15 ` Andy Walls
2011-12-05  4:21   ` Yan Seiner
2011-12-05  4:45   ` Yan Seiner
2011-12-05  4:54     ` Yan Seiner
2011-12-05 12:19       ` Yan Seiner
2011-12-05 12:31         ` Yan Seiner
2011-12-05 15:18         ` Andy Walls
2011-12-05 15:28           ` Yan Seiner
2011-12-12  1:04             ` Yan Seiner
2011-12-12 12:34               ` Andy Walls
2011-12-12 12:46                 ` Yan Seiner [this message]
2011-12-12 14:23                   ` Devin Heitmueller
2011-12-12 15:58                     ` Yan Seiner
2011-12-12 16:22                       ` Devin Heitmueller
2011-12-12 16:29                         ` Yan Seiner
2011-12-13  4:42                   ` Yan Seiner
2011-12-13 14:47                     ` Yan Seiner
2011-12-05 15:06       ` Andy Walls

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EE5F7BB.4070306@seiner.com \
    --to=yan@seiner.com \
    --cc=awalls@md.metrocast.net \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.