[SOLVED] ODROID-XU USB3 not working Arch 5.8.9-1

This forum is for supported devices using an ARMv7 Samsung SoC.

[SOLVED] ODROID-XU USB3 not working Arch 5.8.9-1

Postby doggisbag » Thu Oct 01, 2020 12:33 pm

Hi, first of all i want to really thanks to ALARM team and Krzysztof Kozlowski for maintaining Samsung Exynos Linux drivers. Keep doing a great work!

My problem is the following. From the install instructions it says that USB3 is not working. I'm currently using kernel 5.8.x and i really want to know why or how could i do to make it work. I don't have enough experience in linux world in general (including embedded), but AFAIK devices definitions are creates in the device tree file. In older ubuntu and android kernel releseases (3.4.x) the USB3 seemed to work fine, so i think configs could be modified to have it working on arch's newer kernel.

It's interesting for me also that during boot kernel logs shows that xhci driver related with usb3.0 and older usb specificacions enabled, in addition that in other line shows a message that this device support usb 3.0 host interface, but currently only USB 2.0 ports/hub are working (detected with lsusb and able to power some usb devices). I have read on Xen related package that USB3 was disabled due to overcurrent and some instabilities on it.

lsusb -t output:

$this->bbcode_second_pass_code('', '
[root@Homeassistant dtbs]# lsusb -t
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
|__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
|__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/3p, 480M
')

When tried to get dts text file with dtc, it outputs the following:

$this->bbcode_second_pass_code('', '
root@Homeassistant dtbs]# dtc -I dtb -O dts exynos5410-odroidxu.dtb <stdout>: Warning (simple_bus_reg): /soc/usb3-0: missing or empty reg/ranges property
<stdout>: Warning (simple_bus_reg): /soc/usb3-1: missing or empty reg/ranges property
/dts-v1/;
')

Related with some of the node definitions at exymos5410-odroidxu.dtb:

$this->bbcode_second_pass_code('', '
usbdrd3_0 = "/soc/usb3-0";
usbdrd_dwc3_0 = "/soc/usb3-0/dwc3@12000000";
usbdrd_phy0 = "/soc/phy@12100000";
usbdrd3_1 = "/soc/usb3-1";
usbdrd_dwc3_1 = "/soc/usb3-1/dwc3@12400000";
usbdrd_phy1 = "/soc/phy@12500000";
usbhost2 = "/soc/usb@12110000";
usbhost1 = "/soc/usb@12120000";
usb2_phy = "/soc/phy@12130000";
')

A portion of dmesg with usb logs, nothing attached to usb hubs, just ethernet at RJ45 port.

$this->bbcode_second_pass_code('', '
[root@Homeassistant dtbs]# dmesg | grep usb
[ 1.338155] usbcore: registered new interface driver usbfs
[ 1.338202] usbcore: registered new interface driver hub
[ 1.338265] usbcore: registered new device driver usb
[ 1.443704] samsung-usb2-phy 12130000.phy: supply vbus not found, using dummy regulator
[ 1.444324] exynos5_usb3drd_phy 12100000.phy: supply vbus not found, using dummy regulator
[ 1.444410] exynos5_usb3drd_phy 12100000.phy: supply vbus-boost not found, using dummy regulator
[ 1.444713] exynos5_usb3drd_phy 12500000.phy: supply vbus not found, using dummy regulator
[ 1.444785] exynos5_usb3drd_phy 12500000.phy: supply vbus-boost not found, using dummy regulator
[ 2.621227] usbcore: registered new interface driver vub300
[ 2.632208] usbcore: registered new interface driver ushc
[ 2.713741] exynos-ehci 12110000.usb: EHCI Host Controller
[ 2.718876] exynos-ehci 12110000.usb: new USB bus registered, assigned bus number 1
[ 2.726719] exynos-ehci 12110000.usb: irq 81, io mem 0x12110000
[ 2.746981] exynos-ehci 12110000.usb: USB 2.0 started, EHCI 1.00
[ 2.751730] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.08
[ 2.759778] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.766969] usb usb1: Product: EHCI Host Controller
[ 2.771823] usb usb1: Manufacturer: Linux 5.8.0-1-ARCH ehci_hcd
[ 2.777719] usb usb1: SerialNumber: 12110000.usb
[ 2.814141] exynos-ohci 12120000.usb: USB Host Controller
[ 2.819362] exynos-ohci 12120000.usb: new USB bus registered, assigned bus number 2
[ 2.827082] exynos-ohci 12120000.usb: irq 81, io mem 0x12120000
[ 2.895612] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.08
[ 2.902429] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.909620] usb usb2: Product: USB Host Controller
[ 2.914388] usb usb2: Manufacturer: Linux 5.8.0-1-ARCH ohci_hcd
[ 2.920285] usb usb2: SerialNumber: 12120000.usb
[ 2.933716] usbcore: registered new interface driver uas
[ 2.937963] usbcore: registered new interface driver usb-storage
[ 2.943900] usbcore: registered new interface driver ums-cypress
[ 2.949885] usbcore: registered new interface driver ums_eneub6250
[ 2.956047] usbcore: registered new interface driver ums-freecom
[ 2.962023] usbcore: registered new interface driver ums-isd200
[ 2.967918] usbcore: registered new interface driver ums-usbat
[ 3.004464] usb3503 4-0008: switched to HUB mode
[ 3.007640] usb3503 4-0008: usb3503_probe: probed in hub mode
[ 3.232464] usbcore: registered new interface driver usbhid
[ 3.237799] usbhid: USB HID core driver
[ 3.239015] usb 1-3: new high-speed USB device number 2 using exynos-ehci
[ 3.403687] usb 1-3: New USB device found, idVendor=0424, idProduct=3503, bcdDevice=a1.a0
[ 3.414224] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.512128] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.08
[ 3.519969] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.527161] usb usb3: Product: xHCI Host Controller
[ 3.532017] usb usb3: Manufacturer: Linux 5.8.0-1-ARCH xhci-hcd
[ 3.537914] usb usb3: SerialNumber: xhci-hcd.1.auto
[ 3.570134] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 3.578244] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.08
[ 3.586340] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.593526] usb usb4: Product: xHCI Host Controller
[ 3.598381] usb usb4: Manufacturer: Linux 5.8.0-1-ARCH xhci-hcd
[ 3.604287] usb usb4: SerialNumber: xhci-hcd.1.auto
[ 3.710075] usb 1-2: new high-speed USB device number 3 using exynos-ehci
[ 3.867067] usb usb3-port1: over-current condition
[ 3.871610] usb 1-2: New USB device found, idVendor=0424, idProduct=9730, bcdDevice= 1.00
[ 3.878666] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.935018] usb usb4-port1: over-current condition
[ 8.245824] smsc95xx 1-2:1.0 eth0: register 'smsc95xx' at usb-12110000.usb-2, smsc95xx USB 2.0 Ethernet, a2:1d:b8:c5:e4:d8
[ 8.269807] usbcore: registered new interface driver smsc95xx
')

Related to XHCI USB3:

$this->bbcode_second_pass_code('', '
[root@Homeassistant dtbs]# dmesg | grep xhci
[ 3.484710] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 3.488771] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[ 3.496632] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x0000000002010010
[ 3.505849] xhci-hcd xhci-hcd.1.auto: irq 118, io mem 0x12000000
[ 3.532017] usb usb3: Manufacturer: Linux 5.8.0-1-ARCH xhci-hcd
[ 3.537914] usb usb3: SerialNumber: xhci-hcd.1.auto
[ 3.550741] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 3.555911] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[ 3.563536] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[ 3.598381] usb usb4: Manufacturer: Linux 5.8.0-1-ARCH xhci-hcd
[ 3.604287] usb usb4: SerialNumber: xhci-hcd.1.auto
')

Despite all being said, it's still awesome that an deprecated board like XU is working with latest kernels. Obviously thanks to the maintainers doing a great job!

Anyways, any suggestions will be helpful!
Last edited by doggisbag on Thu Oct 15, 2020 10:10 pm, edited 6 times in total.
doggisbag
 
Posts: 5
Joined: Wed Aug 26, 2020 11:35 pm

Re: ODROID-XU USB3 not working

Postby doggisbag » Thu Oct 08, 2020 11:13 pm

Update:

Looking at the Linux Kernel USB3 Driver definitions, i've found that USB has several modes of operation, which are then implemented on the device tree of a specific system. Looking at the Schematics of XU_Rev0.4 found at https://odroid.in/?directory=.%2Fmirror ... PCB_DWG%2F, i've checked that USB3.0 type A is defined as usb3_1(as shown in image below) in schematics.

usb3_type_a.png
usb3_type_a.png (19.29 KiB) Viewed 13392 times


In addition, the nodes related to that port are shown at PMIC sheet #9, where vdd33 and vdd10 usb3 are related with LDO regulators (shown in images below).

LDO12-15.png
LDO12-15.png (93.76 KiB) Viewed 13392 times


Following those leads, i've checked the device tree file stored at /boot/dtbs/exynos5410-odroidxu.dtb using dtc command to save a copy as .dts file. Then i've looked at the usb3 node definitions and found that usb3_1 node has been defined as "peripheral" instead of "host" mode. Changing that as shown in picture below.

usb3-1_host.png
usb3-1_host.png (12.02 KiB) Viewed 13392 times


Finally i've proceeded to export the modified dts and overwrite the .dtb file.

Now my lsusb output has changed:

$this->bbcode_second_pass_code('', '[root@Homeassistant dtbs]# dmesg | grep usb
[ 1.338055] usbcore: registered new interface driver usbfs
[ 1.338101] usbcore: registered new interface driver hub
[ 1.338180] usbcore: registered new device driver usb
[ 1.445922] samsung-usb2-phy 12130000.phy: supply vbus not found, using dummy regulator
[ 1.446523] exynos5_usb3drd_phy 12100000.phy: supply vbus not found, using dummy regulator
[ 1.446608] exynos5_usb3drd_phy 12100000.phy: supply vbus-boost not found, using dummy regulator
[ 1.446965] exynos5_usb3drd_phy 12500000.phy: supply vbus not found, using dummy regulator
[ 1.447037] exynos5_usb3drd_phy 12500000.phy: supply vbus-boost not found, using dummy regulator
[ 2.599372] usbcore: registered new interface driver vub300
[ 2.610299] usbcore: registered new interface driver ushc
[ 2.691555] exynos-ehci 12110000.usb: EHCI Host Controller
[ 2.696689] exynos-ehci 12110000.usb: new USB bus registered, assigned bus number 1
[ 2.704517] exynos-ehci 12110000.usb: irq 81, io mem 0x12110000
[ 2.722891] exynos-ehci 12110000.usb: USB 2.0 started, EHCI 1.00
[ 2.727624] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.08
[ 2.735692] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.742883] usb usb1: Product: EHCI Host Controller
[ 2.747737] usb usb1: Manufacturer: Linux 5.8.9-1-ARCH ehci_hcd
[ 2.753634] usb usb1: SerialNumber: 12110000.usb
[ 2.790053] exynos-ohci 12120000.usb: USB Host Controller
[ 2.795277] exynos-ohci 12120000.usb: new USB bus registered, assigned bus number 2
[ 2.802995] exynos-ohci 12120000.usb: irq 81, io mem 0x12120000
[ 2.871407] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.08
[ 2.878221] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.885413] usb usb2: Product: USB Host Controller
[ 2.890181] usb usb2: Manufacturer: Linux 5.8.9-1-ARCH ohci_hcd
[ 2.896078] usb usb2: SerialNumber: 12120000.usb
[ 2.909467] usbcore: registered new interface driver uas
[ 2.913756] usbcore: registered new interface driver usb-storage
[ 2.919694] usbcore: registered new interface driver ums-cypress
[ 2.925677] usbcore: registered new interface driver ums_eneub6250
[ 2.931842] usbcore: registered new interface driver ums-freecom
[ 2.937816] usbcore: registered new interface driver ums-isd200
[ 2.943712] usbcore: registered new interface driver ums-usbat
[ 2.980104] usb3503 4-0008: switched to HUB mode
[ 2.983276] usb3503 4-0008: usb3503_probe: probed in hub mode
[ 3.207829] usbcore: registered new interface driver usbhid
[ 3.213154] usbhid: USB HID core driver
[ 3.214920] usb 1-3: new high-speed USB device number 2 using exynos-ehci
[ 3.379437] usb 1-3: New USB device found, idVendor=0424, idProduct=3503, bcdDevice=a1.a0
[ 3.389443] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.494399] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.08
[ 3.502262] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.509456] usb usb3: Product: xHCI Host Controller
[ 3.514308] usb usb3: Manufacturer: Linux 5.8.9-1-ARCH xhci-hcd
[ 3.520215] usb usb3: SerialNumber: xhci-hcd.1.auto
[ 3.581022] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[ 3.588930] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.08
[ 3.597050] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.604239] usb usb5: Product: xHCI Host Controller
[ 3.609105] usb usb5: Manufacturer: Linux 5.8.9-1-ARCH xhci-hcd
[ 3.614998] usb usb5: SerialNumber: xhci-hcd.1.auto
[ 3.628032] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.08
[ 3.635738] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.644287] usb usb4: Product: xHCI Host Controller
[ 3.672657] usb usb4: Manufacturer: Linux 5.8.9-1-ARCH xhci-hcd
[ 3.682981] usb 1-2: new high-speed USB device number 3 using exynos-ehci
[ 3.683308] usb usb4: SerialNumber: xhci-hcd.2.auto
[ 3.758224] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[ 3.772764] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.08
[ 3.780892] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.788085] usb usb6: Product: xHCI Host Controller
[ 3.792919] usb usb6: Manufacturer: Linux 5.8.9-1-ARCH xhci-hcd
[ 3.798872] usb usb6: SerialNumber: xhci-hcd.2.auto
[ 3.843274] usb 1-2: New USB device found, idVendor=0424, idProduct=9730, bcdDevice= 1.00
[ 3.850816] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.918971] usb usb3-port1: over-current condition
[ 4.018908] usb usb5-port1: over-current condition
[ 4.054926] usb usb4-port1: over-current condition
[ 4.134934] usb usb6-port1: over-current condition
[ 9.564691] smsc95xx 1-2:1.0 eth0: register 'smsc95xx' at usb-12110000.usb-2, smsc95xx USB 2.0 Ethernet, 3a:2e:d8:b9:e0:9c
[ 9.608051] usbcore: registered new interface driver smsc95xx
')

