All of lore.kernel.org
 help / color / mirror / Atom feed
* em28xx submit of urb 0 failed (error=-27)
@ 2014-06-12  0:23 Antti Palosaari
  2014-06-12  0:37 ` Antti Palosaari
  0 siblings, 1 reply; 4+ messages in thread
From: Antti Palosaari @ 2014-06-12  0:23 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Frank Schäfer, LMML

Do you have any idea about that bug?
kernel: submit of urb 0 failed (error=-27)

https://bugzilla.kernel.org/show_bug.cgi?id=72891

I have seen it recently very often when I try start streaming DVB. When 
it happens, device is unusable. I have feeling that it could be coming 
from recent 28xx big changes where it was modularised. IIRC I reported 
that at the time and Mauro added error number printing to log entry. 
Anyhow, it is very annoying and occurs very often. And people have 
started pinging me as I have added very many DVB devices to em28xx.

regards
Antti


-- 
http://palosaari.fi/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: em28xx submit of urb 0 failed (error=-27)
  2014-06-12  0:23 em28xx submit of urb 0 failed (error=-27) Antti Palosaari
@ 2014-06-12  0:37 ` Antti Palosaari
  2014-06-14 12:45   ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 4+ messages in thread
From: Antti Palosaari @ 2014-06-12  0:37 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Frank Schäfer, LMML

I just ran blind scan using w_scan and it interrupted scanning, with 
following error (ioctl DMX_SET_FILTER failed: 27 File too large).

602000: (time: 00:58.973)
         (0.308sec): SCL (0x1F)
         (0.308sec) signal
         (0.308sec) lock
         signal ok:	QAM_AUTO f = 602000 kHz I999B8C999D999T999G999Y999 
(0:0:0)
         initial PAT lookup..
start_filter:1644: ERROR: ioctl DMX_SET_FILTER failed: 27 File too large

regards
Antti


On 06/12/2014 03:23 AM, Antti Palosaari wrote:
> Do you have any idea about that bug?
> kernel: submit of urb 0 failed (error=-27)
>
> https://bugzilla.kernel.org/show_bug.cgi?id=72891
>
> I have seen it recently very often when I try start streaming DVB. When
> it happens, device is unusable. I have feeling that it could be coming
> from recent 28xx big changes where it was modularised. IIRC I reported
> that at the time and Mauro added error number printing to log entry.
> Anyhow, it is very annoying and occurs very often. And people have
> started pinging me as I have added very many DVB devices to em28xx.
>
> regards
> Antti
>
>


-- 
http://palosaari.fi/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: em28xx submit of urb 0 failed (error=-27)
  2014-06-12  0:37 ` Antti Palosaari
@ 2014-06-14 12:45   ` Mauro Carvalho Chehab
  2014-06-14 23:20     ` Antti Palosaari
  0 siblings, 1 reply; 4+ messages in thread
From: Mauro Carvalho Chehab @ 2014-06-14 12:45 UTC (permalink / raw)
  To: Antti Palosaari; +Cc: Frank Schäfer, LMML

Em Thu, 12 Jun 2014 03:37:26 +0300
Antti Palosaari <crope@iki.fi> escreveu:

> I just ran blind scan using w_scan and it interrupted scanning, with 
> following error (ioctl DMX_SET_FILTER failed: 27 File too large).
> 
> 602000: (time: 00:58.973)
>          (0.308sec): SCL (0x1F)
>          (0.308sec) signal
>          (0.308sec) lock
>          signal ok:	QAM_AUTO f = 602000 kHz I999B8C999D999T999G999Y999 
> (0:0:0)
>          initial PAT lookup..
> start_filter:1644: ERROR: ioctl DMX_SET_FILTER failed: 27 File too large
> 
> regards
> Antti
> 
> 
> On 06/12/2014 03:23 AM, Antti Palosaari wrote:
> > Do you have any idea about that bug?
> > kernel: submit of urb 0 failed (error=-27)
> >
> > https://bugzilla.kernel.org/show_bug.cgi?id=72891
> >
> > I have seen it recently very often when I try start streaming DVB. When
> > it happens, device is unusable. I have feeling that it could be coming
> > from recent 28xx big changes where it was modularised. IIRC I reported
> > that at the time and Mauro added error number printing to log entry.
> > Anyhow, it is very annoying and occurs very often. And people have
> > started pinging me as I have added very many DVB devices to em28xx.

Well, according with USB documentation (Documentation/usb/URB.txt),
EFBIG means:
- Too many requested ISO frames

Perhaps the logic that calculates the number of URBs has a bug. In
the past, the URB size was hardcoded. Nowadays, em28xx dynamically
calculate it based on the USB descriptors, and the endpoints found.

>From what I know, different versions of em28xx chips have different
max limits. We need to identify on what chip version this error is
occurring, and reduce the number of ISOC frames there (with will
reduce the max bandwidth supported by such chip).

Regards,
Mauro

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: em28xx submit of urb 0 failed (error=-27)
  2014-06-14 12:45   ` Mauro Carvalho Chehab
