All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@s-opensource.com>
To: Sean Young <sean@mess.org>
Cc: Josef Griebichler <griebichler.josef@gmx.at>,
	lcaumont2@gmail.com, gregkh@linuxfoundation.org,
	linux-media@vger.kernel.org, linux-usb@vger.kernel.org
Subject: Re: dvb usb issues since kernel 4.9
Date: Sun, 17 Dec 2017 11:27:38 -0200	[thread overview]
Message-ID: <20171217112738.4f3a4f9b@recife.lan> (raw)
In-Reply-To: <20171217120634.pmmuhdqyqmbkxrvl@gofer.mess.org>

Em Sun, 17 Dec 2017 12:06:37 +0000
Sean Young <sean@mess.org> escreveu:

> Hi Josef,

Em Sun, 17 Dec 2017 11:19:38 +0100
"Josef Griebichler" <griebichler.josef@gmx.at> escreveu:

> > Hello Mr. Caumont,
> >  
> > since switch to kernel 4.9 there are several users which have issues with their usb dvb cards.
> > Some get artifacts when watching livetv, I'm getting discontinuity errors in tvheadend when recording.
> > I'm using latest test build of LibreElec with kernel 4.14.6 but the issues are still there.
> > There's an librelec forum thread for this topic
> > https://forum.libreelec.tv/thread/4235-dvb-issue-since-le-switched-to-kernel-4-9-x/
> > and also an open kernel bug
> > https://bugzilla.kernel.org/show_bug.cgi?id=197835
> >  
> > This is my dmesg http://sprunge.us/WRIE
> > and tvh service log http://sprunge.us/bEiE
> >  
> > I saw in kernel changelog that you made an improvement/change for dvb und usb (commit 9a11204d2b26324636ff54f8d28095ed5dd17e91)
> >  
> > Is there anything that can be done to improve our situation or are we forced to stay with kernel 4.8?
> >  
> > Thanks for support!
> >  
> > Josef
> 
> Between kernel v4.8 and v4.9 there are many changes, and it is unlikely that
> commit 9a11204d2b26324636ff54f8d28095ed5dd17e91 is responsible for this.

Let me add linux-media@vger.kernel.org and linux-usb@vger.kernel.org ML.

Josef, Please be sure that your e-mailer won't be sending e-mails with
HTML tags on it, otherwise the ML server will automatically drop.

> What would be really helpful is if you could find out which commit did
> cause a regression. This can be done by bisecting the kernel. There are
> various guides to this:
> 
> 	https://wiki.ubuntu.com/Kernel/KernelBisection
> or
> 	https://wiki.archlinux.org/index.php/Bisecting_bugs
> 
> Once the commit has been identified we can work together to narrow it down
> to the exact change, and then work together on a fix.

Yeah, we need more data in order to start tracking it. I suspect,
however, that a simple git bisect may not work in this case, due to the
USB changes that forbids DMA on stack that was added to Kernel 4.9, if
the card Josef is using was affected by such change.

Probably, he'll need to disable CONFIG_VMAP_STACK in the middle
of bisect (e. g. when the patch that implements it is added), 
or to cherry-pick any needed DMA fixup patch on the top of Kernel
4.8 before starting bisect.

It is also worth mentioning what's the USB host controller that
are used, and what's the media driver, as this could be an issue
there.

That's said, from the bug report, it seems that this is
happening on RPi3. Could you please test it also on a PC? That
will help to identify if the bug is at RPi's host driver or
on media drivers.

With regards to RPi3, there are actually two different drivers
for it: one used on Raspbian Kernel, and another one upstream.
They're completely different ones.

What driver are you using?

Thanks,
Mauro

       reply	other threads:[~2017-12-17 13:27 UTC|newest]

