lkml.org 
[lkml]   [2010]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Ooops when working with USB MIDI (2.6.33.1)
    Tvrtko Ursulin wrote:
    > I had TuxGuitar running and an external USB MIDI device, which I then
    > turned off, on, and exited TuxGuitar at which point there was this oops.
    > ...
    > [321182.618342] IP: [<ffffffff81375d65>] _raw_spin_lock_irq+0x15/0x30
    > [321182.618449] [<ffffffffa01e2fca>] ? snd_usbmidi_output_drain+0x7a/0x100 [snd_usb_lib]
    > [321182.618462] [<ffffffffa01b7699>] ? snd_rawmidi_drain_output+0x119/0x180 [snd_rawmidi]

    I think that bug was introduced by this commit:
    http://git.kernel.org/linus/7a17daae8ed71bf3259d905a4fc48a5b424fa935
    which causes the driver to free many internal data structures when
    they might still be in use by userspace.

    Please try to revert it.

    I think a proper fix would be to free the URBs/buffers but not the
    driver's data structures.

    Takashi, do you remember what the original problem was?


    Regards,
    Clemens


    \
     
     \ /
      Last update: 2010-04-08 12:03    [W:0.019 / U:29.556 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site