* USB 3.0 is broken on Odroid Xu4 on latest kernel
@ 2017-07-19 14:58 Anand Moon
2017-07-19 18:13 ` Felipe Balbi
2017-07-21 9:26 ` Markus Reichl
0 siblings, 2 replies; 7+ messages in thread
From: Anand Moon @ 2017-07-19 14:58 UTC (permalink / raw)
To: linux-arm-kernel
Hi Krzysztof,
Today I tried to compile the latest kernel for Odroid xu4.
using exynos_defconfig I build and loaded the kernel.
but to my surprise usb 3.0 device and missing.
odroid login: root
Password:
Last login: Wed Jul 19 14:01:44 UTC 2017 on ttySAC2
Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.13.0-rc1-xu4ml-27846-g74cbd96 armv7l)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
root at odroid:~# lsusb
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0603:0002 Novatek Microelectronics Corp.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root at odroid:~# lsusb -t
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
Full dmesg can be found on blow link.
https://pastebin.com/K3xfPCPe
The reason for failed is below.
[ 7.187096] usb usb4-port1: connect-debounce failed
I tried to debug this but failed to find the root cause.
Nothing is connected to the UBS 3.0 port for the failure to cause.
If I load old kernel it seen to work correctly.
If you provoid some input I will give this a try.
Best Regards
-Anand
^ permalink raw reply [flat|nested] 7+ messages in thread* USB 3.0 is broken on Odroid Xu4 on latest kernel 2017-07-19 14:58 USB 3.0 is broken on Odroid Xu4 on latest kernel Anand Moon @ 2017-07-19 18:13 ` Felipe Balbi 2017-07-19 20:20 ` Krzysztof Kozlowski 2017-07-21 9:26 ` Markus Reichl 1 sibling, 1 reply; 7+ messages in thread From: Felipe Balbi @ 2017-07-19 18:13 UTC (permalink / raw) To: linux-arm-kernel Hi, Anand Moon <linux.amoon@gmail.com> writes: > Hi Krzysztof, > > Today I tried to compile the latest kernel for Odroid xu4. > using exynos_defconfig I build and loaded the kernel. > but to my surprise usb 3.0 device and missing. > > odroid login: root > Password: > Last login: Wed Jul 19 14:01:44 UTC 2017 on ttySAC2 > Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.13.0-rc1-xu4ml-27846-g74cbd96 armv7l) Dude, you have 27 thousand patches on top of v4.13-rc1??? Try vanilla v4.13-rc1 and try a git bisect. -- balbi ^ permalink raw reply [flat|nested] 7+ messages in thread
* USB 3.0 is broken on Odroid Xu4 on latest kernel 2017-07-19 18:13 ` Felipe Balbi @ 2017-07-19 20:20 ` Krzysztof Kozlowski 2017-07-26 4:19 ` Anand Moon 0 siblings, 1 reply; 7+ messages in thread From: Krzysztof Kozlowski @ 2017-07-19 20:20 UTC (permalink / raw) To: linux-arm-kernel On Wed, Jul 19, 2017 at 09:13:29PM +0300, Felipe Balbi wrote: > > Hi, > > Anand Moon <linux.amoon@gmail.com> writes: > > Hi Krzysztof, > > > > Today I tried to compile the latest kernel for Odroid xu4. > > using exynos_defconfig I build and loaded the kernel. > > but to my surprise usb 3.0 device and missing. > > > > odroid login: root > > Password: > > Last login: Wed Jul 19 14:01:44 UTC 2017 on ttySAC2 > > Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.13.0-rc1-xu4ml-27846-g74cbd96 armv7l) > > Dude, you have 27 thousand patches on top of v4.13-rc1??? Try vanilla > v4.13-rc1 and try a git bisect. Hi Anand, Beside Felipe's comment, I do not have XU4. I cannot reproduce it on XU3-Lite (but there is difference in USB2 and USB3, AFAIR). $ uname -a Linux odroidxu3 4.13.0-rc1-00071-ge06fdaf40a5c #1051 SMP PREEMPT Wed Jul 19 22:07:41 CEST 2017 armv7l GNU/Linux $ lsusb Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Try to follow Felipe's advice of using vanilla kernel from Linus and bisecting it. Best regards, Krzysztof ^ permalink raw reply [flat|nested] 7+ messages in thread
* USB 3.0 is broken on Odroid Xu4 on latest kernel 2017-07-19 20:20 ` Krzysztof Kozlowski @ 2017-07-26 4:19 ` Anand Moon 0 siblings, 0 replies; 7+ messages in thread From: Anand Moon @ 2017-07-26 4:19 UTC (permalink / raw) To: linux-arm-kernel Hi Krzysztof / Felipe, On 20 July 2017 at 01:50, Krzysztof Kozlowski <krzk@kernel.org> wrote: > On Wed, Jul 19, 2017 at 09:13:29PM +0300, Felipe Balbi wrote: >> >> Hi, >> >> Anand Moon <linux.amoon@gmail.com> writes: >> > Hi Krzysztof, >> > >> > Today I tried to compile the latest kernel for Odroid xu4. >> > using exynos_defconfig I build and loaded the kernel. >> > but to my surprise usb 3.0 device and missing. >> > >> > odroid login: root >> > Password: >> > Last login: Wed Jul 19 14:01:44 UTC 2017 on ttySAC2 >> > Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.13.0-rc1-xu4ml-27846-g74cbd96 armv7l) >> >> Dude, you have 27 thousand patches on top of v4.13-rc1??? Try vanilla >> v4.13-rc1 and try a git bisect. > > Hi Anand, > > Beside Felipe's comment, I do not have XU4. I cannot reproduce it on > XU3-Lite (but there is difference in USB2 and USB3, AFAIR). > > $ uname -a > Linux odroidxu3 4.13.0-rc1-00071-ge06fdaf40a5c #1051 SMP PREEMPT Wed Jul 19 22:07:41 CEST 2017 armv7l GNU/Linux > $ lsusb > Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub > Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter > Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > > Try to follow Felipe's advice of using vanilla kernel from Linus and > bisecting it. > > Best regards, > Krzysztof > I feel this is long standing issue with phy-exynos5-usbdrd.c with following patch missing. [0] https://patchwork.kernel.org/patch/5204471/ with some more updated to phy-exynos5-usbdrd.c I was able to bring the phy up in cold boot. but when I perform warm boot the issue persist. root at odroidxu4q:~# uname -a Linux odroidxu4q 4.13.0-rc2-xu4next-14488-g25f6a53-dirty #7 SMP PREEMPT Tue Jul 25 20:04:02 UTC 2017 armv7l armv7l armv7l GNU/Linux root at odroidxu4q:~# lsusb -t /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 5000M |__ Port 2: Dev 4, If 1, Class=Video, Driver=uvcvideo, 5000M |__ Port 2: Dev 4, If 0, Class=Video, Driver=uvcvideo, 5000M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M root at odroidxu4q:~# Best Regards -Anand ^ permalink raw reply [flat|nested] 7+ messages in thread
* USB 3.0 is broken on Odroid Xu4 on latest kernel 2017-07-19 14:58 USB 3.0 is broken on Odroid Xu4 on latest kernel Anand Moon 2017-07-19 18:13 ` Felipe Balbi @ 2017-07-21 9:26 ` Markus Reichl 2017-07-21 10:40 ` Anand Moon 1 sibling, 1 reply; 7+ messages in thread From: Markus Reichl @ 2017-07-21 9:26 UTC (permalink / raw) To: linux-arm-kernel Hi Anand, the issue below is fixed with 4.13.0-rc1-next-20170721. Gru?, -- Markus Reichl Am 19.07.2017 um 16:58 schrieb Anand Moon: > Hi Krzysztof, > > Today I tried to compile the latest kernel for Odroid xu4. > using exynos_defconfig I build and loaded the kernel. > but to my surprise usb 3.0 device and missing. > > odroid login: root > Password: > Last login: Wed Jul 19 14:01:44 UTC 2017 on ttySAC2 > Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.13.0-rc1-xu4ml-27846-g74cbd96 armv7l) > > * Documentation: https://help.ubuntu.com > * Management: https://landscape.canonical.com > * Support: https://ubuntu.com/advantage > root at odroid:~# lsusb > Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub > Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub > Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Bus 002 Device 002: ID 0603:0002 Novatek Microelectronics Corp. > Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > root at odroid:~# lsusb -t > /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M > /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M > /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M > /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M > /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M > |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M > |__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M > /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M > > Full dmesg can be found on blow link. > https://pastebin.com/K3xfPCPe > > The reason for failed is below. > > [ 7.187096] usb usb4-port1: connect-debounce failed > > I tried to debug this but failed to find the root cause. > Nothing is connected to the UBS 3.0 port for the failure to cause. > > If I load old kernel it seen to work correctly. > If you provoid some input I will give this a try. > > Best Regards > -Anand > -- > To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in > the body of a message to majordomo at vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > ^ permalink raw reply [flat|nested] 7+ messages in thread
* USB 3.0 is broken on Odroid Xu4 on latest kernel 2017-07-21 9:26 ` Markus Reichl @ 2017-07-21 10:40 ` Anand Moon 2017-07-21 13:44 ` Anand Moon 0 siblings, 1 reply; 7+ messages in thread From: Anand Moon @ 2017-07-21 10:40 UTC (permalink / raw) To: linux-arm-kernel Hi Markus Reichl/ Felipe/ Krzysztof / Jochen, On 21 July 2017 at 14:56, Markus Reichl <m.reichl@fivetechno.de> wrote: > Hi Anand, > > the issue below is fixed with > 4.13.0-rc1-next-20170721. > > Gru?, > -- > Markus Reichl > > Am 19.07.2017 um 16:58 schrieb Anand Moon: >> Hi Krzysztof, >> >> Today I tried to compile the latest kernel for Odroid xu4. >> using exynos_defconfig I build and loaded the kernel. >> but to my surprise usb 3.0 device and missing. >> >> odroid login: root >> Password: >> Last login: Wed Jul 19 14:01:44 UTC 2017 on ttySAC2 >> Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.13.0-rc1-xu4ml-27846-g74cbd96 armv7l) >> >> * Documentation: https://help.ubuntu.com >> * Management: https://landscape.canonical.com >> * Support: https://ubuntu.com/advantage >> root at odroid:~# lsusb >> Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub >> Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub >> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >> Bus 002 Device 002: ID 0603:0002 Novatek Microelectronics Corp. >> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >> root at odroid:~# lsusb -t >> /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M >> /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M >> /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M >> /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M >> /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M >> |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M >> |__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M >> /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M >> >> Full dmesg can be found on blow link. >> https://pastebin.com/K3xfPCPe >> >> The reason for failed is below. >> >> [ 7.187096] usb usb4-port1: connect-debounce failed >> >> I tried to debug this but failed to find the root cause. >> Nothing is connected to the UBS 3.0 port for the failure to cause. >> >> If I load old kernel it seen to work correctly. >> If you provoid some input I will give this a try. >> Thanks for your tips and input. I was going to 'git bisect' over this weekend. But I will now check the 4.13.0-rc1-next-20170721 and let you all know if this resolves the issue. Best Regards -Anand ^ permalink raw reply [flat|nested] 7+ messages in thread
* USB 3.0 is broken on Odroid Xu4 on latest kernel 2017-07-21 10:40 ` Anand Moon @ 2017-07-21 13:44 ` Anand Moon 0 siblings, 0 replies; 7+ messages in thread From: Anand Moon @ 2017-07-21 13:44 UTC (permalink / raw) To: linux-arm-kernel Hi All, On 21 July 2017 at 16:10, Anand Moon <linux.amoon@gmail.com> wrote: > Hi Markus Reichl/ Felipe/ Krzysztof / Jochen, > > On 21 July 2017 at 14:56, Markus Reichl <m.reichl@fivetechno.de> wrote: >> Hi Anand, >> >> the issue below is fixed with >> 4.13.0-rc1-next-20170721. >> >> Gru?, >> -- >> Markus Reichl >> >> Am 19.07.2017 um 16:58 schrieb Anand Moon: >>> Hi Krzysztof, >>> >>> Today I tried to compile the latest kernel for Odroid xu4. >>> using exynos_defconfig I build and loaded the kernel. >>> but to my surprise usb 3.0 device and missing. >>> >>> odroid login: root >>> Password: >>> Last login: Wed Jul 19 14:01:44 UTC 2017 on ttySAC2 >>> Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.13.0-rc1-xu4ml-27846-g74cbd96 armv7l) >>> >>> * Documentation: https://help.ubuntu.com >>> * Management: https://landscape.canonical.com >>> * Support: https://ubuntu.com/advantage >>> root at odroid:~# lsusb >>> Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub >>> Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >>> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub >>> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >>> Bus 002 Device 002: ID 0603:0002 Novatek Microelectronics Corp. >>> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >>> root at odroid:~# lsusb -t >>> /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M >>> /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M >>> /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M >>> /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M >>> /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M >>> |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M >>> |__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M >>> /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M >>> >>> Full dmesg can be found on blow link. >>> https://pastebin.com/K3xfPCPe >>> >>> The reason for failed is below. >>> >>> [ 7.187096] usb usb4-port1: connect-debounce failed >>> >>> I tried to debug this but failed to find the root cause. >>> Nothing is connected to the UBS 3.0 port for the failure to cause. >>> >>> If I load old kernel it seen to work correctly. >>> If you provoid some input I will give this a try. >>> > > Thanks for your tips and input. > > I was going to 'git bisect' over this weekend. > But I will now check the 4.13.0-rc1-next-20170721 > and let you all know if this resolves the issue. > Just build and tested the 4.13.0-rc1-next-20170721. so kernel is good enough to enumerate the usbdrd_dwc3_1 (usb port 6,5) but this failed to enumerate the usbdrd_dwc3_10 (usb port 4,3). root at odroidxu4q:~# lsusb -t /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 480M /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M Best Regards -Anand ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2017-07-26 4:19 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-07-19 14:58 USB 3.0 is broken on Odroid Xu4 on latest kernel Anand Moon 2017-07-19 18:13 ` Felipe Balbi 2017-07-19 20:20 ` Krzysztof Kozlowski 2017-07-26 4:19 ` Anand Moon 2017-07-21 9:26 ` Markus Reichl 2017-07-21 10:40 ` Anand Moon 2017-07-21 13:44 ` Anand Moon
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox