Re: ALSA -18 infinite loop

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

 



Hi ,

Thanx for the reply .

Actually since i am using a embedded target , it is not possible to
use higher kernel version .

The error logs comes from retire_capture_urb function in usbaudio.c .

for (i = 0; i < urb->number_of_packets; i++) {
                 cp = (unsigned char *)urb->transfer_buffer +
urb->iso_frame_desc[i].offset;
                 if (urb->iso_frame_desc[i].status) {
                        snd_printd(KERN_ERR "frame %d active: %d\n",
i, urb->iso_frame_desc[i].status);
                         // continue;
                }

....


any clues / pointer to functions .changes which can resolve this
problem in existing linux kernel ?


Thanx & Regards
Amit Nagal













On Wed, Oct 20, 2010 at 9:47 AM, Greg KH <greg@xxxxxxxxx> wrote:
> On Wed, Oct 20, 2010 at 09:34:19AM +0530, Amit Nagal wrote:
>> Hi ,
>>
>> i am doing usb audio streaming  over  usb audio class interface .
>>
>> whenever i do a usb disconnect during audio streaming , linux kernel
>> get stucks into this infinite loop and the system simply stucks .
>>
>> i get these log messages infinitely :
>>
>> ALSA sound/usb/usbaudio.c:354: frame 0 active: -71
>>
>> ALSA sound/usb/usbaudio.c:354: frame 0 active: -71
>>
>> ALSA sound/usb/usbaudio.c:354: frame 0 active: -18
>>
>> ALSA sound/usb/usbaudio.c:354: frame 0 active: -18
>>
>> ALSA sound/usb/usbaudio.c:354: frame 0 active: -18
>>
>> ALSA sound/usb/usbaudio.c:354: frame 0 active: -18
>>
>>
>> 1) i am using linux kernel version 2.6.30.9 .
>
> That is a few years old and obsolete and not supported by anyone.  Can
> you duplicate this on the latest kernel version (2.6.35 or 2.6.35-rc8)?
>
> thanks,
>
> greg k-h
>
--
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