* PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 @ 2016-08-28 20:04 Michael Niewöhner 2016-08-29 7:28 ` Felipe Balbi 0 siblings, 1 reply; 19+ messages in thread From: Michael Niewöhner @ 2016-08-28 20:04 UTC (permalink / raw) To: linux-arm-kernel [1.] One line summary of the problem: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 [2.] Full description of the problem/report: No usb 3.0 devices are being detected when attached while USB 2.0 devices work on the same port. USB 3.0 works after applying patches [9.1] and [9.2], but seems to be buggy. The usb hub is redetected every time an usb device is attached. dmesg: [??192.287080] usb 3-1.2: USB disconnect, device number 7 [??210.370699] hub 3-1:1.0: hub_ext_port_status failed (err = -71) [??210.375159] usb 3-1-port2: connect-debounce failed [??210.380126] usb 3-1: USB disconnect, device number 5 [??210.488917] usb 4-1: USB disconnect, device number 3 [??210.708861] usb 3-1: new high-speed USB device number 9 using xhci- hcd [??210.851308] usb 3-1: New USB device found, idVendor=05e3, idProduct=0610 [??210.856530] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [??210.863696] usb 3-1: Product: USB2.0 Hub [??210.867721] usb 3-1: Manufacturer: GenesysLogic [??210.877800] hub 3-1:1.0: USB hub found [??210.880600] hub 3-1:1.0: 2 ports detected [??210.913438] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node [??211.468970] usb 3-1.2: new high-speed USB device number 10 using xhci-hcd [??211.579279] usb 3-1.2: New USB device found, idVendor=0951, idProduct=1666 [??211.584667] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [??211.592002] usb 3-1.2: Product: DataTraveler 3.0 [??211.596720] usb 3-1.2: Manufacturer: Kingston [??211.601075] usb 3-1.2: SerialNumber: 00190F0C0295BE711962B008 [??211.607557] usb-storage 3-1.2:1.0: USB Mass Storage device detected [??211.613640] scsi host0: usb-storage 3-1.2:1.0 [??211.620179] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node [??212.677008] scsi 0:0:0:0: Direct-Access?????Kingston DataTraveler 3.0 PMAP PQ: 0 ANSI: 6 [??212.685208] sd 0:0:0:0: Attached scsi generic sg0 type 0 [??212.687323] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node [??214.209074] usb 4-1: new SuperSpeed USB device number 4 using xhci- hcd [??214.231660] usb 4-1: New USB device found, idVendor=05e3, idProduct=0616 [??214.236882] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [??214.244057] usb 4-1: Product: USB3.0 Hub [??214.248060] usb 4-1: Manufacturer: GenesysLogic [??214.254181] hub 4-1:1.0: USB hub found [??214.256754] hub 4-1:1.0: 2 ports detected [??214.264279] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node [??214.634773] sd 0:0:0:0: [sda] 61457664 512-byte logical blocks: (31.5 GB/29.3 GiB) [??214.641164] sd 0:0:0:0: [sda] Write Protect is off [??214.645631] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00 [??214.645900] sd 0:0:0:0: [sda] No Caching mode page found [??214.650978] sd 0:0:0:0: [sda] Assuming drive cache: write through [??214.682552]??sda: sda1 [??214.685165] sd 0:0:0:0: [sda] Attached SCSI removable disk [??234.526936] usb 3-1.2: USB disconnect, device number 10 [3.] Keywords (i.e., modules, networking, kernel): usb 3.0, dwc3, exynos, odroid ? [4.] Kernel information 4.6.x, 4.7.x [4.1.] Kernel version (from /proc/version): Linux version 4.7.2+ (c0d3 at z3r0) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 SMP Sun Aug 28 18:52:25 CEST 2016 [4.2.] Kernel .config file: #cat .config | grep -E "(USB|DWC|DRD).*=(m|y)" CONFIG_CAN_EMS_USB=m CONFIG_CAN_ESD_USB2=m CONFIG_CAN_GS_USB=m CONFIG_CAN_KVASER_USB=m CONFIG_CAN_PEAK_USB=m CONFIG_CAN_8DEV_USB=m CONFIG_BT_HCIBTUSB=m CONFIG_BT_HCIBTUSB_BCM=y CONFIG_BT_HCIBTUSB_RTL=y CONFIG_USB_NET_DRIVERS=y CONFIG_USB_CATC=m CONFIG_USB_KAWETH=m CONFIG_USB_PEGASUS=m CONFIG_USB_RTL8150=m CONFIG_USB_RTL8152=m CONFIG_USB_USBNET=m CONFIG_USB_NET_AX8817X=m CONFIG_USB_NET_AX88179_178A=m CONFIG_USB_NET_CDCETHER=m CONFIG_USB_NET_CDC_EEM=m CONFIG_USB_NET_CDC_NCM=m CONFIG_USB_NET_HUAWEI_CDC_NCM=m CONFIG_USB_NET_CDC_MBIM=m CONFIG_USB_NET_DM9601=m CONFIG_USB_NET_SR9700=m CONFIG_USB_NET_SR9800=m CONFIG_USB_NET_SMSC75XX=m CONFIG_USB_NET_SMSC95XX=m CONFIG_USB_NET_GL620A=m CONFIG_USB_NET_NET1080=m CONFIG_USB_NET_PLUSB=m CONFIG_USB_NET_MCS7830=m CONFIG_USB_NET_RNDIS_HOST=m CONFIG_USB_NET_CDC_SUBSET_ENABLE=m CONFIG_USB_NET_CDC_SUBSET=m CONFIG_USB_ALI_M5632=y CONFIG_USB_AN2720=y CONFIG_USB_BELKIN=y CONFIG_USB_ARMLINUX=y CONFIG_USB_EPSON2888=y CONFIG_USB_KC2190=y CONFIG_USB_NET_ZAURUS=m CONFIG_USB_NET_CX82310_ETH=m CONFIG_USB_NET_KALMIA=m CONFIG_USB_NET_QMI_WWAN=m CONFIG_USB_HSO=m CONFIG_USB_NET_INT51X1=m CONFIG_USB_CDC_PHONET=m CONFIG_USB_IPHETH=m CONFIG_USB_SIERRA_NET=m CONFIG_USB_VL600=m CONFIG_ATH6KL_USB=m CONFIG_AT76C50X_USB=m CONFIG_BRCMFMAC_USB=y CONFIG_P54_USB=m CONFIG_LIBERTAS_USB=m CONFIG_LIBERTAS_THINFIRM_USB=m CONFIG_RT2500USB=m CONFIG_RT73USB=m CONFIG_RT2800USB=m CONFIG_RT2800USB_RT33XX=y CONFIG_RT2800USB_RT35XX=y CONFIG_RT2800USB_RT3573=y CONFIG_RT2800USB_RT53XX=y CONFIG_RT2800USB_RT55XX=y CONFIG_RT2X00_LIB_USB=m CONFIG_RTLWIFI_USB=m CONFIG_RSI_USB=m CONFIG_USB_NET_RNDIS_WLAN=m CONFIG_WIMAX_I2400M_USB=m CONFIG_MOUSE_SYNAPTICS_USB=m CONFIG_TABLET_USB_ACECAD=m CONFIG_TABLET_USB_AIPTEK=m CONFIG_TABLET_USB_GTCO=m CONFIG_TABLET_USB_HANWANG=m CONFIG_TABLET_USB_KBTAB=m CONFIG_TOUCHSCREEN_USB_COMPOSITE=m CONFIG_TOUCHSCREEN_USB_EGALAX=y CONFIG_TOUCHSCREEN_USB_PANJIT=y CONFIG_TOUCHSCREEN_USB_3M=y CONFIG_TOUCHSCREEN_USB_ITM=y CONFIG_TOUCHSCREEN_USB_ETURBO=y CONFIG_TOUCHSCREEN_USB_GUNZE=y CONFIG_TOUCHSCREEN_USB_DMC_TSC10=y CONFIG_TOUCHSCREEN_USB_IRTOUCH=y CONFIG_TOUCHSCREEN_USB_IDEALTEK=y CONFIG_TOUCHSCREEN_USB_GENERAL_TOUCH=y CONFIG_TOUCHSCREEN_USB_GOTOP=y CONFIG_TOUCHSCREEN_USB_JASTEC=y CONFIG_TOUCHSCREEN_USB_ELO=y CONFIG_TOUCHSCREEN_USB_E2I=y CONFIG_TOUCHSCREEN_USB_ZYTRONIC=y CONFIG_TOUCHSCREEN_USB_ETT_TC45USB=y CONFIG_TOUCHSCREEN_USB_NEXIO=y CONFIG_TOUCHSCREEN_USB_EASYTOUCH=y CONFIG_I2C_TINY_USB=m CONFIG_MFD_RTSX_USB=m CONFIG_IR_MCEUSB=m CONFIG_IR_IGORPLUGUSB=m CONFIG_IR_TTUSBIR=m CONFIG_MEDIA_USB_SUPPORT=y CONFIG_USB_VIDEO_CLASS=m CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y CONFIG_USB_GSPCA=m CONFIG_USB_M5602=m CONFIG_USB_STV06XX=m CONFIG_USB_GL860=m CONFIG_USB_GSPCA_BENQ=m CONFIG_USB_GSPCA_CONEX=m CONFIG_USB_GSPCA_CPIA1=m CONFIG_USB_GSPCA_DTCS033=m CONFIG_USB_GSPCA_ETOMS=m CONFIG_USB_GSPCA_FINEPIX=m CONFIG_USB_GSPCA_JEILINJ=m CONFIG_USB_GSPCA_JL2005BCD=m CONFIG_USB_GSPCA_KINECT=m CONFIG_USB_GSPCA_KONICA=m CONFIG_USB_GSPCA_MARS=m CONFIG_USB_GSPCA_MR97310A=m CONFIG_USB_GSPCA_NW80X=m CONFIG_USB_GSPCA_OV519=m CONFIG_USB_GSPCA_OV534=m CONFIG_USB_GSPCA_OV534_9=m CONFIG_USB_GSPCA_PAC207=m CONFIG_USB_GSPCA_PAC7302=m CONFIG_USB_GSPCA_PAC7311=m CONFIG_USB_GSPCA_SE401=m CONFIG_USB_GSPCA_SN9C2028=m CONFIG_USB_GSPCA_SN9C20X=m CONFIG_USB_GSPCA_SONIXB=m CONFIG_USB_GSPCA_SONIXJ=m CONFIG_USB_GSPCA_SPCA500=m CONFIG_USB_GSPCA_SPCA501=m CONFIG_USB_GSPCA_SPCA505=m CONFIG_USB_GSPCA_SPCA506=m CONFIG_USB_GSPCA_SPCA508=m CONFIG_USB_GSPCA_SPCA561=m CONFIG_USB_GSPCA_SPCA1528=m CONFIG_USB_GSPCA_SQ905=m CONFIG_USB_GSPCA_SQ905C=m CONFIG_USB_GSPCA_SQ930X=m CONFIG_USB_GSPCA_STK014=m CONFIG_USB_GSPCA_STK1135=m CONFIG_USB_GSPCA_STV0680=m CONFIG_USB_GSPCA_SUNPLUS=m CONFIG_USB_GSPCA_T613=m CONFIG_USB_GSPCA_TOPRO=m CONFIG_USB_GSPCA_TV8532=m CONFIG_USB_GSPCA_VC032X=m CONFIG_USB_GSPCA_VICAM=m CONFIG_USB_GSPCA_XIRLINK_CIT=m CONFIG_USB_GSPCA_ZC3XX=m CONFIG_USB_PWC=m CONFIG_USB_PWC_INPUT_EVDEV=y CONFIG_USB_ZR364XX=m CONFIG_USB_STKWEBCAM=m CONFIG_USB_S2255=m CONFIG_VIDEO_USBTV=m CONFIG_VIDEO_PVRUSB2=m CONFIG_VIDEO_PVRUSB2_SYSFS=y CONFIG_VIDEO_PVRUSB2_DVB=y CONFIG_VIDEO_USBVISION=m CONFIG_DVB_USB=m CONFIG_DVB_USB_A800=m CONFIG_DVB_USB_DIBUSB_MB=m CONFIG_DVB_USB_DIBUSB_MB_FAULTY=y CONFIG_DVB_USB_DIBUSB_MC=m CONFIG_DVB_USB_DIB0700=m CONFIG_DVB_USB_UMT_010=m CONFIG_DVB_USB_CXUSB=m CONFIG_DVB_USB_M920X=m CONFIG_DVB_USB_DIGITV=m CONFIG_DVB_USB_VP7045=m CONFIG_DVB_USB_VP702X=m CONFIG_DVB_USB_GP8PSK=m CONFIG_DVB_USB_NOVA_T_USB2=m CONFIG_DVB_USB_TTUSB2=m CONFIG_DVB_USB_DTT200U=m CONFIG_DVB_USB_OPERA1=m CONFIG_DVB_USB_AF9005=m CONFIG_DVB_USB_AF9005_REMOTE=m CONFIG_DVB_USB_PCTV452E=m CONFIG_DVB_USB_DW2102=m CONFIG_DVB_USB_CINERGY_T2=m CONFIG_DVB_USB_DTV5100=m CONFIG_DVB_USB_FRIIO=m CONFIG_DVB_USB_AZ6027=m CONFIG_DVB_USB_TECHNISAT_USB2=m CONFIG_DVB_USB_V2=m CONFIG_DVB_USB_AF9015=m CONFIG_DVB_USB_AF9035=m CONFIG_DVB_USB_ANYSEE=m CONFIG_DVB_USB_AU6610=m CONFIG_DVB_USB_AZ6007=m CONFIG_DVB_USB_CE6230=m CONFIG_DVB_USB_EC168=m CONFIG_DVB_USB_GL861=m CONFIG_DVB_USB_LME2510=m CONFIG_DVB_USB_MXL111SF=m CONFIG_DVB_USB_RTL28XXU=m CONFIG_DVB_USB_DVBSKY=m CONFIG_SMS_USB_DRV=m CONFIG_DVB_B2C2_FLEXCOP_USB=m CONFIG_USB_AIRSPY=m CONFIG_USB_HACKRF=m CONFIG_USB_MSI2500=m CONFIG_USB_SI470X=m CONFIG_USB_MR800=m CONFIG_USB_KEENE=m CONFIG_USB_RAREMONO=m CONFIG_USB_MA901=m CONFIG_SND_USB=y CONFIG_SND_USB_AUDIO=m CONFIG_SND_USB_UA101=m CONFIG_SND_USB_CAIAQ=m CONFIG_SND_USB_CAIAQ_INPUT=y CONFIG_SND_USB_6FIRE=m CONFIG_SND_USB_HIFACE=m CONFIG_SND_USB_LINE6=m CONFIG_SND_USB_POD=m CONFIG_SND_USB_PODHD=m CONFIG_SND_USB_TONEPORT=m CONFIG_SND_USB_VARIAX=m CONFIG_USB_HID=y CONFIG_USB_HIDDEV=y CONFIG_USB_OHCI_LITTLE_ENDIAN=y CONFIG_USB_SUPPORT=y CONFIG_USB_COMMON=y CONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB=y CONFIG_USB_ANNOUNCE_NEW_DEVICES=y CONFIG_USB_DEFAULT_PERSIST=y CONFIG_USB_DYNAMIC_MINORS=y CONFIG_USB_MON=y CONFIG_USB_WUSB_CBAF=m CONFIG_USB_XHCI_HCD=m CONFIG_USB_XHCI_PLATFORM=m CONFIG_USB_EHCI_HCD=m CONFIG_USB_EHCI_ROOT_HUB_TT=y CONFIG_USB_EHCI_TT_NEWSCHED=y CONFIG_USB_EHCI_EXYNOS=m CONFIG_USB_EHCI_HCD_PLATFORM=m CONFIG_USB_OHCI_HCD=m CONFIG_USB_OHCI_EXYNOS=m CONFIG_USB_OHCI_HCD_PLATFORM=m CONFIG_USB_ACM=m CONFIG_USB_PRINTER=m CONFIG_USB_WDM=m CONFIG_USB_TMC=m CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE_REALTEK=m CONFIG_USB_STORAGE_DATAFAB=m CONFIG_USB_STORAGE_FREECOM=m CONFIG_USB_STORAGE_ISD200=m CONFIG_USB_STORAGE_USBAT=m CONFIG_USB_STORAGE_SDDR09=m CONFIG_USB_STORAGE_SDDR55=m CONFIG_USB_STORAGE_JUMPSHOT=m CONFIG_USB_STORAGE_ALAUDA=m CONFIG_USB_STORAGE_ONETOUCH=m CONFIG_USB_STORAGE_KARMA=m CONFIG_USB_STORAGE_CYPRESS_ATACB=m CONFIG_USB_STORAGE_ENE_UB6250=m CONFIG_USB_UAS=m CONFIG_USB_MDC800=m CONFIG_USB_MICROTEK=m CONFIG_USB_DWC3=m CONFIG_USB_DWC3_HOST=y CONFIG_USB_DWC3_EXYNOS=m CONFIG_USB_DWC3_OF_SIMPLE=m CONFIG_USB_DWC2=m CONFIG_USB_DWC2_HOST=y CONFIG_USB_CHIPIDEA=m CONFIG_USB_CHIPIDEA_OF=m CONFIG_USB_CHIPIDEA_UDC=y CONFIG_USB_SERIAL=m CONFIG_USB_SERIAL_GENERIC=y CONFIG_USB_SERIAL_SIMPLE=m CONFIG_USB_SERIAL_AIRCABLE=m CONFIG_USB_SERIAL_ARK3116=m CONFIG_USB_SERIAL_BELKIN=m CONFIG_USB_SERIAL_CH341=m CONFIG_USB_SERIAL_WHITEHEAT=m CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m CONFIG_USB_SERIAL_CP210X=m CONFIG_USB_SERIAL_CYPRESS_M8=m CONFIG_USB_SERIAL_EMPEG=m CONFIG_USB_SERIAL_FTDI_SIO=m CONFIG_USB_SERIAL_VISOR=m CONFIG_USB_SERIAL_IPAQ=m CONFIG_USB_SERIAL_IR=m CONFIG_USB_SERIAL_EDGEPORT=m CONFIG_USB_SERIAL_EDGEPORT_TI=m CONFIG_USB_SERIAL_F81232=m CONFIG_USB_SERIAL_GARMIN=m CONFIG_USB_SERIAL_IPW=m CONFIG_USB_SERIAL_IUU=m CONFIG_USB_SERIAL_KEYSPAN_PDA=m CONFIG_USB_SERIAL_KEYSPAN=m CONFIG_USB_SERIAL_KLSI=m CONFIG_USB_SERIAL_KOBIL_SCT=m CONFIG_USB_SERIAL_MCT_U232=m CONFIG_USB_SERIAL_METRO=m CONFIG_USB_SERIAL_MOS7720=m CONFIG_USB_SERIAL_MOS7840=m CONFIG_USB_SERIAL_MXUPORT=m CONFIG_USB_SERIAL_NAVMAN=m CONFIG_USB_SERIAL_PL2303=m CONFIG_USB_SERIAL_OTI6858=m CONFIG_USB_SERIAL_QCAUX=m CONFIG_USB_SERIAL_QUALCOMM=m CONFIG_USB_SERIAL_SPCP8X5=m CONFIG_USB_SERIAL_SAFE=m CONFIG_USB_SERIAL_SIERRAWIRELESS=m CONFIG_USB_SERIAL_SYMBOL=m CONFIG_USB_SERIAL_TI=m CONFIG_USB_SERIAL_CYBERJACK=m CONFIG_USB_SERIAL_XIRCOM=m CONFIG_USB_SERIAL_WWAN=m CONFIG_USB_SERIAL_OPTION=m CONFIG_USB_SERIAL_OMNINET=m CONFIG_USB_SERIAL_OPTICON=m CONFIG_USB_SERIAL_XSENS_MT=m CONFIG_USB_SERIAL_WISHBONE=m CONFIG_USB_SERIAL_SSU100=m CONFIG_USB_SERIAL_QT2=m CONFIG_USB_SERIAL_DEBUG=m CONFIG_USB_EMI62=m CONFIG_USB_EMI26=m CONFIG_USB_ADUTUX=m CONFIG_USB_SEVSEG=m CONFIG_USB_RIO500=m CONFIG_USB_LEGOTOWER=m CONFIG_USB_LCD=m CONFIG_USB_LED=m CONFIG_USB_CYPRESS_CY7C63=m CONFIG_USB_CYTHERM=m CONFIG_USB_IDMOUSE=m CONFIG_USB_FTDI_ELAN=m CONFIG_USB_APPLEDISPLAY=m CONFIG_USB_LD=m CONFIG_USB_TRANCEVIBRATOR=m CONFIG_USB_IOWARRIOR=m CONFIG_USB_TEST=m CONFIG_USB_EHSET_TEST_FIXTURE=m CONFIG_USB_ISIGHTFW=m CONFIG_USB_YUREX=m CONFIG_USB_EZUSB_FX2=m CONFIG_USB_HSIC_USB3503=m CONFIG_USB_PHY=y CONFIG_NOP_USB_XCEIV=y CONFIG_AM335X_CONTROL_USB=m CONFIG_AM335X_PHY_USB=m CONFIG_USB_GPIO_VBUS=m CONFIG_USB_ULPI=y CONFIG_USB_ULPI_VIEWPORT=y CONFIG_USB_GADGET=y CONFIG_USB_LIBCOMPOSITE=m CONFIG_USB_F_ACM=m CONFIG_USB_U_SERIAL=m CONFIG_USB_U_ETHER=m CONFIG_USB_F_OBEX=m CONFIG_USB_F_ECM=m CONFIG_USB_F_PHONET=m CONFIG_USB_F_SUBSET=m CONFIG_USB_F_RNDIS=m CONFIG_USB_F_MASS_STORAGE=m CONFIG_USB_ETH=m CONFIG_USB_ETH_RNDIS=y CONFIG_USB_GADGETFS=m CONFIG_USB_G_NOKIA=m CONFIG_USB_LED_TRIG=y CONFIG_MMC_REALTEK_USB=m CONFIG_MEMSTICK_REALTEK_USB=m CONFIG_PHY_SAMSUNG_USB2=m CONFIG_PHY_EXYNOS5250_USB2=y CONFIG_PHY_EXYNOS5_USBDRD=m [5.] Most recent kernel version which did not have the bug: I did not test any other versions. [6.] Output of Oops: - [7.] A small shell script or example program which triggers the ?????problem (if possible) - [8.] Environment [8.1.] Software (add the output of the ver_linux script here) Linux c0xu4 4.7.2+ #1 SMP Sun Aug 28 18:52:25 CEST 2016 armv7l GNU/Linux ? GNU C 4.9.2 GNU Make 4.0 Binutils 2.25 Util-linux 2.25.2 Mount 2.25.2 Module-init-tools 18 E2fsprogs 1.42.12 Linux C Library 2.19 Dynamic linker (ldd) 2.19 Linux C++ Library 6.0.20 Procps 3.3.9 Net-tools 1.60 Kbd 1.15.5 Console-tools 1.15.5 Sh-utils 8.23 Udev 215 Modules Loaded autofs4 cdc_ether dwc3 dwc3_exynos ehci_exynos ehci_hcd evdev hid_generic ip6table_filter ip6_tables iptable_filter iptable_mangle iptable_nat ip_tables ipt_REJECT mii nf_conntrack nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat nf_nat_ipv4 nf_reject_ipv4 ohci_exynos ohci_hcd phy_exynos5_usbdrd phy_exynos_usb2 r8152 s5p_sss snd snd_hwdep snd_pcm snd_rawmidi snd_seq_device snd_timer snd_usb_audio snd_usbmidi_lib soundcore tun usbnet xhci_hcd xhci_plat_hcd x_tables xt_conntrack xt_multiport xt_tcpudp [8.2.] Processor information (from /proc/cpuinfo): processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 78 model name : Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz stepping : 3 microcode : 0x8a cpu MHz : 2739.111 cache size : 3072 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 22 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp bugs : bogomips : 4801.87 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 78 model name : Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz stepping : 3 microcode : 0x8a cpu MHz : 2618.701 cache size : 3072 KB physical id : 0 siblings : 4 core id : 1 cpu cores : 2 apicid : 2 initial apicid : 2 fpu : yes fpu_exception : yes cpuid level : 22 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp bugs : bogomips : 4802.09 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management: processor : 2 vendor_id : GenuineIntel cpu family : 6 model : 78 model name : Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz stepping : 3 microcode : 0x8a cpu MHz : 2765.917 cache size : 3072 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 2 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 22 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp bugs : bogomips : 4803.65 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management: processor : 3 vendor_id : GenuineIntel cpu family : 6 model : 78 model name : Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz stepping : 3 microcode : 0x8a cpu MHz : 2757.421 cache size : 3072 KB physical id : 0 siblings : 4 core id : 1 cpu cores : 2 apicid : 3 initial apicid : 3 fpu : yes fpu_exception : yes cpuid level : 22 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp bugs : bogomips : 4803.17 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management: [8.3.] Module information (from /proc/modules): mmc_block 40960 0 - Live 0xffffffffc0cb3000 xfrm_user 32768 1 - Live 0xffffffffc0caa000 xfrm_algo 16384 1 xfrm_user, Live 0xffffffffc0c5c000 xt_addrtype 16384 2 - Live 0xffffffffc0c46000 br_netfilter 24576 0 - Live 0xffffffffc0c7a000 fuse 98304 2 - Live 0xffffffffc0c91000 dm_thin_pool 61440 1 - Live 0xffffffffc0c81000 dm_persistent_data 57344 1 dm_thin_pool, Live 0xffffffffc0c6b000 dm_bio_prison 16384 1 dm_thin_pool, Live 0xffffffffc0c62000 dm_bufio 24576 1 dm_persistent_data, Live 0xffffffffc0c55000 libcrc32c 16384 1 dm_persistent_data, Live 0xffffffffc0c50000 crc32c_generic 16384 0 - Live 0xffffffffc0c4b000 loop 28672 4 - Live 0xffffffffc0c3e000 xt_CHECKSUM 16384 1 - Live 0xffffffffc0bf3000 iptable_mangle 16384 1 - Live 0xffffffffc0c39000 ipt_MASQUERADE 16384 4 - Live 0xffffffffc0c34000 nf_nat_masquerade_ipv4 16384 1 ipt_MASQUERADE, Live 0xffffffffc0c2f000 iptable_nat 16384 1 - Live 0xffffffffc0c2a000 nf_nat_ipv4 16384 1 iptable_nat, Live 0xffffffffc07ef000 nf_nat 24576 2 nf_nat_masquerade_ipv4,nf_nat_ipv4, Live 0xffffffffc0bec000 ipt_REJECT 16384 2 - Live 0xffffffffc07e1000 nf_reject_ipv4 16384 1 ipt_REJECT, Live 0xffffffffc07dc000 xt_tcpudp 16384 6 - Live 0xffffffffc0be7000 tun 28672 1 - Live 0xffffffffc07e7000 bridge 122880 1 br_netfilter, Live 0xffffffffc0c0b000 stp 16384 1 bridge, Live 0xffffffffc07d7000 llc 16384 2 bridge,stp, Live 0xffffffffc07ce000 ebtable_filter 16384 0 - Live 0xffffffffc07c9000 ebtables 32768 1 ebtable_filter, Live 0xffffffffc07bc000 ip6_tables 28672 0 - Live 0xffffffffc09cf000 snd_hda_codec_hdmi 45056 1 - Live 0xffffffffc0aee000 snd_hda_codec_realtek 69632 1 - Live 0xffffffffc0bf9000 snd_hda_codec_generic 69632 1 snd_hda_codec_realtek, Live 0xffffffffc0ba7000 nf_conntrack_ipv4 16384 4 - Live 0xffffffffc09a1000 nf_defrag_ipv4 16384 1 nf_conntrack_ipv4, Live 0xffffffffc091f000 xt_conntrack 16384 3 - Live 0xffffffffc062f000 nf_conntrack 90112 5 nf_nat_masquerade_ipv4,nf_nat_ipv4,nf_nat,nf_conntrack_ipv4,xt_conntrac k, Live 0xffffffffc0bd0000 iptable_filter 16384 1 - Live 0xffffffffc04cb000 rc_su3000 16384 0 - Live 0xffffffffc0bcb000 snd_soc_skl 57344 0 - Live 0xffffffffc0bbc000 snd_soc_skl_ipc 32768 1 snd_soc_skl, Live 0xffffffffc097c000 snd_soc_sst_ipc 16384 1 snd_soc_skl_ipc, Live 0xffffffffc0977000 snd_soc_sst_dsp 36864 1 snd_soc_skl_ipc, Live 0xffffffffc09a6000 snd_hda_ext_core 20480 1 snd_soc_skl, Live 0xffffffffc093b000 snd_soc_sst_match 16384 1 snd_soc_skl, Live 0xffffffffc0936000 snd_soc_core 180224 1 snd_soc_skl, Live 0xffffffffc0b7a000 snd_compress 20480 1 snd_soc_core, Live 0xffffffffc0919000 snd_pcm_dmaengine 16384 1 snd_soc_core, Live 0xffffffffc0665000 ac97_bus 16384 1 snd_soc_core, Live 0xffffffffc0660000 dw_dmac_core 24576 1 snd_soc_sst_dsp, Live 0xffffffffc0540000 ts2020 20480 1 - Live 0xffffffffc04f3000 ds3000 20480 1 - Live 0xffffffffc0514000 nls_iso8859_1 16384 1 - Live 0xffffffffc04e9000 nls_cp437 20480 1 - Live 0xffffffffc0508000 vfat 20480 1 - Live 0xffffffffc0502000 fat 65536 1 vfat, Live 0xffffffffc08c9000 arc4 16384 2 - Live 0xffffffffc055b000 iTCO_wdt 16384 0 - Live 0xffffffffc0529000 intel_rapl 20480 0 - Live 0xffffffffc04d2000 iTCO_vendor_support 16384 1 iTCO_wdt, Live 0xffffffffc067a000 x86_pkg_temp_thermal 16384 0 - Live 0xffffffffc04ee000 intel_powerclamp 16384 0 - Live 0xffffffffc050f000 coretemp 16384 0 - Live 0xffffffffc02f4000 mousedev 20480 0 - Live 0xffffffffc04bb000 kvm_intel 184320 0 - Live 0xffffffffc0a7c000 kvm 507904 1 kvm_intel, Live 0xffffffffc0afd000 irqbypass 16384 1 kvm, Live 0xffffffffc063e000 iwlmvm 266240 0 - Live 0xffffffffc0aac000 mac80211 659456 1 iwlmvm, Live 0xffffffffc09da000 pcspkr 16384 0 - Live 0xffffffffc062a000 snd_hda_intel 32768 2 - Live 0xffffffffc05c1000 psmouse 118784 0 - Live 0xffffffffc09b1000 serio_raw 16384 0 - Live 0xffffffffc059c000 snd_hda_codec 106496 4 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_ intel, Live 0xffffffffc0986000 e1000e 217088 0 - Live 0xffffffffc0941000 snd_hda_core 65536 7 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_soc_ skl,snd_hda_ext_core,snd_hda_intel,snd_hda_codec, Live 0xffffffffc0925000 snd_hwdep 16384 1 snd_hda_codec, Live 0xffffffffc053b000 snd_pcm 86016 8 snd_hda_codec_hdmi,snd_soc_skl,snd_hda_ext_core,snd_soc_core,snd_pcm_dm aengine,snd_hda_intel,snd_hda_codec,snd_hda_core, Live 0xffffffffc0903000 ptp 20480 1 e1000e, Live 0xffffffffc0531000 snd_timer 28672 1 snd_pcm, Live 0xffffffffc04c3000 pps_core 20480 1 ptp, Live 0xffffffffc08fd000 i2c_i801 20480 0 - Live 0xffffffffc08f7000 hid_generic 16384 0 - Live 0xffffffffc08f2000 joydev 20480 0 - Live 0xffffffffc08e8000 evdev 24576 16 - Live 0xffffffffc08dd000 input_leds 16384 0 - Live 0xffffffffc0684000 mac_hid 16384 0 - Live 0xffffffffc067f000 dvb_usb_dw2102 65536 0 - Live 0xffffffffc0888000 dvb_usb 24576 1 dvb_usb_dw2102, Live 0xffffffffc066a000 dvb_core 106496 2 dvb_usb_dw2102,dvb_usb, Live 0xffffffffc086d000 rc_core 24576 4 rc_su3000,dvb_usb_dw2102,dvb_usb, Live 0xffffffffc0623000 iwlwifi 184320 1 iwlmvm, Live 0xffffffffc089b000 cfg80211 491520 3 iwlmvm,mac80211,iwlwifi, Live 0xffffffffc07f4000 rtsx_pci_ms 20480 0 - Live 0xffffffffc061d000 i915 1236992 15 - Live 0xffffffffc068d000 memstick 16384 1 rtsx_pci_ms, Live 0xffffffffc0614000 shpchp 32768 0 - Live 0xffffffffc0671000 drm_kms_helper 114688 1 i915, Live 0xffffffffc0643000 mei_me 32768 0 - Live 0xffffffffc0635000 drm 294912 9 i915,drm_kms_helper, Live 0xffffffffc05cb000 mei 81920 1 mei_me, Live 0xffffffffc05ac000 intel_pch_thermal 16384 0 - Live 0xffffffffc05a7000 intel_gtt 20480 1 i915, Live 0xffffffffc05a1000 syscopyarea 16384 1 drm_kms_helper, Live 0xffffffffc04e4000 sysfillrect 16384 1 drm_kms_helper, Live 0xffffffffc0560000 sysimgblt 16384 1 drm_kms_helper, Live 0xffffffffc0520000 fb_sys_fops 16384 1 drm_kms_helper, Live 0xffffffffc04df000 i2c_algo_bit 16384 1 i915, Live 0xffffffffc051b000 thermal 20480 0 - Live 0xffffffffc0596000 thinkpad_acpi 77824 1 - Live 0xffffffffc057e000 wmi 16384 0 - Live 0xffffffffc04fd000 nvram 16384 1 thinkpad_acpi, Live 0xffffffffc048b000 snd 65536 15 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_soc_ core,snd_compress,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_tim er,thinkpad_acpi, Live 0xffffffffc056d000 soundcore 16384 1 snd, Live 0xffffffffc04b6000 led_class 16384 3 iwlmvm,input_leds,thinkpad_acpi, Live 0xffffffffc04ad000 rfkill 20480 3 cfg80211,thinkpad_acpi, Live 0xffffffffc04d9000 ac 16384 0 - Live 0xffffffffc0565000 video 36864 2 i915,thinkpad_acpi, Live 0xffffffffc0551000 battery 20480 0 - Live 0xffffffffc054b000 tpm_tis 20480 0 - Live 0xffffffffc0499000 fjes 28672 0 - Live 0xffffffffc0491000 button 16384 1 i915, Live 0xffffffffc02cf000 tpm 36864 1 tpm_tis, Live 0xffffffffc0481000 sch_fq_codel 20480 3 - Live 0xffffffffc04a7000 vboxnetflt 28672 0 - Live 0xffffffffc049f000 (O) vboxnetadp 28672 0 - Live 0xffffffffc0398000 (O) pci_stub 16384 1 - Live 0xffffffffc026e000 vboxpci 24576 0 - Live 0xffffffffc02de000 (O) vboxdrv 385024 3 vboxnetflt,vboxnetadp,vboxpci, Live 0xffffffffc0422000 (O) ip_tables 24576 3 iptable_mangle,iptable_nat,iptable_filter, Live 0xffffffffc0323000 x_tables 28672 11 xt_addrtype,xt_CHECKSUM,iptable_mangle,ipt_MASQUERADE,ipt_REJECT,xt_tcp udp,ebtables,ip6_tables,xt_conntrack,iptable_filter,ip_tables, Live 0xffffffffc0313000 ext4 516096 1 - Live 0xffffffffc03a3000 crc16 16384 1 ext4, Live 0xffffffffc023a000 jbd2 90112 1 ext4, Live 0xffffffffc02b0000 mbcache 16384 2 ext4, Live 0xffffffffc0269000 algif_skcipher 20480 0 - Live 0xffffffffc021f000 af_alg 16384 1 algif_skcipher, Live 0xffffffffc0198000 usbhid 45056 0 - Live 0xffffffffc038c000 dm_crypt 28672 1 - Live 0xffffffffc01a4000 dm_mod 102400 12 dm_thin_pool,dm_persistent_data,dm_bufio,dm_crypt, Live 0xffffffffc0372000 sd_mod 36864 3 - Live 0xffffffffc01e5000 rtsx_pci_sdmmc 24576 0 - Live 0xffffffffc01de000 mmc_core 118784 2 mmc_block,rtsx_pci_sdmmc, Live 0xffffffffc0354000 atkbd 24576 0 - Live 0xffffffffc019d000 libps2 16384 2 psmouse,atkbd, Live 0xffffffffc02ef000 crct10dif_pclmul 16384 0 - Live 0xffffffffc0303000 crc32_pclmul 16384 0 - Live 0xffffffffc0226000 crc32c_intel 24576 1 - Live 0xffffffffc031c000 ghash_clmulni_intel 16384 0 - Live 0xffffffffc021a000 aesni_intel 167936 3 - Live 0xffffffffc032a000 aes_x86_64 20480 1 aesni_intel, Live 0xffffffffc030d000 lrw 16384 1 aesni_intel, Live 0xffffffffc02fe000 gf128mul 16384 1 lrw, Live 0xffffffffc0308000 glue_helper 16384 1 aesni_intel, Live 0xffffffffc02f9000 ablk_helper 16384 1 aesni_intel, Live 0xffffffffc0193000 cryptd 20480 4 ghash_clmulni_intel,aesni_intel,ablk_helper, Live 0xffffffffc02e5000 ahci 36864 2 - Live 0xffffffffc02d4000 libahci 28672 1 ahci, Live 0xffffffffc02c7000 libata 204800 2 ahci,libahci, Live 0xffffffffc027d000 xhci_pci 16384 0 - Live 0xffffffffc0274000 xhci_hcd 159744 1 xhci_pci, Live 0xffffffffc0241000 rtsx_pci 45056 2 rtsx_pci_ms,rtsx_pci_sdmmc, Live 0xffffffffc022e000 scsi_mod 155648 2 sd_mod,libata, Live 0xffffffffc01f3000 usbcore 200704 5 dvb_usb_dw2102,dvb_usb,usbhid,xhci_pci,xhci_hcd, Live 0xffffffffc01ac000 usb_common 16384 1 usbcore, Live 0xffffffffc018e000 i8042 24576 1 libps2, Live 0xffffffffc017c000 serio 20480 7 psmouse,serio_raw,atkbd,i8042, Live 0xffffffffc0188000 hid_cherry 16384 0 - Live 0xffffffffc0183000 hid 114688 3 hid_generic,usbhid,hid_cherry, Live 0xffffffffc015f000 jitterentropy_rng 16384 0 - Live 0xffffffffc015a000 sha256_ssse3 32768 1 - Live 0xffffffffc0151000 sha256_generic 20480 1 sha256_ssse3, Live 0xffffffffc0148000 hmac 16384 1 - Live 0xffffffffc0140000 drbg 32768 1 - Live 0xffffffffc0133000 ansi_cprng 16384 0 - Live 0xffffffffc012b000 [8.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem) #ioports empty #iomem 02020000-02073fff : 2020000.sysram: 03810000-0381000b : /audss-clock-controller at 3810000 03860000-03860fff : /pinctrl at 03860000 03880000-03880fff : /amba/adma at 03880000 ? 03880000-03880fff : /amba/adma at 03880000 10040000-10044fff : /system-controller at 10040000 101e0000-101e00ff : /rtc at 101E0000 10800000-10800fff : /amba/mdma at 10800000 ? 10800000-10800fff : /amba/mdma at 10800000 10830000-108302ff : /sss at 10830000 10a60000-10a60fff : /sysmmu at 0x10A60000 10a70000-10a70fff : /sysmmu at 0x10A70000 10ca1000-10ca11ff : /nocp at 10CA1000 10ca1400-10ca15ff : /nocp at 10CA1400 10ca1800-10ca19ff : /nocp at 10CA1800 10ca1c00-10ca1dff : /nocp at 10CA1C00 11200000-11200fff : /sysmmu at 0x11200000 11210000-11210fff : /sysmmu at 0x11210000 11c00000-11c00063 : /rotator at 11C00000 11d40000-11d40fff : /sysmmu at 0x11D40000 11f10000-11f10fff : /sysmmu at 0x11F10000 11f20000-11f20fff : /sysmmu at 0x11F20000 12000000-12007fff : /usb3-0/dwc3 at 12000000 ? 12000000-12007fff : /usb3-0/dwc3 at 12000000 1200c100-1200ffff : /usb3-0/dwc3 at 12000000 12100000-121000ff : /phy at 12100000 12110000-121100ff : /usb at 12110000 12120000-121200ff : /usb at 12120000 12130000-121300ff : /phy at 12130000 121a0000-121a0fff : /amba/pdma at 121A0000 ? 121a0000-121a0fff : /amba/pdma at 121A0000 121b0000-121b0fff : /amba/pdma at 121B0000 ? 121b0000-121b0fff : /amba/pdma at 121B0000 12200000-12201fff : /mmc at 12200000 12220000-12220fff : /mmc at 12220000 12400000-12407fff : /usb3-1/dwc3 at 12400000 ? 12400000-12407fff : /usb3-1/dwc3 at 12400000 1240c100-1240ffff : /usb3-1/dwc3 at 12400000 12500000-125000ff : /phy at 12500000 12880000-12880fff : /sysmmu at 0x12880000 12890000-12890fff : /sysmmu at 0x12890000 128a0000-128a0fff : /sysmmu at 0x128A0000 128c0000-128c0fff : /sysmmu at 0x128C0000 128d0000-128d0fff : /sysmmu at 0x128D0000 128e0000-128e0fff : /sysmmu at 0x128E0000 12c00000-12c000ff : 12c00000.serial: 12c10000-12c100ff : 12c10000.serial: 12c20000-12c200ff : 12c20000.serial: 12c30000-12c300ff : 12c30000.serial: 12ca0000-12ca0fff : /i2c at 12CA0000 12dd0000-12dd00ff : /pwm at 12dd0000 13400000-13400fff : /pinctrl at 13400000 13410000-13410fff : /pinctrl at 13410000 13e00000-13e00fff : /video-scaler at 13e00000 13e10000-13e10fff : /video-scaler at 13e10000 13e80000-13e80fff : /sysmmu at 0x13E80000 13e90000-13e90fff : /sysmmu at 0x13E90000 14000000-14000fff : /pinctrl at 14000000 14010000-14010fff : /pinctrl at 14010000 14640000-14640fff : /sysmmu at 0x14640000 14650000-14650fff : /sysmmu at 0x14650000 14680000-14680fff : /sysmmu at 0x14680000 40000000-42ffffff : System RAM ? 40008000-40ae61bb : Kernel code ? 40c00000-40cf10c3 : Kernel data 43800000-50ffffff : System RAM 51800000-be9fffff : System RAM [8.5.] PCI information ('lspci -vvv' as root) [8.6.] SCSI information (from /proc/scsi/scsi) [8.7.] Other information that might be relevant to the problem ???????(please look in /proc and include all information that you ???????think to be relevant): [9.] Other notes, patches, fixes, workarounds: [9.1] https://lkml.org/lkml/2014/4/28/234 [9.2] https://lkml.org/lkml/2015/2/2/259 ^ permalink raw reply [flat|nested] 19+ messages in thread
* PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 2016-08-28 20:04 PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 Michael Niewöhner @ 2016-08-29 7:28 ` Felipe Balbi 2016-08-29 10:59 ` Mathias Nyman 0 siblings, 1 reply; 19+ messages in thread From: Felipe Balbi @ 2016-08-29 7:28 UTC (permalink / raw) To: linux-arm-kernel Hi, Michael Niew?hner <linux@mniewoehner.de> writes: > [1.] One line summary of the problem: > DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 > > [2.] Full description of the problem/report: > No usb 3.0 devices are being detected when attached while USB 2.0 > devices work on the same port. > USB 3.0 works after applying patches [9.1] and [9.2], but seems to be > buggy. The usb hub is redetected every time an usb device is attached. dwc3 is host, which means it's actually XHCI :-) Adding Mathias > dmesg: > [??192.287080] usb 3-1.2: USB disconnect, device number 7 > [??210.370699] hub 3-1:1.0: hub_ext_port_status failed (err = -71) > [??210.375159] usb 3-1-port2: connect-debounce failed > [??210.380126] usb 3-1: USB disconnect, device number 5 > [??210.488917] usb 4-1: USB disconnect, device number 3 > [??210.708861] usb 3-1: new high-speed USB device number 9 using xhci-hcd > [??210.851308] usb 3-1: New USB device found, idVendor=05e3, idProduct=0610 > [??210.856530] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 > [??210.863696] usb 3-1: Product: USB2.0 Hub > [??210.867721] usb 3-1: Manufacturer: GenesysLogic > [??210.877800] hub 3-1:1.0: USB hub found > [??210.880600] hub 3-1:1.0: 2 ports detected > [??210.913438] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node > [??211.468970] usb 3-1.2: new high-speed USB device number 10 using xhci-hcd > [??211.579279] usb 3-1.2: New USB device found, idVendor=0951, idProduct=1666 > [??211.584667] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 > [??211.592002] usb 3-1.2: Product: DataTraveler 3.0 > [??211.596720] usb 3-1.2: Manufacturer: Kingston > [??211.601075] usb 3-1.2: SerialNumber: 00190F0C0295BE711962B008 > [??211.607557] usb-storage 3-1.2:1.0: USB Mass Storage device detected > [??211.613640] scsi host0: usb-storage 3-1.2:1.0 > [??211.620179] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node > [??212.677008] scsi 0:0:0:0: Direct-Access?????Kingston DataTraveler 3.0 PMAP PQ: 0 ANSI: 6 > [??212.685208] sd 0:0:0:0: Attached scsi generic sg0 type 0 > [??212.687323] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node > [??214.209074] usb 4-1: new SuperSpeed USB device number 4 using xhci-hcd > [??214.231660] usb 4-1: New USB device found, idVendor=05e3, idProduct=0616 > [??214.236882] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 > [??214.244057] usb 4-1: Product: USB3.0 Hub > [??214.248060] usb 4-1: Manufacturer: GenesysLogic > [??214.254181] hub 4-1:1.0: USB hub found > [??214.256754] hub 4-1:1.0: 2 ports detected > [??214.264279] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node > [??214.634773] sd 0:0:0:0: [sda] 61457664 512-byte logical blocks: (31.5 GB/29.3 GiB) > [??214.641164] sd 0:0:0:0: [sda] Write Protect is off > [??214.645631] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00 > [??214.645900] sd 0:0:0:0: [sda] No Caching mode page found > [??214.650978] sd 0:0:0:0: [sda] Assuming drive cache: write through [??214.682552]??sda: sda1 > [??214.685165] sd 0:0:0:0: [sda] Attached SCSI removable disk > [??234.526936] usb 3-1.2: USB disconnect, device number 10 > > [3.] Keywords (i.e., modules, networking, kernel): > usb 3.0, dwc3, exynos, odroid > ? > [4.] Kernel information > 4.6.x, 4.7.x > > [4.1.] Kernel version (from /proc/version): > Linux version 4.7.2+ (c0d3 at z3r0) (gcc version 5.3.1 20160113 (Linaro > GCC 5.3-2016.02) ) #1 SMP Sun Aug 28 18:52:25 CEST 2016 > > [4.2.] Kernel .config file: > #cat .config | grep -E "(USB|DWC|DRD).*=(m|y)" > CONFIG_CAN_EMS_USB=m > CONFIG_CAN_ESD_USB2=m > CONFIG_CAN_GS_USB=m > CONFIG_CAN_KVASER_USB=m > CONFIG_CAN_PEAK_USB=m > CONFIG_CAN_8DEV_USB=m > CONFIG_BT_HCIBTUSB=m > CONFIG_BT_HCIBTUSB_BCM=y > CONFIG_BT_HCIBTUSB_RTL=y > CONFIG_USB_NET_DRIVERS=y > CONFIG_USB_CATC=m > CONFIG_USB_KAWETH=m > CONFIG_USB_PEGASUS=m > CONFIG_USB_RTL8150=m > CONFIG_USB_RTL8152=m > CONFIG_USB_USBNET=m > CONFIG_USB_NET_AX8817X=m > CONFIG_USB_NET_AX88179_178A=m > CONFIG_USB_NET_CDCETHER=m > CONFIG_USB_NET_CDC_EEM=m > CONFIG_USB_NET_CDC_NCM=m > CONFIG_USB_NET_HUAWEI_CDC_NCM=m > CONFIG_USB_NET_CDC_MBIM=m > CONFIG_USB_NET_DM9601=m > CONFIG_USB_NET_SR9700=m > CONFIG_USB_NET_SR9800=m > CONFIG_USB_NET_SMSC75XX=m > CONFIG_USB_NET_SMSC95XX=m > CONFIG_USB_NET_GL620A=m > CONFIG_USB_NET_NET1080=m > CONFIG_USB_NET_PLUSB=m > CONFIG_USB_NET_MCS7830=m > CONFIG_USB_NET_RNDIS_HOST=m > CONFIG_USB_NET_CDC_SUBSET_ENABLE=m > CONFIG_USB_NET_CDC_SUBSET=m > CONFIG_USB_ALI_M5632=y > CONFIG_USB_AN2720=y > CONFIG_USB_BELKIN=y > CONFIG_USB_ARMLINUX=y > CONFIG_USB_EPSON2888=y > CONFIG_USB_KC2190=y > CONFIG_USB_NET_ZAURUS=m > CONFIG_USB_NET_CX82310_ETH=m > CONFIG_USB_NET_KALMIA=m > CONFIG_USB_NET_QMI_WWAN=m > CONFIG_USB_HSO=m > CONFIG_USB_NET_INT51X1=m > CONFIG_USB_CDC_PHONET=m > CONFIG_USB_IPHETH=m > CONFIG_USB_SIERRA_NET=m > CONFIG_USB_VL600=m > CONFIG_ATH6KL_USB=m > CONFIG_AT76C50X_USB=m > CONFIG_BRCMFMAC_USB=y > CONFIG_P54_USB=m > CONFIG_LIBERTAS_USB=m > CONFIG_LIBERTAS_THINFIRM_USB=m > CONFIG_RT2500USB=m > CONFIG_RT73USB=m > CONFIG_RT2800USB=m > CONFIG_RT2800USB_RT33XX=y > CONFIG_RT2800USB_RT35XX=y > CONFIG_RT2800USB_RT3573=y > CONFIG_RT2800USB_RT53XX=y > CONFIG_RT2800USB_RT55XX=y > CONFIG_RT2X00_LIB_USB=m > CONFIG_RTLWIFI_USB=m > CONFIG_RSI_USB=m > CONFIG_USB_NET_RNDIS_WLAN=m > CONFIG_WIMAX_I2400M_USB=m > CONFIG_MOUSE_SYNAPTICS_USB=m > CONFIG_TABLET_USB_ACECAD=m > CONFIG_TABLET_USB_AIPTEK=m > CONFIG_TABLET_USB_GTCO=m > CONFIG_TABLET_USB_HANWANG=m > CONFIG_TABLET_USB_KBTAB=m > CONFIG_TOUCHSCREEN_USB_COMPOSITE=m > CONFIG_TOUCHSCREEN_USB_EGALAX=y > CONFIG_TOUCHSCREEN_USB_PANJIT=y > CONFIG_TOUCHSCREEN_USB_3M=y > CONFIG_TOUCHSCREEN_USB_ITM=y > CONFIG_TOUCHSCREEN_USB_ETURBO=y > CONFIG_TOUCHSCREEN_USB_GUNZE=y > CONFIG_TOUCHSCREEN_USB_DMC_TSC10=y > CONFIG_TOUCHSCREEN_USB_IRTOUCH=y > CONFIG_TOUCHSCREEN_USB_IDEALTEK=y > CONFIG_TOUCHSCREEN_USB_GENERAL_TOUCH=y > CONFIG_TOUCHSCREEN_USB_GOTOP=y > CONFIG_TOUCHSCREEN_USB_JASTEC=y > CONFIG_TOUCHSCREEN_USB_ELO=y > CONFIG_TOUCHSCREEN_USB_E2I=y > CONFIG_TOUCHSCREEN_USB_ZYTRONIC=y > CONFIG_TOUCHSCREEN_USB_ETT_TC45USB=y > CONFIG_TOUCHSCREEN_USB_NEXIO=y > CONFIG_TOUCHSCREEN_USB_EASYTOUCH=y > CONFIG_I2C_TINY_USB=m > CONFIG_MFD_RTSX_USB=m > CONFIG_IR_MCEUSB=m > CONFIG_IR_IGORPLUGUSB=m > CONFIG_IR_TTUSBIR=m > CONFIG_MEDIA_USB_SUPPORT=y > CONFIG_USB_VIDEO_CLASS=m > CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y > CONFIG_USB_GSPCA=m > CONFIG_USB_M5602=m > CONFIG_USB_STV06XX=m > CONFIG_USB_GL860=m > CONFIG_USB_GSPCA_BENQ=m > CONFIG_USB_GSPCA_CONEX=m > CONFIG_USB_GSPCA_CPIA1=m > CONFIG_USB_GSPCA_DTCS033=m > CONFIG_USB_GSPCA_ETOMS=m > CONFIG_USB_GSPCA_FINEPIX=m > CONFIG_USB_GSPCA_JEILINJ=m > CONFIG_USB_GSPCA_JL2005BCD=m > CONFIG_USB_GSPCA_KINECT=m > CONFIG_USB_GSPCA_KONICA=m > CONFIG_USB_GSPCA_MARS=m > CONFIG_USB_GSPCA_MR97310A=m > CONFIG_USB_GSPCA_NW80X=m > CONFIG_USB_GSPCA_OV519=m > CONFIG_USB_GSPCA_OV534=m > CONFIG_USB_GSPCA_OV534_9=m > CONFIG_USB_GSPCA_PAC207=m > CONFIG_USB_GSPCA_PAC7302=m > CONFIG_USB_GSPCA_PAC7311=m > CONFIG_USB_GSPCA_SE401=m > CONFIG_USB_GSPCA_SN9C2028=m > CONFIG_USB_GSPCA_SN9C20X=m > CONFIG_USB_GSPCA_SONIXB=m > CONFIG_USB_GSPCA_SONIXJ=m > CONFIG_USB_GSPCA_SPCA500=m > CONFIG_USB_GSPCA_SPCA501=m > CONFIG_USB_GSPCA_SPCA505=m > CONFIG_USB_GSPCA_SPCA506=m > CONFIG_USB_GSPCA_SPCA508=m > CONFIG_USB_GSPCA_SPCA561=m > CONFIG_USB_GSPCA_SPCA1528=m > CONFIG_USB_GSPCA_SQ905=m > CONFIG_USB_GSPCA_SQ905C=m > CONFIG_USB_GSPCA_SQ930X=m > CONFIG_USB_GSPCA_STK014=m > CONFIG_USB_GSPCA_STK1135=m > CONFIG_USB_GSPCA_STV0680=m > CONFIG_USB_GSPCA_SUNPLUS=m > CONFIG_USB_GSPCA_T613=m > CONFIG_USB_GSPCA_TOPRO=m > CONFIG_USB_GSPCA_TV8532=m > CONFIG_USB_GSPCA_VC032X=m > CONFIG_USB_GSPCA_VICAM=m > CONFIG_USB_GSPCA_XIRLINK_CIT=m > CONFIG_USB_GSPCA_ZC3XX=m > CONFIG_USB_PWC=m > CONFIG_USB_PWC_INPUT_EVDEV=y > CONFIG_USB_ZR364XX=m > CONFIG_USB_STKWEBCAM=m > CONFIG_USB_S2255=m > CONFIG_VIDEO_USBTV=m > CONFIG_VIDEO_PVRUSB2=m > CONFIG_VIDEO_PVRUSB2_SYSFS=y > CONFIG_VIDEO_PVRUSB2_DVB=y > CONFIG_VIDEO_USBVISION=m > CONFIG_DVB_USB=m > CONFIG_DVB_USB_A800=m > CONFIG_DVB_USB_DIBUSB_MB=m > CONFIG_DVB_USB_DIBUSB_MB_FAULTY=y > CONFIG_DVB_USB_DIBUSB_MC=m > CONFIG_DVB_USB_DIB0700=m > CONFIG_DVB_USB_UMT_010=m > CONFIG_DVB_USB_CXUSB=m > CONFIG_DVB_USB_M920X=m > CONFIG_DVB_USB_DIGITV=m > CONFIG_DVB_USB_VP7045=m > CONFIG_DVB_USB_VP702X=m > CONFIG_DVB_USB_GP8PSK=m > CONFIG_DVB_USB_NOVA_T_USB2=m > CONFIG_DVB_USB_TTUSB2=m > CONFIG_DVB_USB_DTT200U=m > CONFIG_DVB_USB_OPERA1=m > CONFIG_DVB_USB_AF9005=m > CONFIG_DVB_USB_AF9005_REMOTE=m > CONFIG_DVB_USB_PCTV452E=m > CONFIG_DVB_USB_DW2102=m > CONFIG_DVB_USB_CINERGY_T2=m > CONFIG_DVB_USB_DTV5100=m > CONFIG_DVB_USB_FRIIO=m > CONFIG_DVB_USB_AZ6027=m > CONFIG_DVB_USB_TECHNISAT_USB2=m > CONFIG_DVB_USB_V2=m > CONFIG_DVB_USB_AF9015=m > CONFIG_DVB_USB_AF9035=m > CONFIG_DVB_USB_ANYSEE=m > CONFIG_DVB_USB_AU6610=m > CONFIG_DVB_USB_AZ6007=m > CONFIG_DVB_USB_CE6230=m > CONFIG_DVB_USB_EC168=m > CONFIG_DVB_USB_GL861=m > CONFIG_DVB_USB_LME2510=m > CONFIG_DVB_USB_MXL111SF=m > CONFIG_DVB_USB_RTL28XXU=m > CONFIG_DVB_USB_DVBSKY=m > CONFIG_SMS_USB_DRV=m > CONFIG_DVB_B2C2_FLEXCOP_USB=m > CONFIG_USB_AIRSPY=m > CONFIG_USB_HACKRF=m > CONFIG_USB_MSI2500=m > CONFIG_USB_SI470X=m > CONFIG_USB_MR800=m > CONFIG_USB_KEENE=m > CONFIG_USB_RAREMONO=m > CONFIG_USB_MA901=m > CONFIG_SND_USB=y > CONFIG_SND_USB_AUDIO=m > CONFIG_SND_USB_UA101=m > CONFIG_SND_USB_CAIAQ=m > CONFIG_SND_USB_CAIAQ_INPUT=y > CONFIG_SND_USB_6FIRE=m > CONFIG_SND_USB_HIFACE=m > CONFIG_SND_USB_LINE6=m > CONFIG_SND_USB_POD=m > CONFIG_SND_USB_PODHD=m > CONFIG_SND_USB_TONEPORT=m > CONFIG_SND_USB_VARIAX=m > CONFIG_USB_HID=y > CONFIG_USB_HIDDEV=y > CONFIG_USB_OHCI_LITTLE_ENDIAN=y > CONFIG_USB_SUPPORT=y > CONFIG_USB_COMMON=y > CONFIG_USB_ARCH_HAS_HCD=y > CONFIG_USB=y > CONFIG_USB_ANNOUNCE_NEW_DEVICES=y > CONFIG_USB_DEFAULT_PERSIST=y > CONFIG_USB_DYNAMIC_MINORS=y > CONFIG_USB_MON=y > CONFIG_USB_WUSB_CBAF=m > CONFIG_USB_XHCI_HCD=m > CONFIG_USB_XHCI_PLATFORM=m > CONFIG_USB_EHCI_HCD=m > CONFIG_USB_EHCI_ROOT_HUB_TT=y > CONFIG_USB_EHCI_TT_NEWSCHED=y > CONFIG_USB_EHCI_EXYNOS=m > CONFIG_USB_EHCI_HCD_PLATFORM=m > CONFIG_USB_OHCI_HCD=m > CONFIG_USB_OHCI_EXYNOS=m > CONFIG_USB_OHCI_HCD_PLATFORM=m > CONFIG_USB_ACM=m > CONFIG_USB_PRINTER=m > CONFIG_USB_WDM=m > CONFIG_USB_TMC=m > CONFIG_USB_STORAGE=y > CONFIG_USB_STORAGE_REALTEK=m > CONFIG_USB_STORAGE_DATAFAB=m > CONFIG_USB_STORAGE_FREECOM=m > CONFIG_USB_STORAGE_ISD200=m > CONFIG_USB_STORAGE_USBAT=m > CONFIG_USB_STORAGE_SDDR09=m > CONFIG_USB_STORAGE_SDDR55=m > CONFIG_USB_STORAGE_JUMPSHOT=m > CONFIG_USB_STORAGE_ALAUDA=m > CONFIG_USB_STORAGE_ONETOUCH=m > CONFIG_USB_STORAGE_KARMA=m > CONFIG_USB_STORAGE_CYPRESS_ATACB=m > CONFIG_USB_STORAGE_ENE_UB6250=m > CONFIG_USB_UAS=m > CONFIG_USB_MDC800=m > CONFIG_USB_MICROTEK=m > CONFIG_USB_DWC3=m > CONFIG_USB_DWC3_HOST=y > CONFIG_USB_DWC3_EXYNOS=m > CONFIG_USB_DWC3_OF_SIMPLE=m > CONFIG_USB_DWC2=m > CONFIG_USB_DWC2_HOST=y > CONFIG_USB_CHIPIDEA=m > CONFIG_USB_CHIPIDEA_OF=m > CONFIG_USB_CHIPIDEA_UDC=y > CONFIG_USB_SERIAL=m > CONFIG_USB_SERIAL_GENERIC=y > CONFIG_USB_SERIAL_SIMPLE=m > CONFIG_USB_SERIAL_AIRCABLE=m > CONFIG_USB_SERIAL_ARK3116=m > CONFIG_USB_SERIAL_BELKIN=m > CONFIG_USB_SERIAL_CH341=m > CONFIG_USB_SERIAL_WHITEHEAT=m > CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m > CONFIG_USB_SERIAL_CP210X=m > CONFIG_USB_SERIAL_CYPRESS_M8=m > CONFIG_USB_SERIAL_EMPEG=m > CONFIG_USB_SERIAL_FTDI_SIO=m > CONFIG_USB_SERIAL_VISOR=m > CONFIG_USB_SERIAL_IPAQ=m > CONFIG_USB_SERIAL_IR=m > CONFIG_USB_SERIAL_EDGEPORT=m > CONFIG_USB_SERIAL_EDGEPORT_TI=m > CONFIG_USB_SERIAL_F81232=m > CONFIG_USB_SERIAL_GARMIN=m > CONFIG_USB_SERIAL_IPW=m > CONFIG_USB_SERIAL_IUU=m > CONFIG_USB_SERIAL_KEYSPAN_PDA=m > CONFIG_USB_SERIAL_KEYSPAN=m > CONFIG_USB_SERIAL_KLSI=m > CONFIG_USB_SERIAL_KOBIL_SCT=m > CONFIG_USB_SERIAL_MCT_U232=m > CONFIG_USB_SERIAL_METRO=m > CONFIG_USB_SERIAL_MOS7720=m > CONFIG_USB_SERIAL_MOS7840=m > CONFIG_USB_SERIAL_MXUPORT=m > CONFIG_USB_SERIAL_NAVMAN=m > CONFIG_USB_SERIAL_PL2303=m > CONFIG_USB_SERIAL_OTI6858=m > CONFIG_USB_SERIAL_QCAUX=m > CONFIG_USB_SERIAL_QUALCOMM=m > CONFIG_USB_SERIAL_SPCP8X5=m > CONFIG_USB_SERIAL_SAFE=m > CONFIG_USB_SERIAL_SIERRAWIRELESS=m > CONFIG_USB_SERIAL_SYMBOL=m > CONFIG_USB_SERIAL_TI=m > CONFIG_USB_SERIAL_CYBERJACK=m > CONFIG_USB_SERIAL_XIRCOM=m > CONFIG_USB_SERIAL_WWAN=m > CONFIG_USB_SERIAL_OPTION=m > CONFIG_USB_SERIAL_OMNINET=m > CONFIG_USB_SERIAL_OPTICON=m > CONFIG_USB_SERIAL_XSENS_MT=m > CONFIG_USB_SERIAL_WISHBONE=m > CONFIG_USB_SERIAL_SSU100=m > CONFIG_USB_SERIAL_QT2=m > CONFIG_USB_SERIAL_DEBUG=m > CONFIG_USB_EMI62=m > CONFIG_USB_EMI26=m > CONFIG_USB_ADUTUX=m > CONFIG_USB_SEVSEG=m > CONFIG_USB_RIO500=m > CONFIG_USB_LEGOTOWER=m > CONFIG_USB_LCD=m > CONFIG_USB_LED=m > CONFIG_USB_CYPRESS_CY7C63=m > CONFIG_USB_CYTHERM=m > CONFIG_USB_IDMOUSE=m > CONFIG_USB_FTDI_ELAN=m > CONFIG_USB_APPLEDISPLAY=m > CONFIG_USB_LD=m > CONFIG_USB_TRANCEVIBRATOR=m > CONFIG_USB_IOWARRIOR=m > CONFIG_USB_TEST=m > CONFIG_USB_EHSET_TEST_FIXTURE=m > CONFIG_USB_ISIGHTFW=m > CONFIG_USB_YUREX=m > CONFIG_USB_EZUSB_FX2=m > CONFIG_USB_HSIC_USB3503=m > CONFIG_USB_PHY=y > CONFIG_NOP_USB_XCEIV=y > CONFIG_AM335X_CONTROL_USB=m > CONFIG_AM335X_PHY_USB=m > CONFIG_USB_GPIO_VBUS=m > CONFIG_USB_ULPI=y > CONFIG_USB_ULPI_VIEWPORT=y > CONFIG_USB_GADGET=y > CONFIG_USB_LIBCOMPOSITE=m > CONFIG_USB_F_ACM=m > CONFIG_USB_U_SERIAL=m > CONFIG_USB_U_ETHER=m > CONFIG_USB_F_OBEX=m > CONFIG_USB_F_ECM=m > CONFIG_USB_F_PHONET=m > CONFIG_USB_F_SUBSET=m > CONFIG_USB_F_RNDIS=m > CONFIG_USB_F_MASS_STORAGE=m > CONFIG_USB_ETH=m > CONFIG_USB_ETH_RNDIS=y > CONFIG_USB_GADGETFS=m > CONFIG_USB_G_NOKIA=m > CONFIG_USB_LED_TRIG=y > CONFIG_MMC_REALTEK_USB=m > CONFIG_MEMSTICK_REALTEK_USB=m > CONFIG_PHY_SAMSUNG_USB2=m > CONFIG_PHY_EXYNOS5250_USB2=y > CONFIG_PHY_EXYNOS5_USBDRD=m > > [5.] Most recent kernel version which did not have the bug: > I did not test any other versions. > > [6.] Output of Oops: > - > > [7.] A small shell script or example program which triggers the > ?????problem (if possible) > - > > [8.] Environment > [8.1.] Software (add the output of the ver_linux script here) > Linux c0xu4 4.7.2+ #1 SMP Sun Aug 28 18:52:25 CEST 2016 armv7l > GNU/Linux > ? > GNU C 4.9.2 > GNU Make 4.0 > Binutils 2.25 > Util-linux 2.25.2 > Mount 2.25.2 > Module-init-tools 18 > E2fsprogs 1.42.12 > Linux C Library 2.19 > Dynamic linker (ldd) 2.19 > Linux C++ Library 6.0.20 > Procps 3.3.9 > Net-tools 1.60 > Kbd 1.15.5 > Console-tools 1.15.5 > Sh-utils 8.23 > Udev 215 > Modules Loaded autofs4 cdc_ether dwc3 dwc3_exynos > ehci_exynos ehci_hcd evdev hid_generic ip6table_filter ip6_tables > iptable_filter iptable_mangle iptable_nat ip_tables ipt_REJECT mii > nf_conntrack nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat nf_nat_ipv4 > nf_reject_ipv4 ohci_exynos ohci_hcd phy_exynos5_usbdrd phy_exynos_usb2 > r8152 s5p_sss snd snd_hwdep snd_pcm snd_rawmidi snd_seq_device > snd_timer snd_usb_audio snd_usbmidi_lib soundcore tun usbnet xhci_hcd > xhci_plat_hcd x_tables xt_conntrack xt_multiport xt_tcpudp > > [8.2.] Processor information (from /proc/cpuinfo): > processor : 0 > vendor_id : GenuineIntel > cpu family : 6 > model : 78 > model name : Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz > stepping : 3 > microcode : 0x8a > cpu MHz : 2739.111 > cache size : 3072 KB > physical id : 0 > siblings : 4 > core id : 0 > cpu cores : 2 > apicid : 0 > initial apicid : 0 > fpu : yes > fpu_exception : yes > cpuid level : 22 > wp : yes > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr > pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe > syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts > rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq > dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid > sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c > rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi > flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms > invpcid mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 dtherm > ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp > bugs : > bogomips : 4801.87 > clflush size : 64 > cache_alignment : 64 > address sizes : 39 bits physical, 48 bits virtual > power management: > > processor : 1 > vendor_id : GenuineIntel > cpu family : 6 > model : 78 > model name : Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz > stepping : 3 > microcode : 0x8a > cpu MHz : 2618.701 > cache size : 3072 KB > physical id : 0 > siblings : 4 > core id : 1 > cpu cores : 2 > apicid : 2 > initial apicid : 2 > fpu : yes > fpu_exception : yes > cpuid level : 22 > wp : yes > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr > pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe > syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts > rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq > dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid > sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c > rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi > flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms > invpcid mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 dtherm > ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp > bugs : > bogomips : 4802.09 > clflush size : 64 > cache_alignment : 64 > address sizes : 39 bits physical, 48 bits virtual > power management: > > processor : 2 > vendor_id : GenuineIntel > cpu family : 6 > model : 78 > model name : Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz > stepping : 3 > microcode : 0x8a > cpu MHz : 2765.917 > cache size : 3072 KB > physical id : 0 > siblings : 4 > core id : 0 > cpu cores : 2 > apicid : 1 > initial apicid : 1 > fpu : yes > fpu_exception : yes > cpuid level : 22 > wp : yes > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr > pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe > syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts > rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq > dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid > sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c > rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi > flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms > invpcid mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 dtherm > ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp > bugs : > bogomips : 4803.65 > clflush size : 64 > cache_alignment : 64 > address sizes : 39 bits physical, 48 bits virtual > power management: > > processor : 3 > vendor_id : GenuineIntel > cpu family : 6 > model : 78 > model name : Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz > stepping : 3 > microcode : 0x8a > cpu MHz : 2757.421 > cache size : 3072 KB > physical id : 0 > siblings : 4 > core id : 1 > cpu cores : 2 > apicid : 3 > initial apicid : 3 > fpu : yes > fpu_exception : yes > cpuid level : 22 > wp : yes > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr > pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe > syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts > rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq > dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid > sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c > rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi > flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms > invpcid mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 dtherm > ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp > bugs : > bogomips : 4803.17 > clflush size : 64 > cache_alignment : 64 > address sizes : 39 bits physical, 48 bits virtual > power management: > > > [8.3.] Module information (from /proc/modules): > mmc_block 40960 0 - Live 0xffffffffc0cb3000 > xfrm_user 32768 1 - Live 0xffffffffc0caa000 > xfrm_algo 16384 1 xfrm_user, Live 0xffffffffc0c5c000 > xt_addrtype 16384 2 - Live 0xffffffffc0c46000 > br_netfilter 24576 0 - Live 0xffffffffc0c7a000 > fuse 98304 2 - Live 0xffffffffc0c91000 > dm_thin_pool 61440 1 - Live 0xffffffffc0c81000 > dm_persistent_data 57344 1 dm_thin_pool, Live 0xffffffffc0c6b000 > dm_bio_prison 16384 1 dm_thin_pool, Live 0xffffffffc0c62000 > dm_bufio 24576 1 dm_persistent_data, Live 0xffffffffc0c55000 > libcrc32c 16384 1 dm_persistent_data, Live 0xffffffffc0c50000 > crc32c_generic 16384 0 - Live 0xffffffffc0c4b000 > loop 28672 4 - Live 0xffffffffc0c3e000 > xt_CHECKSUM 16384 1 - Live 0xffffffffc0bf3000 > iptable_mangle 16384 1 - Live 0xffffffffc0c39000 > ipt_MASQUERADE 16384 4 - Live 0xffffffffc0c34000 > nf_nat_masquerade_ipv4 16384 1 ipt_MASQUERADE, Live 0xffffffffc0c2f000 > iptable_nat 16384 1 - Live 0xffffffffc0c2a000 > nf_nat_ipv4 16384 1 iptable_nat, Live 0xffffffffc07ef000 > nf_nat 24576 2 nf_nat_masquerade_ipv4,nf_nat_ipv4, Live > 0xffffffffc0bec000 > ipt_REJECT 16384 2 - Live 0xffffffffc07e1000 > nf_reject_ipv4 16384 1 ipt_REJECT, Live 0xffffffffc07dc000 > xt_tcpudp 16384 6 - Live 0xffffffffc0be7000 > tun 28672 1 - Live 0xffffffffc07e7000 > bridge 122880 1 br_netfilter, Live 0xffffffffc0c0b000 > stp 16384 1 bridge, Live 0xffffffffc07d7000 > llc 16384 2 bridge,stp, Live 0xffffffffc07ce000 > ebtable_filter 16384 0 - Live 0xffffffffc07c9000 > ebtables 32768 1 ebtable_filter, Live 0xffffffffc07bc000 > ip6_tables 28672 0 - Live 0xffffffffc09cf000 > snd_hda_codec_hdmi 45056 1 - Live 0xffffffffc0aee000 > snd_hda_codec_realtek 69632 1 - Live 0xffffffffc0bf9000 > snd_hda_codec_generic 69632 1 snd_hda_codec_realtek, Live > 0xffffffffc0ba7000 > nf_conntrack_ipv4 16384 4 - Live 0xffffffffc09a1000 > nf_defrag_ipv4 16384 1 nf_conntrack_ipv4, Live 0xffffffffc091f000 > xt_conntrack 16384 3 - Live 0xffffffffc062f000 > nf_conntrack 90112 5 > nf_nat_masquerade_ipv4,nf_nat_ipv4,nf_nat,nf_conntrack_ipv4,xt_conntrac > k, Live 0xffffffffc0bd0000 > iptable_filter 16384 1 - Live 0xffffffffc04cb000 > rc_su3000 16384 0 - Live 0xffffffffc0bcb000 > snd_soc_skl 57344 0 - Live 0xffffffffc0bbc000 > snd_soc_skl_ipc 32768 1 snd_soc_skl, Live 0xffffffffc097c000 > snd_soc_sst_ipc 16384 1 snd_soc_skl_ipc, Live 0xffffffffc0977000 > snd_soc_sst_dsp 36864 1 snd_soc_skl_ipc, Live 0xffffffffc09a6000 > snd_hda_ext_core 20480 1 snd_soc_skl, Live 0xffffffffc093b000 > snd_soc_sst_match 16384 1 snd_soc_skl, Live 0xffffffffc0936000 > snd_soc_core 180224 1 snd_soc_skl, Live 0xffffffffc0b7a000 > snd_compress 20480 1 snd_soc_core, Live 0xffffffffc0919000 > snd_pcm_dmaengine 16384 1 snd_soc_core, Live 0xffffffffc0665000 > ac97_bus 16384 1 snd_soc_core, Live 0xffffffffc0660000 > dw_dmac_core 24576 1 snd_soc_sst_dsp, Live 0xffffffffc0540000 > ts2020 20480 1 - Live 0xffffffffc04f3000 > ds3000 20480 1 - Live 0xffffffffc0514000 > nls_iso8859_1 16384 1 - Live 0xffffffffc04e9000 > nls_cp437 20480 1 - Live 0xffffffffc0508000 > vfat 20480 1 - Live 0xffffffffc0502000 > fat 65536 1 vfat, Live 0xffffffffc08c9000 > arc4 16384 2 - Live 0xffffffffc055b000 > iTCO_wdt 16384 0 - Live 0xffffffffc0529000 > intel_rapl 20480 0 - Live 0xffffffffc04d2000 > iTCO_vendor_support 16384 1 iTCO_wdt, Live 0xffffffffc067a000 > x86_pkg_temp_thermal 16384 0 - Live 0xffffffffc04ee000 > intel_powerclamp 16384 0 - Live 0xffffffffc050f000 > coretemp 16384 0 - Live 0xffffffffc02f4000 > mousedev 20480 0 - Live 0xffffffffc04bb000 > kvm_intel 184320 0 - Live 0xffffffffc0a7c000 > kvm 507904 1 kvm_intel, Live 0xffffffffc0afd000 > irqbypass 16384 1 kvm, Live 0xffffffffc063e000 > iwlmvm 266240 0 - Live 0xffffffffc0aac000 > mac80211 659456 1 iwlmvm, Live 0xffffffffc09da000 > pcspkr 16384 0 - Live 0xffffffffc062a000 > snd_hda_intel 32768 2 - Live 0xffffffffc05c1000 > psmouse 118784 0 - Live 0xffffffffc09b1000 > serio_raw 16384 0 - Live 0xffffffffc059c000 > snd_hda_codec 106496 4 > snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_ > intel, Live 0xffffffffc0986000 > e1000e 217088 0 - Live 0xffffffffc0941000 > snd_hda_core 65536 7 > snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_soc_ > skl,snd_hda_ext_core,snd_hda_intel,snd_hda_codec, Live > 0xffffffffc0925000 > snd_hwdep 16384 1 snd_hda_codec, Live 0xffffffffc053b000 > snd_pcm 86016 8 > snd_hda_codec_hdmi,snd_soc_skl,snd_hda_ext_core,snd_soc_core,snd_pcm_dm > aengine,snd_hda_intel,snd_hda_codec,snd_hda_core, Live > 0xffffffffc0903000 > ptp 20480 1 e1000e, Live 0xffffffffc0531000 > snd_timer 28672 1 snd_pcm, Live 0xffffffffc04c3000 > pps_core 20480 1 ptp, Live 0xffffffffc08fd000 > i2c_i801 20480 0 - Live 0xffffffffc08f7000 > hid_generic 16384 0 - Live 0xffffffffc08f2000 > joydev 20480 0 - Live 0xffffffffc08e8000 > evdev 24576 16 - Live 0xffffffffc08dd000 > input_leds 16384 0 - Live 0xffffffffc0684000 > mac_hid 16384 0 - Live 0xffffffffc067f000 > dvb_usb_dw2102 65536 0 - Live 0xffffffffc0888000 > dvb_usb 24576 1 dvb_usb_dw2102, Live 0xffffffffc066a000 > dvb_core 106496 2 dvb_usb_dw2102,dvb_usb, Live 0xffffffffc086d000 > rc_core 24576 4 rc_su3000,dvb_usb_dw2102,dvb_usb, Live > 0xffffffffc0623000 > iwlwifi 184320 1 iwlmvm, Live 0xffffffffc089b000 > cfg80211 491520 3 iwlmvm,mac80211,iwlwifi, Live 0xffffffffc07f4000 > rtsx_pci_ms 20480 0 - Live 0xffffffffc061d000 > i915 1236992 15 - Live 0xffffffffc068d000 > memstick 16384 1 rtsx_pci_ms, Live 0xffffffffc0614000 > shpchp 32768 0 - Live 0xffffffffc0671000 > drm_kms_helper 114688 1 i915, Live 0xffffffffc0643000 > mei_me 32768 0 - Live 0xffffffffc0635000 > drm 294912 9 i915,drm_kms_helper, Live 0xffffffffc05cb000 > mei 81920 1 mei_me, Live 0xffffffffc05ac000 > intel_pch_thermal 16384 0 - Live 0xffffffffc05a7000 > intel_gtt 20480 1 i915, Live 0xffffffffc05a1000 > syscopyarea 16384 1 drm_kms_helper, Live 0xffffffffc04e4000 > sysfillrect 16384 1 drm_kms_helper, Live 0xffffffffc0560000 > sysimgblt 16384 1 drm_kms_helper, Live 0xffffffffc0520000 > fb_sys_fops 16384 1 drm_kms_helper, Live 0xffffffffc04df000 > i2c_algo_bit 16384 1 i915, Live 0xffffffffc051b000 > thermal 20480 0 - Live 0xffffffffc0596000 > thinkpad_acpi 77824 1 - Live 0xffffffffc057e000 > wmi 16384 0 - Live 0xffffffffc04fd000 > nvram 16384 1 thinkpad_acpi, Live 0xffffffffc048b000 > snd 65536 15 > snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_soc_ > core,snd_compress,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_tim > er,thinkpad_acpi, Live 0xffffffffc056d000 > soundcore 16384 1 snd, Live 0xffffffffc04b6000 > led_class 16384 3 iwlmvm,input_leds,thinkpad_acpi, Live > 0xffffffffc04ad000 > rfkill 20480 3 cfg80211,thinkpad_acpi, Live 0xffffffffc04d9000 > ac 16384 0 - Live 0xffffffffc0565000 > video 36864 2 i915,thinkpad_acpi, Live 0xffffffffc0551000 > battery 20480 0 - Live 0xffffffffc054b000 > tpm_tis 20480 0 - Live 0xffffffffc0499000 > fjes 28672 0 - Live 0xffffffffc0491000 > button 16384 1 i915, Live 0xffffffffc02cf000 > tpm 36864 1 tpm_tis, Live 0xffffffffc0481000 > sch_fq_codel 20480 3 - Live 0xffffffffc04a7000 > vboxnetflt 28672 0 - Live 0xffffffffc049f000 (O) > vboxnetadp 28672 0 - Live 0xffffffffc0398000 (O) > pci_stub 16384 1 - Live 0xffffffffc026e000 > vboxpci 24576 0 - Live 0xffffffffc02de000 (O) > vboxdrv 385024 3 vboxnetflt,vboxnetadp,vboxpci, Live 0xffffffffc0422000 > (O) > ip_tables 24576 3 iptable_mangle,iptable_nat,iptable_filter, Live > 0xffffffffc0323000 > x_tables 28672 11 > xt_addrtype,xt_CHECKSUM,iptable_mangle,ipt_MASQUERADE,ipt_REJECT,xt_tcp > udp,ebtables,ip6_tables,xt_conntrack,iptable_filter,ip_tables, Live > 0xffffffffc0313000 > ext4 516096 1 - Live 0xffffffffc03a3000 > crc16 16384 1 ext4, Live 0xffffffffc023a000 > jbd2 90112 1 ext4, Live 0xffffffffc02b0000 > mbcache 16384 2 ext4, Live 0xffffffffc0269000 > algif_skcipher 20480 0 - Live 0xffffffffc021f000 > af_alg 16384 1 algif_skcipher, Live 0xffffffffc0198000 > usbhid 45056 0 - Live 0xffffffffc038c000 > dm_crypt 28672 1 - Live 0xffffffffc01a4000 > dm_mod 102400 12 dm_thin_pool,dm_persistent_data,dm_bufio,dm_crypt, > Live 0xffffffffc0372000 > sd_mod 36864 3 - Live 0xffffffffc01e5000 > rtsx_pci_sdmmc 24576 0 - Live 0xffffffffc01de000 > mmc_core 118784 2 mmc_block,rtsx_pci_sdmmc, Live 0xffffffffc0354000 > atkbd 24576 0 - Live 0xffffffffc019d000 > libps2 16384 2 psmouse,atkbd, Live 0xffffffffc02ef000 > crct10dif_pclmul 16384 0 - Live 0xffffffffc0303000 > crc32_pclmul 16384 0 - Live 0xffffffffc0226000 > crc32c_intel 24576 1 - Live 0xffffffffc031c000 > ghash_clmulni_intel 16384 0 - Live 0xffffffffc021a000 > aesni_intel 167936 3 - Live 0xffffffffc032a000 > aes_x86_64 20480 1 aesni_intel, Live 0xffffffffc030d000 > lrw 16384 1 aesni_intel, Live 0xffffffffc02fe000 > gf128mul 16384 1 lrw, Live 0xffffffffc0308000 > glue_helper 16384 1 aesni_intel, Live 0xffffffffc02f9000 > ablk_helper 16384 1 aesni_intel, Live 0xffffffffc0193000 > cryptd 20480 4 ghash_clmulni_intel,aesni_intel,ablk_helper, Live > 0xffffffffc02e5000 > ahci 36864 2 - Live 0xffffffffc02d4000 > libahci 28672 1 ahci, Live 0xffffffffc02c7000 > libata 204800 2 ahci,libahci, Live 0xffffffffc027d000 > xhci_pci 16384 0 - Live 0xffffffffc0274000 > xhci_hcd 159744 1 xhci_pci, Live 0xffffffffc0241000 > rtsx_pci 45056 2 rtsx_pci_ms,rtsx_pci_sdmmc, Live 0xffffffffc022e000 > scsi_mod 155648 2 sd_mod,libata, Live 0xffffffffc01f3000 > usbcore 200704 5 dvb_usb_dw2102,dvb_usb,usbhid,xhci_pci,xhci_hcd, Live > 0xffffffffc01ac000 > usb_common 16384 1 usbcore, Live 0xffffffffc018e000 > i8042 24576 1 libps2, Live 0xffffffffc017c000 > serio 20480 7 psmouse,serio_raw,atkbd,i8042, Live 0xffffffffc0188000 > hid_cherry 16384 0 - Live 0xffffffffc0183000 > hid 114688 3 hid_generic,usbhid,hid_cherry, Live 0xffffffffc015f000 > jitterentropy_rng 16384 0 - Live 0xffffffffc015a000 > sha256_ssse3 32768 1 - Live 0xffffffffc0151000 > sha256_generic 20480 1 sha256_ssse3, Live 0xffffffffc0148000 > hmac 16384 1 - Live 0xffffffffc0140000 > drbg 32768 1 - Live 0xffffffffc0133000 > ansi_cprng 16384 0 - Live 0xffffffffc012b000 > > [8.4.] Loaded driver and hardware information (/proc/ioports, > /proc/iomem) > #ioports > empty > > #iomem > 02020000-02073fff : 2020000.sysram: > 03810000-0381000b : /audss-clock-controller at 3810000 > 03860000-03860fff : /pinctrl at 03860000 > 03880000-03880fff : /amba/adma at 03880000 > ? 03880000-03880fff : /amba/adma at 03880000 > 10040000-10044fff : /system-controller at 10040000 > 101e0000-101e00ff : /rtc at 101E0000 > 10800000-10800fff : /amba/mdma at 10800000 > ? 10800000-10800fff : /amba/mdma at 10800000 > 10830000-108302ff : /sss at 10830000 > 10a60000-10a60fff : /sysmmu at 0x10A60000 > 10a70000-10a70fff : /sysmmu at 0x10A70000 > 10ca1000-10ca11ff : /nocp at 10CA1000 > 10ca1400-10ca15ff : /nocp at 10CA1400 > 10ca1800-10ca19ff : /nocp at 10CA1800 > 10ca1c00-10ca1dff : /nocp at 10CA1C00 > 11200000-11200fff : /sysmmu at 0x11200000 > 11210000-11210fff : /sysmmu at 0x11210000 > 11c00000-11c00063 : /rotator at 11C00000 > 11d40000-11d40fff : /sysmmu at 0x11D40000 > 11f10000-11f10fff : /sysmmu at 0x11F10000 > 11f20000-11f20fff : /sysmmu at 0x11F20000 > 12000000-12007fff : /usb3-0/dwc3 at 12000000 > ? 12000000-12007fff : /usb3-0/dwc3 at 12000000 > 1200c100-1200ffff : /usb3-0/dwc3 at 12000000 > 12100000-121000ff : /phy at 12100000 > 12110000-121100ff : /usb at 12110000 > 12120000-121200ff : /usb at 12120000 > 12130000-121300ff : /phy at 12130000 > 121a0000-121a0fff : /amba/pdma at 121A0000 > ? 121a0000-121a0fff : /amba/pdma at 121A0000 > 121b0000-121b0fff : /amba/pdma at 121B0000 > ? 121b0000-121b0fff : /amba/pdma at 121B0000 > 12200000-12201fff : /mmc at 12200000 > 12220000-12220fff : /mmc at 12220000 > 12400000-12407fff : /usb3-1/dwc3 at 12400000 > ? 12400000-12407fff : /usb3-1/dwc3 at 12400000 > 1240c100-1240ffff : /usb3-1/dwc3 at 12400000 > 12500000-125000ff : /phy at 12500000 > 12880000-12880fff : /sysmmu at 0x12880000 > 12890000-12890fff : /sysmmu at 0x12890000 > 128a0000-128a0fff : /sysmmu at 0x128A0000 > 128c0000-128c0fff : /sysmmu at 0x128C0000 > 128d0000-128d0fff : /sysmmu at 0x128D0000 > 128e0000-128e0fff : /sysmmu at 0x128E0000 > 12c00000-12c000ff : 12c00000.serial: > 12c10000-12c100ff : 12c10000.serial: > 12c20000-12c200ff : 12c20000.serial: > 12c30000-12c300ff : 12c30000.serial: > 12ca0000-12ca0fff : /i2c at 12CA0000 > 12dd0000-12dd00ff : /pwm at 12dd0000 > 13400000-13400fff : /pinctrl at 13400000 > 13410000-13410fff : /pinctrl at 13410000 > 13e00000-13e00fff : /video-scaler at 13e00000 > 13e10000-13e10fff : /video-scaler at 13e10000 > 13e80000-13e80fff : /sysmmu at 0x13E80000 > 13e90000-13e90fff : /sysmmu at 0x13E90000 > 14000000-14000fff : /pinctrl at 14000000 > 14010000-14010fff : /pinctrl at 14010000 > 14640000-14640fff : /sysmmu at 0x14640000 > 14650000-14650fff : /sysmmu at 0x14650000 > 14680000-14680fff : /sysmmu at 0x14680000 > 40000000-42ffffff : System RAM > ? 40008000-40ae61bb : Kernel code > ? 40c00000-40cf10c3 : Kernel data > 43800000-50ffffff : System RAM > 51800000-be9fffff : System RAM > > [8.5.] PCI information ('lspci -vvv' as root) > [8.6.] SCSI information (from /proc/scsi/scsi) > [8.7.] Other information that might be relevant to the problem > ???????(please look in /proc and include all information that you > ???????think to be relevant): > > [9.] Other notes, patches, fixes, workarounds: > [9.1] https://lkml.org/lkml/2014/4/28/234 > [9.2] https://lkml.org/lkml/2015/2/2/259 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-usb" in > the body of a message to majordomo at vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- balbi -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 800 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160829/22550a43/attachment-0001.sig> ^ permalink raw reply [flat|nested] 19+ messages in thread
* PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 2016-08-29 7:28 ` Felipe Balbi @ 2016-08-29 10:59 ` Mathias Nyman 2016-08-29 11:05 ` Michael Niewöhner 0 siblings, 1 reply; 19+ messages in thread From: Mathias Nyman @ 2016-08-29 10:59 UTC (permalink / raw) To: linux-arm-kernel On 29.08.2016 10:28, Felipe Balbi wrote: > > Hi, > > Michael Niew?hner <linux@mniewoehner.de> writes: >> [1.] One line summary of the problem: >> DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 >> >> [2.] Full description of the problem/report: >> No usb 3.0 devices are being detected when attached while USB 2.0 >> devices work on the same port. >> USB 3.0 works after applying patches [9.1] and [9.2], but seems to be >> buggy. The usb hub is redetected every time an usb device is attached. > > dwc3 is host, which means it's actually XHCI :-) > > Adding Mathias > >> dmesg: >> [ 192.287080] usb 3-1.2: USB disconnect, device number 7 >> [ 210.370699] hub 3-1:1.0: hub_ext_port_status failed (err = -71) Looks like the hub GetPortStatus request fails with protocol error. Reading xhci root hub port status is mostly just register reads and writes. It shouldn't include any actual transfers that could return -EPROTO So this is not the root hub? but a external or integrated on your board, right? The protocol error -71 is returned at transfer errors or if device stalled. Adding more xhci debugging options could show something: echo -n 'module xhci_hcd =p' > /sys/kernel/debug/dynamic_debug/control >> [9.] Other notes, patches, fixes, workarounds: >> [9.1] https://lkml.org/lkml/2014/4/28/234 >> [9.2] https://lkml.org/lkml/2015/2/2/259 The additional patches that makes things somehow work involve tuning the PHY, this is an area I'm not familiar with -Mathias ^ permalink raw reply [flat|nested] 19+ messages in thread
* PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 2016-08-29 10:59 ` Mathias Nyman @ 2016-08-29 11:05 ` Michael Niewöhner 2016-08-30 5:02 ` Anand Moon 0 siblings, 1 reply; 19+ messages in thread From: Michael Niewöhner @ 2016-08-29 11:05 UTC (permalink / raw) To: linux-arm-kernel Hi Mathias, On Mo, 2016-08-29 at 13:59 +0300, Mathias Nyman wrote: > On 29.08.2016 10:28, Felipe Balbi wrote: > > > > > > Hi, > > > > Michael Niew?hner <linux@mniewoehner.de> writes: > > > > > > [1.] One line summary of the problem: > > > DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 > > > > > > [2.] Full description of the problem/report: > > > No usb 3.0 devices are being detected when attached while USB 2.0 > > > devices work on the same port. > > > USB 3.0 works after applying patches [9.1] and [9.2], but seems > > > to be > > > buggy. The usb hub is redetected every time an usb device is > > > attached. > > > > dwc3 is host, which means it's actually XHCI :-) > > > > Adding Mathias > > > > > > > > dmesg: > > > [??192.287080] usb 3-1.2: USB disconnect, device number 7 > > > [??210.370699] hub 3-1:1.0: hub_ext_port_status failed (err = > > > -71) > > Looks like the hub GetPortStatus request fails with protocol error. > > Reading xhci root hub port status is mostly just register reads and > writes. It > shouldn't include any actual transfers that could return -EPROTO > > So this is not the root hub? but a external or integrated on your > board, right? > > The protocol error -71 is returned at transfer errors or if device > stalled. > > Adding more xhci debugging options could show something: > echo -n 'module xhci_hcd =p' > > /sys/kernel/debug/dynamic_debug/control > > > > > > > > > [9.] Other notes, patches, fixes, workarounds: > > > [9.1] https://lkml.org/lkml/2014/4/28/234 > > > [9.2] https://lkml.org/lkml/2015/2/2/259 > > The additional patches that makes things somehow work involve tuning > the PHY, > this is an area I'm not familiar with > > -Mathias > I'm sorry, I should have said that this is the dmesg output with the patches applied. Without them there is no output at all when I attach an usb 3.0 device. Michael -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 630 bytes Desc: This is a digitally signed message part URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160829/c0397bee/attachment.sig> ^ permalink raw reply [flat|nested] 19+ messages in thread
* PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 2016-08-29 11:05 ` Michael Niewöhner @ 2016-08-30 5:02 ` Anand Moon 2016-09-20 21:19 ` Michael Niewöhner ` (2 more replies) 0 siblings, 3 replies; 19+ messages in thread From: Anand Moon @ 2016-08-30 5:02 UTC (permalink / raw) To: linux-arm-kernel Hi All Adding Vivek Gautam. On 29 August 2016 at 16:35, Michael Niew?hner <linux@mniewoehner.de> wrote: > Hi Mathias, > On Mo, 2016-08-29 at 13:59 +0300, Mathias Nyman wrote: >> On 29.08.2016 10:28, Felipe Balbi wrote: >> > >> > >> > Hi, >> > >> > Michael Niew?hner <linux@mniewoehner.de> writes: >> > > >> > > [1.] One line summary of the problem: >> > > DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 >> > > >> > > [2.] Full description of the problem/report: >> > > No usb 3.0 devices are being detected when attached while USB 2.0 >> > > devices work on the same port. >> > > USB 3.0 works after applying patches [9.1] and [9.2], but seems >> > > to be >> > > buggy. The usb hub is redetected every time an usb device is >> > > attached. >> > >> > dwc3 is host, which means it's actually XHCI :-) >> > >> > Adding Mathias >> > >> > > >> > > dmesg: >> > > [ 192.287080] usb 3-1.2: USB disconnect, device number 7 >> > > [ 210.370699] hub 3-1:1.0: hub_ext_port_status failed (err = >> > > -71) >> >> Looks like the hub GetPortStatus request fails with protocol error. >> >> Reading xhci root hub port status is mostly just register reads and >> writes. It >> shouldn't include any actual transfers that could return -EPROTO >> >> So this is not the root hub? but a external or integrated on your >> board, right? >> >> The protocol error -71 is returned at transfer errors or if device >> stalled. >> >> Adding more xhci debugging options could show something: >> echo -n 'module xhci_hcd =p' > >> /sys/kernel/debug/dynamic_debug/control >> >> > >> > > >> > > [9.] Other notes, patches, fixes, workarounds: >> > > [9.1] https://lkml.org/lkml/2014/4/28/234 >> > > [9.2] https://lkml.org/lkml/2015/2/2/259 >> >> The additional patches that makes things somehow work involve tuning >> the PHY, >> this is an area I'm not familiar with >> >> -Mathias >> > > > I'm sorry, I should have said that this is the dmesg output with the > patches applied. Without them there is no output at all when I attach > an usb 3.0 device. > > Michael There are two dwc3 ports in the SoC : one for Gbit Ethernet another one for on-board GL3521 USB 3.0 hub controller. 3.10.x kernel odroid at odroid:~$ 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 /: 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=s5p-ehci/3p, 480M 4.x kernel odroid 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 |__ 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 |__ 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 0, Class=Mass Storage, Driver=usb-storage, 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 I fell that Ethernet driver r8152 is not getting registered to xhci-hcd to bus port 06 which lead to other ports to miss configure, some time the Ethernet port get register to bus port 04 Their is also a possibility that all the port are not getting proper power from the S2MPS11 PMIC and possible some reset of the phy is needed to reconfigure the exynos USB HSIC controller. Best Regards -Anand Moon ^ permalink raw reply [flat|nested] 19+ messages in thread
* PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 2016-08-30 5:02 ` Anand Moon @ 2016-09-20 21:19 ` Michael Niewöhner 2016-10-03 13:08 ` Michael Niewöhner 2016-10-04 6:02 ` Vivek Gautam 2 siblings, 0 replies; 19+ messages in thread From: Michael Niewöhner @ 2016-09-20 21:19 UTC (permalink / raw) To: linux-arm-kernel Hi guys, On Di, 2016-08-30 at 10:32 +0530, Anand Moon wrote: > Hi All > > Adding Vivek Gautam. > > On 29 August 2016 at 16:35, Michael Niew?hner <linux@mniewoehner.de> > wrote: > > > > Hi Mathias, > > On Mo, 2016-08-29 at 13:59 +0300, Mathias Nyman wrote: > > > > > > On 29.08.2016 10:28, Felipe Balbi wrote: > > > > > > > > > > > > > > > > Hi, > > > > > > > > Michael Niew?hner <linux@mniewoehner.de> writes: > > > > > > > > > > > > > > > [1.] One line summary of the problem: > > > > > DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 > > > > > > > > > > [2.] Full description of the problem/report: > > > > > No usb 3.0 devices are being detected when attached while USB > > > > > 2.0 > > > > > devices work on the same port. > > > > > USB 3.0 works after applying patches [9.1] and [9.2], but > > > > > seems > > > > > to be > > > > > buggy. The usb hub is redetected every time an usb device is > > > > > attached. > > > > > > > > dwc3 is host, which means it's actually XHCI :-) > > > > > > > > Adding Mathias > > > > > > > > > > > > > > > > > > > dmesg: > > > > > [??192.287080] usb 3-1.2: USB disconnect, device number 7 > > > > > [??210.370699] hub 3-1:1.0: hub_ext_port_status failed (err = > > > > > -71) > > > > > > Looks like the hub GetPortStatus request fails with protocol > > > error. > > > > > > Reading xhci root hub port status is mostly just register reads > > > and > > > writes. It > > > shouldn't include any actual transfers that could return -EPROTO > > > > > > So this is not the root hub? but a external or integrated on your > > > board, right? > > > > > > The protocol error -71 is returned at transfer errors or if > > > device > > > stalled. > > > > > > Adding more xhci debugging options could show something: > > > echo -n 'module xhci_hcd =p' > > > > /sys/kernel/debug/dynamic_debug/control > > > > > > > > > > > > > > > > > > > > > > > > > > [9.] Other notes, patches, fixes, workarounds: > > > > > [9.1] https://lkml.org/lkml/2014/4/28/234 > > > > > [9.2] https://lkml.org/lkml/2015/2/2/259 > > > > > > The additional patches that makes things somehow work involve > > > tuning > > > the PHY, > > > this is an area I'm not familiar with > > > > > > -Mathias > > > > > > > > > I'm sorry, I should have said that this is the dmesg output with > > the > > patches applied. Without them there is no output at all when I > > attach > > an usb 3.0 device. > > > > Michael > > There are two dwc3 ports in the SoC : one for Gbit Ethernet another > one for on-board GL3521 USB 3.0 hub controller. > > 3.10.x kernel > odroid at odroid:~$ 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 > /:??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=s5p-ehci/3p, 480M > > 4.x kernel > odroid 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 > ????|__ 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 > ????|__ 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 0, Class=Mass Storage, Driver=usb- > storage, 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 > > I fell that Ethernet driver r8152 is not getting registered to > xhci-hcd to bus port 06 > which lead to other ports to miss configure, some time the Ethernet > port get register to bus port 04 > > Their is also a possibility that all the port are not getting proper > power from the S2MPS11 PMIC > and possible some reset of the phy is needed to reconfigure the > exynos > USB HSIC controller. > > Best Regards > -Anand Moon > -- > 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 Today I've tested v4.8-rc7 (without the patches above). The USB 3.0 ports have stopped working completely for me. Neither USB 2.0 nor USB 3.0 are being detected. The Ethernet port does not work, too. The USB- 2.0-only Port works. There also a new problem: my XU4 does not reboot or poweroff anymore. When I force-remove the dwc3 module reboot / poweroff works again. There are some failures in the dmesg log, see below. Best regards, Michael dmesg | grep -iE "usb|dwc|hci": ------------------------------- [????0.326371] usbcore: registered new interface driver usbfs [????0.326456] usbcore: registered new interface driver hub [????0.326638] usbcore: registered new device driver usb [????1.620326] usbcore: registered new interface driver usb-storage [????1.790692] sdhci: Secure Digital Host Controller Interface driver [????1.795382] sdhci: Copyright(c) Pierre Ossman [????1.994062] sdhci-pltfm: SDHCI platform and OF driver helper [????2.011265] usbcore: registered new interface driver usbhid [????2.016419] usbhid: USB HID core driver [???15.113203] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [???15.115802] ehci-exynos: EHCI EXYNOS driver [???15.117544] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [???15.121099] ohci-exynos: OHCI EXYNOS driver [???15.173098] exynos-ohci 12120000.usb: USB Host Controller [???15.187949] exynos-ohci 12120000.usb: new USB bus registered, assigned bus number 1 [???15.195296] exynos-ohci 12120000.usb: irq 89, io mem 0x12120000 [???15.274045] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001 [???15.279360] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [???15.279366] usb usb1: Product: USB Host Controller [???15.279371] usb usb1: Manufacturer: Linux 4.8.0-rc7+ ohci_hcd [???15.279375] usb usb1: SerialNumber: 12120000.usb [???15.280187] hub 1-0:1.0: USB hub found [???15.281215] exynos-ehci 12110000.usb: EHCI Host Controller [???15.281509] exynos-ehci 12110000.usb: new USB bus registered, assigned bus number 2 [???15.281656] exynos-ehci 12110000.usb: irq 89, io mem 0x12110000 [???15.309929] exynos-ehci 12110000.usb: USB 2.0 started, EHCI 1.00 [???15.310297] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [???15.310302] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [???15.310307] usb usb2: Product: EHCI Host Controller [???15.310312] usb usb2: Manufacturer: Linux 4.8.0-rc7+ ehci_hcd [???15.310317] usb usb2: SerialNumber: 12110000.usb [???15.310928] hub 2-0:1.0: USB hub found [???15.312172] exynos-dwc3 soc:usb3-0: no suspend clk specified [???15.313613] usb_phy_generic.0.auto supply vcc not found, using dummy regulator [???15.314033] usb_phy_generic.1.auto supply vcc not found, using dummy regulator [???15.315395] exynos-dwc3 soc:usb3-1: no suspend clk specified [???15.317108] usb_phy_generic.2.auto supply vcc not found, using dummy regulator [???15.317436] usb_phy_generic.3.auto supply vcc not found, using dummy regulator [???15.335605] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller [???15.335844] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 3 [???15.336099] xhci-hcd xhci-hcd.4.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00010010 [???15.336149] xhci-hcd xhci-hcd.4.auto: irq 135, io mem 0x12000000 [???15.336489] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002 [???15.336496] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [???15.336501] usb usb3: Product: xHCI Host Controller [???15.336506] usb usb3: Manufacturer: Linux 4.8.0-rc7+ xhci-hcd [???15.336511] usb usb3: SerialNumber: xhci-hcd.4.auto [???15.337095] hub 3-0:1.0: USB hub found [???15.337596] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller [???15.337789] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 4 [???15.337927] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [???15.338159] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003 [???15.338165] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [???15.338169] usb usb4: Product: xHCI Host Controller [???15.338174] usb usb4: Manufacturer: Linux 4.8.0-rc7+ xhci-hcd [???15.338179] usb usb4: SerialNumber: xhci-hcd.4.auto [???15.338847] hub 4-0:1.0: USB hub found [???15.339419] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller [???15.339649] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 5 [???15.339990] xhci-hcd xhci-hcd.5.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00010010 [???15.340036] xhci-hcd xhci-hcd.5.auto: irq 136, io mem 0x12400000 [???15.340329] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002 [???15.340335] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [???15.340340] usb usb5: Product: xHCI Host Controller [???15.340344] usb usb5: Manufacturer: Linux 4.8.0-rc7+ xhci-hcd [???15.340349] usb usb5: SerialNumber: xhci-hcd.5.auto [???15.340918] hub 5-0:1.0: USB hub found [???15.341387] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller [???15.341618] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 6 [???15.341758] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM. [???15.341993] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003 [???15.341998] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [???15.342003] usb usb6: Product: xHCI Host Controller [???15.342008] usb usb6: Manufacturer: Linux 4.8.0-rc7+ xhci-hcd [???15.342012] usb usb6: SerialNumber: xhci-hcd.5.auto [???15.342662] hub 6-0:1.0: USB hub found [???19.642578] usb usb5-port1: connect-debounce failed ####################################################################### full dmesg: ----------- [????0.000000] Booting Linux on physical CPU 0x100 [????0.000000] Linux version 4.8.0-rc7+ (c0d3 at z3r0) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #1 SMP Tue Sep 20 22:24:41 CEST 2016 [????0.000000] CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7), cr=10c5387d [????0.000000] CPU: div instructions available: patching division code [????0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [????0.000000] OF: fdt:Machine model: Hardkernel Odroid XU4 [????0.000000] Reserved memory: created DMA memory pool at 0xbe200000, size 8 MiB [????0.000000] OF: reserved mem: initialized node region_mfc_right, compatible id shared-dma-pool [????0.000000] Reserved memory: created DMA memory pool at 0xbd200000, size 16 MiB [????0.000000] OF: reserved mem: initialized node region_mfc_left, compatible id shared-dma-pool [????0.000000] Memory policy: Data cache writealloc [????0.000000] Samsung CPU ID: 0xe5422001 [????0.000000] On node 0 totalpages: 512512 [????0.000000] free_area_init_node: node 0, pgdat c0c81dc0, node_mem_map eee52000 [????0.000000]???Normal zone: 1728 pages used for memmap [????0.000000]???Normal zone: 0 pages reserved [????0.000000]???Normal zone: 196608 pages, LIFO batch:31 [????0.000000]???HighMem zone: 315904 pages, LIFO batch:31 [????0.000000] Running under secure firmware. [????0.000000] percpu: Embedded 15 pages/cpu @eeda1000 s30272 r8192 d22976 u61440 [????0.000000] pcpu-alloc: s30272 r8192 d22976 u61440 alloc=15*4096 [????0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7? [????0.000000] Built 1 zonelists in Zone order, mobility grouping on.??Total pages: 510784 [????0.000000] Kernel command line: console=ttySAC2,115200n8 root=/dev/mmcblk1p2 rootfstype=ext4 rootwait earlyprintk debug [????0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [????0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [????0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [????0.000000] Memory: 2018124K/2050048K available (7168K kernel code, 617K rwdata, 2052K rodata, 1024K init, 375K bss, 31924K reserved, 0K cma-reserved, 1263616K highmem) [????0.000000] Virtual kernel memory layout: ????vector??: 0xffff0000 - 0xffff1000???(???4 kB) ????fixmap??: 0xffc00000 - 0xfff00000???(3072 kB) ????vmalloc : 0xf0800000 - 0xff800000???( 240 MB) ????lowmem??: 0xc0000000 - 0xf0000000???( 768 MB) ????pkmap???: 0xbfe00000 - 0xc0000000???(???2 MB) ????modules : 0xbf000000 - 0xbfe00000???(??14 MB) ??????.text : 0xc0008000 - 0xc0800000???(8160 kB) ??????.init : 0xc0b00000 - 0xc0c00000???(1024 kB) ??????.data : 0xc0c00000 - 0xc0c9a7cc???( 618 kB) ???????.bss : 0xc0c9c000 - 0xc0cf9d04???( 376 kB) [????0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1 [????0.000000] Hierarchical RCU implementation. [????0.000000]??Build-time adjustment of leaf fanout to 32. [????0.000000]??RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=8. [????0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=8 [????0.000000] NR_IRQS:16 nr_irqs:16 16 [????0.000000] genirq: Setting trigger mode 0 for irq 17 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 18 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 19 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 20 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 21 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 22 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 23 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 24 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 25 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 26 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 27 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 28 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 29 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 30 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 31 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 32 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 33 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 34 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 35 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 36 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 37 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 38 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 39 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 40 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 41 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 42 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 43 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 44 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 45 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 46 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 47 failed (gic_set_type+0x0/0x64) [????0.000000] genirq: Setting trigger mode 0 for irq 48 failed (gic_set_type+0x0/0x64) [????0.000000] Switching to timer-based delay loop, resolution 41ns [????0.000000] clocksource: mct-frc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [????0.000007] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [????0.001699] Console: colour dummy device 80x30 [????0.001743] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [????0.001762] pid_max: default: 32768 minimum: 301 [????0.002015] Security Framework initialized [????0.002031] Yama: becoming mindful. [????0.002063] AppArmor: AppArmor disabled by boot time parameter [????0.002154] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [????0.002171] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [????0.003263] CPU: Testing write buffer coherency: ok [????0.003312] ftrace: allocating 25419 entries in 75 pages [????0.071511] CPU0: update cpu_capacity 448 [????0.071533] CPU0: thread -1, cpu 0, socket 1, mpidr 80000100 [????0.071713] Setting up static identity map for 0x40100000 - 0x40100058 [????0.072357] ARM CCI driver probed [????0.072569] Exynos MCPM support installed [????0.076960] CPU1: update cpu_capacity 448 [????0.076969] CPU1: thread -1, cpu 1, socket 1, mpidr 80000101 [????0.078015] CPU2: update cpu_capacity 448 [????0.078023] CPU2: thread -1, cpu 2, socket 1, mpidr 80000102 [????0.079093] CPU3: update cpu_capacity 448 [????0.079100] CPU3: thread -1, cpu 3, socket 1, mpidr 80000103 [????0.080042] CPU4: update cpu_capacity 1535 [????0.080050] CPU4: thread -1, cpu 0, socket 0, mpidr 80000000 [????0.081116] CPU5: update cpu_capacity 1535 [????0.081123] CPU5: thread -1, cpu 1, socket 0, mpidr 80000001 [????0.082117] CPU6: update cpu_capacity 1535 [????0.082124] CPU6: thread -1, cpu 2, socket 0, mpidr 80000002 [????0.083109] CPU7: update cpu_capacity 1535 [????0.083116] CPU7: thread -1, cpu 3, socket 0, mpidr 80000003 [????0.083257] Brought up 8 CPUs [????0.083322] SMP: Total of 8 processors activated (384.00 BogoMIPS). [????0.083333] CPU: WARNING: CPU(s) started in wrong/inconsistent modes (primary CPU mode 0x1a) [????0.083341] CPU: This may indicate a broken bootloader or firmware. [????0.085519] devtmpfs: initialized [????0.111049] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 3 [????0.111544] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [????0.111848] pinctrl core: initialized pinctrl subsystem [????0.114692] NET: Registered protocol family 16 [????0.115485] DMA: preallocated 256 KiB pool for atomic coherent allocations [????0.159992] cpuidle: using governor ladder [????0.199983] cpuidle: using governor menu [????0.208731] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [????0.208746] hw-breakpoint: maximum watchpoint size is 8 bytes. [????0.209125] Serial: AMBA PL011 UART driver [????0.218768] iommu: Adding device 11000000.codec to group 0 [????0.224583] genirq: Setting trigger mode 0 for irq 110 failed (gic_set_type+0x0/0x64) [????0.257244] iommu: Adding device 14450000.mixer to group 1 [????0.257794] iommu: Adding device 11c00000.rotator to group 2 [????0.267216] iommu: Adding device 13e00000.video-scaler to group 3 [????0.267742] iommu: Adding device 13e10000.video-scaler to group 4 [????0.268256] iommu: Adding device 11f50000.jpeg to group 5 [????0.268752] iommu: Adding device 11f60000.jpeg to group 6 [????0.269137] EXYNOS5420 PMU initialized [????0.325992] SCSI subsystem initialized [????0.326371] usbcore: registered new interface driver usbfs [????0.326456] usbcore: registered new interface driver hub [????0.326638] usbcore: registered new device driver usb [????0.327614] media: Linux media interface: v0.10 [????0.327679] Linux video capture interface: v2.00 [????0.327775] pps_core: LinuxPPS API ver. 1 registered [????0.327786] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [????0.327815] PTP clock support registered [????0.329864] clocksource: Switched to clocksource mct-frc [????0.400809] VFS: Disk quotas dquot_6.6.0 [????0.400890] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [????0.420200] NET: Registered protocol family 2 [????0.420933] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [????0.421015] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [????0.421174] TCP: Hash tables configured (established 8192 bind 8192) [????0.421242] UDP hash table entries: 512 (order: 2, 16384 bytes) [????0.421283] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [????0.421520] NET: Registered protocol family 1 [????0.427016] futex hash table entries: 2048 (order: 5, 131072 bytes) [????0.427156] audit: initializing netlink subsys (disabled) [????0.427216] audit: type=2000 audit(0.370:1): initialized [????0.428268] workingset: timestamp_bits=14 max_order=19 bucket_order=5 [????0.439142] zbud: loaded [????0.444748] bounce: pool size: 64 pages [????0.445009] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [????0.445239] io scheduler noop registered [????0.445253] io scheduler deadline registered (default) [????0.445515] io scheduler cfq registered [????0.455579] dma-pl330 121a0000.pdma: Loaded driver for PL330 DMAC-241330 [????0.455598] dma-pl330 121a0000.pdma:?????????DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32 [????0.460175] dma-pl330 121b0000.pdma: Loaded driver for PL330 DMAC-241330 [????0.460193] dma-pl330 121b0000.pdma:?????????DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32 [????0.461439] dma-pl330 10800000.mdma: Loaded driver for PL330 DMAC-241330 [????0.461456] dma-pl330 10800000.mdma:?????????DBUFF-64x8bytes Num_Chans-8 Num_Peri-1 Num_Events-32 [????0.462613] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [????0.465554] Serial: AMBA driver [????0.465938] 12c00000.serial: ttySAC0 at MMIO 0x12c00000 (irq = 76, base_baud = 0) is a S3C6400/10 [????0.466473] 12c10000.serial: ttySAC1 at MMIO 0x12c10000 (irq = 77, base_baud = 0) is a S3C6400/10 [????0.467023] 12c20000.serial: ttySAC2 at MMIO 0x12c20000 (irq = 78, base_baud = 0) is a S3C6400/10 [????0.599414] random: fast init done [????1.542942] console [ttySAC2] enabled [????1.547070] 12c30000.serial: ttySAC3 at MMIO 0x12c30000 (irq = 79, base_baud = 0) is a S3C6400/10 [????1.556647] [drm] Initialized drm 1.1.0 20060810 [????1.562246] exynos-hdmi 14530000.hdmi: Failed to get supply 'vdd': -517 [????1.569034] exynos-rot 11c00000.rotator: The exynos rotator is probed successfully [????1.575796] exynos-drm-gsc 13e00000.video-scaler: failed to get system register. [????1.582802] exynos-drm-gsc 13e00000.video-scaler: drm gsc registered successfully. [????1.590163] exynos-drm-gsc 13e10000.video-scaler: failed to get system register. [????1.597624] exynos-drm-gsc 13e10000.video-scaler: drm gsc registered successfully. [????1.605612] exynos-drm-ipp exynos-drm-ipp: drm ipp registered successfully. [????1.617202] libphy: Fixed MDIO Bus: probed [????1.620326] usbcore: registered new interface driver usb-storage [????1.626314] mousedev: PS/2 mouse device common for all mice [????1.649678] vdd_ldo9: Bringing 3300000uV into 3000000-3000000uV [????1.662830] vddq_mmc2: Bringing 3300000uV into 2800000-2800000uV [????1.672436] vdd_ldo15: Bringing 3300000uV into 3100000-3100000uV [????1.685733] vdd_sd: Bringing 3300000uV into 2800000-2800000uV [????1.745880] s5m-rtc s2mps14-rtc: rtc core: registered s5m-rtc as rtc0 [????1.758869] exynos-tmu 10060000.tmu: More trip points than supported by this TMU. [????1.764911] exynos-tmu 10060000.tmu: 2 trip points should be configured in polling mode. [????1.790692] sdhci: Secure Digital Host Controller Interface driver [????1.795382] sdhci: Copyright(c) Pierre Ossman [????1.799956] Synopsys Designware Multimedia Card Interface Driver [????1.806290] dwmmc_exynos 12200000.mmc: IDMAC supports 32-bit address mode. [????1.812577] dwmmc_exynos 12200000.mmc: Using internal DMA controller. [????1.818958] dwmmc_exynos 12200000.mmc: Version ID is 250a [????1.824373] dwmmc_exynos 12200000.mmc: DW MMC controller at irq 91,64 bit host data width,64 deep fifo [????1.833763] dwmmc_exynos 12200000.mmc: Got CD GPIO [????1.838412] dwmmc_exynos 12200000.mmc: allocated mmc-pwrseq [????1.870520] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63) [????1.900048] dwmmc_exynos 12200000.mmc: 1 slots initialized [????1.904270] dwmmc_exynos 12220000.mmc: IDMAC supports 32-bit address mode. [????1.910928] dwmmc_exynos 12220000.mmc: Using internal DMA controller. [????1.917310] dwmmc_exynos 12220000.mmc: Version ID is 250a [????1.922727] dwmmc_exynos 12220000.mmc: DW MMC controller at irq 92,64 bit host data width,64 deep fifo [????1.960331] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63) [????1.989895] dwmmc_exynos 12220000.mmc: 1 slots initialized [????1.994062] sdhci-pltfm: SDHCI platform and OF driver helper [????2.000612] ledtrig-cpu: registered to indicate activity on CPUs [????2.005907] hidraw: raw HID events driver (C) Jiri Kosina [????2.011265] usbcore: registered new interface driver usbhid [????2.016419] usbhid: USB HID core driver [????2.032699] exynos-nocp: new NoC Probe device registered: 10ca1000.nocp [????2.038006] exynos-nocp: new NoC Probe device registered: 10ca1400.nocp [????2.044648] exynos-nocp: new NoC Probe device registered: 10ca1800.nocp [????2.051203] exynos-nocp: new NoC Probe device registered: 10ca1c00.nocp [????2.060844] NET: Registered protocol family 10 [????2.064785] mip6: Mobile IPv6 [????2.066752] NET: Registered protocol family 17 [????2.071230] mpls_gso: MPLS GSO support [????2.075529] ThumbEE CPU extension supported. [????2.079164] Registering SWP/SWPB emulation handler [????2.084499] registered taskstats version 1 [????2.088033] zswap: loaded using pool lzo/zbud [????2.092445] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63) [????2.105579] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node [????2.112148] s3c-rtc 101e0000.rtc: rtc disabled, re-enabling [????2.116601] s3c-rtc 101e0000.rtc: warning: invalid RTC value so initializing it [????2.123908] rtc rtc1: invalid alarm value: 1900-1-2 0:0:0 [????2.129400] s3c-rtc 101e0000.rtc: rtc core: registered s3c as rtc1 [????2.136750] exynos-bus: new bus device registered: soc:bus_wcore ( 84000 KHz ~ 400000 KHz) [????2.144186] exynos-bus: new bus device registered: soc:bus_noc ( 67000 KHz ~ 100000 KHz) [????2.152075] exynos-bus: new bus device registered: soc:bus_fsys_apb (100000 KHz ~ 200000 KHz) [????2.160433] exynos-bus: new bus device registered: soc:bus_fsys (100000 KHz ~ 200000 KHz) [????2.168742] exynos-bus: new bus device registered: soc:bus_fsys2 ( 75000 KHz ~ 150000 KHz) [????2.177136] exynos-bus: new bus device registered: soc:bus_mfc ( 96000 KHz ~ 333000 KHz) [????2.185125] exynos-bus: new bus device registered: soc:bus_gen ( 89000 KHz ~ 267000 KHz) [????2.193013] exynos-bus: new bus device registered: soc:bus_peri ( 67000 KHz ~??67000 KHz) [????2.195081] devfreq soc:bus_wcore: Couldn't update frequency transition information. [????2.209087] exynos-bus: new bus device registered: soc:bus_g2d ( 84000 KHz ~ 333000 KHz) [????2.217105] exynos-bus: new bus device registered: soc:bus_g2d_acp ( 67000 KHz ~ 267000 KHz) [????2.225507] exynos-bus: new bus device registered: soc:bus_jpeg ( 75000 KHz ~ 300000 KHz) [????2.233659] exynos-bus: new bus device registered: soc:bus_jpeg_apb ( 84000 KHz ~ 167000 KHz) [????2.242025] exynos-bus: new bus device registered: soc:bus_disp1_fimd (120000 KHz ~ 200000 KHz) [????2.250759] exynos-bus: new bus device registered: soc:bus_disp1 (120000 KHz ~ 300000 KHz) [????2.258960] exynos-bus: new bus device registered: soc:bus_gscl_scaler (150000 KHz ~ 300000 KHz) [????2.267872] exynos-bus: new bus device registered: soc:bus_mscl ( 84000 KHz ~ 400000 KHz) [????2.275693] mmc_host mmc1: Bus speed (slot 0) = 200000000Hz (slot req 200000000Hz, actual 200000000HZ div = 0) [????2.277158] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node [????2.279370] Power domain power-domain at 10044120 disable failed [????2.285341] s5m-rtc s2mps14-rtc: setting system clock to 2000-01-01 00:00:04 UTC (946684804) [????2.308572] PM: Hibernation image not present or could not be loaded. [????2.316247] Waiting for root device /dev/mmcblk1p2... [????2.410857] mmc1: new ultra high speed SDR104 SDHC card at address 59b4 [????2.416596] mmcblk1: mmc1:59b4 USDU1 14.7 GiB? [????2.421238]??mmcblk1: p1 p2 [????2.425615] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node [????2.554682] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null) [????2.561343] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [????2.568683] Freeing unused kernel memory: 1024K (c0b00000 - c0c00000) [????2.702417] systemd[1]: Mounting cgroup to /sys/fs/cgroup/cpuset of type cgroup with options cpuset. [????2.781274] systemd[1]: Mounting cgroup to /sys/fs/cgroup/cpu,cpuacct of type cgroup with options cpu,cpuacct. [????2.790379] systemd[1]: Mounting cgroup to /sys/fs/cgroup/blkio of type cgroup with options blkio. [????2.800162] systemd[1]: Mounting cgroup to /sys/fs/cgroup/memory of type cgroup with options memory. [????2.814356] systemd[1]: Mounting cgroup to /sys/fs/cgroup/devices of type cgroup with options devices. [????2.822694] systemd[1]: Mounting cgroup to /sys/fs/cgroup/freezer of type cgroup with options freezer. [????2.831941] systemd[1]: Mounting cgroup to /sys/fs/cgroup/net_cls,net_prio of type cgroup with options net_cls,net_prio. [????2.842823] systemd[1]: Mounting cgroup to /sys/fs/cgroup/perf_event of type cgroup with options perf_event. [????2.852911] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR) [????2.865511] systemd[1]: Detected architecture 'arm'. [????2.955738] systemd-getty-generator[114]: Automatically adding serial getty for /dev/ttySAC2. [????2.957079] systemd-fstab-generator[115]: Parsing /etc/fstab [????2.963653] systemd-fstab-generator[115]: Found entry what=/dev/mmcblk1p2 where=/ type=ext4 [????2.966633] systemd-default-display-manager-generator[117]: No /etc/X11/default-display-manager file, nothing to generate [????2.968300] systemd-rc-local-generator[123]: Automatically adding rc-local.service. [????3.016153] systemd-gpt-auto-generator[120]: Root device /dev/mmcblk1. [????3.016220] systemd-sysv-generator[119]: Looking for unit files in (higher priority first): [????3.016228] systemd-sysv-generator[119]:?????/etc/systemd/system [????3.016235] systemd-sysv-generator[119]:?????/run/systemd/system [????3.016243] systemd-sysv-generator[119]:?????/usr/local/lib/systemd/system [????3.016250] systemd-sysv-generator[119]:?????/lib/systemd/system [????3.016259] systemd-sysv-generator[119]:?????/usr/lib/systemd/system [????3.016285] systemd-sysv-generator[119]: Looking for SysV init scripts in: [????3.016292] systemd-sysv-generator[119]:?????/etc/init.d [????3.016302] systemd-sysv-generator[119]: Looking for SysV rcN.d links in: [????3.016309] systemd-sysv-generator[119]:?????/etc [????3.017000] systemd-fstab-generator[115]: Found entry what=/dev/mmcblk1p1 where=/boot type=vfat [????3.019097] systemd-fstab-generator[115]: Checking was requested for /dev/mmcblk1p1, but fsck.vfat does not exist: No such file or directory [????3.070298] systemd-sysv-ge: 77 output lines suppressed due to ratelimiting [????3.144075] systemd-gpt-auto-generator[120]: Not a GPT partition table, ignoring. [????5.381648] random: crng init done [???13.969940] systemd-cgroups-agent[134]: Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/systemd1/agent interface=org.freedesktop.systemd1.Agent member=Releasea [???13.969961] systemd-cgroups-agent[138]: Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/systemd1/agent interface=org.freedesktop.systemd1.Agent member=Releasea [???13.969966] systemd-cgroups-agent[139]: Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/systemd1/agent interface=org.freedesktop.systemd1.Agent member=Releasea [???13.969970] systemd-cgroups-agent[140]: Sent message type=signal sender=n/a destination=n/a object=/org/freedesktop/systemd1/agent interface=org.freedesktop.systemd1.Agent member=Releasea [???14.099908] systemd[1]: Got disconnect on private connection. [???14.119885] systemd[1]: Got disconnect on private connection. [???14.139889] systemd[1]: Got disconnect on private connection. [???14.159884] systemd[1]: Got disconnect on private connection. [???14.632312] systemd-journald[146]: Fixed max_use=98.5M max_size=12.3M min_size=4.0M keep_free=147.8M [???14.646230] systemd-journald[146]: Reserving 22435 entries in hash table. [???14.649928] systemd[1]: Got notification message for unit systemd-journald.service [???14.661340] systemd-journald[146]: Vacuuming... [???14.664447] systemd-journald[146]: Vacuuming done, freed 0 bytes [???14.669913] systemd[1]: systemd-journald.service: Got notification message from PID 146 (WATCHDOG=1...) [???14.680525] systemd-journald[146]: Flushing /dev/kmsg... [???14.689922] systemd[1]: systemd-journald.service: got WATCHDOG=1 [???14.695361] systemd-journald[146]: Compressed data object 537 -> 288 [???14.709901] systemd[1]: Got notification message for unit systemd-journald.service [???14.729910] systemd[1]: systemd-journald.service: Got notification message from PID 146 (WATCHDOG=1...) [???14.740561] systemd-journald[146]: systemd-journald running as pid 146 [???14.969604] systemd-udevd[151]: starting version 215 [???15.091498] s5p-secss 10830000.sss: s5p-sss driver registered [???15.096251] 12100000.phy supply vbus not found, using dummy regulator [???15.098979] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node [???15.109611] 12100000.phy supply vbus-boost not found, using dummy regulator [???15.113203] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [???15.115802] ehci-exynos: EHCI EXYNOS driver [???15.117544] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [???15.121099] ohci-exynos: OHCI EXYNOS driver [???15.138248] 12130000.phy supply vbus not found, using dummy regulator [???15.140298] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node [???15.152585] 12500000.phy supply vbus not found, using dummy regulator [???15.154586] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node [???15.164901] 12500000.phy supply vbus-boost not found, using dummy regulator [???15.173098] exynos-ohci 12120000.usb: USB Host Controller [???15.174726] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node [???15.187949] exynos-ohci 12120000.usb: new USB bus registered, assigned bus number 1 [???15.195296] exynos-ohci 12120000.usb: irq 89, io mem 0x12120000 [???15.274045] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001 [???15.279360] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [???15.279366] usb usb1: Product: USB Host Controller [???15.279371] usb usb1: Manufacturer: Linux 4.8.0-rc7+ ohci_hcd [???15.279375] usb usb1: SerialNumber: 12120000.usb [???15.280187] hub 1-0:1.0: USB hub found [???15.280246] hub 1-0:1.0: 3 ports detected [???15.281215] exynos-ehci 12110000.usb: EHCI Host Controller [???15.281509] exynos-ehci 12110000.usb: new USB bus registered, assigned bus number 2 [???15.281656] exynos-ehci 12110000.usb: irq 89, io mem 0x12110000 [???15.283280] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node [???15.309929] exynos-ehci 12110000.usb: USB 2.0 started, EHCI 1.00 [???15.310297] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [???15.310302] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [???15.310307] usb usb2: Product: EHCI Host Controller [???15.310312] usb usb2: Manufacturer: Linux 4.8.0-rc7+ ehci_hcd [???15.310317] usb usb2: SerialNumber: 12110000.usb [???15.310928] hub 2-0:1.0: USB hub found [???15.310980] hub 2-0:1.0: 3 ports detected [???15.312172] exynos-dwc3 soc:usb3-0: no suspend clk specified [???15.313613] usb_phy_generic.0.auto supply vcc not found, using dummy regulator [???15.314033] usb_phy_generic.1.auto supply vcc not found, using dummy regulator [???15.315099] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node [???15.315395] exynos-dwc3 soc:usb3-1: no suspend clk specified [???15.317108] usb_phy_generic.2.auto supply vcc not found, using dummy regulator [???15.317436] usb_phy_generic.3.auto supply vcc not found, using dummy regulator [???15.318895] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node [???15.322074] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node [???15.327912] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node [???15.330946] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node [???15.335605] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller [???15.335844] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 3 [???15.336099] xhci-hcd xhci-hcd.4.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00010010 [???15.336149] xhci-hcd xhci-hcd.4.auto: irq 135, io mem 0x12000000 [???15.336489] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002 [???15.336496] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [???15.336501] usb usb3: Product: xHCI Host Controller [???15.336506] usb usb3: Manufacturer: Linux 4.8.0-rc7+ xhci-hcd [???15.336511] usb usb3: SerialNumber: xhci-hcd.4.auto [???15.337095] hub 3-0:1.0: USB hub found [???15.337142] hub 3-0:1.0: 1 port detected [???15.337596] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller [???15.337789] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 4 [???15.337927] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [???15.338159] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003 [???15.338165] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [???15.338169] usb usb4: Product: xHCI Host Controller [???15.338174] usb usb4: Manufacturer: Linux 4.8.0-rc7+ xhci-hcd [???15.338179] usb usb4: SerialNumber: xhci-hcd.4.auto [???15.338847] hub 4-0:1.0: USB hub found [???15.338896] hub 4-0:1.0: 1 port detected [???15.339419] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller [???15.339649] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 5 [???15.339990] xhci-hcd xhci-hcd.5.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00010010 [???15.340036] xhci-hcd xhci-hcd.5.auto: irq 136, io mem 0x12400000 [???15.340103] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node [???15.340329] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002 [???15.340335] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [???15.340340] usb usb5: Product: xHCI Host Controller [???15.340344] usb usb5: Manufacturer: Linux 4.8.0-rc7+ xhci-hcd [???15.340349] usb usb5: SerialNumber: xhci-hcd.5.auto [???15.340918] hub 5-0:1.0: USB hub found [???15.340964] hub 5-0:1.0: 1 port detected [???15.341387] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller [???15.341618] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 6 [???15.341758] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM. [???15.341993] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003 [???15.341998] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [???15.342003] usb usb6: Product: xHCI Host Controller [???15.342008] usb usb6: Manufacturer: Linux 4.8.0-rc7+ xhci-hcd [???15.342012] usb usb6: SerialNumber: xhci-hcd.5.auto [???15.342662] hub 6-0:1.0: USB hub found [???15.342711] hub 6-0:1.0: 1 port detected [???15.343005] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node [???15.346251] [drm:hdmi_probe] *ERROR* Failed to get ddc i2c adapter by node [???16.007600] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null) [???16.139262] FAT-fs (mmcblk1p1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! [???16.162644] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [???16.626154] systemd-journald[146]: Received request to flush runtime journal from PID 1 [???16.633782] systemd-journald[146]: Vacuuming... [???16.637242] systemd-journald[146]: Vacuuming done, freed 0 bytes [???17.640723] RPC: Registered named UNIX socket transport module. [???17.645166] RPC: Registered udp transport module. [???17.651236] RPC: Registered tcp transport module. [???17.654524] RPC: Registered tcp NFSv4.1 backchannel transport module. [???17.672346] FS-Cache: Loaded [???17.693518] FS-Cache: Netfs 'nfs' registered for caching [???17.725088] Installing knfsd (copyright (C) 1996 okir at monad.swb.de). [???19.642578] usb usb5-port1: connect-debounce failed ^ permalink raw reply [flat|nested] 19+ messages in thread
* PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 2016-08-30 5:02 ` Anand Moon 2016-09-20 21:19 ` Michael Niewöhner @ 2016-10-03 13:08 ` Michael Niewöhner 2016-10-04 6:02 ` Vivek Gautam 2 siblings, 0 replies; 19+ messages in thread From: Michael Niewöhner @ 2016-10-03 13:08 UTC (permalink / raw) To: linux-arm-kernel Hi, On Di, 2016-09-20 at 23:12 +0200, Michael Niew?hner wrote: > > > Hi guys, > > > > > > > > > > > > > Hi All > > > ? > > > Adding Vivek Gautam. > > > ? > > > On 29 August 2016 at 16:35, Michael Niew?hner > > <linux@mniewoehner.de> > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > > > ? > > > > > Hi Mathias, > > > > > On Mo, 2016-08-29 at 13:59 +0300, Mathias Nyman wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ? > > > > > > > On 29.08.2016 10:28, Felipe Balbi wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ? > > > > > > > > > ? > > > > > > > > > ? > > > > > > > > > Hi, > > > > > > > > > ? > > > > > > > > > Michael Niew?hner <linux@mniewoehner.de> writes: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ? > > > > > > > > > > > ? > > > > > > > > > > > [1.] One line summary of the problem: > > > > > > > > > > > DWC3 USB 3.0 not working on Odroid-XU4 with > > > > > > Exynos 5422 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ? > > > > > > > > > > > [2.] Full description of the problem/report: > > > > > > > > > > > No usb 3.0 devices are being detected when > > > > > > attached while USB > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 2.0 > > > > > > > > > > > devices work on the same port. > > > > > > > > > > > USB 3.0 works after applying patches [9.1] and > > > > > > [9.2], but > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > seems > > > > > > > > > > > to be > > > > > > > > > > > buggy. The usb hub is redetected every time an > > > > > > usb device is > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > attached. > > > > > > > > > ? > > > > > > > > > dwc3 is host, which means it's actually XHCI :-) > > > > > > > > > ? > > > > > > > > > Adding Mathias > > > > > > > > > ? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ? > > > > > > > > > > > ? > > > > > > > > > > > dmesg: > > > > > > > > > > > [??192.287080] usb 3-1.2: USB disconnect, device > > > > > > number 7 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > [??210.370699] hub 3-1:1.0: hub_ext_port_status > > > > > > failed (err = > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -71) > > > > > > > ? > > > > > > > Looks like the hub GetPortStatus request fails with > > > > protocol > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > error. > > > > > > > ? > > > > > > > Reading xhci root hub port status is mostly just register > > > > reads > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > and > > > > > > > writes. It > > > > > > > shouldn't include any actual transfers that could return > > > > -EPROTO > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ? > > > > > > > So this is not the root hub? but a external or integrated > > > > on your > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > board, right? > > > > > > > ? > > > > > > > The protocol error -71 is returned at transfer errors or > > > > if > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > device > > > > > > > stalled. > > > > > > > ? > > > > > > > Adding more xhci debugging options could show something: > > > > > > > echo -n 'module xhci_hcd =p' > > > > > > > > /sys/kernel/debug/dynamic_debug/control > > > > > > > ? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ? > > > > > > > > > ? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ? > > > > > > > > > > > ? > > > > > > > > > > > [9.] Other notes, patches, fixes, workarounds: > > > > > > > > > > > [9.1] https://lkml.org/lkml/2014/4/28/234 > > > > > > > > > > > [9.2] https://lkml.org/lkml/2015/2/2/259 > > > > > > > ? > > > > > > > The additional patches that makes things somehow work > > > > involve > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > tuning > > > > > > > the PHY, > > > > > > > this is an area I'm not familiar with > > > > > > > ? > > > > > > > -Mathias > > > > > > > ? > > > > > ? > > > > > ? > > > > > I'm sorry, I should have said that this is the dmesg output > > > with > > > > > > > > > > > > > > > > > > > > > > > the > > > > > patches applied. Without them there is no output at all when > > > I > > > > > > > > > > > > > > > > > > > > > > > attach > > > > > an usb 3.0 device. > > > > > ? > > > > > Michael > > > ? > > > There are two dwc3 ports in the SoC : one for Gbit Ethernet > > another > > > > > > > > > one for on-board GL3521 USB 3.0 hub controller. > > > ? > > > 3.10.x kernel > > > odroid at odroid:~$ 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 > > > /:??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=s5p-ehci/3p, > > 480M > > > > > > > > > ? > > > 4.x kernel > > > odroid 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 > > > > > > > > > ?????|__ 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 > > > > > > > > > ?????|__ 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 0, Class=Mass Storage, Driver=usb- > > > storage, 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 > > > > > > > > > ? > > > I fell that Ethernet driver r8152 is not getting registered to > > > xhci-hcd to bus port 06 > > > which lead to other ports to miss configure, some time the > > Ethernet > > > > > > > > > port get register to bus port 04 > > > ? > > > Their is also a possibility that all the port are not getting > > proper > > > > > > > > > power from the S2MPS11 PMIC > > > and possible some reset of the phy is needed to reconfigure the > > > exynos > > > USB HSIC controller. > > > ? > > > Best Regards > > > -Anand Moon > > > -- > > > 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 > ? > ? > today I've tested v4.8-rc7 (without the patches above). The USB 3.0 > ports have stopped working completely for me. Neither USB 2.0 nor USB > 3.0 are being detected. The Ethernet port does not work, too. The > USB-2.0-only Port works. > ? > There are some failures in the dmesg log: > ... > [???15.096251] 12100000.phy supply vbus not found, using dummy > regulator > ... > [???19.642578] usb usb5-port1: connect-debounce failed > ? > ? > dmesg: looks like I forgot to append the dmesg in my last mail. Sorry about that. The problem is also present in v4.8. Let me know if you need more information. Michael dmesg v4.8 without any additional patches: [????0.000000] Booting Linux on physical CPU 0x100 [????0.000000] Linux version 4.8.0 (c0d3 at z3r0) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #3 SMP Mon Oct 3 14:11:40 CEST 2016 [????0.000000] CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7), cr=10c5387d [????0.000000] CPU: div instructions available: patching division code [????0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [????0.000000] OF: fdt:Machine model: Hardkernel Odroid XU4 [????0.000000] Reserved memory: created DMA memory pool at 0xbe200000, size 8 MiB [????0.000000] OF: reserved mem: initialized node region_mfc_right, compatible id shared-dma-pool [????0.000000] Reserved memory: created DMA memory pool at 0xbd200000, size 16 MiB [????0.000000] OF: reserved mem: initialized node region_mfc_left, compatible id shared-dma-pool [????0.000000] Memory policy: Data cache writealloc [????0.000000] Samsung CPU ID: 0xe5422001 [????0.000000] On node 0 totalpages: 512512 [????0.000000] free_area_init_node: node 0, pgdat c0c81840, node_mem_map eee52000 [????0.000000]???Normal zone: 1728 pages used for memmap [????0.000000]???Normal zone: 0 pages reserved [????0.000000]???Normal zone: 196608 pages, LIFO batch:31 [????0.000000]???HighMem zone: 315904 pages, LIFO batch:31 [????0.000000] Running under secure firmware. [????0.000000] percpu: Embedded 15 pages/cpu @eeda1000 s30272 r8192 d22976 u61440 [????0.000000] pcpu-alloc: s30272 r8192 d22976 u61440 alloc=15*4096 [????0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7? [????0.000000] Built 1 zonelists in Zone order, mobility grouping on.??Total pages: 510784 [????0.000000] Kernel command line: console=ttySAC2,115200n8 root=/dev/mmcblk1p2 rootfstype=ext4 rootwait earlyprintk debug [????0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [????0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [????0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [????0.000000] Memory: 2018124K/2050048K available (7168K kernel code, 618K rwdata, 2064K rodata, 1024K init, 375K bss, 31924K reserved, 0K cma-reserved, 1263616K highmem) [????0.000000] Virtual kernel memory layout: ????vector??: 0xffff0000 - 0xffff1000???(???4 kB) ????fixmap??: 0xffc00000 - 0xfff00000???(3072 kB) ????vmalloc : 0xf0800000 - 0xff800000???( 240 MB) ????lowmem??: 0xc0000000 - 0xf0000000???( 768 MB) ????pkmap???: 0xbfe00000 - 0xc0000000???(???2 MB) ????modules : 0xbf000000 - 0xbfe00000???(??14 MB) ??????.text : 0xc0008000 - 0xc0800000???(8160 kB) ??????.init : 0xc0b00000 - 0xc0c00000???(1024 kB) ??????.data : 0xc0c00000 - 0xc0c9aafc???( 619 kB) ???????.bss : 0xc0c9c000 - 0xc0cf9d04???( 376 kB) [????0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1 [????0.000000] Hierarchical RCU implementation. [????0.000000]??Build-time adjustment of leaf fanout to 32. [????0.000000]??RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=8. [????0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=8 [????0.000000] NR_IRQS:16 nr_irqs:16 16 [????0.000000] Switching to timer-based delay loop, resolution 41ns [????0.000000] clocksource: mct-frc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [????0.000007] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [????0.001695] Console: colour dummy device 80x30 [????0.001738] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [????0.001758] pid_max: default: 32768 minimum: 301 [????0.001911] Security Framework initialized [????0.001928] Yama: becoming mindful. [????0.001960] AppArmor: AppArmor disabled by boot time parameter [????0.002017] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [????0.002033] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [????0.003077] CPU: Testing write buffer coherency: ok [????0.003125] ftrace: allocating 25558 entries in 75 pages [????0.058307] CPU0: update cpu_capacity 448 [????0.058329] CPU0: thread -1, cpu 0, socket 1, mpidr 80000100 [????0.058499] Setting up static identity map for 0x40100000 - 0x40100058 [????0.059140] ARM CCI driver probed [????0.059353] Exynos MCPM support installed [????0.063820] CPU1: update cpu_capacity 448 [????0.063828] CPU1: thread -1, cpu 1, socket 1, mpidr 80000101 [????0.064893] CPU2: update cpu_capacity 448 [????0.064901] CPU2: thread -1, cpu 2, socket 1, mpidr 80000102 [????0.065969] CPU3: update cpu_capacity 448 [????0.065977] CPU3: thread -1, cpu 3, socket 1, mpidr 80000103 [????0.066934] CPU4: update cpu_capacity 1535 [????0.066942] CPU4: thread -1, cpu 0, socket 0, mpidr 80000000 [????0.067971] CPU5: update cpu_capacity 1535 [????0.067978] CPU5: thread -1, cpu 1, socket 0, mpidr 80000001 [????0.068967] CPU6: update cpu_capacity 1535 [????0.068974] CPU6: thread -1, cpu 2, socket 0, mpidr 80000002 [????0.069977] CPU7: update cpu_capacity 1535 [????0.069984] CPU7: thread -1, cpu 3, socket 0, mpidr 80000003 [????0.070124] Brought up 8 CPUs [????0.070187] SMP: Total of 8 processors activated (384.00 BogoMIPS). [????0.070198] CPU: WARNING: CPU(s) started in wrong/inconsistent modes (primary CPU mode 0x1a) [????0.070207] CPU: This may indicate a broken bootloader or firmware. [????0.072308] devtmpfs: initialized [????0.097643] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 3 [????0.098142] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [????0.098457] pinctrl core: initialized pinctrl subsystem [????0.101390] NET: Registered protocol family 16 [????0.102209] DMA: preallocated 256 KiB pool for atomic coherent allocations [????0.149996] cpuidle: using governor ladder [????0.189985] cpuidle: using governor menu [????0.198708] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [????0.198724] hw-breakpoint: maximum watchpoint size is 8 bytes. [????0.199088] Serial: AMBA PL011 UART driver [????0.208742] iommu: Adding device 11000000.codec to group 0 [????0.244099] iommu: Adding device 14450000.mixer to group 1 [????0.244643] iommu: Adding device 11c00000.rotator to group 2 [????0.254076] iommu: Adding device 13e00000.video-scaler to group 3 [????0.254594] iommu: Adding device 13e10000.video-scaler to group 4 [????0.255107] iommu: Adding device 11f50000.jpeg to group 5 [????0.255613] iommu: Adding device 11f60000.jpeg to group 6 [????0.256003] EXYNOS5420 PMU initialized [????0.312565] SCSI subsystem initialized [????0.312938] usbcore: registered new interface driver usbfs [????0.313031] usbcore: registered new interface driver hub [????0.313226] usbcore: registered new device driver usb [????0.314692] s3c-i2c 12c80000.i2c: slave address 0x00 [????0.314712] s3c-i2c 12c80000.i2c: bus frequency set to 65 KHz [????0.315240] s3c-i2c 12c80000.i2c: i2c-2: S3C I2C adapter [????0.315709] media: Linux media interface: v0.10 [????0.315777] Linux video capture interface: v2.00 [????0.315874] pps_core: LinuxPPS API ver. 1 registered [????0.315885] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [????0.315914] PTP clock support registered [????0.317980] clocksource: Switched to clocksource mct-frc [????0.385905] VFS: Disk quotas dquot_6.6.0 [????0.385987] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [????0.405341] NET: Registered protocol family 2 [????0.406054] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [????0.406137] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [????0.406295] TCP: Hash tables configured (established 8192 bind 8192) [????0.406360] UDP hash table entries: 512 (order: 2, 16384 bytes) [????0.406402] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [????0.406639] NET: Registered protocol family 1 [????0.410133] futex hash table entries: 2048 (order: 5, 131072 bytes) [????0.410271] audit: initializing netlink subsys (disabled) [????0.410335] audit: type=2000 audit(0.380:1): initialized [????0.411455] workingset: timestamp_bits=14 max_order=19 bucket_order=5 [????0.422219] zbud: loaded [????0.428206] Key type asymmetric registered [????0.428281] bounce: pool size: 64 pages [????0.428544] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [????0.428787] io scheduler noop registered [????0.428801] io scheduler deadline registered (default) [????0.429058] io scheduler cfq registered [????0.439042] dma-pl330 121a0000.pdma: Loaded driver for PL330 DMAC- 241330 [????0.439060] dma-pl330 121a0000.pdma:?????????DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32 [????0.443549] dma-pl330 121b0000.pdma: Loaded driver for PL330 DMAC- 241330 [????0.443568] dma-pl330 121b0000.pdma:?????????DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32 [????0.444825] dma-pl330 10800000.mdma: Loaded driver for PL330 DMAC- 241330 [????0.444842] dma-pl330 10800000.mdma:?????????DBUFF-64x8bytes Num_Chans-8 Num_Peri-1 Num_Events-32 [????0.446009] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [????0.448993] Serial: AMBA driver [????0.449384] 12c00000.serial: ttySAC0 at MMIO 0x12c00000 (irq = 76, base_baud = 0) is a S3C6400/10 [????0.449890] 12c10000.serial: ttySAC1 at MMIO 0x12c10000 (irq = 77, base_baud = 0) is a S3C6400/10 [????0.450386] 12c20000.serial: ttySAC2 at MMIO 0x12c20000 (irq = 78, base_baud = 0) is a S3C6400/10 [????1.007347] random: fast init done [????1.291220] console [ttySAC2] enabled [????1.295362] 12c30000.serial: ttySAC3 at MMIO 0x12c30000 (irq = 79, base_baud = 0) is a S3C6400/10 [????1.304951] [drm] Initialized drm 1.1.0 20060810 [????1.311440] exynos-hdmi 14530000.hdmi: Failed to get supply 'vdd': -517 [????1.318159] exynos-rot 11c00000.rotator: The exynos rotator is probed successfully [????1.324687] exynos-drm-gsc 13e00000.video-scaler: failed to get system register. [????1.331876] exynos-drm-gsc 13e00000.video-scaler: drm gsc registered successfully. [????1.339273] exynos-drm-gsc 13e10000.video-scaler: failed to get system register. [????1.346771] exynos-drm-gsc 13e10000.video-scaler: drm gsc registered successfully. [????1.354919] exynos-drm-ipp exynos-drm-ipp: drm ipp registered successfully. [????1.367209] libphy: Fixed MDIO Bus: probed [????1.370337] usbcore: registered new interface driver usb-storage [????1.376279] mousedev: PS/2 mouse device common for all mice [????1.400256] vdd_ldo9: Bringing 3300000uV into 3000000-3000000uV [????1.413855] vddq_mmc2: Bringing 3300000uV into 2800000-2800000uV [????1.423183] vdd_ldo15: Bringing 3300000uV into 3100000-3100000uV [????1.436801] vdd_sd: Bringing 3300000uV into 2800000-2800000uV [????1.499343] s5m-rtc s2mps14-rtc: rtc core: registered s5m-rtc as rtc0 [????1.512014] exynos-tmu 10060000.tmu: More trip points than supported by this TMU. [????1.518056] exynos-tmu 10060000.tmu: 2 trip points should be configured in polling mode. [????1.543169] sdhci: Secure Digital Host Controller Interface driver [????1.547861] sdhci: Copyright(c) Pierre Ossman [????1.552447] Synopsys Designware Multimedia Card Interface Driver [????1.558827] dwmmc_exynos 12200000.mmc: IDMAC supports 32-bit address mode. [????1.565036] dwmmc_exynos 12200000.mmc: Using internal DMA controller. [????1.571462] dwmmc_exynos 12200000.mmc: Version ID is 250a [????1.576835] dwmmc_exynos 12200000.mmc: DW MMC controller at irq 91,64 bit host data width,64 deep fifo [????1.586254] dwmmc_exynos 12200000.mmc: Got CD GPIO [????1.590920] dwmmc_exynos 12200000.mmc: allocated mmc-pwrseq [????1.628648] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63) [????1.658185] dwmmc_exynos 12200000.mmc: 1 slots initialized [????1.662422] dwmmc_exynos 12220000.mmc: IDMAC supports 32-bit address mode. [????1.669071] dwmmc_exynos 12220000.mmc: Using internal DMA controller. [????1.675448] dwmmc_exynos 12220000.mmc: Version ID is 250a [????1.680869] dwmmc_exynos 12220000.mmc: DW MMC controller at irq 92,64 bit host data width,64 deep fifo [????1.718450] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63) [????1.748015] dwmmc_exynos 12220000.mmc: 1 slots initialized [????1.752198] sdhci-pltfm: SDHCI platform and OF driver helper [????1.758808] ledtrig-cpu: registered to indicate activity on CPUs [????1.763667] hidraw: raw HID events driver (C) Jiri Kosina [????1.769408] usbcore: registered new interface driver usbhid [????1.774539] usbhid: USB HID core driver [????1.779758] exynos-audss-clk 3810000.audss-clock-controller: setup completed [????1.797575] exynos-nocp: new NoC Probe device registered: 10ca1000.nocp [????1.802874] exynos-nocp: new NoC Probe device registered: 10ca1400.nocp [????1.807126] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0) [????1.807273] mmc1: new high speed SDHC card at address 59b4 [????1.807917] mmcblk1: mmc1:59b4 USDU1 14.7 GiB? [????1.808982]??mmcblk1: p1 p2 [????1.831801] exynos-nocp: new NoC Probe device registered: 10ca1800.nocp [????1.838398] exynos-nocp: new NoC Probe device registered: 10ca1c00.nocp [????1.846409] NET: Registered protocol family 10 [????1.850110] mip6: Mobile IPv6 [????1.852315] NET: Registered protocol family 17 [????1.856737] mpls_gso: MPLS GSO support [????1.860858] ThumbEE CPU extension supported. [????1.864710] Registering SWP/SWPB emulation handler [????1.870156] registered taskstats version 1 [????1.873593] zswap: loaded using pool lzo/zbud [????1.882872] [drm] Exynos DRM: using 14450000.mixer device for DMA mapping operations [????1.889454] exynos-drm exynos-drm: bound 14450000.mixer (ops 0xc086e904) [????1.896004] exynos-drm exynos-drm: bound 14530000.hdmi (ops 0xc086ead4) [????1.902413] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [????1.908997] [drm] No driver support for vblank timestamp query. [????1.914979] [drm] Initialized exynos 1.0.0 20110530 on minor 0 [????1.921516] s3c-rtc 101e0000.rtc: rtc disabled, re-enabling [????1.926279] s3c-rtc 101e0000.rtc: warning: invalid RTC value so initializing it [????1.933578] rtc rtc1: invalid alarm value: 1900-1-2 0:0:0 [????1.939095] s3c-rtc 101e0000.rtc: rtc core: registered s3c as rtc1 [????1.946585] exynos-bus: new bus device registered: soc:bus_wcore ( 84000 KHz ~ 400000 KHz) [????1.954159] exynos-bus: new bus device registered: soc:bus_noc ( 67000 KHz ~ 100000 KHz) [????1.962043] exynos-bus: new bus device registered: soc:bus_fsys_apb (100000 KHz ~ 200000 KHz) [????1.970370] exynos-bus: new bus device registered: soc:bus_fsys (100000 KHz ~ 200000 KHz) [????1.978708] exynos-bus: new bus device registered: soc:bus_fsys2 ( 75000 KHz ~ 150000 KHz) [????1.987052] exynos-bus: new bus device registered: soc:bus_mfc ( 96000 KHz ~ 333000 KHz) [????1.995093] exynos-bus: new bus device registered: soc:bus_gen ( 89000 KHz ~ 267000 KHz) [????2.003458] exynos-bus: new bus device registered: soc:bus_peri ( 67000 KHz ~??67000 KHz) [????2.011853] devfreq soc:bus_wcore: Couldn't update frequency transition information. [????2.012120] exynos-bus: new bus device registered: soc:bus_g2d ( 84000 KHz ~ 333000 KHz) [????2.012845] exynos-bus: new bus device registered: soc:bus_g2d_acp ( 67000 KHz ~ 267000 KHz) [????2.013561] exynos-bus: new bus device registered: soc:bus_jpeg ( 75000 KHz ~ 300000 KHz) [????2.014273] exynos-bus: new bus device registered: soc:bus_jpeg_apb ( 84000 KHz ~ 167000 KHz) [????2.014866] exynos-bus: new bus device registered: soc:bus_disp1_fimd (120000 KHz ~ 200000 KHz) [????2.015523] exynos-bus: new bus device registered: soc:bus_disp1 (120000 KHz ~ 300000 KHz) [????2.016166] exynos-bus: new bus device registered: soc:bus_gscl_scaler (150000 KHz ~ 300000 KHz) [????2.016941] exynos-bus: new bus device registered: soc:bus_mscl ( 84000 KHz ~ 400000 KHz) [????2.019383] Power domain power-domain at 10044120 disable failed [????2.026352] s5m-rtc s2mps14-rtc: setting system clock to 2000-01-01 00:00:04 UTC (946684804) [????2.044135] PM: Hibernation image not present or could not be loaded. [????2.113332] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null) [????2.120019] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [????2.127364] Freeing unused kernel memory: 1024K (c0b00000 - c0c00000) [????2.359928] systemd[1]: Mounting cgroup to /sys/fs/cgroup/cpuset of type cgroup with options cpuset. [????2.419442] systemd[1]: Mounting cgroup to /sys/fs/cgroup/cpu,cpuacct of type cgroup with options cpu,cpuacct. [????2.428599] systemd[1]: Mounting cgroup to /sys/fs/cgroup/blkio of type cgroup with options blkio. [????2.438504] systemd[1]: Mounting cgroup to /sys/fs/cgroup/memory of type cgroup with options memory. [????2.452714] systemd[1]: Mounting cgroup to /sys/fs/cgroup/devices of type cgroup with options devices. [????2.461081] systemd[1]: Mounting cgroup to /sys/fs/cgroup/freezer of type cgroup with options freezer. [????2.470341] systemd[1]: Mounting cgroup to /sys/fs/cgroup/net_cls,net_prio of type cgroup with options net_cls,net_prio. [????2.481222] systemd[1]: Mounting cgroup to /sys/fs/cgroup/perf_event of type cgroup with options perf_event. [????2.491343] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR) [????2.503894] systemd[1]: Detected architecture 'arm'. [????2.733937] systemd-getty-generator[111]: Automatically adding serial getty for /dev/ttySAC2. [????2.738699] systemd-fstab-generator[112]: Parsing /etc/fstab [????2.744149] systemd-rc-local-generator[120]: Automatically adding rc-local.service. [????2.745372] systemd-default-display-manager-generator[114]: No /etc/X11/default-display-manager file, nothing to generate [????2.746322] systemd-fstab-generator[112]: Found entry what=/dev/mmcblk1p2 where=/ type=ext4 [????2.813116] systemd-gpt-auto-generator[117]: Root device /dev/mmcblk1. [????2.813603] systemd-sysv-generator[116]: Looking for unit files in (higher priority first): [????2.813612] systemd-sysv-generator[116]:?????/etc/systemd/system [????2.813620] systemd-sysv-generator[116]:?????/run/systemd/system [????2.813628] systemd-sysv- generator[116]:?????/usr/local/lib/systemd/system [????2.813635] systemd-sysv-generator[116]:?????/lib/systemd/system [????2.813642] systemd-sysv-generator[116]:?????/usr/lib/systemd/system [????2.813681] systemd-sysv-generator[116]: Looking for SysV init scripts in: [????2.813689] systemd-sysv-generator[116]:?????/etc/init.d [????2.813699] systemd-sysv-generator[116]: Looking for SysV rcN.d links in: [????2.813706] systemd-sysv-generator[116]:?????/etc [????2.815816] systemd-fstab-generator[112]: Found entry what=/dev/mmcblk1p1 where=/boot type=vfat [????2.819599] systemd-fstab-generator[112]: Checking was requested for /dev/mmcblk1p1, but fsck.vfat does not exist: No such file or directory [????2.874868] systemd-sysv-ge: 77 output lines suppressed due to ratelimiting [????2.959658] systemd-gpt-auto-generator[117]: Not a GPT partition table, ignoring. [????3.832303] systemd-journald[135]: Fixed max_use=98.5M max_size=12.3M min_size=4.0M keep_free=147.8M [????3.845615] systemd-journald[135]: Reserving 22435 entries in hash table. [????3.852075] systemd-journald[135]: Vacuuming... [????3.855454] systemd-journald[135]: Vacuuming done, freed 0 bytes [????3.861956] systemd-journald[135]: Flushing /dev/kmsg... [????3.871445] systemd-journald[135]: Compressed data object 537 -> 288 [????3.899706] systemd-journald[135]: systemd-journald running as pid 135 [????4.454812] systemd-udevd[147]: starting version 215 [????4.611192] s5p-secss 10830000.sss: s5p-sss driver registered [????4.626630] 12100000.phy supply vbus not found, using dummy regulator [????4.631925] 12100000.phy supply vbus-boost not found, using dummy regulator [????4.633739] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [????4.638239] ehci-exynos: EHCI EXYNOS driver [????4.642228] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [????4.646782] ohci-exynos: OHCI EXYNOS driver [????4.660779] 12130000.phy supply vbus not found, using dummy regulator [????4.669297] exynos-ohci 12120000.usb: USB Host Controller [????4.669734] exynos-ehci 12110000.usb: EHCI Host Controller [????4.670063] exynos-ehci 12110000.usb: new USB bus registered, assigned bus number 1 [????4.670250] exynos-ehci 12110000.usb: irq 89, io mem 0x12110000 [????4.693595] exynos-ohci 12120000.usb: new USB bus registered, assigned bus number 2 [????4.698079] exynos-ehci 12110000.usb: USB 2.0 started, EHCI 1.00 [????4.698464] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [????4.698472] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [????4.698481] usb usb1: Product: EHCI Host Controller [????4.698489] usb usb1: Manufacturer: Linux 4.8.0 ehci_hcd [????4.698496] usb usb1: SerialNumber: 12110000.usb [????4.699299] hub 1-0:1.0: USB hub found [????4.699350] hub 1-0:1.0: 3 ports detected [????4.742843] exynos-ohci 12120000.usb: irq 89, io mem 0x12120000 [????4.822232] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001 [????4.827543] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [????4.834815] usb usb2: Product: USB Host Controller [????4.839569] usb usb2: Manufacturer: Linux 4.8.0 ohci_hcd [????4.839580] usb usb2: SerialNumber: 12120000.usb [????4.840406] hub 2-0:1.0: USB hub found [????4.840468] hub 2-0:1.0: 3 ports detected [????4.841589] 12500000.phy supply vbus not found, using dummy regulator [????4.841673] 12500000.phy supply vbus-boost not found, using dummy regulator [????4.842135] exynos-dwc3 soc:usb3-0: no suspend clk specified [????4.843822] usb_phy_generic.0.auto supply vcc not found, using dummy regulator [????4.844425] usb_phy_generic.1.auto supply vcc not found, using dummy regulator [????4.845346] exynos-dwc3 soc:usb3-1: no suspend clk specified [????4.848262] usb_phy_generic.2.auto supply vcc not found, using dummy regulator [????4.848573] usb_phy_generic.3.auto supply vcc not found, using dummy regulator [????4.873852] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller [????4.874040] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 3 [????4.874254] xhci-hcd xhci-hcd.4.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00010010 [????4.874296] xhci-hcd xhci-hcd.4.auto: irq 135, io mem 0x12000000 [????4.874566] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002 [????4.874571] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [????4.874575] usb usb3: Product: xHCI Host Controller [????4.874579] usb usb3: Manufacturer: Linux 4.8.0 xhci-hcd [????4.874583] usb usb3: SerialNumber: xhci-hcd.4.auto [????4.875065] hub 3-0:1.0: USB hub found [????4.875105] hub 3-0:1.0: 1 port detected [????4.875475] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller [????4.875623] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 4 [????4.875743] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [????4.875926] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003 [????4.875930] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [????4.875934] usb usb4: Product: xHCI Host Controller [????4.875938] usb usb4: Manufacturer: Linux 4.8.0 xhci-hcd [????4.875942] usb usb4: SerialNumber: xhci-hcd.4.auto [????4.876431] hub 4-0:1.0: USB hub found [????4.876471] hub 4-0:1.0: 1 port detected [????4.876897] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller [????4.877063] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 5 [????4.877266] xhci-hcd xhci-hcd.5.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00010010 [????4.877299] xhci-hcd xhci-hcd.5.auto: irq 136, io mem 0x12400000 [????4.877525] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002 [????4.877530] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [????4.877534] usb usb5: Product: xHCI Host Controller [????4.877538] usb usb5: Manufacturer: Linux 4.8.0 xhci-hcd [????4.877541] usb usb5: SerialNumber: xhci-hcd.5.auto [????4.878099] hub 5-0:1.0: USB hub found [????4.878138] hub 5-0:1.0: 1 port detected [????4.878494] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller [????4.878654] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 6 [????4.878769] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM. [????4.878947] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003 [????4.878952] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [????4.878955] usb usb6: Product: xHCI Host Controller [????4.878959] usb usb6: Manufacturer: Linux 4.8.0 xhci-hcd [????4.878963] usb usb6: SerialNumber: xhci-hcd.5.auto [????4.879480] hub 6-0:1.0: USB hub found [????4.879520] hub 6-0:1.0: 1 port detected [????5.304287] dma-pl330 3880000.adma: Loaded driver for PL330 DMAC- 241330 [????5.309497] dma-pl330 3880000.adma:??DBUFF-4x8bytes Num_Chans-6 Num_Peri-16 Num_Events-6 [????5.459652] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null) [????5.673544] FAT-fs (mmcblk1p1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! [????5.701124] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [????6.087658] systemd-journald[135]: Received request to flush runtime journal from PID 1 [????6.095519] systemd-journald[135]: Vacuuming... [????6.100071] systemd-journald[135]: Vacuuming done, freed 0 bytes [????7.335312] RPC: Registered named UNIX socket transport module. [????7.339802] RPC: Registered udp transport module. [????7.344429] RPC: Registered tcp transport module. [????7.349165] RPC: Registered tcp NFSv4.1 backchannel transport module. [????7.370961] FS-Cache: Loaded [????7.406152] FS-Cache: Netfs 'nfs' registered for caching [????7.453960] Installing knfsd (copyright (C) 1996 okir at monad.swb.de). [????8.160157] random: crng init done [????9.170682] usb usb5-port1: connect-debounce failed [????9.170698] usb usb3-port1: connect-debounce failed ^ permalink raw reply [flat|nested] 19+ messages in thread
* PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 2016-08-30 5:02 ` Anand Moon 2016-09-20 21:19 ` Michael Niewöhner 2016-10-03 13:08 ` Michael Niewöhner @ 2016-10-04 6:02 ` Vivek Gautam [not found] ` <1475578687.1912.28.camel@mniewoehner.de> 2 siblings, 1 reply; 19+ messages in thread From: Vivek Gautam @ 2016-10-04 6:02 UTC (permalink / raw) To: linux-arm-kernel Hi Michael, On Tue, Aug 30, 2016 at 10:32 AM, Anand Moon <linux.amoon@gmail.com> wrote: > Hi All > > Adding Vivek Gautam. Sorry for missing out this conversation. I am no longer part of Samsung. > > On 29 August 2016 at 16:35, Michael Niew?hner <linux@mniewoehner.de> wrote: >> Hi Mathias, >> On Mo, 2016-08-29 at 13:59 +0300, Mathias Nyman wrote: >>> On 29.08.2016 10:28, Felipe Balbi wrote: >>> > >>> > >>> > Hi, >>> > >>> > Michael Niew?hner <linux@mniewoehner.de> writes: >>> > > >>> > > [1.] One line summary of the problem: >>> > > DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 >>> > > >>> > > [2.] Full description of the problem/report: >>> > > No usb 3.0 devices are being detected when attached while USB 2.0 >>> > > devices work on the same port. >>> > > USB 3.0 works after applying patches [9.1] and [9.2], but seems >>> > > to be >>> > > buggy. The usb hub is redetected every time an usb device is >>> > > attached. [snip] >>> > >>> > > >>> > > [9.] Other notes, patches, fixes, workarounds: >>> > > [9.1] https://lkml.org/lkml/2014/4/28/234 >>> > > [9.2] https://lkml.org/lkml/2015/2/2/259 These patches are required to get USB super-speed working on Exynos5420/5800. But they did not make to upstream. There was resistance on adding new phy_calibrate() callback. Without these patches the Exynos5420/5800 will enumerate all super-speed capable devices as high-speed devices. Last time we checked with exynos542x smdk boards and peach-* boards, we could get the Super - speed devices working. I have not tested odroid anytime so don't have much idea about the its intricacies. I guess Anand was able to use these patches to get his kernel working in past. When you have a downstream on-board usb hub, ideally it should be able to detect the devices and not reset everytime you connect a new device (like you mentioned earlier). There can be two possible reasons why the hub keeps getting reset ever after applying the above mentioned patches: 1) the clock rates are not proper. 2) the regulator load setting is not enough to drive the hub. Anand, can you please point Michael to an older kernel with which you could test usb on odroid successfully ? You can compare the clocks with an older version and see if there'a any difference. Any possibility of any other framework (such as, bus-freq) trimming down the clock - rates ? [snip] > > There are two dwc3 ports in the SoC : one for Gbit Ethernet another > one for on-board GL3521 USB 3.0 hub controller. > > 3.10.x kernel > odroid at odroid:~$ 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 > /: 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=s5p-ehci/3p, 480M > > 4.x kernel > odroid 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 > |__ 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 > |__ 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 0, Class=Mass Storage, Driver=usb-storage, 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 [snip] Michael, please paste the output of lsusb -t and/or lsusb -v as well. Best regards Vivek -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project ^ permalink raw reply [flat|nested] 19+ messages in thread
[parent not found: <1475578687.1912.28.camel@mniewoehner.de>]
* PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 [not found] ` <1475578687.1912.28.camel@mniewoehner.de> @ 2016-10-04 12:02 ` Vivek Gautam 2016-10-04 15:09 ` Anand Moon 2016-10-06 16:29 ` Michael Niewöhner 0 siblings, 2 replies; 19+ messages in thread From: Vivek Gautam @ 2016-10-04 12:02 UTC (permalink / raw) To: linux-arm-kernel Hi Michael, On Tue, Oct 4, 2016 at 4:28 PM, Michael Niew?hner <linux@mniewoehner.de> wrote: > > > > > > [1.] One line summary of the problem: > > > > > > DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 > > > > > > > > > > > > [2.] Full description of the problem/report: > > > > > > No usb 3.0 devices are being detected when attached while USB 2.0 > > > > > > devices work on the same port. > > > > > > USB 3.0 works after applying patches [9.1] and [9.2], but seems > > > > > > to be > > > > > > buggy. The usb hub is redetected every time an usb device is > > > > > > attached. [snip] >> > > > > > [9.] Other notes, patches, fixes, workarounds: >> > > > > > [9.1] https://lkml.org/lkml/2014/4/28/234 >> > > > > > [9.2] https://lkml.org/lkml/2015/2/2/259 >> >> These patches are required to get USB super-speed working on Exynos5420/5800. >> But they did not make to upstream. There was resistance on adding new >> phy_calibrate() >> callback. >> >> Without these patches the Exynos5420/5800 will enumerate all >> super-speed capable devices >> as high-speed devices. >> Last time we checked with exynos542x smdk boards and peach-* boards, >> we could get the >> Super - speed devices working. I have not tested odroid anytime so >> don't have much idea about the >> its intricacies. >> I guess Anand was able to use these patches to get his kernel working in past. > > > The patches don't work anymore with 4.8-rc* / 4.8. They worked - but very > unstable - with 4.7. > > One more problem appeared since one of the 4.8-RCs: reboot hangs when the dwc3 > module is loaded. If I unload it before reboot / shutdown everything is fine. > > >> >> When you have a downstream on-board usb hub, ideally it should be able >> to detect the devices >> and not reset everytime you connect a new device (like you mentioned earlier). >> There can be two possible reasons why the hub keeps getting reset ever >> after applying the above >> mentioned patches: >> 1) the clock rates are not proper. >> 2) the regulator load setting is not enough to drive the hub. >> >> Anand, can you please point Michael to an older kernel with which you >> could test usb on odroid successfully ? >> You can compare the clocks with an older version and see if there'a >> any difference. >> >> Any possibility of any other framework (such as, bus-freq) trimming >> down the clock - rates ? > > > ################################ > # v4.7.5 > ################################ > > $ cat /sys/kernel/debug/clk/clk_summary | grep usb > sclk_usbh20_scan_clk 0 0 480000000 0 > sclk_usbh20 0 0 48000 > 000 0 > mout_usbd300 1 1 24000000 0 > dout_usbd300 0 0 24000000 0 > sclk_usbd300 > 0 0 24000000 0 > dout_usbphy300 1 1 24000000 0 > sclk_usbphy300 4 4 24000 > 000 0 > mout_usbd301 1 1 24000000 0 > dout_usbd301 0 0 24000000 0 > sclk_usbd301 > 0 0 24000000 0 > dout_usbphy301 1 1 24000000 0 > sclk_usbphy301 3 3 24000 > 000 0 > usbd301 1 1 100000000 > usbd300 1 1 100000000 > > usbh20 3 3 100000000 0 > > ################################ > # v4.8.0 > ################################ > > $ cat /sys/kernel/debug/clk/clk_summary | grep usb > sclk_usbh20_scan_clk 0 0 480000000 0 > sclk_usbh20 0 0 48000000 > 0 > mout_usbd300 1 1 24000000 0 > dout_usbd300 0 0 24000000 0 > sclk_usbd300 > 0 0 24000000 0 > dout_usbphy300 1 1 24000000 0 > sclk_usbphy300 4 4 24000000 > 0 > mout_usbd301 1 1 24000000 0 > dout_usbd301 0 0 24000000 0 > sclk_usbd301 > 0 0 24000000 0 > dout_usbphy301 1 1 24000000 0 > sclk_usbphy301 3 3 24000000 > 0 > usbd301 1 1 100000000 This clock should have been 200MHz. > usbd300 1 1 100000000 > usbh2 > 0 3 3 100000000 0 > > $ cat /sys/kernel/debug/usb/devices > <<system hangs>> > The clocks are same across working/non-working. Is it possible to bisect the commit that's causing hang for 4.8x ? Adding few of the folks from Samsung who can test dwc3 usb on smdk/peach boards. +Alim, Pankaj Hi Alim, Pankaj, can you please give a try with 4.8 kernel on peach/smdk542x board and see if dwc3 usb works or not. You may need to the patches mentioned in [9.1] and [9.2] mentioned above. [snip] Thanks Vivek -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project ^ permalink raw reply [flat|nested] 19+ messages in thread
* PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 2016-10-04 12:02 ` Vivek Gautam @ 2016-10-04 15:09 ` Anand Moon 2016-10-05 4:45 ` Vivek Gautam 2016-10-06 16:29 ` Michael Niewöhner 1 sibling, 1 reply; 19+ messages in thread From: Anand Moon @ 2016-10-04 15:09 UTC (permalink / raw) To: linux-arm-kernel Hi Vivek, On 4 October 2016 at 17:32, Vivek Gautam <vivek.gautam@codeaurora.org> wrote: > Hi Michael, > > > On Tue, Oct 4, 2016 at 4:28 PM, Michael Niew?hner <linux@mniewoehner.de> wrote: > >> > > > > > [1.] One line summary of the problem: >> > > > > > DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 >> > > > > > >> > > > > > [2.] Full description of the problem/report: >> > > > > > No usb 3.0 devices are being detected when attached while USB 2.0 >> > > > > > devices work on the same port. >> > > > > > USB 3.0 works after applying patches [9.1] and [9.2], but seems >> > > > > > to be >> > > > > > buggy. The usb hub is redetected every time an usb device is >> > > > > > attached. > > [snip] > >>> > > > > > [9.] Other notes, patches, fixes, workarounds: >>> > > > > > [9.1] https://lkml.org/lkml/2014/4/28/234 >>> > > > > > [9.2] https://lkml.org/lkml/2015/2/2/259 >>> >>> These patches are required to get USB super-speed working on Exynos5420/5800. >>> But they did not make to upstream. There was resistance on adding new >>> phy_calibrate() >>> callback. >>> >>> Without these patches the Exynos5420/5800 will enumerate all >>> super-speed capable devices >>> as high-speed devices. >>> Last time we checked with exynos542x smdk boards and peach-* boards, >>> we could get the >>> Super - speed devices working. I have not tested odroid anytime so >>> don't have much idea about the >>> its intricacies. >>> I guess Anand was able to use these patches to get his kernel working in past. >> >> >> The patches don't work anymore with 4.8-rc* / 4.8. They worked - but very >> unstable - with 4.7. >> >> One more problem appeared since one of the 4.8-RCs: reboot hangs when the dwc3 >> module is loaded. If I unload it before reboot / shutdown everything is fine. >> >> >>> >>> When you have a downstream on-board usb hub, ideally it should be able >>> to detect the devices >>> and not reset everytime you connect a new device (like you mentioned earlier). >>> There can be two possible reasons why the hub keeps getting reset ever >>> after applying the above >>> mentioned patches: >>> 1) the clock rates are not proper. >>> 2) the regulator load setting is not enough to drive the hub. >>> >>> Anand, can you please point Michael to an older kernel with which you >>> could test usb on odroid successfully ? >>> You can compare the clocks with an older version and see if there'a >>> any difference. >>> >>> Any possibility of any other framework (such as, bus-freq) trimming >>> down the clock - rates ? >> >> >> ################################ >> # v4.7.5 >> ################################ >> >> $ cat /sys/kernel/debug/clk/clk_summary | grep usb >> sclk_usbh20_scan_clk 0 0 480000000 0 >> sclk_usbh20 0 0 48000 >> 000 0 >> mout_usbd300 1 1 24000000 0 >> dout_usbd300 0 0 24000000 0 >> sclk_usbd300 >> 0 0 24000000 0 >> dout_usbphy300 1 1 24000000 0 >> sclk_usbphy300 4 4 24000 >> 000 0 >> mout_usbd301 1 1 24000000 0 >> dout_usbd301 0 0 24000000 0 >> sclk_usbd301 >> 0 0 24000000 0 >> dout_usbphy301 1 1 24000000 0 >> sclk_usbphy301 3 3 24000 >> 000 0 >> usbd301 1 1 100000000 >> usbd300 1 1 100000000 >> >> usbh20 3 3 100000000 0 > >> >> ################################ >> # v4.8.0 >> ################################ >> >> $ cat /sys/kernel/debug/clk/clk_summary | grep usb >> sclk_usbh20_scan_clk 0 0 480000000 0 >> sclk_usbh20 0 0 48000000 >> 0 >> mout_usbd300 1 1 24000000 0 >> dout_usbd300 0 0 24000000 0 >> sclk_usbd300 >> 0 0 24000000 0 >> dout_usbphy300 1 1 24000000 0 >> sclk_usbphy300 4 4 24000000 >> 0 >> mout_usbd301 1 1 24000000 0 >> dout_usbd301 0 0 24000000 0 >> sclk_usbd301 >> 0 0 24000000 0 >> dout_usbphy301 1 1 24000000 0 >> sclk_usbphy301 3 3 24000000 >> 0 >> usbd301 1 1 100000000 > > This clock should have been 200MHz. > >> usbd300 1 1 100000000 >> usbh2 >> 0 3 3 100000000 0 >> >> $ cat /sys/kernel/debug/usb/devices >> <<system hangs>> >> > > The clocks are same across working/non-working. > Is it possible to bisect the commit that's causing hang for 4.8x ? > > Adding few of the folks from Samsung who can test dwc3 usb on smdk/peach boards. > +Alim, Pankaj > > Hi Alim, Pankaj, > can you please give a try with 4.8 kernel on peach/smdk542x board and > see if dwc3 usb works or not. > You may need to the patches mentioned in [9.1] and [9.2] mentioned above. > > [9.1] https://lkml.org/lkml/2014/4/28/234 base: platform: name the device already during allocation Dose not help. it's not useful at all. What I feel is that their need to be some reset of usb phy so that device are assigned to respective bus ports. odroid 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 |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=r8152, 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 0, Class=Mass Storage, Driver=usb-storage, 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 |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M Bus 06.Port should register the Realtek Ethernet r8153 device. But I am not able to trace out how it's should happen. -Best Regards Anand Moon > [snip] > > > Thanks > Vivek > > -- > Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, > a Linux Foundation Collaborative Project ^ permalink raw reply [flat|nested] 19+ messages in thread
* PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 2016-10-04 15:09 ` Anand Moon @ 2016-10-05 4:45 ` Vivek Gautam 2016-10-05 7:48 ` Anand Moon 0 siblings, 1 reply; 19+ messages in thread From: Vivek Gautam @ 2016-10-05 4:45 UTC (permalink / raw) To: linux-arm-kernel Hi Anand, On Tue, Oct 4, 2016 at 8:39 PM, Anand Moon <linux.amoon@gmail.com> wrote: > Hi Vivek, > [snip] > > What I feel is that their need to be some reset of usb phy so that > device are assigned to respective bus ports. The phy resets are what we do in the phy-exynos5-usbdrd driver. In addition to what we have currently in this phy driver, we just need the phy calibration patch [1] for phy configurations. [1] https://lkml.org/lkml/2015/2/2/259 > odroid 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 > |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=r8152, 480M This shows the ethernet device gets detected on the high-speed port of one of the controller. The lsusb output for kernel v4.7.x posted by Michael show that the ethernet device got detected on super-speed port of the controller. So, there seems to be a difference between the two. Or, is this how it is behaving ? Is this lsusb output on 4.8 kernel with the patch [1] ? > /: 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 0, Class=Mass Storage, Driver=usb-storage, 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 > |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M > > > Bus 06.Port should register the Realtek Ethernet r8153 device. > But I am not able to trace out how it's should happen. If i understand, below is how the configuration looks like on the board? +-----------------------+ +------>| | | | Bus 6 |-------+ +-----------+ | (super-speed) | | | | +-----------------------+ | |Controller | | --------> Ethernet device | 2 | | | | +-----------------------+ | +-----------+ | | | | | Bus 5 |-------+ +------>| (high-speed) | +-----------------------+ +-----------------------+ +------>| | | | Bus 4 |-------+ +-----------+ | (super-speed) | | | | +-----------------------+ | |Controller | | --------> (On board hub ?? _OR_ external hub with downstream devices) ??? | 1 | | | | +-----------------------+ | +-----------+ | | | | | Bus 3 |-------+ +------>| (high-speed) | +-----------------------+ Thanks Vivek -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project ^ permalink raw reply [flat|nested] 19+ messages in thread
* PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 2016-10-05 4:45 ` Vivek Gautam @ 2016-10-05 7:48 ` Anand Moon 0 siblings, 0 replies; 19+ messages in thread From: Anand Moon @ 2016-10-05 7:48 UTC (permalink / raw) To: linux-arm-kernel Hi Vivek, On 5 October 2016 at 10:15, Vivek Gautam <vivek.gautam@codeaurora.org> wrote: > Hi Anand, > > > On Tue, Oct 4, 2016 at 8:39 PM, Anand Moon <linux.amoon@gmail.com> wrote: >> Hi Vivek, >> > > [snip] > >> >> What I feel is that their need to be some reset of usb phy so that >> device are assigned to respective bus ports. > > The phy resets are what we do in the phy-exynos5-usbdrd driver. In > addition to what we > have currently in this phy driver, we just need the phy calibration > patch [1] for phy configurations. > > [1] https://lkml.org/lkml/2015/2/2/259 Yes I am only using the above patch. If you dont mind please resend this patch again. > >> odroid 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 >> |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=r8152, 480M > > This shows the ethernet device gets detected on the high-speed port of one > of the controller. > The lsusb output for kernel v4.7.x posted by Michael show that the > ethernet device got detected on super-speed port of the controller. > So, there seems to be a difference between the two. > Or, is this how it is behaving ? With other patches it miss behaves and the ethernet land onto another bus port . > Is this lsusb output on 4.8 kernel with the patch [1] ? Yes correct. > >> /: 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 0, Class=Mass Storage, Driver=usb-storage, 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 >> |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M >> >> >> Bus 06.Port should register the Realtek Ethernet r8153 device. >> But I am not able to trace out how it's should happen. > > If i understand, below is how the configuration looks like on the board? > > +-----------------------+ > +------>| | > | | Bus 6 |-------+ > +-----------+ | (super-speed) | | > | | +-----------------------+ | > |Controller | | --------> Ethernet device > | 2 | | > | | +-----------------------+ | > +-----------+ | | | > | | Bus 5 |-------+ > +------>| (high-speed) | > +-----------------------+ > > > +-----------------------+ > +------>| | > | | Bus 4 |-------+ > +-----------+ | (super-speed) | | > | | +-----------------------+ | > |Controller | | --------> (On board > hub ?? _OR_ external hub with downstream devices) ??? > | 1 | | > | | +-----------------------+ | > +-----------+ | | | > | | Bus 3 |-------+ > +------>| (high-speed) | > +-----------------------+ > [snip] Yes this is correct mapping of usb ports and ethernet on the board. Below is the schematic of the board. http://dn.odroid.com/5422/ODROID-XU4/Schematics/XU4_MAIN_REV0.1_20151202.pdf I have couple of questions so if you can help me out. 1 > Their is no vbus pin connector to the usb ports ? 2 > I have also tried to configure usbdrd_dwc3_0/1 nodes with no luck snps,usb3_lpm_capable; snps,dis_u3_susphy_quirk; snps,dis_u2_susphy_quirk; 3 > do you feel their could be way to reset the USB PHY (ethenet) either though the DTS using gpio and pincrt 4 > how should be the port mapping done to the usb hub. Odroid XU4 has 2 usb 3.0 and 1 ehci port. Odroid XU3 has 1 usb 3.0 and 1 usb 3.0 otg port and 4 ehci port I would like to know how to debug low level debug of USB connection. so that we could solve the issue. Thanks for you help in looking to this, please guide me. Attach is the logs of lsusb -v and console output. -Best Regards Anand Moon -------------- next part -------------- odroid at odroid:~$ lsusb -v Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 3.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 3 bMaxPacketSize0 9 idVendor 0x1d6b Linux Foundation idProduct 0x0003 3.0 root hub bcdDevice 4.08 iManufacturer 3 iProduct 2 iSerial 1 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 31 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0004 1x 4 bytes bInterval 12 bMaxBurst 0 Bus 005 Device 002: ID 0bda:8153 Realtek Semiconductor Corp. Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x0bda Realtek Semiconductor Corp. idProduct 0x8153 bcdDevice 30.00 iManufacturer 1 iProduct 2 iSerial 6 bNumConfigurations 2 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 39 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 180mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0002 1x 2 bytes bInterval 8 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 80 bNumInterfaces 2 bConfigurationValue 2 iConfiguration 0 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 180mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 2 Communications bInterfaceSubClass 6 Ethernet Networking bInterfaceProtocol 0 iInterface 5 CDC Header: bcdCDC 1.10 CDC Union: bMasterInterface 0 bSlaveInterface 1 CDC Ethernet: iMacAddress 3 (??) bmEthernetStatistics 0x00000000 wMaxSegmentSize 1514 wNumberMCFilters 0x0000 bNumberPowerFilters 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0010 1x 16 bytes bInterval 8 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 10 CDC Data bInterfaceSubClass 0 Unused bInterfaceProtocol 0 iInterface 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 1 bNumEndpoints 2 bInterfaceClass 10 CDC Data bInterfaceSubClass 0 Unused bInterfaceProtocol 0 iInterface 4 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 1 Single TT bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0002 2.0 root hub bcdDevice 4.08 iManufacturer 3 iProduct 2 iSerial 1 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0004 1x 4 bytes bInterval 12 Bus 004 Device 003: ID 05e3:0735 Genesys Logic, Inc. Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 3.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 9 idVendor 0x05e3 Genesys Logic, Inc. idProduct 0x0735 bcdDevice 10.03 iManufacturer 1 iProduct 2 iSerial 3 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 44 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xc0 Self Powered MaxPower 24mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk-Only iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 15 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 15 Bus 004 Device 002: ID 05e3:0616 Genesys Logic, Inc. hub Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 3.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 3 bMaxPacketSize0 9 idVendor 0x05e3 Genesys Logic, Inc. idProduct 0x0616 hub bcdDevice 92.22 iManufacturer 1 iProduct 2 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 31 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 19 Transfer Type Interrupt Synch Type None Usage Type Feedback wMaxPacketSize 0x0002 1x 2 bytes bInterval 8 bMaxBurst 0 Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 3.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 3 bMaxPacketSize0 9 idVendor 0x1d6b Linux Foundation idProduct 0x0003 3.0 root hub bcdDevice 4.08 iManufacturer 3 iProduct 2 iSerial 1 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 31 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0004 1x 4 bytes bInterval 12 bMaxBurst 0 Bus 003 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.10 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 2 TT per port bMaxPacketSize0 64 idVendor 0x05e3 Genesys Logic, Inc. idProduct 0x0610 4-port hub bcdDevice 92.22 iManufacturer 1 iProduct 2 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 41 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 1 Single TT iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0001 1x 1 bytes bInterval 12 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 1 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 2 TT per port iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0001 1x 1 bytes bInterval 12 Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 1 Single TT bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0002 2.0 root hub bcdDevice 4.08 iManufacturer 3 iProduct 2 iSerial 1 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0004 1x 4 bytes bInterval 12 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0001 1.1 root hub bcdDevice 4.08 iManufacturer 3 iProduct 2 iSerial 1 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0002 1x 2 bytes bInterval 255 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0002 2.0 root hub bcdDevice 4.08 iManufacturer 3 iProduct 2 iSerial 1 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0004 1x 4 bytes bInterval 12 odroid at odroid:~$ ---------------------------------------------------------------------------------------- U-Boot 2012.07-00036-g4d29c46-dirty (Dec 04 2015 - 15:52:26) for Exynos5422 CPU: Exynos5422 Rev0.1 [Samsung SOC on SMP Platform Base on ARM CortexA7] APLL = 800MHz, KPLL = 800MHz MPLL = 532MHz, BPLL = 825MHz Board: HardKernel ODROID DRAM: 2 GiB WARNING: Caches not enabled TrustZone Enabled BSP BL1 version: ?/??? VDD_KFC: 0x44 LDO19: 0xf2 Checking Boot Mode ... SDMMC MMC: S5P_MSHC2: 0, S5P_MSHC0: 1 MMC Device 0: 29 GiB MMC Device 1: [ERROR] response timeout error : 00000104 cmd 1 Card did not respond to voltage select! *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: No ethernet found. Press quickly 'Enter' twice to stop autoboot: 0 there are pending interrupts 0x00000001 reading boot.ini 9183 bytes read Loading boot.ini from FAT Find boot.ini file from FAT/Ext4 Area!! boot.ini command = setenv initrd_high "0xffffffff" boot.ini command = setenv fdt_high "0xffffffff" boot.ini command = setenv macaddr "00:1e:06:61:7a:39" boot.ini command = setenv bootrootfs "console=tty1 console=ttySAC2,115200n8 root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro fsck.repair=yes net.ifnames=0" boot.ini command = setenv vout "hdmi" boot.ini command = setenv cecenable "false" # false or true boot.ini command = setenv governor "performance" boot.ini command = setenv HPD "true" boot.ini command = setenv hdmi_tx_amp_lvl "31" boot.ini command = setenv hdmi_tx_lvl_ch0 "3" boot.ini command = setenv hdmi_tx_lvl_ch1 "3" boot.ini command = setenv hdmi_tx_lvl_ch2 "3" boot.ini command = setenv hdmi_tx_emp_lvl "6" boot.ini command = setenv hdmi_clk_amp_lvl "31" boot.ini command = setenv hdmi_tx_res "0" boot.ini command = setenv hdmi_phy_control "hdmi_tx_amp_lvl=${hdmi_tx_amp_lvl} hdmi_tx_lvl_ch0=${hdmi_tx_lvl_ch0} hdmi_tx_lvl_ch1=${hdmi_tx_lvl_ch1} hdmi_tx_lvl_ch2=${hdmi_tx_lvl_ch2} hdmi_tx_emp_lvl=${hdmi_tx_emp_lvl} hdmi_clk_amp_lvl=${hdmi_clk_amp_lvl} hdmi_tx_res=${hdmi_tx_res} HPD=${HPD} vout=${vout}" boot.ini command = fatload mmc 0:1 0x40008000 zImage reading zImage 4942552 bytes read boot.ini command = fatload mmc 0:1 0x42000000 uInitrd reading uInitrd 8303688 bytes read boot.ini command = fatload mmc 0:1 0x44000000 exynos5422-odroidxu3.dtb reading exynos5422-odroidxu3.dtb 54647 bytes read boot.ini command = fdt addr 0x44000000 boot.ini command = if test "${cecenable}" = "false"; then fdt rm /cec at 101B0000; fi libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND boot.ini command = setenv bootargs "${bootrootfs} ${videoconfig} smsc95xx.macaddr=${macaddr} governor=${governor} ${hdmi_phy_control}" boot.ini command = bootz 0x40008000 0x42000000 0x44000000 ## Loading init Ramdisk from Legacy Image at 42000000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (uncompressed) Data Size: 8303624 Bytes = 7.9 MiB Load Address: 00000000 Entry Point: 00000000 ## Flattened Device Tree blob at 44000000 Booting using the fdt blob at 0x44000000 Using Device Tree in place at 44000000, end 44010576 Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x100 [ 0.000000] Linux version 4.8.0-xu4ml (root at odroid) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.2) ) #16 SMP PREEMPT Mon Oct 3 17:28:30 UTC 2016 [ 0.000000] CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt:Machine model: Hardkernel Odroid XU4 [ 0.000000] Reserved memory: created DMA memory pool at 0xbe200000, size 8 MiB [ 0.000000] OF: reserved mem: initialized node region_mfc_right, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0xbd200000, size 16 MiB [ 0.000000] OF: reserved mem: initialized node region_mfc_left, compatible id shared-dma-pool [ 0.000000] cma: Reserved 64 MiB at 0xb9000000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] Samsung CPU ID: 0xe5422001 [ 0.000000] Running under secure firmware. [ 0.000000] percpu: Embedded 366 pages/cpu @ee484000 s1470000 r8192 d20944 u1499136 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 510976 [ 0.000000] Kernel command line: console=tty1 console=ttySAC2,115200n8 root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro fsck.repair=yes net.ifnames=0 smsc95xx.macaddr=00:1e:06:61:7a:39 governor=performance hdmi_tx_amp_lvl=31 hdmi_tx_lvl_ch0=3 hdmi_tx_lvl_ch1=3 hdmi_tx_lvl_ch2=3 hdmi_tx_emp_lvl=6 hdmi_clk_amp_lvl=31 hdmi_tx_res=0 HPD=true vout=hdmi [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Memory: 1925660K/2050048K available (7168K kernel code, 327K rwdata, 2380K rodata, 2048K init, 9112K bss, 58852K reserved, 65536K cma-reserved, 1198080K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0800000 (8160 kB) [ 0.000000] .init : 0xc0b00000 - 0xc0d00000 (2048 kB) [ 0.000000] .data : 0xc0d00000 - 0xc0d51fc0 ( 328 kB) [ 0.000000] .bss : 0xc0d53000 - 0xc16392b4 (9113 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1 [ 0.000000] Running RCU self tests [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] RCU debugfs-based tracing is enabled. [ 0.000000] RCU dyntick-idle grace-period acceleration is enabled. [ 0.000000] RCU lockdep checking is enabled. [ 0.000000] RCU kthread priority: 1. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] Switching to timer-based delay loop, resolution 41ns [ 0.000000] clocksource: mct-frc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000009] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [ 0.001989] Console: colour dummy device 80x30 [ 0.014024] console [tty1] enabled [ 0.014064] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.014121] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.014157] ... MAX_LOCK_DEPTH: 48 [ 0.014192] ... MAX_LOCKDEP_KEYS: 8191 [ 0.014228] ... CLASSHASH_SIZE: 4096 [ 0.014264] ... MAX_LOCKDEP_ENTRIES: 32768 [ 0.014300] ... MAX_LOCKDEP_CHAINS: 65536 [ 0.014336] ... CHAINHASH_SIZE: 32768 [ 0.014372] memory used by lock dependency info: 5423 kB [ 0.014411] per task-struct memory footprint: 2304 bytes [ 0.014450] ------------------------ [ 0.014483] | Locking API testsuite: [ 0.014517] ---------------------------------------------------------------------------- [ 0.014574] | spin |wlock |rlock |mutex | wsem | rsem | [ 0.014631] -------------------------------------------------------------------------- [ 0.014708] A-A deadlock: ok | ok | ok | ok | ok | ok | [ 0.025766] A-B-B-A deadlock: ok | ok | ok | ok | ok | ok | [ 0.036982] A-B-B-C-C-A deadlock: ok | ok | ok | ok | ok | ok | [ 0.048501] A-B-C-A-B-C deadlock: ok | ok | ok | ok | ok | ok | [ 0.060095] A-B-B-C-C-D-D-A deadlock: ok | ok | ok | ok | ok | ok | [ 0.071953] A-B-C-D-B-D-D-A deadlock: ok | ok | ok | ok | ok | ok | [ 0.083788] A-B-C-D-B-C-D-A deadlock: ok | ok | ok | ok | ok | ok | [ 0.095683] double unlock: ok | ok | ok | ok | ok | ok | [ 0.106444] initialize held: ok | ok | ok | ok | ok | ok | [ 0.117112] bad unlock order: ok | ok | ok | ok | ok | ok | [ 0.128173] -------------------------------------------------------------------------- [ 0.128234] recursive read-lock: | ok | | ok | [ 0.131898] recursive read-lock #2: | ok | | ok | [ 0.135563] mixed read-write-lock: | ok | | ok | [ 0.139172] mixed write-read-lock: | ok | | ok | [ 0.142868] -------------------------------------------------------------------------- [ 0.142927] hard-irqs-on + irq-safe-A/12: ok | ok | ok | [ 0.148317] soft-irqs-on + irq-safe-A/12: ok | ok | ok | [ 0.153736] hard-irqs-on + irq-safe-A/21: ok | ok | ok | [ 0.159152] soft-irqs-on + irq-safe-A/21: ok | ok | ok | [ 0.164566] sirq-safe-A => hirqs-on/12: ok | ok | ok | [ 0.170071] sirq-safe-A => hirqs-on/21: ok | ok | ok | [ 0.175479] hard-safe-A + irqs-on/12: ok | ok | ok | [ 0.180876] soft-safe-A + irqs-on/12: ok | ok | ok | [ 0.186296] hard-safe-A + irqs-on/21: ok | ok | ok | [ 0.191700] soft-safe-A + irqs-on/21: ok | ok | ok | [ 0.197120] hard-safe-A + unsafe-B #1/123: ok | ok | ok | [ 0.202694] soft-safe-A + unsafe-B #1/123: ok | ok | ok | [ 0.208265] hard-safe-A + unsafe-B #1/132: ok | ok | ok | [ 0.213834] soft-safe-A + unsafe-B #1/132: ok | ok | ok | [ 0.219405] hard-safe-A + unsafe-B #1/213: ok | ok | ok | [ 0.225066] soft-safe-A + unsafe-B #1/213: ok | ok | ok | [ 0.230650] hard-safe-A + unsafe-B #1/231: ok | ok | ok | [ 0.236184] soft-safe-A + unsafe-B #1/231: ok | ok | ok | [ 0.241731] hard-safe-A + unsafe-B #1/312: ok | ok | ok | [ 0.247178] soft-safe-A + unsafe-B #1/312: ok | ok | ok | [ 0.252645] hard-safe-A + unsafe-B #1/321: ok | ok | ok | [ 0.258178] soft-safe-A + unsafe-B #1/321: ok | ok | ok | [ 0.263731] hard-safe-A + unsafe-B #2/123: ok | ok | ok | [ 0.269268] soft-safe-A + unsafe-B #2/123: ok | ok | ok | [ 0.274831] hard-safe-A + unsafe-B #2/132: ok | ok | ok | [ 0.280436] soft-safe-A + unsafe-B #2/132: ok | ok | ok | [ 0.285997] hard-safe-A + unsafe-B #2/213: ok | ok | ok | [ 0.291537] soft-safe-A + unsafe-B #2/213: ok | ok | ok | [ 0.297103] hard-safe-A + unsafe-B #2/231: ok | ok | ok | [ 0.302616] soft-safe-A + unsafe-B #2/231: ok | ok | ok | [ 0.308158] hard-safe-A + unsafe-B #2/312: ok | ok | ok | [ 0.313671] soft-safe-A + unsafe-B #2/312: ok | ok | ok | [ 0.319238] hard-safe-A + unsafe-B #2/321: ok | ok | ok | [ 0.324782] soft-safe-A + unsafe-B #2/321: ok | ok | ok | [ 0.330420] hard-irq lock-inversion/123: ok | ok | ok | [ 0.335965] soft-irq lock-inversion/123: ok | ok | ok | [ 0.341541] hard-irq lock-inversion/132: ok | ok | ok | [ 0.347068] soft-irq lock-inversion/132: ok | ok | ok | [ 0.352649] hard-irq lock-inversion/213: ok | ok | ok | [ 0.358203] soft-irq lock-inversion/213: ok | ok | ok | [ 0.363786] hard-irq lock-inversion/231: ok | ok | ok | [ 0.369312] soft-irq lock-inversion/231: ok | ok | ok | [ 0.374877] hard-irq lock-inversion/312: ok | ok | ok | [ 0.380497] soft-irq lock-inversion/312: ok | ok | ok | [ 0.386083] hard-irq lock-inversion/321: ok | ok | ok | [ 0.391612] soft-irq lock-inversion/321: ok | ok | ok | [ 0.397179] hard-irq read-recursion/123: ok | [ 0.399039] soft-irq read-recursion/123: ok | [ 0.401000] hard-irq read-recursion/132: ok | [ 0.402865] soft-irq read-recursion/132: ok | [ 0.404739] hard-irq read-recursion/213: ok | [ 0.406691] soft-irq read-recursion/213: ok | [ 0.408567] hard-irq read-recursion/231: ok | [ 0.410519] soft-irq read-recursion/231: ok | [ 0.412395] hard-irq read-recursion/312: ok | [ 0.414257] soft-irq read-recursion/312: ok | [ 0.416219] hard-irq read-recursion/321: ok | [ 0.418082] soft-irq read-recursion/321: ok | [ 0.420043] -------------------------------------------------------------------------- [ 0.420103] | Wound/wait tests | [ 0.420136] --------------------- [ 0.420170] ww api failures: ok | ok | ok | [ 0.425739] ww contexts mixing: ok | ok | [ 0.429342] finishing ww context: ok | ok | ok | ok | [ 0.436673] locking mismatches: ok | ok | ok | [ 0.442165] EDEADLK handling: ok | ok | ok | ok | ok | ok | ok | ok | ok | ok | [ 0.460772] spinlock nest unlocked: ok | [ 0.462567] ----------------------------------------------------- [ 0.462612] |block | try |context| [ 0.462653] ----------------------------------------------------- [ 0.462695] context: ok | ok | ok | [ 0.468263] try: ok | ok | ok | [ 0.473716] block: ok | ok | ok | [ 0.479164] spinlock: ok | ok | ok | [ 0.484832] ------------------------------------------------------- [ 0.484877] Good, all 253 testcases passed! | [ 0.484913] --------------------------------- [ 0.487844] ODEBUG: selftest passed [ 0.487981] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=120000) [ 0.488065] pid_max: default: 32768 minimum: 301 [ 0.488835] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.488898] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.494043] CPU: Testing write buffer coherency: ok [ 0.497000] CPU0: update cpu_capacity 448 [ 0.497061] CPU0: thread -1, cpu 0, socket 1, mpidr 80000100 [ 0.497432] Setting up static identity map for 0x40100000 - 0x40100058 [ 0.498995] ARM CCI driver probed [ 0.499373] Exynos MCPM support installed [ 0.565666] CPU1: update cpu_capacity 448 [ 0.565677] CPU1: thread -1, cpu 1, socket 1, mpidr 80000101 [ 0.585574] CPU2: update cpu_capacity 448 [ 0.585584] CPU2: thread -1, cpu 2, socket 1, mpidr 80000102 [ 0.605569] CPU3: update cpu_capacity 448 [ 0.605580] CPU3: thread -1, cpu 3, socket 1, mpidr 80000103 [ 0.625596] CPU4: update cpu_capacity 1535 [ 0.625606] CPU4: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.645558] CPU5: update cpu_capacity 1535 [ 0.645566] CPU5: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.665565] CPU6: update cpu_capacity 1535 [ 0.665574] CPU6: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.685573] CPU7: update cpu_capacity 1535 [ 0.685582] CPU7: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.686297] Brought up 8 CPUs [ 0.686807] SMP: Total of 8 processors activated (384.00 BogoMIPS). [ 0.686856] CPU: WARNING: CPU(s) started in wrong/inconsistent modes (primary CPU mode 0x1a) [ 0.686921] CPU: This may indicate a broken bootloader or firmware. [ 0.692572] devtmpfs: initialized [ 0.887025] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 3 [ 0.889761] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns [ 0.894403] pinctrl core: initialized pinctrl subsystem [ 0.905716] random: fast init done [ 0.906048] NET: Registered protocol family 16 [ 0.913914] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.935361] cpuidle: using governor menu [ 1.012107] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 1.012192] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 1.062219] iommu: Adding device 11000000.codec to group 0 [ 1.201513] iommu: Adding device 14450000.mixer to group 1 [ 1.203951] iommu: Adding device 11c00000.rotator to group 2 [ 1.211482] iommu: Adding device 13e00000.video-scaler to group 3 [ 1.213822] iommu: Adding device 13e10000.video-scaler to group 4 [ 1.216276] iommu: Adding device 11f50000.jpeg to group 5 [ 1.218608] iommu: Adding device 11f60000.jpeg to group 6 [ 1.220528] EXYNOS5420 PMU initialized [ 1.394101] SCSI subsystem initialized [ 1.396405] usbcore: registered new interface driver usbfs [ 1.396937] usbcore: registered new interface driver hub [ 1.397930] usbcore: registered new device driver usb [ 1.401832] s3c-i2c 12c80000.i2c: slave address 0x00 [ 1.401902] s3c-i2c 12c80000.i2c: bus frequency set to 65 KHz [ 1.406177] s3c-i2c 12c80000.i2c: i2c-2: S3C I2C adapter [ 1.413676] Advanced Linux Sound Architecture Driver Initialized. [ 1.425111] clocksource: Switched to clocksource mct-frc [ 1.538374] NET: Registered protocol family 2 [ 1.543373] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 1.543799] TCP bind hash table entries: 8192 (order: 6, 360448 bytes) [ 1.547768] TCP: Hash tables configured (established 8192 bind 8192) [ 1.548243] UDP hash table entries: 512 (order: 3, 49152 bytes) [ 1.548826] UDP-Lite hash table entries: 512 (order: 3, 49152 bytes) [ 1.551253] NET: Registered protocol family 1 [ 1.555460] RPC: Registered named UNIX socket transport module. [ 1.555530] RPC: Registered udp transport module. [ 1.555578] RPC: Registered tcp transport module. [ 1.555626] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.557953] Trying to unpack rootfs image as initramfs... [ 2.611882] Freeing initrd memory: 8112K (c2000000 - c27ec000) [ 2.630889] futex hash table entries: 2048 (order: 5, 131072 bytes) [ 2.639384] workingset: timestamp_bits=30 max_order=19 bucket_order=0 [ 2.740930] NFS: Registering the id_resolver key type [ 2.741405] Key type id_resolver registered [ 2.741460] Key type id_legacy registered [ 2.741779] romfs: ROMFS MTD (C) 2007 Red Hat, Inc. [ 2.751948] bounce: pool size: 64 pages [ 2.752041] io scheduler noop registered [ 2.752076] io scheduler deadline registered [ 2.754658] io scheduler cfq registered (default) [ 2.777976] 12130000.phy supply vbus not found, using dummy regulator [ 2.783590] 12100000.phy supply vbus not found, using dummy regulator [ 2.783991] 12100000.phy supply vbus-boost not found, using dummy regulator [ 2.786673] 12500000.phy supply vbus not found, using dummy regulator [ 2.787076] 12500000.phy supply vbus-boost not found, using dummy regulator [ 2.825399] dma-pl330 121a0000.pdma: Loaded driver for PL330 DMAC-241330 [ 2.825440] dma-pl330 121a0000.pdma: DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32 [ 2.853163] dma-pl330 121b0000.pdma: Loaded driver for PL330 DMAC-241330 [ 2.853206] dma-pl330 121b0000.pdma: DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32 [ 2.861305] dma-pl330 10800000.mdma: Loaded driver for PL330 DMAC-241330 [ 2.861346] dma-pl330 10800000.mdma: DBUFF-64x8bytes Num_Chans-8 Num_Peri-1 Num_Events-32 [ 3.434364] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 3.448226] 12c00000.serial: ttySAC0 at MMIO 0x12c00000 (irq = 76, base_baud = 0) is a S3C6400/10 [ 3.451531] 12c10000.serial: ttySAC1 at MMIO 0x12c10000 (irq = 77, base_baud = 0) is a S3C6400/10 [ 3.454276] 12c20000.serial: ttySAC2 at MMIO 0x12c20000 (irq = 78, base_baud = 0) is a S3C6400/10 [ 4.961339] console [ttySAC2] enabled [ 4.967171] 12c30000.serial: ttySAC3 at MMIO 0x12c30000 (irq = 79, base_baud = 0) is a S3C6400/10 [ 4.981564] [drm] Initialized drm 1.1.0 20060810 [ 4.993954] exynos-hdmi 14530000.hdmi: Failed to get supply 'vdd': -517 [ 5.103379] brd: module loaded [ 5.166067] loop: module loaded [ 5.175261] libphy: Fixed MDIO Bus: probed [ 5.179518] usbcore: registered new interface driver r8152 [ 5.183986] usbcore: registered new interface driver asix [ 5.189229] usbcore: registered new interface driver ax88179_178a [ 5.195293] usbcore: registered new interface driver cdc_ether [ 5.201234] usbcore: registered new interface driver smsc75xx [ 5.206947] usbcore: registered new interface driver smsc95xx [ 5.212533] usbcore: registered new interface driver net1080 [ 5.218166] usbcore: registered new interface driver cdc_subset [ 5.224058] usbcore: registered new interface driver zaurus [ 5.229749] usbcore: registered new interface driver cdc_ncm [ 5.236943] exynos-dwc3 soc:usb3-0: no suspend clk specified [ 5.241685] exynos-dwc3 soc:usb3-1: no suspend clk specified [ 5.250614] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.255725] ehci-exynos: EHCI EXYNOS driver [ 5.261306] exynos-ehci 12110000.usb: EHCI Host Controller [ 5.265898] exynos-ehci 12110000.usb: new USB bus registered, assigned bus number 1 [ 5.274063] exynos-ehci 12110000.usb: irq 89, io mem 0x12110000 [ 5.290248] exynos-ehci 12110000.usb: USB 2.0 started, EHCI 1.00 [ 5.296528] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 5.301901] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.309094] usb usb1: Product: EHCI Host Controller [ 5.313938] usb usb1: Manufacturer: Linux 4.8.0-xu4ml ehci_hcd [ 5.319745] usb usb1: SerialNumber: 12110000.usb [ 5.331377] hub 1-0:1.0: USB hub found [ 5.334177] hub 1-0:1.0: 3 ports detected [ 5.346639] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 5.351465] ohci-exynos: OHCI EXYNOS driver [ 5.356554] exynos-ohci 12120000.usb: USB Host Controller [ 5.361060] exynos-ohci 12120000.usb: new USB bus registered, assigned bus number 2 [ 5.369111] exynos-ohci 12120000.usb: irq 89, io mem 0x12120000 [ 5.435215] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001 [ 5.440677] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.451036] usb usb2: Product: USB Host Controller [ 5.454368] usb usb2: Manufacturer: Linux 4.8.0-xu4ml ohci_hcd [ 5.460222] usb usb2: SerialNumber: 12120000.usb [ 5.470257] hub 2-0:1.0: USB hub found [ 5.472773] hub 2-0:1.0: 3 ports detected [ 5.484882] usbcore: registered new interface driver usb-storage [ 5.492112] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers [ 5.502592] mousedev: PS/2 mouse device common for all mice [ 5.515535] i2c /dev entries driver [ 5.565161] vdd_ldo9: Bringing 3300000uV into 3000000-3000000uV [ 5.590207] vddq_mmc2: Bringing 3300000uV into 2800000-2800000uV [ 5.604597] vdd_ldo15: Bringing 3300000uV into 3100000-3100000uV [ 5.627972] vdd_sd: Bringing 3300000uV into 2800000-2800000uV [ 5.763205] s5m-rtc s2mps14-rtc: rtc core: registered s5m-rtc as rtc0 [ 5.792698] exynos-tmu 10060000.tmu: More trip points than supported by this TMU. [ 5.798784] exynos-tmu 10060000.tmu: 2 trip points should be configured in polling mode. [ 5.823322] s3c2410-wdt 101d0000.watchdog: watchdog inactive, reset disabled, irq disabled [ 5.834415] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel at redhat.com [ 5.906444] sdhci: Secure Digital Host Controller Interface driver [ 5.911179] sdhci: Copyright(c) Pierre Ossman [ 5.916313] Synopsys Designware Multimedia Card Interface Driver [ 5.923653] dwmmc_exynos 12200000.mmc: IDMAC supports 32-bit address mode. [ 5.929186] dwmmc_exynos 12200000.mmc: Using internal DMA controller. [ 5.935496] dwmmc_exynos 12200000.mmc: Version ID is 250a [ 5.941022] dwmmc_exynos 12200000.mmc: DW MMC controller at irq 91,64 bit host data width,64 deep fifo [ 5.951131] dwmmc_exynos 12200000.mmc: Got CD GPIO [ 5.955154] dwmmc_exynos 12200000.mmc: allocated mmc-pwrseq [ 5.987072] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63) [ 6.016598] dwmmc_exynos 12200000.mmc: 1 slots initialized [ 6.021878] dwmmc_exynos 12220000.mmc: IDMAC supports 32-bit address mode. [ 6.028621] dwmmc_exynos 12220000.mmc: Using internal DMA controller. [ 6.033898] dwmmc_exynos 12220000.mmc: Version ID is 250a [ 6.039421] dwmmc_exynos 12220000.mmc: DW MMC controller at irq 92,64 bit host data width,64 deep fifo [ 6.074555] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63) [ 6.100553] dwmmc_exynos 12220000.mmc: 1 slots initialized [ 6.124479] s5p-secss 10830000.sss: s5p-sss driver registered [ 6.130437] usbcore: registered new interface driver usbhid [ 6.134533] usbhid: USB HID core driver [ 6.144641] exynos-audss-clk 3810000.audss-clock-controller: setup completed [ 6.154414] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0) [ 6.164555] mmc1: new high speed SDHC card at address 0007 [ 6.176291] mmcblk1: mmc1:0007 SL32G 29.0 GiB [ 6.189221] mmcblk1: p1 p2 [ 6.335992] dma-pl330 3880000.adma: Loaded driver for PL330 DMAC-241330 [ 6.342033] dma-pl330 3880000.adma: DBUFF-4x8bytes Num_Chans-6 Num_Peri-16 Num_Events-6 [ 6.493694] exynos-nocp: new NoC Probe device registered: 10ca1000.nocp [ 6.501406] exynos-nocp: new NoC Probe device registered: 10ca1400.nocp [ 6.507705] exynos-nocp: new NoC Probe device registered: 10ca1800.nocp [ 6.514305] exynos-nocp: new NoC Probe device registered: 10ca1c00.nocp [ 6.543455] NET: Registered protocol family 10 [ 6.551803] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 6.560630] NET: Registered protocol family 17 [ 6.563701] NET: Registered protocol family 15 [ 6.568461] Key type dns_resolver registered [ 6.572963] Registering SWP/SWPB emulation handler [ 6.581222] registered taskstats version 1 [ 6.609635] [drm] Exynos DRM: using 14450000.mixer device for DMA mapping operations [ 6.621991] exynos-drm exynos-drm: bound 14450000.mixer (ops mixer_component_ops) [ 6.631014] exynos-drm exynos-drm: bound 14530000.hdmi (ops hdmi_component_ops) [ 6.636979] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 6.643508] [drm] No driver support for vblank timestamp query. [ 6.649557] [drm] Initialized exynos 1.0.0 20110530 on minor 0 [ 6.657109] exynos-dwc3 soc:usb3-0: no suspend clk specified [ 6.677069] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [ 6.681666] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 3 [ 6.690853] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00010010 [ 6.698706] xhci-hcd xhci-hcd.2.auto: irq 135, io mem 0x12000000 [ 6.706038] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002 [ 6.711446] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 6.718639] usb usb3: Product: xHCI Host Controller [ 6.723471] usb usb3: Manufacturer: Linux 4.8.0-xu4ml xhci-hcd [ 6.729279] usb usb3: SerialNumber: xhci-hcd.2.auto [ 6.745775] hub 3-0:1.0: USB hub found [ 6.749150] hub 3-0:1.0: 1 port detected [ 6.756985] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [ 6.761158] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 4 [ 6.769304] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [ 6.777554] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003 [ 6.783496] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 6.790699] usb usb4: Product: xHCI Host Controller [ 6.795531] usb usb4: Manufacturer: Linux 4.8.0-xu4ml xhci-hcd [ 6.801338] usb usb4: SerialNumber: xhci-hcd.2.auto [ 6.817156] hub 4-0:1.0: USB hub found [ 6.820680] hub 4-0:1.0: 1 port detected [ 6.837850] exynos-dwc3 soc:usb3-1: no suspend clk specified [ 6.864294] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller [ 6.868803] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 5 [ 6.878997] xhci-hcd xhci-hcd.5.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00010010 [ 6.887128] xhci-hcd xhci-hcd.5.auto: irq 136, io mem 0x12400000 [ 6.898523] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002 [ 6.904701] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 6.912027] usb usb5: Product: xHCI Host Controller [ 6.916297] usb usb5: Manufacturer: Linux 4.8.0-xu4ml xhci-hcd [ 6.922091] usb usb5: SerialNumber: xhci-hcd.5.auto [ 6.933692] hub 5-0:1.0: USB hub found [ 6.936536] hub 5-0:1.0: 1 port detected [ 6.945285] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller [ 6.949453] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 6 [ 6.957908] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM. [ 6.966716] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003 [ 6.972150] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 6.979339] usb usb6: Product: xHCI Host Controller [ 6.984158] usb usb6: Manufacturer: Linux 4.8.0-xu4ml xhci-hcd [ 6.989975] usb usb6: SerialNumber: xhci-hcd.5.auto [ 7.001938] hub 6-0:1.0: USB hub found [ 7.004559] hub 6-0:1.0: 1 port detected [ 7.019004] rtc rtc1: invalid alarm value: 1900-1-2 0:0:0 [ 7.025764] s3c-rtc 101e0000.rtc: rtc core: registered s3c as rtc1 [ 7.047933] exynos-bus: new bus device registered: soc:bus_wcore ( 84000 KHz ~ 400000 KHz) [ 7.061924] exynos-bus: new bus device registered: soc:bus_noc ( 67000 KHz ~ 100000 KHz) [ 7.072543] exynos-bus: new bus device registered: soc:bus_fsys_apb (100000 KHz ~ 200000 KHz) [ 7.082157] exynos-bus: new bus device registered: soc:bus_fsys (100000 KHz ~ 200000 KHz) [ 7.090228] usb 3-1: new high-speed USB device number 2 using xhci-hcd [ 7.093504] exynos-bus: new bus device registered: soc:bus_fsys2 ( 75000 KHz ~ 150000 KHz) [ 7.099508] exynos-bus: new bus device registered: soc:bus_mfc ( 96000 KHz ~ 333000 KHz) [ 7.105157] exynos-bus: new bus device registered: soc:bus_gen ( 89000 KHz ~ 267000 KHz) [ 7.108593] exynos-bus: new bus device registered: soc:bus_peri ( 67000 KHz ~ 67000 KHz) [ 7.114826] exynos-bus: new bus device registered: soc:bus_g2d ( 84000 KHz ~ 333000 KHz) [ 7.120974] exynos-bus: new bus device registered: soc:bus_g2d_acp ( 67000 KHz ~ 267000 KHz) [ 7.126826] exynos-bus: new bus device registered: soc:bus_jpeg ( 75000 KHz ~ 300000 KHz) [ 7.132557] exynos-bus: new bus device registered: soc:bus_jpeg_apb ( 84000 KHz ~ 167000 KHz) [ 7.136811] exynos-bus: new bus device registered: soc:bus_disp1_fimd (120000 KHz ~ 200000 KHz) [ 7.141702] exynos-bus: new bus device registered: soc:bus_disp1 (120000 KHz ~ 300000 KHz) [ 7.146580] exynos-bus: new bus device registered: soc:bus_gscl_scaler (150000 KHz ~ 300000 KHz) [ 7.153005] exynos-bus: new bus device registered: soc:bus_mscl ( 84000 KHz ~ 400000 KHz) [ 7.163772] Power domain power-domain at 10044120 disable failed [ 7.202630] devfreq soc:bus_wcore: Couldn't update frequency transition information. [ 7.209025] s5m-rtc s2mps14-rtc: setting system clock to 2016-10-05 07:13:35 UTC (1475651615) [ 7.275209] usb 5-1: new high-speed USB device number 2 using xhci-hcd [ 7.345114] usb 3-1: New USB device found, idVendor=05e3, idProduct=0610 [ 7.350416] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 7.357510] usb 3-1: Product: USB2.0 Hub [ 7.361404] usb 3-1: Manufacturer: GenesysLogic [ 7.415145] hub 3-1:1.0: USB hub found [ 7.419174] hub 3-1:1.0: 2 ports detected [ 7.428489] usb 5-1: New USB device found, idVendor=0bda, idProduct=8153 [ 7.430628] ALSA device list: [ 7.430632] No soundcards found. [ 7.440214] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6 [ 7.440233] usb 5-1: Product: USB 10/100/1000 LAN [ 7.440250] usb 5-1: Manufacturer: Realtek [ 7.440266] usb 5-1: SerialNumber: 000001000000 [ 7.469431] Freeing unused kernel memory: 2048K (c0b00000 - c0d00000) Loading, please wait... [ 7.662635] usb 5-1: reset high-speed USB device number 2 using xhci-hcd starting version 229 [ 7.942419] r8152 5-1:1.0 eth0: v1.08.6 [ 14.520569] random: crng init done Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. Begin: Will now check root file system ... fsck from util-linux 2.27.1 [/sbin/fsck.ext4 (1) -- /dev/mmcblk1p2] fsck.ext4 -y -C0 /dev/mmcblk1p2 e2fsck 1.42.13 (17-May-2015) rootfs: clean, 478044/1892352 files, 4932280/7560832 blocks done. [ 21.986013] EXT4-fs (mmcblk1p2): mounted filesystem without journal. Opts: (null) done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. [ 23.500468] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN) [ 23.524853] systemd[1]: Detected architecture arm. Welcome to Ubuntu 16.04.1 LTS! [ 23.572858] systemd[1]: Set hostname to <odroid>. [ 25.172926] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ OK ] Started Forward Password Requests to Wall Directory Watch. [ 25.202947] systemd[1]: Created slice System Slice. [ OK ] Created slice System Slice. [ 25.227532] systemd[1]: Created slice system-serial\x2dgetty.slice. [ OK ] Created slice system-serial\x2dgetty.slice. [ 25.256654] systemd[1]: Listening on Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). [ 25.282055] systemd[1]: Created slice system-systemd\x2dfsck.slice. [ OK ] Created slice system-systemd\x2dfsck.slice. [ 25.306151] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ 25.331323] systemd[1]: Listening on Syslog Socket. [ OK ] Listening on Syslog Socket. [ OK ] Reached target Remote File Systems (Pre). [ OK ] Reached target Remote File Systems. [ OK ] Reached target Encrypted Volumes. [ OK ] Listening on Journal Socket. [ OK ] Started Read required files in advance. Starting Uncomplicated firewall... Starting Create list of required st... nodes for the current kernel... Mounting Debug File System... Starting Journal Service... [ OK ] Listening on fsck to fsckd communication Socket. Starting Load Kernel Modules... Starting Nameserver information manager... [ OK ] Listening on /dev/initctl Compatibility Named Pipe. [ OK ] Created slice User and Session Slice. [ OK ] Reached target Slices. [ OK ] Listening on udev Control Socket. Starting Remount Root and Kernel File Systems... [ OK ] Reached target User and Group Name Lookups. [ OK ] Started Braille Device Support. [ OK ] Reached target Swap. Starting Set console keymap... [ 26.211220] EXT4-fs (mmcblk1p2): re-mounted. Opts: errors=remount-ro [ OK ] Mounted Debug File System. [ OK ] Started Uncomplicated firewall. [ OK ] Started Create list of required sta...ce nodes for the current kernel. [FAILED] Failed to start Load Kernel Modules. See 'systemctl status systemd-modules-load.service' for details. [ OK ] Started Remount Root and Kernel File Systems. [ OK ] Started Set console keymap. [ OK ] Started Nameserver information manager. Starting udev Coldplug all Devices... Starting Load/Save Random Seed... Starting Apply Kernel Variables... Mounting Configuration File System... Starting Create Static Device Nodes in /dev... [ OK ] Mounted Configuration File System. [ OK ] Started Journal Service. [ OK ] Started Load/Save Random Seed. [ OK ] Started Apply Kernel Variables. [ OK ] Started Create Static Device Nodes in /dev. Starting udev Kernel Device Manager... [ OK ] Reached target Local File Systems (Pre). Starting Flush Journal to Persistent Storage... [ OK ] Started Flush Journal to Persistent Storage. [ OK ] Started udev Kernel Device Manager. [ OK ] Found device /dev/ttySAC2. [ OK ] Found device /dev/disk/by-label/boot. Starting File System Check on /dev/disk/by-label/boot... [ OK ] Started File System Check Daemon to report status. [ OK ] Started File System Check on /dev/disk/by-label/boot. Mounting /media/boot... [ OK ] Mounted /media/boot. [ OK ] Reached target Local File Systems. Starting Run snappy firstboot setup... Starting Set console font and keymap... Starting Create Volatile Files and Directories... Starting Tell Plymouth To Write Out Runtime Data... Starting LSB: AppArmor initialization... [ OK ] Started Create Volatile Files and Directories. [ OK ] Started Tell Plymouth To Write Out Runtime Data. [ OK ] Started Run snappy firstboot setup. [ OK ] Started LSB: AppArmor initialization. [ OK ] Started udev Coldplug all Devices. [ OK ] Started Dispatch Password Requests to Console Directory Watch. Starting Raise network interfaces... [ OK ] Reached target System Time Synchronized. Starting Update UTMP about System Boot/Shutdown... [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Started Set console font and keymap. [ OK ] Started Raise network interfaces. [ OK ] Created slice system-getty.slice. [ OK ] Reached target System Initialization. [ OK ] Started Timer to automatically refresh installed snaps. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Listening on CUPS Scheduler. [ OK ] Started Trigger resolvconf update for networkd DNS. [ OK ] Started Daily Cleanup of Temporary Directories. Starting Socket activation for snappy daemon. [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Started Daily apt activities. [ OK ] Reached target Timers. [ OK ] Started CUPS Scheduler. [ OK ] Reached target Paths. [ OK ] Listening on Socket activation for snappy daemon. [ OK ] Reached target Sockets. [ OK ] Reached target Basic System. Starting Avahi mDNS/DNS-SD Stack... Starting LSB: Load kernel modules needed to enable cpufreq scaling... Starting LSB: automatic crash report generation... [ OK ] Started Self Monitoring and Reporting Technology (SMART) Daemon. [ OK ] Started Regular background program processing daemon. [ OK ] Started crash report submission daemon. Starting Initialize hardware monitoring sensors... Starting Login Service... Starting LSB: Execute the kexec -e command to reboot system... Starting System Logging Service... [ OK ] Started Run anacron jobs. Starting Restore /etc/resolv.conf i...re the ppp link was shut down... Starting Modem Manager... [ OK ] Started D-Bus System Message Bus. [ OK ] Started Avahi mDNS/DNS-SD Stack. Starting Network Manager... Starting Accounts Service... Starting LSB: Speech Dispatcher... Starting Permit User Sessions... Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"... [ OK ] Started CUPS Scheduler. [ OK ] Started Make remote CUPS printers available locally. [ OK ] Started Avahi DNS Configuration Daemon. [ OK ] Started Snappy daemon. [ OK ] Started System Logging Service. [ OK ] Started Restore /etc/resolv.conf if...fore the ppp link was shut down. [ OK ] Started Permit User Sessions. [ OK ] Started Initialize hardware monitoring sensors. [ 45.216172] scsi host0: runtime PM trying to activate child device host0 but parent (4-1.1:1.0) is not active [ OK ] Started LSB: automatic crash report generation. [ OK ] Started LSB: Execute the kexec -e command to reboot system. [ OK ] Started LSB: Speech Dispatcher. [ OK ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand". [ OK ] Started Login Service. Starting Authenticate and Authorize Users to Run Privileged Tasks... Starting LSB: Load kernel image with kexec... Starting Light Display Manager... [ OK ] Started Network Manager. [ OK ] Reached target Network. Starting OpenBSD Secure Shell server... Starting Network Manager Wait Online... [ OK ] Started Authenticate and Authorize Users to Run Privileged Tasks. [ OK ] Started LSB: Load kernel image with kexec. [ OK ] Started OpenBSD Secure Shell server. [ OK ] Started Accounts Service. Starting Network Manager Script Dispatcher Service... [ OK ] Started Modem Manager. [ OK ] Started LSB: Load kernel modules needed to enable cpufreq scaling. Starting LSB: set CPUFreq kernel parameters... [ OK ] Started Light Display Manager. [ OK ] Started Network Manager Script Dispatcher Service. Starting Hostname Service... [ OK ] Started LSB: set CPUFreq kernel parameters. [FAILED] Failed to start Hostname Service. See 'systemctl status systemd-hostnamed.service' for details. [ OK ] Created slice User Slice of lightdm. Starting User Manager for UID 110... [ OK ] Started Session c1 of user lightdm. [ OK ] Started User Manager for UID 110. [ OK ] Stopped Braille Device Support. [ OK ] Started Braille Device Support. [FAILED] Failed to start Network Manager Wait Online. See 'systemctl status NetworkManager-wait-online.service' for details. [ OK ] Reached target Network is Online. Starting LSB: disk temperature monitoring daemon... Starting /etc/rc.local Compatibility... Starting LSB: Start NTP daemon... [ OK ] Started /etc/rc.local Compatibility. Starting Hold until boot process finishes up... [ OK ] Started LSB: disk temperature monitoring daemon. [ OK ] Started Hold until boot process finishes up. [ OK ] Started Serial Getty on ttySAC2. Starting Set console scheme... [ OK ] Started Getty on tty1. [ OK ] Reached target Login Prompts. [ OK ] Started LSB: Start NTP daemon. [ OK ] Started Set console scheme. [ OK ] Reached target Multi-User System. Starting Notify bootloader that boot was successful... [ OK ] Started TLP system startup/shutdown. [ OK ] Reached target Graphical Interface. [ OK ] Started Stop ureadahead data collection 45s after completed startup. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Notify bootloader that boot was successful. [ OK ] Started Update UTMP about System Runlevel Changes. Ubuntu 16.04.1 LTS odroid ttySAC2 odroid login: odroid Password: Login incorrect odroid login: odroid Password: Last login: Wed Oct 5 06:52:49 UTC 2016 from 10.0.0.104 on pts/0 Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.8.0-xu4ml armv7l) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage 9 packages can be updated. 0 updates are security updates. odroid 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 |__ 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 |__ 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 /: 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 odroid at odroid:~$ ^ permalink raw reply [flat|nested] 19+ messages in thread
* PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 2016-10-04 12:02 ` Vivek Gautam 2016-10-04 15:09 ` Anand Moon @ 2016-10-06 16:29 ` Michael Niewöhner 2016-10-07 7:42 ` Felipe Balbi 1 sibling, 1 reply; 19+ messages in thread From: Michael Niewöhner @ 2016-10-06 16:29 UTC (permalink / raw) To: linux-arm-kernel Hi Vivek, On Di, 2016-10-04 at 17:32 +0530, Vivek Gautam wrote: > Hi Michael, > > > On Tue, Oct 4, 2016 at 4:28 PM, Michael Niew?hner <linux@mniewoehner.de> wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > [1.] One line summary of the problem: > > > > > > > DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 > > > > > > > > > > > > > > [2.] Full description of the problem/report: > > > > > > > No usb 3.0 devices are being detected when attached while USB 2.0 > > > > > > > devices work on the same port. > > > > > > > USB 3.0 works after applying patches [9.1] and [9.2], but seems > > > > > > > to be > > > > > > > buggy. The usb hub is redetected every time an usb device is > > > > > > > attached. > > [snip] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > [9.] Other notes, patches, fixes, workarounds: > > > > > > > > [9.1] https://lkml.org/lkml/2014/4/28/234 > > > > > > > > [9.2] https://lkml.org/lkml/2015/2/2/259 > > > > > > These patches are required to get USB super-speed working on Exynos5420/5800. > > > But they did not make to upstream. There was resistance on adding new > > > phy_calibrate() > > > callback. > > > > > > Without these patches the Exynos5420/5800 will enumerate all > > > super-speed capable devices > > > as high-speed devices. > > > Last time we checked with exynos542x smdk boards and peach-* boards, > > > we could get the > > > Super - speed devices working. I have not tested odroid anytime so > > > don't have much idea about the > > > its intricacies. > > > I guess Anand was able to use these patches to get his kernel working in past. > > > > > > The patches don't work anymore with 4.8-rc* / 4.8. They worked - but very > > unstable - with 4.7. > > > > One more problem appeared since one of the 4.8-RCs: reboot hangs when the dwc3 > > module is loaded. If I unload it before reboot / shutdown everything is fine. > > > > > > > > > > > > > When you have a downstream on-board usb hub, ideally it should be able > > > to detect the devices > > > and not reset everytime you connect a new device (like you mentioned earlier). > > > There can be two possible reasons why the hub keeps getting reset ever > > > after applying the above > > > mentioned patches: > > > 1) the clock rates are not proper. > > > 2) the regulator load setting is not enough to drive the hub. > > > > > > Anand, can you please point Michael to an older kernel with which you > > > could test usb on odroid successfully ? > > > You can compare the clocks with an older version and see if there'a > > > any difference. > > > > > > Any possibility of any other framework (such as, bus-freq) trimming > > > down the clock - rates ? > > > > > > ################################ > > # v4.7.5 > > ################################ > > > > $ cat /sys/kernel/debug/clk/clk_summary | grep usb > > ?sclk_usbh20_scan_clk?????????????????????0????????????0???480000000??????????0 > > ?sclk_usbh20??????????????????????????????0????????????0????48000 > > 000??????????0 > > ????mout_usbd300??????????????????????????1????????????1????24000000??????????0 > > ???????dout_usbd300???????????????????????0????????????0????24000000??????????0 > > ??????????sclk_usbd300 > > ?????????????????0????????????0????24000000??????????0 > > ???????dout_usbphy300?????????????????????1????????????1????24000000??????????0 > > ??????????sclk_usbphy300??????????????????4????????????4????24000 > > 000??????????0 > > ????mout_usbd301??????????????????????????1????????????1????24000000??????????0 > > ???????dout_usbd301???????????????????????0????????????0????24000000??????????0 > > ??????????sclk_usbd301 > > ?????????????????0????????????0????24000000??????????0 > > ???????dout_usbphy301?????????????????????1????????????1????24000000??????????0 > > ??????????sclk_usbphy301??????????????????3????????????3????24000 > > 000??????????0 > > ?????????????????????????usbd301???????????1????????????1???100000000 > > ?????????????????????????usbd300???????????1????????????1???100000000 > > > > usbh20???????????3????????????3???100000000??????????0 > > > > > > > ################################ > > # v4.8.0 > > ################################ > > > > $ cat /sys/kernel/debug/clk/clk_summary | grep usb > > ?sclk_usbh20_scan_clk?????????????????????0????????????0???480000000??????????0 > > ?sclk_usbh20??????????????????????????????0????????????0????48000000 > > ????????0 > > ????mout_usbd300??????????????????????????1????????????1????24000000??????????0 > > ???????dout_usbd300???????????????????????0????????????0????24000000??????????0 > > ??????????sclk_usbd300 > > ????????????0????????????0????24000000??????????0 > > ???????dout_usbphy300?????????????????????1????????????1????24000000??????????0 > > ??????????sclk_usbphy300??????????????????4????????????4????24000000 > > ????????0 > > ????mout_usbd301??????????????????????????1????????????1????24000000??????????0 > > ???????dout_usbd301???????????????????????0????????????0????24000000??????????0 > > ??????????sclk_usbd301 > > ????????????0????????????0????24000000??????????0 > > ???????dout_usbphy301?????????????????????1????????????1????24000000??????????0 > > ??????????sclk_usbphy301??????????????????3????????????3????24000000 > > ????????0 > > ?????????????????????????usbd301???????????1????????????1???100000000 > > This clock should have been 200MHz. > > > > > ?????????????????????????usbd300???????????1????????????1???100000000 > > ?????????????????????????usbh2 > > 0???????????3????????????3???100000000??????????0 > > > > $ cat /sys/kernel/debug/usb/devices > > <<system hangs>> > > > > The clocks are same across working/non-working. > Is it possible to bisect the commit that's causing hang for 4.8x ? [c499ff71ff2a281366c6ec7a904c547d806cbcd1] usb: dwc3: core: re-factor init and exit paths This patch causes both the hang on reboot and the lsusb hang. > > Adding few of the folks from Samsung who can test dwc3 usb on smdk/peach boards. > +Alim, Pankaj > > Hi Alim, Pankaj, > can you please give a try with 4.8 kernel on peach/smdk542x board and > see if dwc3 usb works or not. > You may need to the patches mentioned in [9.1] and [9.2] mentioned above. > > > [snip] > > > Thanks > Vivek > Best regards Michael ^ permalink raw reply [flat|nested] 19+ messages in thread
* PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 2016-10-06 16:29 ` Michael Niewöhner @ 2016-10-07 7:42 ` Felipe Balbi 2016-10-07 20:26 ` Michael Niewöhner 0 siblings, 1 reply; 19+ messages in thread From: Felipe Balbi @ 2016-10-07 7:42 UTC (permalink / raw) To: linux-arm-kernel Hi, Michael Niew?hner <linux@mniewoehner.de> writes: >> The clocks are same across working/non-working. >> Is it possible to bisect the commit that's causing hang for 4.8x ? > > > [c499ff71ff2a281366c6ec7a904c547d806cbcd1] usb: dwc3: core: re-factor init and exit paths > This patch causes both the hang on reboot and the lsusb hang. How to reproduce? Why don't we see this on x86 and TI boards? I'm guessing this is failed bisection, as I can't see anything in that commit that would cause reboot hang. Also, that code path is *NOT* executed when you run lsusb. -- balbi -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 800 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20161007/291447b6/attachment.sig> ^ permalink raw reply [flat|nested] 19+ messages in thread
* PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 2016-10-07 7:42 ` Felipe Balbi @ 2016-10-07 20:26 ` Michael Niewöhner 2016-10-16 14:19 ` Michael Niewöhner 0 siblings, 1 reply; 19+ messages in thread From: Michael Niewöhner @ 2016-10-07 20:26 UTC (permalink / raw) To: linux-arm-kernel Hi Felipe, On Fr, 2016-10-07 at 10:42 +0300, Felipe Balbi wrote: > Hi, > > Michael Niew?hner <linux@mniewoehner.de> writes: > > > > > > > > The clocks are same across working/non-working. > > > Is it possible to bisect the commit that's causing hang for 4.8x ? > > > > > > [c499ff71ff2a281366c6ec7a904c547d806cbcd1] usb: dwc3: core: re-factor init and exit paths > > This patch causes both the hang on reboot and the lsusb hang. > > How to reproduce? Why don't we see this on x86 and TI boards? I'm > guessing this is failed bisection, as I can't see anything in that > commit that would cause reboot hang. Also, that code path is *NOT* > executed when you run lsusb. > I've tested this procedure multiple times to be sure: - checkout?c499ff71, compile, boot the odroid - run lsusb -v => lsusb hangs, can't terminate with ctrl-c - hard reset, after boot run poweroff or reboot => board does not completely power off / reboot (see log below) - revert c499ff71, mrproper, compile, boot the odroid - run lsusb -v => shows full output, not hanging - run reboot or poweroff => board powers off / reboots just fine dmesg poweroff not working: ... [??120.733519] systemd-journald[144]: systemd-journald stopped as pid 144??????? [??120.742663] systemd-shutdown[1]: Sending SIGKILL to remaining processes...??? [??120.769212] systemd-shutdown[1]: Unmounting file systems.???????????????????? [??120.773713] systemd-shutdown[1]: Unmounting /sys/kernel/debug.??????????????? [??120.827211] systemd-shutdown[1]: Unmounting /dev/mqueue.????????????????????? [??121.081672] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)???????????????????? [??121.091687] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)???????????????????? [??121.095608] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)???????????????????? [??121.101014] systemd-shutdown[1]: All filesystems unmounted.?????????????????? [??121.106523] systemd-shutdown[1]: Deactivating swaps.????????????????????????? [??121.111585] systemd-shutdown[1]: All swaps deactivated.?????????????????????? [??121.116661] systemd-shutdown[1]: Detaching loop devices.????????????????????? [??121.126395] systemd-shutdown[1]: All loop devices detached.?????????????????? [??121.130525] systemd-shutdown[1]: Detaching DM devices.??????????????????????? [??121.135824] systemd-shutdown[1]: All DM devices detached.???????????????????? [??121.166327] systemd-shutdown[1]: /lib/systemd/system-shutdown succeeded.????? [??121.171739] systemd-shutdown[1]: Powering off. => at this point removing the sd card would show a message? "removed mmc0" (not sure what the real message was...) so the board is not completely off. dmesg poweroff working: ... [??120.733519] systemd-journald[144]: systemd-journald stopped as pid 144??????? [??120.742663] systemd-shutdown[1]: Sending SIGKILL to remaining processes...??? [??120.769212] systemd-shutdown[1]: Unmounting file systems.???????????????????? [??120.773713] systemd-shutdown[1]: Unmounting /sys/kernel/debug.??????????????? [??120.827211] systemd-shutdown[1]: Unmounting /dev/mqueue.????????????????????? [??121.081672] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)???????????????????? [??121.091687] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)???????????????????? [??121.095608] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)???????????????????? [??121.101014] systemd-shutdown[1]: All filesystems unmounted.?????????????????? [??121.106523] systemd-shutdown[1]: Deactivating swaps.????????????????????????? [??121.111585] systemd-shutdown[1]: All swaps deactivated.?????????????????????? [??121.116661] systemd-shutdown[1]: Detaching loop devices.????????????????????? [??121.126395] systemd-shutdown[1]: All loop devices detached.?????????????????? [??121.130525] systemd-shutdown[1]: Detaching DM devices.??????????????????????? [??121.135824] systemd-shutdown[1]: All DM devices detached.???????????????????? [??121.166327] systemd-shutdown[1]: /lib/systemd/system-shutdown succeeded.????? [??121.171739] systemd-shutdown[1]: Powering off. [??121.182331] rebo? Best regards Michael ^ permalink raw reply [flat|nested] 19+ messages in thread
* PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 2016-10-07 20:26 ` Michael Niewöhner @ 2016-10-16 14:19 ` Michael Niewöhner 2016-10-17 8:08 ` Felipe Balbi 0 siblings, 1 reply; 19+ messages in thread From: Michael Niewöhner @ 2016-10-16 14:19 UTC (permalink / raw) To: linux-arm-kernel Hi Felipe, On Fri, 2016-10-07 at 22:26 +0200, Michael Niew?hner wrote: > Hi Felipe, > > On Fr, 2016-10-07 at 10:42 +0300, Felipe Balbi wrote: > > Hi, > > > > Michael Niew?hner <linux@mniewoehner.de> writes: > > > > > > > > > > > The clocks are same across working/non-working. > > > > Is it possible to bisect the commit that's causing hang for 4.8x ? > > > > > > > > > [c499ff71ff2a281366c6ec7a904c547d806cbcd1] usb: dwc3: core: re-factor init and exit paths > > > This patch causes both the hang on reboot and the lsusb hang. > > > > How to reproduce? Why don't we see this on x86 and TI boards? I'm > > guessing this is failed bisection, as I can't see anything in that > > commit that would cause reboot hang. Also, that code path is *NOT* > > executed when you run lsusb. > > > > I've tested this procedure multiple times to be sure: > > - checkout?c499ff71, compile, boot the odroid > - run lsusb -v => lsusb hangs, can't terminate with ctrl-c > - hard reset, after boot run poweroff or reboot => board does not completely power off / reboot (see log below) > - revert c499ff71, mrproper, compile, boot the odroid > - run lsusb -v => shows full output, not hanging > - run reboot or poweroff => board powers off / reboots just fine > > > dmesg poweroff not working: > ... > [??120.733519] systemd-journald[144]: systemd-journald stopped as pid 144??????? > [??120.742663] systemd-shutdown[1]: Sending SIGKILL to remaining processes...??? > [??120.769212] systemd-shutdown[1]: Unmounting file systems.???????????????????? > [??120.773713] systemd-shutdown[1]: Unmounting /sys/kernel/debug.??????????????? > [??120.827211] systemd-shutdown[1]: Unmounting /dev/mqueue.????????????????????? > [??121.081672] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)???????????????????? > [??121.091687] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)???????????????????? > [??121.095608] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)???????????????????? > [??121.101014] systemd-shutdown[1]: All filesystems unmounted.?????????????????? > [??121.106523] systemd-shutdown[1]: Deactivating swaps.????????????????????????? > [??121.111585] systemd-shutdown[1]: All swaps deactivated.?????????????????????? > [??121.116661] systemd-shutdown[1]: Detaching loop devices.????????????????????? > [??121.126395] systemd-shutdown[1]: All loop devices detached.?????????????????? > [??121.130525] systemd-shutdown[1]: Detaching DM devices.??????????????????????? > [??121.135824] systemd-shutdown[1]: All DM devices detached.???????????????????? > [??121.166327] systemd-shutdown[1]: /lib/systemd/system-shutdown succeeded.????? > [??121.171739] systemd-shutdown[1]: Powering off. > > => at this point removing the sd card would show a message? > "removed mmc0" (not sure what the real message was...) so the board is not completely off. > > > dmesg poweroff working: > ... > [??120.733519] systemd-journald[144]: systemd-journald stopped as pid 144??????? > [??120.742663] systemd-shutdown[1]: Sending SIGKILL to remaining processes...??? > [??120.769212] systemd-shutdown[1]: Unmounting file systems.???????????????????? > [??120.773713] systemd-shutdown[1]: Unmounting /sys/kernel/debug.??????????????? > [??120.827211] systemd-shutdown[1]: Unmounting /dev/mqueue.????????????????????? > [??121.081672] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)???????????????????? > [??121.091687] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)???????????????????? > [??121.095608] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)???????????????????? > [??121.101014] systemd-shutdown[1]: All filesystems unmounted.?????????????????? > [??121.106523] systemd-shutdown[1]: Deactivating swaps.????????????????????????? > [??121.111585] systemd-shutdown[1]: All swaps deactivated.?????????????????????? > [??121.116661] systemd-shutdown[1]: Detaching loop devices.????????????????????? > [??121.126395] systemd-shutdown[1]: All loop devices detached.?????????????????? > [??121.130525] systemd-shutdown[1]: Detaching DM devices.??????????????????????? > [??121.135824] systemd-shutdown[1]: All DM devices detached.???????????????????? > [??121.166327] systemd-shutdown[1]: /lib/systemd/system-shutdown succeeded.????? > [??121.171739] systemd-shutdown[1]: Powering off. > [??121.182331] rebo? > > > > Best regards > Michael Niew?hner I did some more tests with next-20161016. Reverting / commenting out one part of your patch "solves" the lsusb hang, the reboot problem and also the "debounce failed" message. [1] Another "solution" is to call phy_power_off before phy_power_on. [2] Disclaimer: I have no idea what I was doing ;-) These were just some simple trial-and-error attempts that maybe help to find the real cause of the problems. [1] diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index 7287a76..5ef589d 100644 --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c @@ -724,6 +724,7 @@ static int dwc3_core_init(struct dwc3 *dwc) ? /* Adjust Frame Length */ ? dwc3_frame_length_adjustment(dwc); ? +/* ? usb_phy_set_suspend(dwc->usb2_phy, 0); ? usb_phy_set_suspend(dwc->usb3_phy, 0); ? ret = phy_power_on(dwc->usb2_generic_phy); @@ -733,6 +734,7 @@ static int dwc3_core_init(struct dwc3 *dwc) ? ret = phy_power_on(dwc->usb3_generic_phy); ? if (ret < 0) ? goto err3; +*/ ? ? ret = dwc3_event_buffers_setup(dwc); ? if (ret) { [2] diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index 7287a76..f6c8e13 100644 --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c @@ -726,6 +726,8 @@ static int dwc3_core_init(struct dwc3 *dwc) ? ????????usb_phy_set_suspend(dwc->usb2_phy, 0); ????????usb_phy_set_suspend(dwc->usb3_phy, 0); +???????phy_power_off(dwc->usb2_generic_phy); +???????phy_power_off(dwc->usb3_generic_phy); ????????ret = phy_power_on(dwc->usb2_generic_phy); ????????if (ret < 0) ????????????????goto err2; Best regards Michael ^ permalink raw reply related [flat|nested] 19+ messages in thread
* PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 2016-10-16 14:19 ` Michael Niewöhner @ 2016-10-17 8:08 ` Felipe Balbi 2016-10-17 9:51 ` Vivek Gautam 0 siblings, 1 reply; 19+ messages in thread From: Felipe Balbi @ 2016-10-17 8:08 UTC (permalink / raw) To: linux-arm-kernel Hi, Michael Niew?hner <linux@mniewoehner.de> writes: > Hi Felipe, > On Fri, 2016-10-07 at 22:26 +0200, Michael Niew?hner wrote: >> Hi Felipe, >> >> On Fr, 2016-10-07 at 10:42 +0300, Felipe Balbi wrote: >> > Hi, >> > >> > Michael Niew?hner <linux@mniewoehner.de> writes: >> > > >> > > > >> > > > The clocks are same across working/non-working. >> > > > Is it possible to bisect the commit that's causing hang for 4.8x ? >> > > >> > > >> > > [c499ff71ff2a281366c6ec7a904c547d806cbcd1] usb: dwc3: core: re-factor init and exit paths >> > > This patch causes both the hang on reboot and the lsusb hang. >> > >> > How to reproduce? Why don't we see this on x86 and TI boards? I'm >> > guessing this is failed bisection, as I can't see anything in that >> > commit that would cause reboot hang. Also, that code path is *NOT* >> > executed when you run lsusb. >> > >> >> I've tested this procedure multiple times to be sure: >> >> - checkout?c499ff71, compile, boot the odroid >> - run lsusb -v => lsusb hangs, can't terminate with ctrl-c >> - hard reset, after boot run poweroff or reboot => board does not completely power off / reboot (see log below) >> - revert c499ff71, mrproper, compile, boot the odroid >> - run lsusb -v => shows full output, not hanging >> - run reboot or poweroff => board powers off / reboots just fine >> >> >> dmesg poweroff not working: >> ... >> [??120.733519] systemd-journald[144]: systemd-journald stopped as pid 144??????? >> [??120.742663] systemd-shutdown[1]: Sending SIGKILL to remaining processes...??? >> [??120.769212] systemd-shutdown[1]: Unmounting file systems.???????????????????? >> [??120.773713] systemd-shutdown[1]: Unmounting /sys/kernel/debug.??????????????? >> [??120.827211] systemd-shutdown[1]: Unmounting /dev/mqueue.????????????????????? >> [??121.081672] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)???????????????????? >> [??121.091687] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)???????????????????? >> [??121.095608] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)???????????????????? >> [??121.101014] systemd-shutdown[1]: All filesystems unmounted.?????????????????? >> [??121.106523] systemd-shutdown[1]: Deactivating swaps.????????????????????????? >> [??121.111585] systemd-shutdown[1]: All swaps deactivated.?????????????????????? >> [??121.116661] systemd-shutdown[1]: Detaching loop devices.????????????????????? >> [??121.126395] systemd-shutdown[1]: All loop devices detached.?????????????????? >> [??121.130525] systemd-shutdown[1]: Detaching DM devices.??????????????????????? >> [??121.135824] systemd-shutdown[1]: All DM devices detached.???????????????????? >> [??121.166327] systemd-shutdown[1]: /lib/systemd/system-shutdown succeeded.????? >> [??121.171739] systemd-shutdown[1]: Powering off. >> >> => at this point removing the sd card would show a message? >> "removed mmc0" (not sure what the real message was...) so the board is not completely off. >> >> >> dmesg poweroff working: >> ... >> [??120.733519] systemd-journald[144]: systemd-journald stopped as pid 144??????? >> [??120.742663] systemd-shutdown[1]: Sending SIGKILL to remaining processes...??? >> [??120.769212] systemd-shutdown[1]: Unmounting file systems.???????????????????? >> [??120.773713] systemd-shutdown[1]: Unmounting /sys/kernel/debug.??????????????? >> [??120.827211] systemd-shutdown[1]: Unmounting /dev/mqueue.????????????????????? >> [??121.081672] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)???????????????????? >> [??121.091687] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)???????????????????? >> [??121.095608] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)???????????????????? >> [??121.101014] systemd-shutdown[1]: All filesystems unmounted.?????????????????? >> [??121.106523] systemd-shutdown[1]: Deactivating swaps.????????????????????????? >> [??121.111585] systemd-shutdown[1]: All swaps deactivated.?????????????????????? >> [??121.116661] systemd-shutdown[1]: Detaching loop devices.????????????????????? >> [??121.126395] systemd-shutdown[1]: All loop devices detached.?????????????????? >> [??121.130525] systemd-shutdown[1]: Detaching DM devices.??????????????????????? >> [??121.135824] systemd-shutdown[1]: All DM devices detached.???????????????????? >> [??121.166327] systemd-shutdown[1]: /lib/systemd/system-shutdown succeeded.????? >> [??121.171739] systemd-shutdown[1]: Powering off. >> [??121.182331] rebo? >> >> >> >> Best regards >> Michael Niew?hner > > > I did some more tests with next-20161016. Reverting / commenting out > one part of your patch "solves" the lsusb hang, the reboot problem > and also the "debounce failed" message. [1] > Another "solution" is to call phy_power_off before phy_power_on. [2] > > Disclaimer: I have no idea what I was doing ;-) These were just some > simple trial-and-error attempts that maybe help to find the real > cause of the problems. > > [1] > diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c > index 7287a76..5ef589d 100644 > --- a/drivers/usb/dwc3/core.c > +++ b/drivers/usb/dwc3/core.c > @@ -724,6 +724,7 @@ static int dwc3_core_init(struct dwc3 *dwc) > ? /* Adjust Frame Length */ > ? dwc3_frame_length_adjustment(dwc); > ? > +/* > ? usb_phy_set_suspend(dwc->usb2_phy, 0); > ? usb_phy_set_suspend(dwc->usb3_phy, 0); > ? ret = phy_power_on(dwc->usb2_generic_phy); > @@ -733,6 +734,7 @@ static int dwc3_core_init(struct dwc3 *dwc) > ? ret = phy_power_on(dwc->usb3_generic_phy); > ? if (ret < 0) > ? goto err3; > +*/ > ? > ? ret = dwc3_event_buffers_setup(dwc); > ? if (ret) { > > [2] > diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c > index 7287a76..f6c8e13 100644 > --- a/drivers/usb/dwc3/core.c > +++ b/drivers/usb/dwc3/core.c > @@ -726,6 +726,8 @@ static int dwc3_core_init(struct dwc3 *dwc) > ? > ????????usb_phy_set_suspend(dwc->usb2_phy, 0); > ????????usb_phy_set_suspend(dwc->usb3_phy, 0); > +???????phy_power_off(dwc->usb2_generic_phy); > +???????phy_power_off(dwc->usb3_generic_phy); This looks like a PHY driver bug to me. Which PHY driver are you using? -- balbi -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 800 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20161017/a826b912/attachment-0001.sig> ^ permalink raw reply [flat|nested] 19+ messages in thread
* PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 2016-10-17 8:08 ` Felipe Balbi @ 2016-10-17 9:51 ` Vivek Gautam 2016-10-18 12:20 ` Michael Niewöhner 0 siblings, 1 reply; 19+ messages in thread From: Vivek Gautam @ 2016-10-17 9:51 UTC (permalink / raw) To: linux-arm-kernel On 10/17/2016 01:38 PM, Felipe Balbi wrote: > Hi, > > Michael Niew?hner <linux@mniewoehner.de> writes: >> Hi Felipe, >> On Fri, 2016-10-07 at 22:26 +0200, Michael Niew?hner wrote: >>> Hi Felipe, >>> >>> On Fr, 2016-10-07 at 10:42 +0300, Felipe Balbi wrote: >>>> Hi, >>>> >>>> Michael Niew?hner <linux@mniewoehner.de> writes: >>>>>> The clocks are same across working/non-working. >>>>>> Is it possible to bisect the commit that's causing hang for 4.8x ? >>>>> >>>>> [c499ff71ff2a281366c6ec7a904c547d806cbcd1] usb: dwc3: core: re-factor init and exit paths >>>>> This patch causes both the hang on reboot and the lsusb hang. >>>> How to reproduce? Why don't we see this on x86 and TI boards? I'm >>>> guessing this is failed bisection, as I can't see anything in that >>>> commit that would cause reboot hang. Also, that code path is *NOT* >>>> executed when you run lsusb. >>>> >>> I've tested this procedure multiple times to be sure: >>> >>> - checkout c499ff71, compile, boot the odroid >>> - run lsusb -v => lsusb hangs, can't terminate with ctrl-c >>> - hard reset, after boot run poweroff or reboot => board does not completely power off / reboot (see log below) >>> - revert c499ff71, mrproper, compile, boot the odroid >>> - run lsusb -v => shows full output, not hanging >>> - run reboot or poweroff => board powers off / reboots just fine >>> >>> >>> dmesg poweroff not working: >>> ... >>> [ 120.733519] systemd-journald[144]: systemd-journald stopped as pid 144 >>> [ 120.742663] systemd-shutdown[1]: Sending SIGKILL to remaining processes... >>> [ 120.769212] systemd-shutdown[1]: Unmounting file systems. >>> [ 120.773713] systemd-shutdown[1]: Unmounting /sys/kernel/debug. >>> [ 120.827211] systemd-shutdown[1]: Unmounting /dev/mqueue. >>> [ 121.081672] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null) >>> [ 121.091687] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null) >>> [ 121.095608] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null) >>> [ 121.101014] systemd-shutdown[1]: All filesystems unmounted. >>> [ 121.106523] systemd-shutdown[1]: Deactivating swaps. >>> [ 121.111585] systemd-shutdown[1]: All swaps deactivated. >>> [ 121.116661] systemd-shutdown[1]: Detaching loop devices. >>> [ 121.126395] systemd-shutdown[1]: All loop devices detached. >>> [ 121.130525] systemd-shutdown[1]: Detaching DM devices. >>> [ 121.135824] systemd-shutdown[1]: All DM devices detached. >>> [ 121.166327] systemd-shutdown[1]: /lib/systemd/system-shutdown succeeded. >>> [ 121.171739] systemd-shutdown[1]: Powering off. >>> >>> => at this point removing the sd card would show a message >>> "removed mmc0" (not sure what the real message was...) so the board is not completely off. >>> >>> >>> dmesg poweroff working: >>> ... >>> [ 120.733519] systemd-journald[144]: systemd-journald stopped as pid 144 >>> [ 120.742663] systemd-shutdown[1]: Sending SIGKILL to remaining processes... >>> [ 120.769212] systemd-shutdown[1]: Unmounting file systems. >>> [ 120.773713] systemd-shutdown[1]: Unmounting /sys/kernel/debug. >>> [ 120.827211] systemd-shutdown[1]: Unmounting /dev/mqueue. >>> [ 121.081672] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null) >>> [ 121.091687] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null) >>> [ 121.095608] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null) >>> [ 121.101014] systemd-shutdown[1]: All filesystems unmounted. >>> [ 121.106523] systemd-shutdown[1]: Deactivating swaps. >>> [ 121.111585] systemd-shutdown[1]: All swaps deactivated. >>> [ 121.116661] systemd-shutdown[1]: Detaching loop devices. >>> [ 121.126395] systemd-shutdown[1]: All loop devices detached. >>> [ 121.130525] systemd-shutdown[1]: Detaching DM devices. >>> [ 121.135824] systemd-shutdown[1]: All DM devices detached. >>> [ 121.166327] systemd-shutdown[1]: /lib/systemd/system-shutdown succeeded. >>> [ 121.171739] systemd-shutdown[1]: Powering off. >>> [ 121.182331] rebo? >>> >>> >>> >>> Best regards >>> Michael Niew?hner >> >> I did some more tests with next-20161016. Reverting / commenting out >> one part of your patch "solves" the lsusb hang, the reboot problem >> and also the "debounce failed" message. [1] >> Another "solution" is to call phy_power_off before phy_power_on. [2] >> >> Disclaimer: I have no idea what I was doing ;-) These were just some >> simple trial-and-error attempts that maybe help to find the real >> cause of the problems. >> >> [1] >> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c >> index 7287a76..5ef589d 100644 >> --- a/drivers/usb/dwc3/core.c >> +++ b/drivers/usb/dwc3/core.c >> @@ -724,6 +724,7 @@ static int dwc3_core_init(struct dwc3 *dwc) >> /* Adjust Frame Length */ >> dwc3_frame_length_adjustment(dwc); >> >> +/* >> usb_phy_set_suspend(dwc->usb2_phy, 0); >> usb_phy_set_suspend(dwc->usb3_phy, 0); >> ret = phy_power_on(dwc->usb2_generic_phy); >> @@ -733,6 +734,7 @@ static int dwc3_core_init(struct dwc3 *dwc) >> ret = phy_power_on(dwc->usb3_generic_phy); >> if (ret < 0) >> goto err3; >> +*/ >> >> ret = dwc3_event_buffers_setup(dwc); >> if (ret) { >> >> [2] >> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c >> index 7287a76..f6c8e13 100644 >> --- a/drivers/usb/dwc3/core.c >> +++ b/drivers/usb/dwc3/core.c >> @@ -726,6 +726,8 @@ static int dwc3_core_init(struct dwc3 *dwc) >> >> usb_phy_set_suspend(dwc->usb2_phy, 0); >> usb_phy_set_suspend(dwc->usb3_phy, 0); >> + phy_power_off(dwc->usb2_generic_phy); >> + phy_power_off(dwc->usb3_generic_phy); > This looks like a PHY driver bug to me. Which PHY driver are you using? > The exynos5-usbdrd phy driver is used for exynos platforms. Looks like something is not right with the phy driver even after applying the phy_calibrate patches. Michael, are you using the last set of patches for phy calibration [1]? [1] https://lkml.org/lkml/2015/2/2/257. Thanks Vivek -- The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project ^ permalink raw reply [flat|nested] 19+ messages in thread
* PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 2016-10-17 9:51 ` Vivek Gautam @ 2016-10-18 12:20 ` Michael Niewöhner 0 siblings, 0 replies; 19+ messages in thread From: Michael Niewöhner @ 2016-10-18 12:20 UTC (permalink / raw) To: linux-arm-kernel Hi, On Mon, 2016-10-17 at 15:21 +0530, Vivek Gautam wrote: > > On 10/17/2016 01:38 PM, Felipe Balbi wrote: > > Hi, > > > > Michael Niew?hner <linux@mniewoehner.de> writes: > > > Hi Felipe, > > > On Fri, 2016-10-07 at 22:26 +0200, Michael Niew?hner wrote: > > > > Hi Felipe, > > > > > > > > On Fr, 2016-10-07 at 10:42 +0300, Felipe Balbi wrote: > > > > > Hi, > > > > > > > > > > Michael Niew?hner <linux@mniewoehner.de> writes: > > > > > > > The clocks are same across working/non-working. > > > > > > > Is it possible to bisect the commit that's causing hang for 4.8x ? > > > > > > > > > > > > [c499ff71ff2a281366c6ec7a904c547d806cbcd1] usb: dwc3: core: re-factor init and exit paths > > > > > > This patch causes both the hang on reboot and the lsusb hang. > > > > > > > > > > How to reproduce? Why don't we see this on x86 and TI boards? I'm > > > > > guessing this is failed bisection, as I can't see anything in that > > > > > commit that would cause reboot hang. Also, that code path is *NOT* > > > > > executed when you run lsusb. > > > > > > > > > > > > > I've tested this procedure multiple times to be sure: > > > > > > > > - checkout c499ff71, compile, boot the odroid > > > > - run lsusb -v => lsusb hangs, can't terminate with ctrl-c > > > > - hard reset, after boot run poweroff or reboot => board does not completely power off / reboot (see log below) > > > > - revert c499ff71, mrproper, compile, boot the odroid > > > > - run lsusb -v => shows full output, not hanging > > > > - run reboot or poweroff => board powers off / reboots just fine > > > > > > > > > > > > dmesg poweroff not working: > > > > ... > > > > [??120.733519] systemd-journald[144]: systemd-journald stopped as pid 144 > > > > [??120.742663] systemd-shutdown[1]: Sending SIGKILL to remaining processes... > > > > [??120.769212] systemd-shutdown[1]: Unmounting file systems. > > > > [??120.773713] systemd-shutdown[1]: Unmounting /sys/kernel/debug. > > > > [??120.827211] systemd-shutdown[1]: Unmounting /dev/mqueue. > > > > [??121.081672] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null) > > > > [??121.091687] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null) > > > > [??121.095608] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null) > > > > [??121.101014] systemd-shutdown[1]: All filesystems unmounted. > > > > [??121.106523] systemd-shutdown[1]: Deactivating swaps. > > > > [??121.111585] systemd-shutdown[1]: All swaps deactivated. > > > > [??121.116661] systemd-shutdown[1]: Detaching loop devices. > > > > [??121.126395] systemd-shutdown[1]: All loop devices detached. > > > > [??121.130525] systemd-shutdown[1]: Detaching DM devices. > > > > [??121.135824] systemd-shutdown[1]: All DM devices detached. > > > > [??121.166327] systemd-shutdown[1]: /lib/systemd/system-shutdown succeeded. > > > > [??121.171739] systemd-shutdown[1]: Powering off. > > > > > > > > => at this point removing the sd card would show a message > > > > "removed mmc0" (not sure what the real message was...) so the board is not completely off. > > > > > > > > > > > > dmesg poweroff working: > > > > ... > > > > [??120.733519] systemd-journald[144]: systemd-journald stopped as pid 144 > > > > [??120.742663] systemd-shutdown[1]: Sending SIGKILL to remaining processes... > > > > [??120.769212] systemd-shutdown[1]: Unmounting file systems. > > > > [??120.773713] systemd-shutdown[1]: Unmounting /sys/kernel/debug. > > > > [??120.827211] systemd-shutdown[1]: Unmounting /dev/mqueue. > > > > [??121.081672] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null) > > > > [??121.091687] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null) > > > > [??121.095608] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null) > > > > [??121.101014] systemd-shutdown[1]: All filesystems unmounted. > > > > [??121.106523] systemd-shutdown[1]: Deactivating swaps. > > > > [??121.111585] systemd-shutdown[1]: All swaps deactivated. > > > > [??121.116661] systemd-shutdown[1]: Detaching loop devices. > > > > [??121.126395] systemd-shutdown[1]: All loop devices detached. > > > > [??121.130525] systemd-shutdown[1]: Detaching DM devices. > > > > [??121.135824] systemd-shutdown[1]: All DM devices detached. > > > > [??121.166327] systemd-shutdown[1]: /lib/systemd/system-shutdown succeeded. > > > > [??121.171739] systemd-shutdown[1]: Powering off. > > > > [??121.182331] rebo? > > > > > > > > > > > > > > > > Best regards > > > > Michael Niew?hner > > > > > > I did some more tests with next-20161016. Reverting / commenting out > > > one part of your patch "solves" the lsusb hang, the reboot problem > > > and also the "debounce failed" message. [1] > > > Another "solution" is to call phy_power_off before phy_power_on. [2] > > > > > > Disclaimer: I have no idea what I was doing ;-) These were just some > > > simple trial-and-error attempts that maybe help to find the real > > > cause of the problems. > > > > > > [1] > > > diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c > > > index 7287a76..5ef589d 100644 > > > --- a/drivers/usb/dwc3/core.c > > > +++ b/drivers/usb/dwc3/core.c > > > @@ -724,6 +724,7 @@ static int dwc3_core_init(struct dwc3 *dwc) > > > ?? /* Adjust Frame Length */ > > > ?? dwc3_frame_length_adjustment(dwc); > > > ?? > > > +/* > > > ?? usb_phy_set_suspend(dwc->usb2_phy, 0); > > > ?? usb_phy_set_suspend(dwc->usb3_phy, 0); > > > ?? ret = phy_power_on(dwc->usb2_generic_phy); > > > @@ -733,6 +734,7 @@ static int dwc3_core_init(struct dwc3 *dwc) > > > ?? ret = phy_power_on(dwc->usb3_generic_phy); > > > ?? if (ret < 0) > > > ?? goto err3; > > > +*/ > > > ?? > > > ?? ret = dwc3_event_buffers_setup(dwc); > > > ?? if (ret) { > > > > > > [2] > > > diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c > > > index 7287a76..f6c8e13 100644 > > > --- a/drivers/usb/dwc3/core.c > > > +++ b/drivers/usb/dwc3/core.c > > > @@ -726,6 +726,8 @@ static int dwc3_core_init(struct dwc3 *dwc) > > > ?? > > > ?????????usb_phy_set_suspend(dwc->usb2_phy, 0); > > > ?????????usb_phy_set_suspend(dwc->usb3_phy, 0); > > > +???????phy_power_off(dwc->usb2_generic_phy); > > > +???????phy_power_off(dwc->usb3_generic_phy); > > > > This looks like a PHY driver bug to me. Which PHY driver are you using? > > > > The exynos5-usbdrd phy driver is used for exynos platforms. > Looks like something is not right with the phy driver even > after applying the phy_calibrate patches. > > Michael, are you using the last set of patches for phy calibration [1]? > [1] https://lkml.org/lkml/2015/2/2/257. yes, I'm using the original LOS level patch. The phy patch doesn't apply to next, so I use this adapted patch: https://github.com/c0d3z3r0/linux/commit/8b7a0b2a19e235c308b9082a14ffe73477e2c9ed > > > Thanks > Vivek > Michael ^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2016-10-18 12:20 UTC | newest] Thread overview: 19+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-08-28 20:04 PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 Michael Niewöhner 2016-08-29 7:28 ` Felipe Balbi 2016-08-29 10:59 ` Mathias Nyman 2016-08-29 11:05 ` Michael Niewöhner 2016-08-30 5:02 ` Anand Moon 2016-09-20 21:19 ` Michael Niewöhner 2016-10-03 13:08 ` Michael Niewöhner 2016-10-04 6:02 ` Vivek Gautam [not found] ` <1475578687.1912.28.camel@mniewoehner.de> 2016-10-04 12:02 ` Vivek Gautam 2016-10-04 15:09 ` Anand Moon 2016-10-05 4:45 ` Vivek Gautam 2016-10-05 7:48 ` Anand Moon 2016-10-06 16:29 ` Michael Niewöhner 2016-10-07 7:42 ` Felipe Balbi 2016-10-07 20:26 ` Michael Niewöhner 2016-10-16 14:19 ` Michael Niewöhner 2016-10-17 8:08 ` Felipe Balbi 2016-10-17 9:51 ` Vivek Gautam 2016-10-18 12:20 ` Michael Niewöhner
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).