lkml.org 
[lkml]   [2010]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [REGRESSION] "USB: use kfifo to buffer usb-generic serial writes" causes gobi_loader to hang
    Date
    Am Mittwoch, 3. Februar 2010 23:37:37 schrieb Matthew Garrett:
    > On Wed, Feb 03, 2010 at 06:21:39PM +0100, Oliver Neukum wrote:
    > > Am Mittwoch, 3. Februar 2010 17:46:59 schrieb Matthew Garrett:
    > > > > If the FIFO is full we can do nothing. Please try the attached patch.
    > > >
    > > > Doesn't help, I'm afraid. Does anyone have any idea why the change to
    > > > use kfifo would cause this?
    > >
    > > The logic seems sound. That is unless the kfifo code is acting up.
    > > Could you printk the value kfifo_len returns in usb_serial_generic_write_start()?
    >
    > kfifo_len is 4096 when it gets into the fifo_full situation.

    Then this won't explain it either. Do you get to the line:
    dbg("%s - starting IO", __func__);
    before it hangs?

    Regards
    Oliver


    \
     
     \ /
      Last update: 2010-02-04 00:01    [W:3.860 / U:0.344 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site