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


Groups > linux.kernel > #1412846 > unrolled thread

Re: USB broken on Banana Pi in Linux 4.6

Started byMarc Haber <mh+linux-kernel@zugschlus.de>
First post2016-06-03 09:00 +0200
Last post2016-06-11 15:00 +0200
Articles 5 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: USB broken on Banana Pi in Linux 4.6 Marc Haber <mh+linux-kernel@zugschlus.de> - 2016-06-03 09:00 +0200
    Re: USB broken on Banana Pi in Linux 4.6 Greg KH <gregkh@linuxfoundation.org> - 2016-06-03 17:40 +0200
      Re: USB broken on Banana Pi in Linux 4.6 Marc Haber <mh+linux-kernel@zugschlus.de> - 2016-06-07 19:10 +0200
        Re: USB broken on Banana Pi in Linux 4.6 Greg KH <gregkh@linuxfoundation.org> - 2016-06-07 19:40 +0200
          Re: USB broken on Banana Pi in Linux 4.6 Marc Haber <mh+linux-kernel@zugschlus.de> - 2016-06-11 15:00 +0200

#1412846 — Re: USB broken on Banana Pi in Linux 4.6

FromMarc Haber <mh+linux-kernel@zugschlus.de>
Date2016-06-03 09:00 +0200
SubjectRe: USB broken on Banana Pi in Linux 4.6
Message-ID<rFRfj-8ef-1@gated-at.bofh.it>
On Mon, May 30, 2016 at 01:47:12PM -0700, Greg KH wrote:
> On Mon, May 30, 2016 at 09:02:54PM +0200, Marc Haber wrote:
> > Hi,
> > 
> > on my Bananapis, in kernel 4.6 USB does not work. Kernel configuration
> > is USB-wise identical to 4.5 (grepped for differences in (hci|usb)),
> > and in 4.6 there is not even /dev/bus/usb.
> > 
> > In kernel 4.6, the message "ohci-platform: OHCI generic platform
> > driver" is the last one, and "ehci-platform 1c14000.usb: EHCI Host
> > Controller" is the first one that is missing.
> > 
> > Is this already a known issue? Or, does a 4.6 kernel need to be
> > configured differently if you want USB?
> 
> Are you sure you configured in the correct host controller that you
> want?  Have you done a diff of your .config files to see what you
> changed?  How did you create your 4.6 config?

I used make oldconfig, and I diffed the configs for (hci|usb), and
there is no difference.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421

[toc] | [next] | [standalone]


#1413310

FromGreg KH <gregkh@linuxfoundation.org>
Date2016-06-03 17:40 +0200
Message-ID<rFZmy-525-15@gated-at.bofh.it>
In reply to#1412846
On Fri, Jun 03, 2016 at 08:53:58AM +0200, Marc Haber wrote:
> On Mon, May 30, 2016 at 01:47:12PM -0700, Greg KH wrote:
> > On Mon, May 30, 2016 at 09:02:54PM +0200, Marc Haber wrote:
> > > Hi,
> > > 
> > > on my Bananapis, in kernel 4.6 USB does not work. Kernel configuration
> > > is USB-wise identical to 4.5 (grepped for differences in (hci|usb)),
> > > and in 4.6 there is not even /dev/bus/usb.
> > > 
> > > In kernel 4.6, the message "ohci-platform: OHCI generic platform
> > > driver" is the last one, and "ehci-platform 1c14000.usb: EHCI Host
> > > Controller" is the first one that is missing.
> > > 
> > > Is this already a known issue? Or, does a 4.6 kernel need to be
> > > configured differently if you want USB?
> > 
> > Are you sure you configured in the correct host controller that you
> > want?  Have you done a diff of your .config files to see what you
> > changed?  How did you create your 4.6 config?
> 
> I used make oldconfig, and I diffed the configs for (hci|usb), and
> there is no difference.

There might be other things than HCI|USB that are the issue here...

[toc] | [prev] | [next] | [standalone]


#1416430

FromMarc Haber <mh+linux-kernel@zugschlus.de>
Date2016-06-07 19:10 +0200
Message-ID<rHsFP-5sl-21@gated-at.bofh.it>
In reply to#1413310

[Multipart message — attachments visible in raw view] — view raw