output of lsusb -t:

$this->bbcode_second_pass_code('', '[root@Homeassistant dtbs]# 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, 5000M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
|__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
|__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/3p, 480M
')

Now it shows bus 05 and 06 with Superspeed capabilities. Sadly i've connected an USB3.0 External drive with its own power supply and it not worked. But now i'm having different logs so i think i'm doing some progress.

Anyways, if someone is interested i'll keep updating my efforts. Again thanks to the maintainer team for doing a great work!

EDIT: Additional info of lsusb -vv:

$this->bbcode_second_pass_code('', '
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 3
bMaxPacketSize0 9
idVendor 0x1d6b Linux Foundation
idProduct 0x0003 3.0 root hub
bcdDevice 5.08
iManufacturer 3 Linux 5.8.9-1-ARCH xhci-hcd
iProduct 2 xHCI Host Controller
iSerial 1 xhci-hcd.1.auto
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x001f
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
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
Hub Descriptor:
bLength 12
bDescriptorType 42
nNbrPorts 1
wHubCharacteristic 0x0009
Per-port power switching
Per-port overcurrent protection
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
bHubDecLat 0.0 micro seconds
wHubDelay 0 nano seconds
DeviceRemovable 0x00
Hub Port Status:
Port 1: 0000.0088 5Gbps SS.disabled oc
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 0x000f
bNumDeviceCaps 1
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x02
Latency Tolerance Messages (LTM) Supported
wSpeedsSupported 0x0008
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 3
Lowest fully-functional device speed is SuperSpeed (5Gbps)
bU1DevExitLat 0 micro seconds
bU2DevExitLat 0 micro seconds
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0001
')

Where USB3 status tells " Port 1: 0000.0088 5Gbps SS.disabled oc"

Full dmesg logs:

$this->bbcode_second_pass_code('', '[alarm@Homeassistant ~]$ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.8.9-1-ARCH (builduser@leming) (armv7l-unknown-linux-gnueabihf-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35) #1 SMP PREEMPT Sat Sep 12 20:20:55 UTC 2020
[ 0.000000] CPU: ARMv7 Processor [412fc0f3] revision 3 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: Hardkernel Odroid XU
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 64 MiB at 0xbb800000
[ 0.000000] Samsung CPU ID: 0xe5410023
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x000000006fffffff]
[ 0.000000] Normal empty
[ 0.000000] HighMem [mem 0x0000000070000000-0x00000000bfdfffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x00000000bfdfffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfdfffff]
[ 0.000000] On node 0 totalpages: 523776
[ 0.000000] DMA zone: 1728 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 196608 pages, LIFO batch:63
[ 0.000000] HighMem zone: 327168 pages, LIFO batch:63
[ 0.000000] Running under secure firmware.
[ 0.000000] percpu: Embedded 16 pages/cpu s34764 r8192 d22580 u65536
[ 0.000000] pcpu-alloc: s34764 r8192 d22580 u65536 alloc=16*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 522048
[ 0.000000] Kernel command line: console=ttySAC2,115200n8 root=/dev/mmcblk0p2 rootwait rw left=56 right=24 upper=3 lower=3 vsync=3 hsync=14 fb_x_res=1920 fb_y_res=1080 vout=hdmi hdmi_phy_res=1080p60hz led_blink=1 swapaccount=1
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 1984404K/2095104K available (14336K kernel code, 1055K rwdata, 6172K rodata, 2048K init, 881K bss, 45164K reserved, 65536K cma-reserved, 1243136K highmem)
[ 0.000000] random: get_random_u32 called from __kmem_cache_create+0x28/0x3b4 with crng_init=0
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 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.000005] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000025] genirq: irq_chip COMBINER did not update eff. affinity mask of irq 49
[ 0.001964] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 0.001979] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.001996] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.002007] Ignoring duplicate/late registration of read_current_timer delay
[ 0.002654] Console: colour dummy device 80x30
[ 0.002698] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.002712] pid_max: default: 32768 minimum: 301
[ 0.002875] LSM: Security Framework initializing
[ 0.003004] Smack: Initializing.
[ 0.003013] Smack: IPv6 port labeling enabled.
[ 0.003162] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.003179] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.004086] CPU: Testing write buffer coherency: ok
[ 0.004118] CPU0: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
[ 0.004335] CPU0: update cpu_capacity 1024
[ 0.004346] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.004987] Setting up static identity map for 0x40300000 - 0x403000ac
[ 0.006091] rcu: Hierarchical SRCU implementation.
[ 0.006330] soc soc0: Exynos: CPU[EXYNOS5410] PRO_ID[0xe5410023] REV[0x23] Detected
[ 0.007427] smp: Bringing up secondary CPUs ...
[ 0.012195] CPU1: update cpu_capacity 1024
[ 0.012203] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.012212] CPU1: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
[ 0.013837] CPU2: update cpu_capacity 1024
[ 0.013844] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.013850] CPU2: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
[ 0.015430] CPU3: update cpu_capacity 1024
[ 0.015436] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.015443] CPU3: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
[ 0.015599] smp: Brought up 1 node, 4 CPUs
[ 0.015612] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[ 0.015621] CPU: All CPU(s) started in SVC mode.
[ 0.016232] devtmpfs: initialized
[ 0.025316] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 0.025804] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.025822] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.027126] xor: measuring software checksum speed
[ 0.063981] arm4regs : 1979.000 MB/sec
[ 0.103980] 8regs : 1560.000 MB/sec
[ 0.143981] 32regs : 1476.000 MB/sec
[ 0.183982] neon : 3008.000 MB/sec
[ 0.183992] xor: using function: neon (3008.000 MB/sec)
[ 0.184041] pinctrl core: initialized pinctrl subsystem
[ 0.185145] thermal_sys: Registered thermal governor 'fair_share'
[ 0.185149] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.185159] thermal_sys: Registered thermal governor 'step_wise'
[ 0.185168] thermal_sys: Registered thermal governor 'user_space'
[ 0.186221] NET: Registered protocol family 16
[ 0.188480] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.189862] audit: initializing netlink subsys (disabled)
[ 0.190048] audit: type=2000 audit(0.188:1): state=initialized audit_enabled=0 res=1
[ 0.191176] cpuidle: using governor menu
[ 0.191554] No ATAGs?
[ 0.191583] hw-breakpoint: Failed to enable monitor mode on CPU 0.
[ 0.192637] Serial: AMBA PL011 UART driver
[ 0.271438] random: fast init done
[ 0.311991] raid6: neonx8 gen() 1642 MB/s
[ 0.379989] raid6: neonx8 xor() 1168 MB/s
[ 0.448015] raid6: neonx4 gen() 2355 MB/s
[ 0.515977] raid6: neonx4 xor() 1546 MB/s
[ 0.583988] raid6: neonx2 gen() 2086 MB/s
[ 0.651982] raid6: neonx2 xor() 1593 MB/s
[ 0.719990] raid6: neonx1 gen() 1695 MB/s
[ 0.787987] raid6: neonx1 xor() 1395 MB/s
[ 0.856003] raid6: int32x8 gen() 503 MB/s
[ 0.923993] raid6: int32x8 xor() 296 MB/s
[ 0.991996] raid6: int32x4 gen() 574 MB/s
[ 1.059994] raid6: int32x4 xor() 306 MB/s
[ 1.127997] raid6: int32x2 gen() 517 MB/s
[ 1.196018] raid6: int32x2 xor() 288 MB/s
[ 1.264031] raid6: int32x1 gen() 488 MB/s
[ 1.332019] raid6: int32x1 xor() 240 MB/s
[ 1.332028] raid6: using algorithm neonx4 gen() 2355 MB/s
[ 1.332036] raid6: .... xor() 1546 MB/s, rmw enabled
[ 1.332045] raid6: using neon recovery algorithm
[ 1.336206] iommu: Default domain type: Translated
[ 1.336992] vgaarb: loaded
[ 1.337637] SCSI subsystem initialized
[ 1.337815] libata version 3.00 loaded.
[ 1.338046] usbcore: registered new interface driver usbfs
[ 1.338092] usbcore: registered new interface driver hub
[ 1.338171] usbcore: registered new device driver usb
[ 1.339265] s3c-i2c 12c70000.i2c: slave address 0x00
[ 1.339281] s3c-i2c 12c70000.i2c: bus frequency set to 64 KHz
[ 1.340254] s3c-i2c 12c70000.i2c: i2c-1: S3C I2C adapter
[ 1.340531] mc: Linux media interface: v0.10
[ 1.340573] videodev: Linux video capture interface: v2.00
[ 1.340667] pps_core: LinuxPPS API ver. 1 registered
[ 1.340676] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 1.340696] PTP clock support registered
[ 1.340739] EDAC MC: Ver: 3.0.0
[ 1.341768] Advanced Linux Sound Architecture Driver Initialized.
[ 1.342275] NetLabel: Initializing
[ 1.342285] NetLabel: domain hash size = 128
[ 1.342293] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 1.342347] NetLabel: unlabeled traffic allowed by default
[ 1.342833] clocksource: Switched to clocksource mct-frc
[ 1.343075] VFS: Disk quotas dquot_6.6.0
[ 1.343133] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.353852] NET: Registered protocol family 2
[ 1.354417] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 1.354448] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 1.354518] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 1.354657] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.355085] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 1.355126] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 1.355314] NET: Registered protocol family 1
[ 1.355950] RPC: Registered named UNIX socket transport module.
[ 1.355960] RPC: Registered udp transport module.
[ 1.355968] RPC: Registered tcp transport module.
[ 1.355976] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.355988] NET: Registered protocol family 44
[ 1.356003] PCI: CLS 0 bytes, default 64
[ 1.357318] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[ 1.358666] Initialise system trusted keyrings
[ 1.358891] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[ 1.363277] zbud: loaded
[ 1.364893] NFS: Registering the id_resolver key type
[ 1.364919] Key type id_resolver registered
[ 1.364928] Key type id_legacy registered
[ 1.364946] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.439198] Key type asymmetric registered
[ 1.439211] Asymmetric key parser 'x509' registered
[ 1.439262] bounce: pool size: 64 pages
[ 1.439301] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 1.439482] io scheduler mq-deadline registered
[ 1.439493] io scheduler kyber registered
[ 1.439656] io scheduler bfq registered
[ 1.443844] samsung-usb2-phy 12130000.phy: supply vbus not found, using dummy regulator
[ 1.444445] exynos5_usb3drd_phy 12100000.phy: supply vbus not found, using dummy regulator
[ 1.444531] exynos5_usb3drd_phy 12100000.phy: supply vbus-boost not found, using dummy regulator
[ 1.444842] exynos5_usb3drd_phy 12500000.phy: supply vbus not found, using dummy regulator
[ 1.444912] exynos5_usb3drd_phy 12500000.phy: supply vbus-boost not found, using dummy regulator
[ 1.458368] dma-pl330 121a0000.pdma: Loaded driver for PL330 DMAC-241330
[ 1.458383] dma-pl330 121a0000.pdma: DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[ 1.460367] dma-pl330 121b0000.pdma: Loaded driver for PL330 DMAC-241330
[ 1.460380] dma-pl330 121b0000.pdma: DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[ 1.465643] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
[ 1.468589] Serial: AMBA driver
[ 1.468790] 12c00000.serial: ttySAC0 at MMIO 0x12c00000 (irq = 62, base_baud = 0) is a S3C6400/10
[ 1.469281] 12c10000.serial: ttySAC1 at MMIO 0x12c10000 (irq = 63, base_baud = 0) is a S3C6400/10
[ 1.469759] 12c20000.serial: ttySAC2 at MMIO 0x12c20000 (irq = 64, base_baud = 0) is a S3C6400/10
[ 2.509608] printk: console [ttySAC2] enabled
[ 2.514358] 12c30000.serial: ttySAC3 at MMIO 0x12c30000 (irq = 65, base_baud = 0) is a S3C6400/10
[ 2.525208] sdhci: Secure Digital Host Controller Interface driver
[ 2.529973] sdhci: Copyright(c) Pierre Ossman
[ 2.535129] Synopsys Designware Multimedia Card Interface Driver
[ 2.541001] dwmmc_exynos 12200000.mmc: IDMAC supports 32-bit address mode.
[ 2.547152] dwmmc_exynos 12200000.mmc: Using internal DMA controller.
[ 2.553531] dwmmc_exynos 12200000.mmc: Version ID is 241a
[ 2.558936] dwmmc_exynos 12200000.mmc: DW MMC controller at irq 86,64 bit host data width,128 deep fifo
[ 2.568824] dwmmc_exynos 12220000.mmc: IDMAC supports 32-bit address mode.
[ 2.575174] dwmmc_exynos 12220000.mmc: Using internal DMA controller.
[ 2.581541] dwmmc_exynos 12220000.mmc: Version ID is 241a
[ 2.586942] dwmmc_exynos 12220000.mmc: DW MMC controller at irq 87,64 bit host data width,128 deep fifo
[ 2.596741] VUB300 Driver rom wait states = 1C irqpoll timeout = 0400
[ 2.597287] usbcore: registered new interface driver vub300
[ 2.608267] usbcore: registered new interface driver ushc
[ 2.614109] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.634155] loop: module loaded
[ 2.637134] Loading iSCSI transport class v2.0-870.
[ 2.641295] iscsi: registered transport (tcp)
[ 2.649737] libphy: Fixed MDIO Bus: probed
[ 2.655844] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.660914] ehci-pci: EHCI PCI platform driver
[ 2.665363] ehci-platform: EHCI generic platform driver
[ 2.670679] ehci-mxc: Freescale On-Chip EHCI Host driver
[ 2.675905] ehci-omap: OMAP-EHCI Host Controller driver
[ 2.681137] ehci-orion: EHCI orion driver
[ 2.685145] ehci-exynos: EHCI Exynos driver
[ 2.689533] exynos-ehci 12110000.usb: EHCI Host Controller
[ 2.694666] exynos-ehci 12110000.usb: new USB bus registered, assigned bus number 1
[ 2.702494] exynos-ehci 12110000.usb: irq 81, io mem 0x12110000
[ 2.722893] exynos-ehci 12110000.usb: USB 2.0 started, EHCI 1.00
[ 2.727621] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.08
[ 2.735690] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.742880] usb usb1: Product: EHCI Host Controller
[ 2.747735] usb usb1: Manufacturer: Linux 5.8.9-1-ARCH ehci_hcd
[ 2.753631] usb usb1: SerialNumber: 12110000.usb
[ 2.758799] hub 1-0:1.0: USB hub found
[ 2.761990] hub 1-0:1.0: 3 ports detected
[ 2.766523] tegra-ehci: Tegra EHCI driver
[ 2.770073] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.776106] ohci-pci: OHCI PCI platform driver
[ 2.780549] ohci-platform: OHCI generic platform driver
[ 2.785851] ohci-exynos: OHCI Exynos driver
[ 2.790053] exynos-ohci 12120000.usb: USB Host Controller
[ 2.795275] exynos-ohci 12120000.usb: new USB bus registered, assigned bus number 2
[ 2.802993] exynos-ohci 12120000.usb: irq 81, io mem 0x12120000
[ 2.871383] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.08
[ 2.878194] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.885386] usb usb2: Product: USB Host Controller
[ 2.890152] usb usb2: Manufacturer: Linux 5.8.9-1-ARCH ohci_hcd
[ 2.896050] usb usb2: SerialNumber: 12120000.usb
[ 2.901131] hub 2-0:1.0: USB hub found
[ 2.904405] hub 2-0:1.0: 3 ports detected
[ 2.909469] usbcore: registered new interface driver uas
[ 2.913727] usbcore: registered new interface driver usb-storage
[ 2.919665] usbcore: registered new interface driver ums-cypress
[ 2.925650] usbcore: registered new interface driver ums_eneub6250
[ 2.931813] usbcore: registered new interface driver ums-freecom
[ 2.937786] usbcore: registered new interface driver ums-isd200
[ 2.943684] usbcore: registered new interface driver ums-usbat
[ 2.954541] i2c /dev entries driver
[ 2.980117] usb3503 4-0008: switched to HUB mode
[ 2.983287] usb3503 4-0008: usb3503_probe: probed in hub mode
[ 2.992968] BUCK1: supplied by regulator-dummy
[ 2.997303] BUCK2: supplied by regulator-dummy
[ 3.001586] BUCK3: supplied by regulator-dummy
[ 3.006126] BUCK4: supplied by regulator-dummy
[ 3.010431] BUCK5: supplied by regulator-dummy
[ 3.015108] BUCK6: supplied by regulator-dummy
[ 3.019345] BUCK7: supplied by regulator-dummy
[ 3.023775] BUCK8: supplied by regulator-dummy
[ 3.028218] BUCK9: supplied by regulator-dummy
[ 3.032658] BUCK10: supplied by regulator-dummy
[ 3.037080] LDO1: supplied by buck7
[ 3.040101] LDO2: supplied by buck7
[ 3.043556] LDO3: supplied by buck9
[ 3.046994] LDO4: supplied by buck10
[ 3.050561] LDO5: supplied by buck9
[ 3.054047] LDO6: supplied by buck9
[ 3.057550] LDO7: supplied by buck9
[ 3.060984] LDO8: supplied by vdd_mem
[ 3.064649] LDO9: supplied by buck9
[ 3.068116] LDO10: supplied by buck9
[ 3.071679] LDO11: supplied by buck9
[ 3.075287] LDO12: supplied by regulator-dummy
[ 3.079654] LDO13: supplied by buck9
[ 3.083184] LDO14: supplied by buck9
[ 3.086732] LDO15: supplied by vdd_mem
[ 3.090540] LDO17: supplied by buck7
[ 3.094061] LDO18: supplied by buck9
[ 3.097602] LDO19: supplied by buck9
[ 3.101177] LDO20: supplied by buck9
[ 3.104721] LDO21: supplied by buck10
[ 3.108482] LDO23: supplied by regulator-dummy
[ 3.112792] LDO24: supplied by buck10
[ 3.116545] LDO25: supplied by regulator-dummy
[ 3.121308] LDO26: supplied by regulator-dummy
[ 3.125294] LDO27: supplied by buck7
[ 3.128860] LDO28: supplied by buck9
[ 3.132394] LDO29: supplied by buck9
[ 3.135973] LDO30: supplied by buck7
[ 3.139620] LDO32: supplied by regulator-dummy
[ 3.143959] LDO33: supplied by buck10
[ 3.147727] LDO34: supplied by regulator-dummy
[ 3.152019] LDO35: supplied by buck7
[ 3.169002] rtc rtc0: invalid alarm value: 1900-01-01T00:00:00
[ 3.173841] max77686-rtc max77802-rtc: registered as rtc0
[ 3.181059] max77686-rtc max77802-rtc: setting system clock to 2020-10-09T00:08:47 UTC (1602202127)
[ 3.197962] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.203196] hid: raw HID events driver (C) Jiri Kosina
[ 3.207880] usbcore: registered new interface driver usbhid
[ 3.213205] usbhid: USB HID core driver
[ 3.214922] usb 1-3: new high-speed USB device number 2 using exynos-ehci
[ 3.225588] NET: Registered protocol family 10
[ 3.231221] Segment Routing with IPv6
[ 3.233483] mip6: Mobile IPv6
[ 3.236415] NET: Registered protocol family 17
[ 3.241008] Key type dns_resolver registered
[ 3.245758] Failed to find PMU node
[ 3.248556] ThumbEE CPU extension supported.
[ 3.252786] Registering SWP/SWPB emulation handler
[ 3.257845] registered taskstats version 1
[ 3.261632] Loading compiled-in X.509 certificates
[ 3.266479] zswap: loaded using pool lzo/zbud
[ 3.271462] Key type ._fscrypt registered
[ 3.274688] Key type .fscrypt registered
[ 3.278621] Key type fscrypt-provisioning registered
[ 3.286150] Btrfs loaded, crc32c=crc32c-generic
[ 3.303986] dwmmc_exynos 12200000.mmc: IDMAC supports 32-bit address mode.
[ 3.309724] dwmmc_exynos 12200000.mmc: Using internal DMA controller.
[ 3.315856] dwmmc_exynos 12200000.mmc: Version ID is 241a
[ 3.321242] dwmmc_exynos 12200000.mmc: DW MMC controller at irq 86,64 bit host data width,128 deep fifo
[ 3.330886] dwmmc_exynos 12200000.mmc: Got CD GPIO
[ 3.335436] dwmmc_exynos 12200000.mmc: allocated mmc-pwrseq
[ 3.353967] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63)
[ 3.375994] dwmmc_exynos 12220000.mmc: IDMAC supports 32-bit address mode.
[ 3.379481] usb 1-3: New USB device found, idVendor=0424, idProduct=3503, bcdDevice=a1.a0
[ 3.381477] dwmmc_exynos 12220000.mmc: Using internal DMA controller.
[ 3.389572] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.390586] hub 1-3:1.0: USB hub found
[ 3.396005] dwmmc_exynos 12220000.mmc: Version ID is 241a
[ 3.406468] hub 1-3:1.0: 3 ports detected
[ 3.406821] dwmmc_exynos 12220000.mmc: DW MMC controller at irq 87,64 bit host data width,128 deep fifo
[ 3.436689] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63)
[ 3.459590] OF: graph: no port node found in /soc/phy@12100000
[ 3.467071] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 3.471152] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[ 3.479055] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x0000000002010010
[ 3.488205] xhci-hcd xhci-hcd.1.auto: irq 119, io mem 0x12400000
[ 3.494508] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.08
[ 3.502345] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.509540] usb usb3: Product: xHCI Host Controller
[ 3.514393] usb usb3: Manufacturer: Linux 5.8.9-1-ARCH xhci-hcd
[ 3.520299] usb usb3: SerialNumber: xhci-hcd.1.auto
[ 3.525832] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 3.531039] hub 3-0:1.0: USB hub found
[ 3.534374] hub 3-0:1.0: 1 port detected
[ 3.538562] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 4
[ 3.546147] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x0000000002010010
[ 3.555250] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 3.560715] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 5
[ 3.568379] xhci-hcd xhci-hcd.2.auto: irq 118, io mem 0x12000000
[ 3.574329] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[ 3.581103] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[ 3.589009] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.08
[ 3.597134] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.604324] usb usb5: Product: xHCI Host Controller
[ 3.609183] usb usb5: Manufacturer: Linux 5.8.9-1-ARCH xhci-hcd
[ 3.615091] usb usb5: SerialNumber: xhci-hcd.1.auto
[ 3.620484] hub 5-0:1.0: USB hub found
[ 3.623707] hub 5-0:1.0: 1 port detected
[ 3.628124] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.08
[ 3.635820] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.644332] usb usb4: Product: xHCI Host Controller
[ 3.647876] s3c-rtc 101e0000.rtc: registered as rtc1
[ 3.650283] mmc_host mmc0: Bus speed (slot 0) = 200000000Hz (slot req 200000000Hz, actual 200000000HZ div = 0)
[ 3.654912] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[ 3.664013] mmc0: new HS200 MMC card at address 0001
[ 3.672829] usb usb4: Manufacturer: Linux 5.8.9-1-ARCH xhci-hcd
[ 3.678368] ALSA device list:
[ 3.682939] usb 1-2: new high-speed USB device number 3 using exynos-ehci
[ 3.683385] usb usb4: SerialNumber: xhci-hcd.2.auto
[ 3.684382] mmcblk0: mmc0:0001 008G92 7.28 GiB
[ 3.685106] mmcblk0boot0: mmc0:0001 008G92 partition 1 4.00 MiB
[ 3.685814] mmcblk0boot1: mmc0:0001 008G92 partition 2 4.00 MiB
[ 3.686348] No soundcards found.
[ 3.686386] mmcblk0rpmb: mmc0:0001 008G92 partition 3 512 KiB, chardev (242:0)
[ 3.693118] mmc1: new high speed SDHC card at address 1234
[ 3.699117] mmcblk0: p1 p2
[ 3.703641] hub 4-0:1.0: USB hub found
[ 3.736795] hub 4-0:1.0: 1 port detected
[ 3.741096] mmcblk1: mmc1:1234 SA32G 28.8 GiB
[ 3.745426] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 3.750523] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 6
[ 3.758147] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
[ 3.764708] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[ 3.772867] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.08
[ 3.780948] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.788141] usb usb6: Product: xHCI Host Controller
[ 3.793000] usb usb6: Manufacturer: Linux 5.8.9-1-ARCH xhci-hcd
[ 3.798897] usb usb6: SerialNumber: xhci-hcd.2.auto
[ 3.806953] hub 6-0:1.0: USB hub found
[ 3.809294] mmcblk1: p1 p2
[ 3.812166] hub 6-0:1.0: 1 port detected
[ 3.831606] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 3.838290] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 3.843430] usb 1-2: New USB device found, idVendor=0424, idProduct=9730, bcdDevice= 1.00
[ 3.852441] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.863043] devtmpfs: mounted
[ 3.866328] Freeing unused kernel memory: 2048K
[ 3.869688] Run /sbin/init as init process
[ 3.873482] with arguments:
[ 3.873487] /sbin/init
[ 3.873492] with environment:
[ 3.873496] HOME=/
[ 3.873501] TERM=linux
[ 3.873506] left=56
[ 3.873510] right=24
[ 3.873515] upper=3
[ 3.873519] lower=3
[ 3.873523] vsync=3
[ 3.873528] hsync=14
[ 3.873532] fb_x_res=1920
[ 3.873537] fb_y_res=1080
[ 3.873541] vout=hdmi
[ 3.873546] hdmi_phy_res=1080p60hz
[ 3.873550] led_blink=1
[ 4.018999] usb usb3-port1: over-current condition
[ 4.022359] usb usb5-port1: over-current condition
[ 4.062904] usb usb4-port1: over-current condition
[ 4.103268] systemd[1]: systemd 246.6-1.1-arch running in system mode. (+PAM +AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
[ 4.125358] systemd[1]: Detected architecture arm.
[ 4.134920] usb usb6-port1: over-current condition
[ 4.181852] systemd[1]: Set hostname to <Homeassistant>.
[ 4.781048] systemd[1]: Queued start job for default target Graphical Interface.
[ 4.788022] random: systemd: uninitialized urandom read (16 bytes read)
[ 4.800209] systemd[1]: Created slice system-getty.slice.
[ 4.823040] random: systemd: uninitialized urandom read (16 bytes read)
[ 4.830322] systemd[1]: Created slice system-modprobe.slice.
[ 4.851016] random: systemd: uninitialized urandom read (16 bytes read)
[ 4.858262] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 4.881291] systemd[1]: Created slice User and Session Slice.
[ 4.903442] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 4.927341] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 4.952017] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 4.979246] systemd[1]: Reached target Local Encrypted Volumes.
[ 5.003252] systemd[1]: Reached target Paths.
[ 5.023090] systemd[1]: Reached target Remote File Systems.
[ 5.043064] systemd[1]: Reached target Slices.
[ 5.063163] systemd[1]: Reached target Swap.
[ 5.083584] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ 5.117408] systemd[1]: Listening on Process Core Dump Socket.
[ 5.139757] systemd[1]: Listening on Journal Audit Socket.
[ 5.159631] systemd[1]: Listening on Journal Socket (/dev/log).
[ 5.183663] systemd[1]: Listening on Journal Socket.
[ 5.203737] systemd[1]: Listening on Network Service Netlink Socket.
[ 5.227749] systemd[1]: Listening on udev Control Socket.
[ 5.247492] systemd[1]: Listening on udev Kernel Socket.
[ 5.267607] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[ 5.280646] systemd[1]: Mounting POSIX Message Queue File System...
[ 5.309352] systemd[1]: Mounting Kernel Debug File System...
[ 5.331431] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[ 5.347634] systemd[1]: Mounting Temporary Directory (/tmp)...
[ 5.377959] systemd[1]: Starting Create list of static device nodes for the current kernel...
[ 5.403236] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[ 5.411640] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[ 5.421173] systemd[1]: Condition check resulted in Load Kernel Modules being skipped.
[ 5.428234] systemd[1]: Condition check resulted in FUSE Control File System being skipped.
[ 5.442240] systemd[1]: Mounting Kernel Configuration File System...
[ 5.469779] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 5.491426] systemd[1]: Condition check resulted in Repartition Root Disk being skipped.
[ 5.505670] systemd[1]: Starting Apply Kernel Variables...
[ 5.534227] systemd[1]: Starting Coldplug All udev Devices...
[ 5.566302] systemd[1]: Mounted POSIX Message Queue File System.
[ 5.588049] systemd[1]: Mounted Kernel Debug File System.
[ 5.607928] systemd[1]: Mounted Temporary Directory (/tmp).
[ 5.632658] systemd[1]: Finished Create list of static device nodes for the current kernel.
[ 5.660388] systemd[1]: Mounted Kernel Configuration File System.
[ 5.688996] systemd[1]: Finished Remount Root and Kernel File Systems.
[ 5.716633] systemd[1]: Finished Apply Kernel Variables.
[ 5.740398] systemd[1]: Condition check resulted in First Boot Wizard being skipped.
[ 5.748738] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[ 5.762489] systemd[1]: Starting Load/Save Random Seed...
[ 5.787578] systemd[1]: Condition check resulted in Create System Users being skipped.
[ 5.802103] systemd[1]: Starting Create Static Device Nodes in /dev...
[ 5.900150] systemd[1]: Finished Create Static Device Nodes in /dev.
[ 5.928656] systemd[1]: Reached target Local File Systems (Pre).
[ 5.955244] systemd[1]: Condition check resulted in Virtual Machine and Container Storage (Compatibility) being skipped.
[ 5.972680] systemd[1]: Started Entropy Daemon based on the HAVEGE algorithm.
[ 6.014713] systemd[1]: Starting Journal Service...
[ 6.043956] systemd[1]: Starting Rule-based Manager for Device Events and Files...
[ 6.309014] systemd[1]: Started Rule-based Manager for Device Events and Files.
[ 6.335393] audit: type=1130 audit(1602202130.652:2): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=_ msg='unit=systemd-udevd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 6.352597] systemd[1]: Starting Network Service...
[ 6.645067] systemd[1]: Started Journal Service.
[ 6.663413] audit: type=1130 audit(1602202130.980:3): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=_ msg='unit=systemd-journald comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 6.847258] audit: type=1130 audit(1602202131.164:4): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=_ msg='unit=systemd-networkd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 6.995178] audit: type=1130 audit(1602202131.312:5): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=_ msg='unit=systemd-udev-trigger comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 7.046929] random: crng init done
[ 7.048855] random: 7 urandom warning(s) missed due to ratelimiting
[ 7.183184] audit: type=1130 audit(1602202131.500:6): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=_ msg='unit=systemd-random-seed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 8.998343] exynos-adc 12d10000.adc: IRQ index 1 not found
[ 9.005889] s3c2410-wdt 101d0000.watchdog: watchdog inactive, reset disabled, irq disabled
[ 9.027193] audit: type=1130 audit(1602202133.344:7): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=_ msg='unit=systemd-journal-flush comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 9.053421] s5p-secss 10830000.sss: s5p-sss driver registered
[ 9.072555] exynos-trng 10830600.rng: Exynos True Random Number Generator.
[ 9.234687] smsc95xx v1.0.6
[ 9.350212] smsc95xx 1-2:1.0 eth0: register 'smsc95xx' at usb-12110000.usb-2, smsc95xx USB 2.0 Ethernet, 02:ae:50:d9:8b:89
[ 9.364491] usbcore: registered new interface driver smsc95xx
[ 9.487567] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[ 9.687752] asoc-simple-card sound: parse error -22
[ 9.691231] asoc-simple-card: probe of sound failed with error -22
[ 9.697487] samsung-i2s 3830000.i2s-sec: DMA channels sourced from device 3830000.i2s
')
Last edited by doggisbag on Thu Oct 15, 2020 2:42 pm, edited 1 time in total.
doggisbag
 