Thread overview: 82+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <trinity-35b3a044-b548-4a31-9646-ed9bc83e6846-1513505978471@3c-app-gmx-bs03>
     [not found] ` <20171217120634.pmmuhdqyqmbkxrvl@gofer.mess.org>
2017-12-17 13:27   ` Mauro Carvalho Chehab [this message]
     [not found]     ` <trinity-1fa14556-8596-44b1-95cb-b8919d94d2d4-1515251056328@3c-app-gmx-bs15>
2018-01-06 19:54       ` dvb usb issues since kernel 4.9 Mauro Carvalho Chehab
2018-01-06 21:07         ` Aw: " Josef Griebichler
2018-01-06 21:44         ` Alan Stern
2018-01-07 11:03           ` Mauro Carvalho Chehab
2018-01-07 15:41             ` Alan Stern
2018-01-07 17:01               ` Aw: " Josef Griebichler
2018-01-07 17:01                 ` Josef Griebichler
2018-01-08  9:43               ` Mauro Carvalho Chehab
2018-01-08  9:43                 ` Mauro Carvalho Chehab
2018-01-08 16:10                 ` Alan Stern
2018-01-08 16:10                   ` Alan Stern
2018-01-08 16:26                 ` Aw: " Josef Griebichler
2018-01-08 16:26                   ` Josef Griebichler
2018-01-08 16:31                   ` Alan Stern
2018-01-08 16:31                     ` Alan Stern
2018-01-08 17:15                     ` Aw: " Josef Griebichler
2018-01-08 17:15                       ` Aw: " Josef Griebichler
2018-01-08 17:35                       ` Aw: " Alan Stern
2018-01-08 17:35                         ` Aw: " Alan Stern
2018-01-08 20:40                         ` Jesper Dangaard Brouer
2018-01-08 20:40                           ` Aw: " Jesper Dangaard Brouer
2018-01-08 21:31                   ` Jesper Dangaard Brouer
2018-01-08 21:31                     ` Aw: " Jesper Dangaard Brouer
2018-01-08 21:44                     ` Peter Zijlstra
2018-01-08 21:44                       ` Aw: " Peter Zijlstra
2018-01-08 22:16                       ` Jesper Dangaard Brouer
2018-01-08 22:16                         ` Aw: " Jesper Dangaard Brouer
2018-01-09 16:51                         ` Josef Griebichler
2018-01-09 16:51                           ` Josef Griebichler
2018-01-09 17:27                           ` Eric Dumazet
2018-01-09 17:27                             ` Aw: " Eric Dumazet
2018-01-09 17:48                             ` Linus Torvalds
2018-01-09 17:48                               ` Aw: " Linus Torvalds
2018-01-09 17:57                               ` Eric Dumazet
2018-01-09 17:57                                 ` Aw: " Eric Dumazet
2018-01-09 18:58                                 ` Linus Torvalds
2018-01-09 18:58                                   ` Aw: " Linus Torvalds
2018-01-09 21:48                                   ` Eric Dumazet
2018-01-09 21:48                                     ` Aw: " Eric Dumazet
2018-01-10  9:45                                   ` Jesper Dangaard Brouer
2018-01-10  9:45                                     ` Aw: " Jesper Dangaard Brouer
2018-01-12 21:13                               ` Mauro Carvalho Chehab
2018-01-12 21:13                                 ` Aw: " Mauro Carvalho Chehab
2018-01-12 21:48                                 ` Eric Dumazet
2018-01-12 21:48                                   ` Aw: " Eric Dumazet
2018-01-13  9:09                                   ` Mauro Carvalho Chehab
2018-01-13  9:09                                     ` Aw: " Mauro Carvalho Chehab
2018-01-13 10:46                                     ` Mauro Carvalho Chehab
2018-01-13 10:46                                       ` Aw: " Mauro Carvalho Chehab
2018-01-07 21:23         ` Linus Torvalds
2018-01-08 10:02           ` Mauro Carvalho Chehab
2018-01-08 11:59             ` Jesper Dangaard Brouer
2018-01-08 12:53               ` Mauro Carvalho Chehab
2018-01-08 16:25                 ` Alan Stern
2018-01-08 17:55           ` Ingo Molnar
2018-01-08 18:32             ` Linus Torvalds
2018-01-08 19:15               ` Alan Stern
2018-01-08 19:51                 ` Linus Torvalds
2018-01-08 19:51                   ` Linus Torvalds
2018-01-09 17:42                   ` Mauro Carvalho Chehab
2018-01-09 17:42                     ` Mauro Carvalho Chehab
2018-01-09 17:55                     ` Linus Torvalds
2018-01-09 17:55                       ` Linus Torvalds
2018-01-09 21:26                     ` Jesper Dangaard Brouer
2018-01-09 21:26                       ` Jesper Dangaard Brouer
2018-01-10  3:02                       ` Mike Galbraith
2018-01-10  3:02                         ` Mike Galbraith
2018-07-17 11:54                   ` Hanna Hawa
2018-07-17 11:54                     ` hannah
2018-07-17 17:09                     ` Linus Torvalds
2018-07-17 17:09                       ` Linus Torvalds
2018-07-17 17:09                       ` Linus Torvalds
2018-07-17 18:07                       ` Hanna Hawa
2018-07-17 18:07                         ` hannah
2018-07-17 18:07                         ` Hanna Hawa
2018-07-17 22:21                       ` Mauro Carvalho Chehab
2018-07-17 22:21                         ` Mauro Carvalho Chehab
2018-07-17 22:21                         ` Mauro Carvalho Chehab
2018-01-26 14:17                 ` Mauro Carvalho Chehab
2018-01-26 19:37                   ` Mauro Carvalho Chehab
2018-01-29 13:51                     ` Mauro Carvalho Chehab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171217112738.4f3a4f9b@recife.lan \
    --to=mchehab@s-opensource.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=griebichler.josef@gmx.at \
    --cc=lcaumont2@gmail.com \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=sean@mess.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.