On Fri, Jun 03, 2016 at 08:35:11AM -0700, Greg KH wrote:
> On Fri, Jun 03, 2016 at 08:53:58AM +0200, Marc Haber wrote:
> > On Mon, May 30, 2016 at 01:47:12PM -0700, Greg KH wrote:
> > > On Mon, May 30, 2016 at 09:02:54PM +0200, Marc Haber wrote:
> > > > Hi,
> > > > 
> > > > on my Bananapis, in kernel 4.6 USB does not work. Kernel configuration
> > > > is USB-wise identical to 4.5 (grepped for differences in (hci|usb)),
> > > > and in 4.6 there is not even /dev/bus/usb.
> > > > 
> > > > In kernel 4.6, the message "ohci-platform: OHCI generic platform
> > > > driver" is the last one, and "ehci-platform 1c14000.usb: EHCI Host
> > > > Controller" is the first one that is missing.
> > > > 
> > > > Is this already a known issue? Or, does a 4.6 kernel need to be
> > > > configured differently if you want USB?
> > > 
> > > Are you sure you configured in the correct host controller that you
> > > want?  Have you done a diff of your .config files to see what you
> > > changed?  How did you create your 4.6 config?
> > 
> > I used make oldconfig, and I diffed the configs for (hci|usb), and
> > there is no difference.
> 
> There might be other things than HCI|USB that are the issue here...

Full config diff attached. Hints are appreciated.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421

[toc] | [prev] | [next] | [standalone]


#1416453

FromGreg KH <gregkh@linuxfoundation.org>
Date2016-06-07 19:40 +0200
Message-ID<rHt8S-5BX-29@gated-at.bofh.it>
In reply to#1416430
On Tue, Jun 07, 2016 at 07:06:00PM +0200, Marc Haber wrote:
> On Fri, Jun 03, 2016 at 08:35:11AM -0700, Greg KH wrote:
> > On Fri, Jun 03, 2016 at 08:53:58AM +0200, Marc Haber wrote:
> > > On Mon, May 30, 2016 at 01:47:12PM -0700, Greg KH wrote:
> > > > On Mon, May 30, 2016 at 09:02:54PM +0200, Marc Haber wrote:
> > > > > Hi,
> > > > > 
> > > > > on my Bananapis, in kernel 4.6 USB does not work. Kernel configuration
> > > > > is USB-wise identical to 4.5 (grepped for differences in (hci|usb)),
> > > > > and in 4.6 there is not even /dev/bus/usb.
> > > > > 
> > > > > In kernel 4.6, the message "ohci-platform: OHCI generic platform
> > > > > driver" is the last one, and "ehci-platform 1c14000.usb: EHCI Host
> > > > > Controller" is the first one that is missing.
> > > > > 
> > > > > Is this already a known issue? Or, does a 4.6 kernel need to be
> > > > > configured differently if you want USB?
> > > > 
> > > > Are you sure you configured in the correct host controller that you
> > > > want?  Have you done a diff of your .config files to see what you
> > > > changed?  How did you create your 4.6 config?
> > > 
> > > I used make oldconfig, and I diffed the configs for (hci|usb), and
> > > there is no difference.
> > 
> > There might be other things than HCI|USB that are the issue here...
> 
> Full config diff attached. Hints are appreciated.

Nothing obvious, can you use 'git bisect' to go from 4.5.0 to 4.6.0 to
find the offending commit?

thanks,

greg k-h

[toc] | [prev] | [next] | [standalone]


#1419976

FromMarc Haber <mh+linux-kernel@zugschlus.de>
Date2016-06-11 15:00 +0200
Message-ID<rIQG5-3bv-1@gated-at.bofh.it>
In reply to#1416453
On Tue, Jun 07, 2016 at 10:30:17AM -0700, Greg KH wrote:
> Nothing obvious, can you use 'git bisect' to go from 4.5.0 to 4.6.0 to
> find the offending commit?

I can. The first round of bisecting let me end up with
c8b710b3e4348119924051551b836c94835331b1 as the first bad commit,
which is wrong, since c8b710b3e4348119924051551b836c94835331b1^ is bad
as well. I am not sure whether things went well since I had to use git
bisect skip twice because the resulting kernel wouldn't boot on the pi.

A second round of bisecting left me in limbo, since I do not
understand this:

[45/544]mh@fan[zgchroot kernel64][debian_chroot sid_kernel64]:~/linux/debug/linux$ git bisect reset
HEAD is now at 2dcd0af... Linux 4.6
[46/545]mh@fan[zgchroot kernel64][debian_chroot sid_kernel64]:~/linux/debug/linux$ git bisect start
[47/546]mh@fan[zgchroot kernel64][debian_chroot sid_kernel64]:~/linux/debug/linux$ git bisect bad
[48/547]mh@fan[zgchroot kernel64][debian_chroot sid_kernel64]:~/linux/debug/linux$ git bisect bad c8b710b3e4348119924051551b836c94835331b1^
[49/548]mh@fan[zgchroot kernel64][debian_chroot sid_kernel64]:~/linux/debug/linux$ git bisect good v4.5
Some good revs are not ancestor of the bad rev.
git bisect cannot work properly in this case.
Maybe you mistook good and bad revs?
[50/549]mh@fan[zgchroot kernel64][debian_chroot sid_kernel64]:~/linux/debug/linux$

Do I need to start over completely?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web