Posts: 5
Joined: Wed Aug 26, 2020 11:35 pm


Re: ODROID-XU USB3 not working

Postby doggisbag » Thu Oct 15, 2020 8:47 pm

Finally, persistence was paid off.

https://patchwork.kernel.org/project/li ... ernel.org/

Krzysztof's patch finally fixed the USB 3.0 issue, now my Seagate SATA3 Drive is being detected and powered through the USB 3.0 port and in addition no overcurrent condition is present on logs. To enable this you should read description from the link above.

Drive being detected correctly at lsub output Bus 04 (Port 1: Dev 2)

$this->bbcode_second_pass_code('', '$ lsusb -t
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
|__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
|__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/3p, 480M
')

Basic disk speed test:

1. microSD (hdparm -Tt /dev/mmcblk1p2) (in your case you'll need to check which enumeration has your SD card):

Timing buffered disk reads: 70 MB in 3.07 seconds = 22.79 MB/sec

2. SATA3 Seagate 4TB USB3.0:

Timing buffered disk reads: 442 MB in 3.01 seconds = 146.76 MB/sec

dmesg output related with usb:

$this->bbcode_second_pass_code('', '$ dmesg | grep usb
[ 1.337812] usbcore: registered new interface driver usbfs
[ 1.337879] usbcore: registered new interface driver hub
[ 1.337957] usbcore: registered new device driver usb
[ 1.447822] samsung-usb2-phy 12130000.phy: supply vbus not found, using dummy regulator
[ 1.448524] exynos5_usb3drd_phy 12100000.phy: supply vbus not found, using dummy regulator
[ 1.448609] exynos5_usb3drd_phy 12100000.phy: supply vbus-boost not found, using dummy regulator
[ 1.448911] exynos5_usb3drd_phy 12500000.phy: supply vbus not found, using dummy regulator
[ 1.448982] exynos5_usb3drd_phy 12500000.phy: supply vbus-boost not found, using dummy regulator
[ 2.601649] usbcore: registered new interface driver vub300
[ 2.612693] usbcore: registered new interface driver ushc
[ 2.693955] exynos-ehci 12110000.usb: EHCI Host Controller
[ 2.699098] exynos-ehci 12110000.usb: new USB bus registered, assigned bus number 1
[ 2.706927] exynos-ehci 12110000.usb: irq 81, io mem 0x12110000
[ 2.726592] exynos-ehci 12110000.usb: USB 2.0 started, EHCI 1.00
[ 2.731322] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.08
[ 2.739390] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.746582] usb usb1: Product: EHCI Host Controller
[ 2.751437] usb usb1: Manufacturer: Linux 5.8.9-1-ARCH ehci_hcd
[ 2.757333] usb usb1: SerialNumber: 12110000.usb
[ 2.793754] exynos-ohci 12120000.usb: USB Host Controller
[ 2.798976] exynos-ohci 12120000.usb: new USB bus registered, assigned bus number 2
[ 2.806694] exynos-ohci 12120000.usb: irq 81, io mem 0x12120000
[ 2.875825] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.08
[ 2.882642] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.889832] usb usb2: Product: USB Host Controller
[ 2.894601] usb usb2: Manufacturer: Linux 5.8.9-1-ARCH ohci_hcd
[ 2.900497] usb usb2: SerialNumber: 12120000.usb
[ 2.913892] usbcore: registered new interface driver uas
[ 2.918168] usbcore: registered new interface driver usb-storage
[ 2.924113] usbcore: registered new interface driver ums-cypress
[ 2.930097] usbcore: registered new interface driver ums_eneub6250
[ 2.936261] usbcore: registered new interface driver ums-freecom
[ 2.942234] usbcore: registered new interface driver ums-isd200
[ 2.948132] usbcore: registered new interface driver ums-usbat
[ 2.984483] usb3503 4-0008: switched to HUB mode
[ 2.987688] usb3503 4-0008: usb3503_probe: probed in hub mode
[ 3.095067] vdd33_usb3: Bringing 3000000uV into 3300000-3300000uV
[ 3.222602] usb 1-3: new high-speed USB device number 2 using exynos-ehci
[ 3.234234] usbcore: registered new interface driver usbhid
[ 3.239528] usbhid: USB HID core driver
[ 3.383193] usb 1-3: New USB device found, idVendor=0424, idProduct=3503, bcdDevice=a1.a0
[ 3.392322] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.510384] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.08
[ 3.518242] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.525453] usb usb3: Product: xHCI Host Controller
[ 3.530269] usb usb3: Manufacturer: Linux 5.8.9-1-ARCH xhci-hcd
[ 3.536194] usb usb3: SerialNumber: xhci-hcd.1.auto
[ 3.568373] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 3.586439] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.08
[ 3.594628] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.601780] usb usb4: Product: xHCI Host Controller
[ 3.606631] usb usb4: Manufacturer: Linux 5.8.9-1-ARCH xhci-hcd
[ 3.612527] usb usb4: SerialNumber: xhci-hcd.1.auto
[ 3.706605] usb 1-2: new high-speed USB device number 3 using exynos-ehci
[ 3.867157] usb 1-2: New USB device found, idVendor=0424, idProduct=9730, bcdDevice= 1.00
[ 3.873970] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 4.034695] usb 4-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[ 4.060203] usb 4-1: New USB device found, idVendor=0bc2, idProduct=3312, bcdDevice= 7.40
[ 4.067016] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.074102] usb 4-1: Product: Expansion Desk
[ 4.078332] usb 4-1: Manufacturer: Seagate
[ 4.082455] usb 4-1: SerialNumber: NA4K9RCS
[ 7.552248] smsc95xx 1-2:1.0 eth0: register 'smsc95xx' at usb-12110000.usb-2, smsc95xx USB 2.0 Ethernet, 6e:61:95:55:63:70
[ 7.574753] usbcore: registered new interface driver smsc95xx
')

From now on i'll try stability of the USB3 port.

Thanks again to Krzysztof's amazing work!
doggisbag
 
Posts: 5
Joined: Wed Aug 26, 2020 11:35 pm


Return to Samsung

Who is online

Users browsing this forum: No registered users and 6 guests