Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1495499

Re: Problem with VMAP_STACK=y

From Jörg Otte <jrg.otte@gmail.com>
Newsgroups linux.kernel
Subject Re: Problem with VMAP_STACK=y
Date 2016-10-04 18:20 +0200
Message-ID <soABH-57P-7@gated-at.bofh.it> (permalink)
References <sox17-2F6-5@gated-at.bofh.it> <soxXc-3fH-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


2016-10-04 15:26 GMT+02:00 Jiri Kosina <jikos@kernel.org>:
> 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.
>
> Not really knowing which driver exactly you're using, I quickly skimmed
> through DVB sources, and it turns out this indeed seems to be rather
> common antipattern, and it should be fixed nevertheless. See
>
>         cxusb_ctrl_msg()
>         dibusb_power_ctrl()
>         dibusb2_0_streaming_ctrl()
>         dibusb2_0_power_ctrl()
>         digitv_ctrl_msg()
>         dtt200u_fe_init()
>         dtt200u_fe_set_frontend()
>         dtt200u_power_ctrl()
>         dtt200u_streaming_ctrl()
>         dtt200u_pid_filter()
>
> Adding relevant CCs.
>
> --
> Jiri Kosina
> SUSE Labs

Thanks for the quick response.
Drivers are:
dvb_core, dvb_usb, dbv_usb_cynergyT2


Jörg

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Problem with VMAP_STACK=y Jörg Otte <jrg.otte@gmail.com> - 2016-10-04 14:30 +0200
  Re: Problem with VMAP_STACK=y Jiri Kosina <jikos@kernel.org> - 2016-10-04 15:30 +0200
    Re: Problem with VMAP_STACK=y Jörg Otte <jrg.otte@gmail.com> - 2016-10-04 18:20 +0200
      Re: Problem with VMAP_STACK=y Jiri Kosina <jikos@kernel.org> - 2016-10-05 09:30 +0200
        Re: Problem with VMAP_STACK=y Patrick Boettcher <patrick.boettcher@posteo.de> - 2016-10-05 09:40 +0200
          Re: Problem with VMAP_STACK=y Jiri Kosina <jikos@kernel.org> - 2016-10-05 10:00 +0200
            Re: Problem with VMAP_STACK=y Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2016-10-05 11:10 +0200
              Re: Problem with VMAP_STACK=y Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2016-10-05 13:30 +0200
              Re: Problem with VMAP_STACK=y Jörg Otte <jrg.otte@gmail.com> - 2016-10-05 17:30 +0200
                Re: Problem with VMAP_STACK=y Andy Lutomirski <luto@amacapital.net> - 2016-10-05 18:00 +0200
                Re: Problem with VMAP_STACK=y Jörg Otte <jrg.otte@gmail.com> - 2016-10-05 18:50 +0200
                Re: Problem with VMAP_STACK=y Andy Lutomirski <luto@amacapital.net> - 2016-10-05 19:00 +0200
              Re: Problem with VMAP_STACK=y Johannes Stezenbach <js@linuxtv.org> - 2016-10-05 20:40 +0200
                Re: Problem with VMAP_STACK=y Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2016-10-05 21:00 +0200
                Re: Problem with VMAP_STACK=y Jörg Otte <jrg.otte@gmail.com> - 2016-10-06 10:40 +0200
                Re: Problem with VMAP_STACK=y Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2016-10-06 19:20 +0200
                Re: Problem with VMAP_STACK=y Jiri Kosina <jikos@kernel.org> - 2016-10-07 10:00 +0200
                Re: Problem with VMAP_STACK=y Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2016-10-07 13:20 +0200
    dvb-usb stack-memory used for URB-buffers (was: Re: Problem with  VMAP_STACK=y) Patrick Boettcher <patrick.boettcher@posteo.de> - 2016-10-05 09:50 +0200

csiph-web