Re: ALSA -18 infinite loop

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

 



Amit,

see if this is of any help in your investigation..

18 is error code for -EXDEV
#define EXDEV           18      /* Cross-device link */

which is set in int usb_submit_urb(struct urb *urb, gfp_t mem_flags) (
drivers/usb/core/urb.c )
 urb->iso_frame_desc[n].status = -EXDEV;
 urb->iso_frame_desc[n].actual_length = 0;

In retire_capture_urb() it prints this iso_frame_desc

Regards,
- Rahul Ruikar





On 21 October 2010 18:08, Amit Nagal <helloin.amit@xxxxxxxxx> wrote:
> Hi ,
>
> Just sharing the dump stack at the time of ALSA -18 continous error
> logs coming from retire_capture_urb() function :
>
>
> [<bf3a7860>] (retire_capture_urb+0x0/0x1ec [snd_usb_audio]) from
> [<bf3a77d4>] (snd_complete_urb+0x3c/0xc8 [snd_usb_audio])
>
> [<bf3a7798>] (snd_complete_urb+0x0/0xc8 [snd_usb_audio]) from
> [<bf0fd460>] (usb_hcd_giveback_urb+0x78/0x1d4 [usbcore])
>  r8:ffc63480 r7:c37a3f00 r6:00000000 r5:00000000 r4:c1047ac0
> r3:bf3a7798
>
> [<bf0fd3e8>] (usb_hcd_giveback_urb+0x0/0x1d4 [usbcore]) from
> [<bf11a40c>] (ehci_shutdown+0x2f4/0xacc [ehci_hcd])
>  r5:c100b400 r4:c1047ac0
>
> [<bf11a360>] (ehci_shutdown+0x248/0xacc [ehci_hcd]) from [<bf11c128>]
> (ehci_urb_dequeue+0xf0c/0x12b4 [ehci_hcd])
>  r6:c100b400 r5:ffc63460 r4:c100b4d0 r3:00000001
>
> [<bf11bcac>] (ehci_urb_dequeue+0xa90/0x12b4 [ehci_hcd]) from
> [<bf11d15c>] (ehci_irq+0x1bc/0x204 [ehci_hcd])
>
> [<bf11cfa0>] (ehci_irq+0x0/0x204 [ehci_hcd]) from [<bf0fd0e8>]
> (usb_hcd_irq+0x40/0x98 [usbcore])
>
> [<bf0fd0a8>] (usb_hcd_irq+0x0/0x98 [usbcore]) from [<c0094898>]
> (handle_IRQ_event+0xa8/0x1d0)
>  r5:c7b76000 r4:c7b2af60
>
> [<c00947f0>] (handle_IRQ_event+0x0/0x1d0) from [<c00967dc>]
> (handle_level_irq+0xc8/0x148)
>
> [<c0096714>] (handle_level_irq+0x0/0x148) from [<c002804c>]
> (asm_do_IRQ+0x4c/0x64)
>  r6:00000038 r5:00000000 r4:0000000e r3:c0096714
>
> [<c0028000>] (asm_do_IRQ+0x0/0x64) from [<c02fdf04>] (__irq_usr+0x44/0xa0)
>
>
> Regards
> Amit Nagal
>
>
>
> On Thu, Oct 21, 2010 at 5:26 PM, Amit Nagal <helloin.amit@xxxxxxxxx> wrote:
>> Hi,
>>
>> Thanx for ur suggestions and time .
>>
>> As suggested by you ( debugged the  code that didn't shut down the USB
>> streaming properly ) ,
>>
>> i am finding that at USB disconnect ,
>>
>> even the functions usb_audio_disconnect() &&
>> snd_usb_audio_disconnect() are not at all getting called .
>>
>> i need to check the shut down process of USB streaming  to find out
>> the  reason .
>>
>> if some more pointers to code areas can be shared  , it will be nice  .
>>
>> Thanx & Regards
>> Amit Nagal
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Thu, Oct 21, 2010 at 12:59 PM, Clemens Ladisch <clemens@xxxxxxxxxx> wrote:
>>> I wrote:
>>>> Amit Nagal wrote:
>>>> > Actually since i am using a embedded target , it is not possible to
>>>> > use higher kernel version .
>>>>
>>>> But you could at least test a newer kernel on another machine.
>>>
>>> Unplugging works for me on current kernels, so it looks as if the
>>> problem has been fixed.
>>>
>>>> > any clues / pointer to functions .changes which can resolve this
>>>> > problem in existing linux kernel ?
>>>
>>> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=history;f=sound/usb;hb=HEAD
>>>
>>>
>>> Regards,
>>> Clemens
>>>
>>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux