* alsa crash with “ ALSA sound/usb/urb.c:179 cannot submit urb (err = -27)” on imx6q sabrelite @ 2013-09-02 10:51 Ankit Agarwal 2013-09-08 14:57 ` Daniel Mack 0 siblings, 1 reply; 4+ messages in thread From: Ankit Agarwal @ 2013-09-02 10:51 UTC (permalink / raw) To: alsa-devel I am using alsa pcm player to listen to audio. The alsa pcm crashes with the error: ALSA sound/usb/urb.c:179 cannot submit urb (err = -27). I am able to hear the data initially but when other transaction begins on HID report endpoint, alsa crashes with the mentioned error. I am working on imx6q board with linux kernel-3.0.35. I am using Apple device to get the digital audio. -- Best Regards, Ankit Agarwal ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: alsa crash with “ ALSA sound/usb/urb.c:179 cannot submit urb (err = -27)” on imx6q sabrelite 2013-09-02 10:51 alsa crash with “ ALSA sound/usb/urb.c:179 cannot submit urb (err = -27)” on imx6q sabrelite Ankit Agarwal @ 2013-09-08 14:57 ` Daniel Mack [not found] ` <CAFT5LgKjrYhZ4=cQE7PVBut6L3RvFsR3B16PUUtvEC5cqZLwpg@mail.gmail.com> 0 siblings, 1 reply; 4+ messages in thread From: Daniel Mack @ 2013-09-08 14:57 UTC (permalink / raw) To: Ankit Agarwal; +Cc: alsa-devel On 02.09.2013 12:51, Ankit Agarwal wrote: > I am using alsa pcm player to listen to audio. The alsa pcm crashes with > the error: ALSA sound/usb/urb.c:179 cannot submit urb (err = -27). I am > able to hear the data initially but when other transaction begins on HID > report endpoint, alsa crashes with the mentioned error. -27 == -EFBIG, which seems to relate to a scheduling problem on the bus, and hence probably rather to a host controller bug than an issue with snd-usb. > I am working on imx6q board with linux kernel-3.0.35. I am using Apple > device to get the digital audio. Please try with a more recent kernel, and see if you can find the location where EFBIG is initially reported. Daniel ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <CAFT5LgKjrYhZ4=cQE7PVBut6L3RvFsR3B16PUUtvEC5cqZLwpg@mail.gmail.com>]
[parent not found: <CAFT5LgKjrYhZ4=cQE7PVBut6L3RvFsR3B16PUUtvEC5cqZLwpg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: [alsa-devel] alsa crash with “ ALSA sound/usb/urb.c:179 cannot submit urb (err = -27)” on imx6q sabrelite [not found] ` <CAFT5LgKjrYhZ4=cQE7PVBut6L3RvFsR3B16PUUtvEC5cqZLwpg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2013-09-11 12:55 ` Daniel Mack [not found] ` <5230684E.6030900-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Daniel Mack @ 2013-09-11 12:55 UTC (permalink / raw) To: Ankit Agarwal Cc: alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw, linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On 11.09.2013 14:53, Ankit Agarwal wrote: > > On Sun, Sep 8, 2013 at 8:27 PM, Daniel Mack <zonque-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > <mailto:zonque-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> wrote: > > On 02.09.2013 12:51, Ankit Agarwal wrote: > > I am using alsa pcm player to listen to audio. The alsa pcm > crashes with > > the error: ALSA sound/usb/urb.c:179 cannot submit urb (err = -27). > I am > > able to hear the data initially but when other transaction begins > on HID > > report endpoint, alsa crashes with the mentioned error. > > -27 == -EFBIG, which seems to relate to a scheduling problem on the bus, > and hence probably rather to a host controller bug than an issue with > snd-usb. > > > I am working on imx6q board with linux kernel-3.0.35. I am using Apple > > device to get the digital audio. > > Please try with a more recent kernel, and see if you can find the > location where EFBIG is initially reported. > > > I have found that EFBIG is being reported by ehci-host controller. It is > coming from file ehci-sched.c under iso_stream_schedule() function. The > error is thrown when the controller tries to schedule the urb too far > into the future, ie, there is overflow of the scheduled URBs. I might be > happening because the URBs are not scheduled properly. Ok. What about trying a newer kernel? The issue might be fixed already. In any case, this does not seem related to snd-usb, so I copied the usb list. Daniel -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <5230684E.6030900-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* Re: [alsa-devel] alsa crash with “ ALSA sound/usb/urb.c:179 cannot submit urb (err = -27)” on imx6q sabrelite [not found] ` <5230684E.6030900-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> @ 2013-09-11 14:48 ` Alan Stern 0 siblings, 0 replies; 4+ messages in thread From: Alan Stern @ 2013-09-11 14:48 UTC (permalink / raw) To: Ankit Agarwal Cc: Daniel Mack, alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw, linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On Wed, 11 Sep 2013, Daniel Mack wrote: > On 11.09.2013 14:53, Ankit Agarwal wrote: > > > > On Sun, Sep 8, 2013 at 8:27 PM, Daniel Mack <zonque-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > > <mailto:zonque-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> wrote: > > > > On 02.09.2013 12:51, Ankit Agarwal wrote: > > > I am using alsa pcm player to listen to audio. The alsa pcm > > crashes with > > > the error: ALSA sound/usb/urb.c:179 cannot submit urb (err = -27). > > I am > > > able to hear the data initially but when other transaction begins > > on HID > > > report endpoint, alsa crashes with the mentioned error. > > > > -27 == -EFBIG, which seems to relate to a scheduling problem on the bus, > > and hence probably rather to a host controller bug than an issue with > > snd-usb. > > > > > I am working on imx6q board with linux kernel-3.0.35. I am using Apple > > > device to get the digital audio. > > > > Please try with a more recent kernel, and see if you can find the > > location where EFBIG is initially reported. > > > > > > I have found that EFBIG is being reported by ehci-host controller. It is > > coming from file ehci-sched.c under iso_stream_schedule() function. The > > error is thrown when the controller tries to schedule the urb too far > > into the future, ie, there is overflow of the scheduled URBs. I might be > > happening because the URBs are not scheduled properly. > > Ok. What about trying a newer kernel? The issue might be fixed already. -EFBIG is still returned under the same circumstances as in earlier kernels. You can get more information about those errors if you enable CONFIG_USB_DEBUG. Starting in the 3.11 kernel, however, -EXDEV is no longer returned for USB submission. It would be a good idea to test with 3.11. It also would be a good idea to get a usbmon trace showing what happens when the errors occur. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-09-11 14:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-02 10:51 alsa crash with “ ALSA sound/usb/urb.c:179 cannot submit urb (err = -27)” on imx6q sabrelite Ankit Agarwal
2013-09-08 14:57 ` Daniel Mack
[not found] ` <CAFT5LgKjrYhZ4=cQE7PVBut6L3RvFsR3B16PUUtvEC5cqZLwpg@mail.gmail.com>
[not found] ` <CAFT5LgKjrYhZ4=cQE7PVBut6L3RvFsR3B16PUUtvEC5cqZLwpg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-09-11 12:55 ` [alsa-devel] " Daniel Mack
[not found] ` <5230684E.6030900-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-09-11 14:48 ` Alan Stern
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).