@ 2014-06-14 23:20     ` Antti Palosaari
  0 siblings, 0 replies; 4+ messages in thread
From: Antti Palosaari @ 2014-06-14 23:20 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: Frank Schäfer, LMML

On 06/14/2014 03:45 PM, Mauro Carvalho Chehab wrote:
> Em Thu, 12 Jun 2014 03:37:26 +0300
> Antti Palosaari <crope@iki.fi> escreveu:
>
>> I just ran blind scan using w_scan and it interrupted scanning, with
>> following error (ioctl DMX_SET_FILTER failed: 27 File too large).
>>
>> 602000: (time: 00:58.973)
>>           (0.308sec): SCL (0x1F)
>>           (0.308sec) signal
>>           (0.308sec) lock
>>           signal ok:	QAM_AUTO f = 602000 kHz I999B8C999D999T999G999Y999
>> (0:0:0)
>>           initial PAT lookup..
>> start_filter:1644: ERROR: ioctl DMX_SET_FILTER failed: 27 File too large
>>
>> regards
>> Antti
>>
>>
>> On 06/12/2014 03:23 AM, Antti Palosaari wrote:
>>> Do you have any idea about that bug?
>>> kernel: submit of urb 0 failed (error=-27)
>>>
>>> https://bugzilla.kernel.org/show_bug.cgi?id=72891
>>>
>>> I have seen it recently very often when I try start streaming DVB. When
>>> it happens, device is unusable. I have feeling that it could be coming
>>> from recent 28xx big changes where it was modularised. IIRC I reported
>>> that at the time and Mauro added error number printing to log entry.
>>> Anyhow, it is very annoying and occurs very often. And people have
>>> started pinging me as I have added very many DVB devices to em28xx.
>
> Well, according with USB documentation (Documentation/usb/URB.txt),
> EFBIG means:
> - Too many requested ISO frames
>
> Perhaps the logic that calculates the number of URBs has a bug. In
> the past, the URB size was hardcoded. Nowadays, em28xx dynamically
> calculate it based on the USB descriptors, and the endpoints found.
>
>  From what I know, different versions of em28xx chips have different
> max limits. We need to identify on what chip version this error is
> occurring, and reduce the number of ISOC frames there (with will
> reduce the max bandwidth supported by such chip).

I tested these as having that issue:
em28178 PCTV tripleStick (292e)
em2874 MaxMedia UB425-TC
em2884 PCTV QuatroStick nano (520e)

Bug report mentions also:
em28174 PCTV nanoStick T2 (290e)
em28178 PCTV DVB-S2 Stick (461e)

So it must effect huge amount (if not all) of different em28xx chips 
used for DTV.


regards
Antti

-- 
http://palosaari.fi/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-14 23:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-12  0:23 em28xx submit of urb 0 failed (error=-27) Antti Palosaari
2014-06-12  0:37 ` Antti Palosaari
2014-06-14 12:45   ` Mauro Carvalho Chehab
2014-06-14 23:20     ` Antti Palosaari

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.