dvb-usb stack-memory used for URB-buffers (was: Re: Problem with VMAP_STACK=y)
From: Patrick Boettcher
Date: Wed Oct 05 2016 - 03:40:45 EST
On Tue, 4 Oct 2016 15:26:28 +0200 (CEST)
Jiri Kosina <jikos@xxxxxxxxxx> wrote:
> On Tue, 4 Oct 2016, JÃrg Otte wrote:
> > With kernel 4.8.0-01558-g21f54dd I get thousands of
> > "dvb-usb: bulk message failed: -11 (1/0)"
> > messages in the logs and the DVB adapter is not working.
> > It tourned out the new config option VMAP_STACK=y (which is the
> > default) is the culprit.
> > No problems for me with VMAP_STACK=n.
> I'd guess that this is EAGAIN coming from usb_hcd_map_urb_for_dma()
> as the DVB driver is trying to perform on-stack DMA.
I really thought that this youngster-mistake of mien (these
drivers+framework date from 2004-2006 and there it worked just fine)
had been fixed some years ago.
Seems not the be the case :-(.
However, I'm happy to see people using these devices now. Even
though I don't have them anymore (or never had them in the first place).
Mauro, could you please bring me up to speed or remind when and
where you did changes in this regard? I got a little bit rusty
regarding linux-media, but I'd be happy to help.