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
>

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux