USB 3.0 on ODROID-XU

User avatar
odroid
Site Admin
Posts: 34943
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 959 times
Been thanked: 775 times
Contact:

USB 3.0 on ODROID-XU

Post by odroid »

ODROID-XU has the SuperSpeed USB 3.0 interfaces.

There is a standard A-Type host connector and a micro A-B OTG connector on the board.
xu_board_USB3.jpg
xu_board_USB3.jpg (67.42 KiB) Viewed 31867 times
You can use 2 x USB 3.0 ports simultaneously with a Micro A to Standard A cable.
This item is available in our e-store. https://www.hardkernel.com/shop/usb3-0- ... ost-cable/
Image

We performed a benchmarking test with our USB3.0 to SATA3 HDD/SSD interface kit.
http://www.hardkernel.com/renewal_2011/ ... 7448544866
This is the PCB of USB3.0 to SATA3 HDD/SSD interface kit.
Image

Tested SSD is OCZ's Vertex3 128GB SSD.
Image

Test Root File System : Linaro Ubuntu with Linux Kernel 3.4.5
Read Test Command : dd if=./test of=/dev/null bs=1M count=1000 iflag=nocache oflag=nocache
Write Test Command : dd if=/dev/zero of=./test bs=1M count=1000 iflag=nocache oflag=nocache conv=fdatasync

Test result
Write Speed : 190 MB/S
Read Speed : 151 MB/S

We also made a same test with USB 2.0 port.
Wrtie Speed : 25.5 MB/S
Read Speed : 22.8 MB/S

We can say the throughput of USB 3.0 is about 7~8 times faster than USB 2.0 in the real world.



We also tested our USB 3.0 to Gigabit Ethernet adapter performance.
http://www.hardkernel.com/renewal_2011/ ... 7447448698
Image

Code: Select all

[~]$ iperf -s -f M
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 0.08 MByte (default)
------------------------------------------------------------
[  4] local 220.90.137.114 port 5001 connected with 220.90.137.115 port 43969
[  5] local 220.90.137.114 port 5001 connected with 220.90.137.115 port 43970
[  6] local 220.90.137.114 port 5001 connected with 220.90.137.115 port 43971
[  7] local 220.90.137.114 port 5001 connected with 220.90.137.115 port 43972
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-48.5 sec   743 MBytes  15.3 MBytes/sec
[  5]  0.0-48.5 sec   670 MBytes  13.8 MBytes/sec
[  6]  0.0-48.5 sec   708 MBytes  14.6 MBytes/sec
[  7]  0.0-48.5 sec   690 MBytes  14.2 MBytes/sec
[SUM]  0.0-48.5 sec  2810 MBytes  58.0 MBytes/sec
[  8] local 220.90.137.114 port 5001 connected with 220.90.137.115 port 43973
[  5] local 220.90.137.114 port 5001 connected with 220.90.137.115 port 43975
[  6] local 220.90.137.114 port 5001 connected with 220.90.137.115 port 43976
[  4] local 220.90.137.114 port 5001 connected with 220.90.137.115 port 43974
[  8]  0.0-59.4 sec   887 MBytes  14.9 MBytes/sec
[  5]  0.0-59.4 sec   890 MBytes  15.0 MBytes/sec
[  6]  0.0-59.4 sec   884 MBytes  14.9 MBytes/sec
[  4]  0.0-59.4 sec   889 MBytes  15.0 MBytes/sec
[SUM]  0.0-59.4 sec  3551 MBytes  59.8 MBytes/sec
This iPerf test shows about 60MByte/sec transfer rate.
It is 5~6 times faster than 10/100 Ethernet speed.
I think we can improve the device driver and get more speed up to 80~90MByte/sec.

We can enjoy the SuperSpeed USB 3.0 performance with our tiny ARM embedded platform.

User avatar
sert00
Posts: 745
Joined: Sun Feb 24, 2013 12:26 am
languages_spoken: english,italian
ODROIDs: ODROID-U2*2__ODROID-U3__ODROID-XU-E__ODROID-XU-Ebeta__ODROID-C1__ODROID-XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by sert00 »

so nice! :D
2x Odroid-U2
2x Odroid-XU-E
Odroid-U3
Odroid-C1+
Odroid-XU4
Lcd touch panel 10.1"
....and many of the goodies available....

Tor
Posts: 26
Joined: Sun Feb 24, 2013 2:12 am
languages_spoken: English
Location: Norway
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by Tor »

The HDD/SSD interface kit.. any plans of also offering the two-slot version of that unit? You would have a buyer here..

-Tor

User avatar
odroid
Site Admin
Posts: 34943
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 959 times
Been thanked: 775 times
Contact:

Re: USB 3.0 on ODROID-XU

Post by odroid »

Tor wrote:The HDD/SSD interface kit.. any plans of also offering the two-slot version of that unit? You would have a buyer here..

-Tor
We have no plan to sell the multiple-slot version in this year.

But you can try any USB HDD dock for PC industry if it has own power supply.

dehuszar
Posts: 44
Joined: Mon Feb 25, 2013 10:26 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by dehuszar »

Can the device be powered by USB 3.0? I have a Hub that has specific ports for powering devices.

mdrjr
Site Admin
Posts: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: USB 3.0 on ODROID-XU

Post by mdrjr »

Nope, it cant.. USB3.0 specifies near 1Amp of current for the socket/connections/traces.
Where's XU needs at least 2A.

magnum_pi
Posts: 206
Joined: Tue Mar 05, 2013 6:37 am
languages_spoken: English, Japanese, French, Irish
ODROIDs: U2, X2, XU, U3
Has thanked: 0
Been thanked: 0
Contact:

Contention on USB3 ports?

Post by magnum_pi »

Hi, I'm just wondering if the available bandwidth for devices plugged into USB 3.0 ports is shared with any other buses on the system? I'm especially interested in using the XU as a router, with a Gbit ethernet adapter plugged into a USB 3.0 port and using the inbuilt 100Mbit NIC to connect to slower machines on a separate subnet, so I'd like to know whether it would be suitable for this, or whether there is contention between the USB ports and the inbuilt NIC...

User avatar
sert00
Posts: 745
Joined: Sun Feb 24, 2013 12:26 am
languages_spoken: english,italian
ODROIDs: ODROID-U2*2__ODROID-U3__ODROID-XU-E__ODROID-XU-Ebeta__ODROID-C1__ODROID-XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by sert00 »

I think it has total bandwith available,without share it with other bus,but wait for a more precise answer
2x Odroid-U2
2x Odroid-XU-E
Odroid-U3
Odroid-C1+
Odroid-XU4
Lcd touch panel 10.1"
....and many of the goodies available....

mdrjr
Site Admin
Posts: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: USB 3.0 on ODROID-XU

Post by mdrjr »

sert00 wrote:I think it has total bandwith available,without share it with other bus,but wait for a more precise answer
Correct

janrinze
Posts: 76
Joined: Thu Sep 19, 2013 4:31 am
languages_spoken: english
ODROIDs: ODROID-XU-E
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by janrinze »

My USB3 SDD shows 38MB/s on the XU. On my ARM Chromebook it does 160MB/s.
Any ideas what may be the cause?

User avatar
odroid
Site Admin
Posts: 34943
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 959 times
Been thanked: 775 times
Contact:

Re: USB 3.0 on ODROID-XU

Post by odroid »

janrinze wrote:My USB3 SDD shows 38MB/s on the XU. On my ARM Chromebook it does 160MB/s.
Any ideas what may be the cause?
Can you find any "Super Speed" message in dmsg dump when you plug your USB3 SSD?
If you can see only "High Speed", it works in 2.0 mode not 3.0 mode.

janrinze
Posts: 76
Joined: Thu Sep 19, 2013 4:31 am
languages_spoken: english
ODROIDs: ODROID-XU-E
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by janrinze »

I see neither Super Speed nor High Speed when plugging the device into the USB3. However i now remembered i have a USB3 device to host cable and with that cable I do get the Super Speed.
Is the second USB3 connector differently configured?

mdrjr
Site Admin
Posts: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: USB 3.0 on ODROID-XU

Post by mdrjr »

janrinze wrote:I see neither Super Speed nor High Speed when plugging the device into the USB3. However i now remembered i have a USB3 device to host cable and with that cable I do get the Super Speed.
Is the second USB3 connector differently configured?
When you refer to second USB3 port.. you are talking about the USB3.0 Host port or the USB3.0OTG Port?

janrinze
Posts: 76
Joined: Thu Sep 19, 2013 4:31 am
languages_spoken: english
ODROIDs: ODROID-XU-E
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by janrinze »

the OTG port works at Super Speed. the Host port does not.

mdrjr
Site Admin
Posts: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: USB 3.0 on ODROID-XU

Post by mdrjr »

On USB 3.0 Host port:

Code: Select all

[  332.075128] usb 6-1: new SuperSpeed USB device number 2 using exynos-xhci
[  332.218547] scsi0 : usb-storage 6-1:1.0
[  333.228948] scsi 0:0:0:0: Direct-Access     OEM      Ext Hard Disk    0000 PQ: 0 ANSI: 5
[  333.229700] sd 0:0:0:0: Attached scsi generic sg0 type 0
[  333.308215] sd 0:0:0:0: [sda] 250049888 512-byte logical blocks: (128 GB/119 GiB)
[  333.375960] sd 0:0:0:0: [sda] Write Protect is off
[  333.375976] sd 0:0:0:0: [sda] Mode Sense: 10 00 00 00
[  333.442985] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  333.778609]  sda: sda1
[  334.258710] sd 0:0:0:0: [sda] Attached SCSI disk
As you can see it works fine for me...

And on OTG port

Code: Select all

[  417.399300] usb 4-1: new SuperSpeed USB device number 3 using exynos-xhci
[  417.543860] scsi1 : usb-storage 4-1:1.0
[  418.554654] scsi 1:0:0:0: Direct-Access     OEM      Ext Hard Disk    0000 PQ: 0 ANSI: 5
[  418.557383] sd 1:0:0:0: Attached scsi generic sg0 type 0
[  418.634869] sd 1:0:0:0: [sda] 250049888 512-byte logical blocks: (128 GB/119 GiB)
[  418.702246] sd 1:0:0:0: [sda] Write Protect is off
[  418.702267] sd 1:0:0:0: [sda] Mode Sense: 10 00 00 00
[  418.769653] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  419.051225]  sda: sda1
[  419.532467] sd 1:0:0:0: [sda] Attached SCSI disk
Maybe, some case/cable compatibility issue?

janrinze
Posts: 76
Joined: Thu Sep 19, 2013 4:31 am
languages_spoken: english
ODROIDs: ODROID-XU-E
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by janrinze »

Code: Select all

 usb 5-1: new high-speed USB device number 4 using exynos-xhci
[53588.815875] usb 5-1: ep 0x81 - rounding interval to 32768 microframes, ep desc says 0 microframes
[53588.815915] usb 5-1: ep 0x2 - rounding interval to 32768 microframes, ep desc says 0 microframes
[53588.817652] scsi4 : usb-storage 5-1:1.0
[53589.816848] scsi 4:0:0:0: Direct-Access     Philips  USB DISK 3.0     PMAP PQ: 0 ANSI: 6
[53589.819518] sd 4:0:0:0: [sda] 246546432 512-byte logical blocks: (126 GB/117 GiB)
[53589.819815] sd 4:0:0:0: [sda] Write Protect is off
[53589.819840] sd 4:0:0:0: [sda] Mode Sense: 45 00 00 00
[53589.820120] sd 4:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[53589.822767] sd 4:0:0:0: Attached scsi generic sg0 type 0
[53590.242735]  sda: sda1 sda2 sda3
[53590.248159] sd 4:0:0:0: [sda] Attached SCSI removable disk
apparently the disk is not recognized as being USB3. Any ideas?
Also after a having the XU powered on for longer periods the USB3 port loses power. which results in losing the disk altogether.

mdrjr
Site Admin
Posts: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: USB 3.0 on ODROID-XU

Post by mdrjr »

What's a longer period? Mines is up for 12 hours so far... No issues...

janrinze
Posts: 76
Joined: Thu Sep 19, 2013 4:31 am
languages_spoken: english
ODROIDs: ODROID-XU-E
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by janrinze »

53588/3600 = 14.89 so almost 15 hours uptime at that point.
however there have been times before when it would just stop working much sooner.

User avatar
odroid
Site Admin
Posts: 34943
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 959 times
Been thanked: 775 times
Contact:

Re: USB 3.0 on ODROID-XU

Post by odroid »

XU's USB 3.0 host may not have enough power source for your external driver i.e., peak current or in-rush current..

Does your USB 3.0 SSD have a separated power supply?
If not, you might meet a power issue.

janrinze
Posts: 76
Joined: Thu Sep 19, 2013 4:31 am
languages_spoken: english
ODROIDs: ODROID-XU-E
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by janrinze »

This SSD does not have any option to be plugged in to a power supply. Also according to the specs it needs max 500mA from the USB bus.
Apart from that on the USB3 OTG port it does get recognized as Super speed. So i am a bit confused why the USB3 host port is both unstable and not recognizing the Super speed mode.

janrinze
Posts: 76
Joined: Thu Sep 19, 2013 4:31 am
languages_spoken: english
ODROIDs: ODROID-XU-E
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by janrinze »

Nevermind. it lost connection on the OTG port too now.
Also noticed that "hdparm -t" on the device triggers the problem.

Code: Select all

[33532.124148] usb 4-1: reset SuperSpeed USB device number 2 using exynos-xhci
[33532.139391] exynos-xhci exynos-xhci.0: xHCI xhci_drop_endpoint called with disabled ep ddc7ba80
[33532.139405] exynos-xhci exynos-xhci.0: xHCI xhci_drop_endpoint called with disabled ep ddc7baac
[33575.004248] usb 4-1: reset SuperSpeed USB device number 2 using exynos-xhci
[33575.019784] exynos-xhci exynos-xhci.0: xHCI xhci_drop_endpoint called with disabled ep ddc7ba80
[33575.019816] exynos-xhci exynos-xhci.0: xHCI xhci_drop_endpoint called with disabled ep ddc7baac
[33591.004214] usb 4-1: reset SuperSpeed USB device number 2 using exynos-xhci
[33591.019477] exynos-xhci exynos-xhci.0: xHCI xhci_drop_endpoint called with disabled ep ddc7ba80
[33591.019487] exynos-xhci exynos-xhci.0: xHCI xhci_drop_endpoint called with disabled ep ddc7baac
[33596.354773] hub 4-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[33596.433991] hub 4-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[33599.424037] hub 4-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[33602.409061] hub 4-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[33605.394041] hub 4-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[33605.399729] usb 4-1: USB disconnect, device number 2
[33608.394088] hub 4-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[33611.389149] hub 4-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[33614.374123] hub 4-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[33617.359132] hub 4-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[33617.365455] hub 4-0:1.0: unable to enumerate USB device on port 1
[33694.294309] usb 4-1: new SuperSpeed USB device number 7 using exynos-xhci
[33694.314479] scsi2 : usb-storage 4-1:1.0
[33695.315378] scsi 2:0:0:0: Direct-Access     Philips  USB DISK 3.0     PMAP PQ: 0 ANSI: 6
[33695.323038] sd 2:0:0:0: [sdb] 246546432 512-byte logical blocks: (126 GB/117 GiB)
[33695.323651] sd 2:0:0:0: Attached scsi generic sg0 type 0
[33695.323904] sd 2:0:0:0: [sdb] Write Protect is off
[33695.323943] sd 2:0:0:0: [sdb] Mode Sense: 45 00 00 00
[33695.324686] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[33695.333429]  sdb: sdb1 sdb2 sdb3
[33695.343019] sd 2:0:0:0: [sdb] Attached SCSI removable disk

mdrjr
Site Admin
Posts: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: USB 3.0 on ODROID-XU

Post by mdrjr »

I think it may be a cable issue... Unfortunately my USB 3.0 case uses a proprietary connector :(

janrinze
Posts: 76
Joined: Thu Sep 19, 2013 4:31 am
languages_spoken: english
ODROIDs: ODROID-XU-E
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by janrinze »

Copying 4GB to the SSD triggered this in the kernel messages:

Code: Select all

[34744.679153] usb 4-1: reset SuperSpeed USB device number 7 using exynos-xhci
[34744.694550] exynos-xhci exynos-xhci.0: xHCI xhci_drop_endpoint called with disabled ep ddef9000
[34744.694559] exynos-xhci exynos-xhci.0: xHCI xhci_drop_endpoint called with disabled ep ddef902c
[34790.489164] INFO: task jbd2/sdb3-8:10744 blocked for more than 10 seconds.
[34790.494753] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[34790.502647] jbd2/sdb3-8     D c06e0e28     0 10744      2 0x00000000
[34790.502661] Backtrace: 
[34790.502682] [<c06e0a8c>] (__schedule+0x0/0x754) from [<c06e1318>] (schedule+0x38/0x78)
[34790.502696] [<c06e12e0>] (schedule+0x0/0x78) from [<c01928e8>] (jbd2_journal_commit_transaction+0x1d4/0x18b0)
[34790.502708] [<c0192714>] (jbd2_journal_commit_transaction+0x0/0x18b0) from [<c01976fc>] (kjournald2+0xac/0x254)
[34790.502720] [<c0197650>] (kjournald2+0x0/0x254) from [<c004c394>] (kthread+0x90/0x9c)
[34790.502731] [<c004c304>] (kthread+0x0/0x9c) from [<c00318dc>] (do_exit+0x0/0x78c)
[34790.502739]  r6:c00318dc r5:c004c304 r4:c6251cc4
[34790.502754] INFO: task flush-8:16:10747 blocked for more than 10 seconds.
[34790.509696] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[34790.517254] flush-8:16      D c06e0e28     0 10747      2 0x00000000
[34790.517269] Backtrace: 
[34790.517284] [<c06e0a8c>] (__schedule+0x0/0x754) from [<c06e1318>] (schedule+0x38/0x78)
[34790.517295] [<c06e12e0>] (schedule+0x0/0x78) from [<c06e13c8>] (io_schedule+0x70/0xa0)
[34790.517307] [<c06e1358>] (io_schedule+0x0/0xa0) from [<c0273558>] (get_request_wait+0xc4/0x1ec)
[34790.517314]  r6:c6250000 r5:d3cb8028 r4:d3cb8000 r3:00000000
[34790.517335] [<c0273494>] (get_request_wait+0x0/0x1ec) from [<c0274284>] (blk_queue_bio+0x64/0x3a4)
[34790.517352] [<c0274220>] (blk_queue_bio+0x0/0x3a4) from [<c0272928>] (generic_make_request+0xb0/0xd0)
[34790.517364] [<c0272878>] (generic_make_request+0x0/0xd0) from [<c02729e0>] (submit_bio+0x98/0x12c)
[34790.517371]  r6:dd6cf900 r5:00001000 r4:c6251bf8
[34790.517389] [<c0272948>] (submit_bio+0x0/0x12c) from [<c015fad8>] (ext4_io_submit+0x3c/0x68)
[34790.517401] [<c015fa9c>] (ext4_io_submit+0x0/0x68) from [<c015fcd8>] (ext4_bio_write_page+0x1d4/0x48c)
[34790.517408]  r4:d8de1200 r3:00001000
[34790.517422] [<c015fb04>] (ext4_bio_write_page+0x0/0x48c) from [<c015b788>] (mpage_da_submit_io+0x4f0/0x5cc)
[34790.517433] [<c015b298>] (mpage_da_submit_io+0x0/0x5cc) from [<c015da1c>] (mpage_da_map_and_submit+0x15c/0x5e8)
[34790.517443] [<c015d8c0>] (mpage_da_map_and_submit+0x0/0x5e8) from [<c015e668>] (ext4_da_writepages+0x2d4/0x5fc)
[34790.517457] [<c015e394>] (ext4_da_writepages+0x0/0x5fc) from [<c00beadc>] (do_writepages+0x2c/0x40)
[34790.517470] [<c00beab0>] (do_writepages+0x0/0x40) from [<c0114fc8>] (writeback_single_inode+0xfc/0x378)
[34790.517481] [<c0114ecc>] (writeback_single_inode+0x0/0x378) from [<c0115590>] (writeback_sb_inodes+0x184/0x24c)
[34790.517492] [<c011540c>] (writeback_sb_inodes+0x0/0x24c) from [<c01156dc>] (__writeback_inodes_wb+0x84/0xc0)
[34790.517504] [<c0115658>] (__writeback_inodes_wb+0x0/0xc0) from [<c0115918>] (wb_writeback+0x200/0x330)
[34790.517517] [<c0115718>] (wb_writeback+0x0/0x330) from [<c0116310>] (wb_do_writeback+0x158/0x274)
[34790.517528] [<c01161b8>] (wb_do_writeback+0x0/0x274) from [<c01164b4>] (bdi_writeback_thread+0x88/0x290)
[34790.517540] [<c011642c>] (bdi_writeback_thread+0x0/0x290) from [<c004c394>] (kthread+0x90/0x9c)
[34790.517549] [<c004c304>] (kthread+0x0/0x9c) from [<c00318dc>] (do_exit+0x0/0x78c)
[34790.517555]  r6:c00318dc r5:c004c304 r4:dea87f1c

janrinze
Posts: 76
Joined: Thu Sep 19, 2013 4:31 am
languages_spoken: english
ODROIDs: ODROID-XU-E
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by janrinze »

The cable is used on the ARM Chromebook and there it has no issues at all. it can have uptimes of weeks with even doing a swap file on the same SSD.
If i can find the time I will try to see if there have been patches for USB3 in the Chromeos kernel tree. Maybe even try to port the ODROID additions to their tree so that we can benefit from bug fixes. If i had the time, that is.

mdrjr
Site Admin
Posts: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: USB 3.0 on ODROID-XU

Post by mdrjr »

if you dd a file .. like dd if=/dev/zero of=./test bs=4M
on the SSD does it cause the same problem?

janrinze
Posts: 76
Joined: Thu Sep 19, 2013 4:31 am
languages_spoken: english
ODROIDs: ODROID-XU-E
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by janrinze »

I copied a 4GB file and it also triggered these messages. Fortunately it does recover from the intermittent messages in dmesg:

Code: Select all

[ 1311.320955] usb 4-1: reset SuperSpeed USB device number 2 using exynos-xhci
[ 1311.336471] exynos-xhci exynos-xhci.0: xHCI xhci_drop_endpoint called with disabled ep de993180
[ 1311.336488] exynos-xhci exynos-xhci.0: xHCI xhci_drop_endpoint called with disabled ep de9931ac
[ 1320.600973] usb 4-1: reset SuperSpeed USB device number 2 using exynos-xhci
[ 1320.616356] exynos-xhci exynos-xhci.0: xHCI xhci_drop_endpoint called with disabled ep de993180
[ 1320.616385] exynos-xhci exynos-xhci.0: xHCI xhci_drop_endpoint called with disabled ep de9931ac
This is on USB3 OTG port.

I am recompiling the kernel now and try to disable power management on the USB. (suspend and screensaver don't work anyway so it can stay 'on' )

janrinze
Posts: 76
Joined: Thu Sep 19, 2013 4:31 am
languages_spoken: english
ODROIDs: ODROID-XU-E
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by janrinze »

Did a wise move, got myself a USB3 HUB and now the SSD gets detected over the USB3 Host port via the HUB. So apparently something electrical..

Next question: is the USB3 OTG port configured as HOST or OTG? will it be possible to use it as Device mode or do i need to set something in the kernel config? (OTG seems not to be set in the kernel, usually the cable will trigger the type.)

mdrjr
Site Admin
Posts: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: USB 3.0 on ODROID-XU

Post by mdrjr »

Its the cable that triggers the type.. by default its OTG, the cable triggers it to Host (eletrically) not done on Software as I recall

janrinze
Posts: 76
Joined: Thu Sep 19, 2013 4:31 am
languages_spoken: english
ODROIDs: ODROID-XU-E
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by janrinze »

Enabling OTG in the kernel made it work! yay!
Now need to find out how to get full 5Gb bandwidth over CDC Ethernet.. (max 300Mbit with iperf a.t.m.)

User avatar
odroid
Site Admin
Posts: 34943
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 959 times
Been thanked: 775 times
Contact:

Re: USB 3.0 on ODROID-XU

Post by odroid »

janrinze wrote:Enabling OTG in the kernel made it work! yay!
Now need to find out how to get full 5Gb bandwidth over CDC Ethernet.. (max 300Mbit with iperf a.t.m.)
Can you tell me which gadget drivers should be configured wen you tried the CDC Ethernet?

janrinze
Posts: 76
Joined: Thu Sep 19, 2013 4:31 am
languages_spoken: english
ODROIDs: ODROID-XU-E
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by janrinze »

The CDC Ethernet gadget driver..

x3kcl
Posts: 14
Joined: Sun Sep 22, 2013 7:13 pm
languages_spoken: english
ODROIDs: XU
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by x3kcl »

I am using a hard drive via the USB 3 port and under high load I experience that the USB 3 port disconnects.

This happens when copying big files via samba using the Gigabit USB 3 adapter that is connected to the other USB 3 port.

User avatar
odroid
Site Admin
Posts: 34943
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 959 times
Been thanked: 775 times
Contact:

Re: USB 3.0 on ODROID-XU

Post by odroid »

x3kcl wrote:I am using a hard drive via the USB 3 port and under high load I experience that the USB 3 port disconnects.
Does your USB 3 HDD has a separated power supply?

x3kcl
Posts: 14
Joined: Sun Sep 22, 2013 7:13 pm
languages_spoken: english
ODROIDs: XU
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by x3kcl »

Yes, I use it with an external dock that has a power supply.

janrinze
Posts: 76
Joined: Thu Sep 19, 2013 4:31 am
languages_spoken: english
ODROIDs: ODROID-XU-E
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by janrinze »

Anyone else yet who has some experience or performance stats on USB3?

Rmk177
Posts: 87
Joined: Fri Jul 19, 2013 12:19 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by Rmk177 »

Good news!
After increasing mtu size to 4000 at usb 3.0 network adapter iperf shows me 105Mbytes/s with latest android image.

User avatar
odroid
Site Admin
Posts: 34943
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 959 times
Been thanked: 775 times
Contact:

Re: USB 3.0 on ODROID-XU

Post by odroid »

Rmk177 wrote:Good news!
After increasing mtu size to 4000 at usb 3.0 network adapter iperf shows me 105Mbytes/s with latest android image.
You made it double !! We got only 40~50Mbyte/sec.
We will try it soon.

janrinze
Posts: 76
Joined: Thu Sep 19, 2013 4:31 am
languages_spoken: english
ODROIDs: ODROID-XU-E
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by janrinze »

Looking at the latest changes in googlecode chromeos kernel 3.8 there are some bugs in DCW3 which need a work-around.
Perhaps these cause the errors with the ODROID-XU too..

User avatar
sert00
Posts: 745
Joined: Sun Feb 24, 2013 12:26 am
languages_spoken: english,italian
ODROIDs: ODROID-U2*2__ODROID-U3__ODROID-XU-E__ODROID-XU-Ebeta__ODROID-C1__ODROID-XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by sert00 »

Rmk177 wrote:Good news!
After increasing mtu size to 4000 at usb 3.0 network adapter iperf shows me 105Mbytes/s with latest android image.
very interesting find man..
2x Odroid-U2
2x Odroid-XU-E
Odroid-U3
Odroid-C1+
Odroid-XU4
Lcd touch panel 10.1"
....and many of the goodies available....

User avatar
Matt
Posts: 576
Joined: Tue Feb 26, 2013 4:57 pm
languages_spoken: English
ODROIDs: X2, U2, XU+E rev.2, Smart Power
Location: Charlottesville, VA, USA
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by Matt »

Wouldn't you need at least a switch (or router) that supports jumbo frames in order for this to work?

I think most consumer equipment actually supports jumbo frames (though it doesn't generally have the real throughput of business-class equipment), but a lot of enterprise equipment doesn't (until you add another $500~$1000).
ODROID Boards: U2, X2, XU+E rev.2
Accessories: VU, Smart Power, 13" LCD Kit (for the X2)

mdrjr
Site Admin
Posts: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: USB 3.0 on ODROID-XU

Post by mdrjr »

Just passing by to update this:

Some USB3 adapters will have issues, its a known issue while using JMicron adapters. ASMedia/Netchip based controllers doesn't suffer from this issue.
Its actually some problem on JMicro adapters.

megglos
Posts: 18
Joined: Sun Sep 22, 2013 12:26 am
languages_spoken: english, german
ODROIDs: XU
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by megglos »

Does anyone still have stability issues when using USB3.0? I run my XU as a 24/7 fileserver with debian jessie, and the newest 3.4.70 kernel, self compiled with OTG support and no matter if I have just the Gigabit-Ethernet adapter attached, only the external USB 2.0 disk (at the otg port or the host only port) or both hdd @ OTG and gigabit @ host in around 0-48 hours the XU just freezes. (not reachable, only red led on). If I have both attached to the USB 2.0 ports everything runs fine (at least for the last 72 hours).

I will now attach the gigabit ethernet adapter back to the 3.0 host port and will continuously log the out put with:
"tail -f /var/log/{messages,dmesg,syslog}" to a file, I hope to get some hints what is causing the freeze.

Edit1:
So far 48 hours stable with the ASIX GBE adapter on USB3.0 and HDD on USB2.0
Will interchange them now, I suspect the problem only occurs on the OTG port.

Edit2:
Another 48+ hours stable with HDD on USB 3.0 Host. I got a new OTG cable and will now try to operate the HDD over OTG and the GBE-Adapter on the Host port again.

Edit3:
After starting some downloads the system crashed relatively soon, see log:

Code: Select all

Dec  6 12:43:43 odroid-xu kernel: [ 1676.824107] ax88179_178a 6-1:1.0: eth1: kevent 2 may have been dropped

==> /var/log/messages <==
Dec  6 12:43:43 odroid-xu kernel: [ 1676.602891] [<c00dc5a0>] (kswapd+0x0/0xb04) from [<c0052a58>] (kthread+0x90/0x9c)
Dec  6 12:43:43 odroid-xu kernel: [ 1676.610330] [<c00529c8>] (kthread+0x0/0x9c) from [<c0036fa4>] (do_exit+0x0/0x7b0)
Dec  6 12:43:43 odroid-xu kernel: [ 1676.617779]  r6:c0036fa4 r5:c00529c8 r4:de845edc
Dec  6 12:43:43 odroid-xu kernel: [ 1676.622290] Mem-info:
Dec  6 12:43:43 odroid-xu kernel: [ 1676.624587] Normal per-cpu:
Dec  6 12:43:43 odroid-xu kernel: [ 1676.627405] CPU    0: hi:  186, btch:  31 usd: 164
Dec  6 12:43:43 odroid-xu kernel: [ 1676.632175] CPU    1: hi:  186, btch:  31 usd: 168
Dec  6 12:43:43 odroid-xu kernel: [ 1676.636982] CPU    2: hi:  186, btch:  31 usd: 169
Dec  6 12:43:43 odroid-xu kernel: [ 1676.641715] CPU    3: hi:  186, btch:  31 usd: 143
Dec  6 12:43:43 odroid-xu kernel: [ 1676.646512] HighMem per-cpu:
Dec  6 12:43:43 odroid-xu kernel: [ 1676.649305] CPU    0: hi:  186, btch:  31 usd: 174
Dec  6 12:43:43 odroid-xu kernel: [ 1676.654115] CPU    1: hi:  186, btch:  31 usd:  30
Dec  6 12:43:43 odroid-xu kernel: [ 1676.658884] CPU    2: hi:  186, btch:  31 usd: 115
Dec  6 12:43:43 odroid-xu kernel: [ 1676.663668] CPU    3: hi:  186, btch:  31 usd:   1
Dec  6 12:43:43 odroid-xu kernel: [ 1676.668430] active_anon:29974 inactive_anon:1058 isolated_anon:0
Dec  6 12:43:43 odroid-xu kernel: [ 1676.668438]  active_file:187209 inactive_file:187315 isolated_file:0
Dec  6 12:43:43 odroid-xu kernel: [ 1676.668446]  unevictable:0 dirty:3057 writeback:0 unstable:0
Dec  6 12:43:43 odroid-xu kernel: [ 1676.668452]  free:10020 slab_reclaimable:8831 slab_unreclaimable:3093
Dec  6 12:43:43 odroid-xu kernel: [ 1676.668459]  mapped:3059 shmem:1301 pagetables:739 bounce:0
Dec  6 12:43:43 odroid-xu kernel: [ 1676.698386] Normal free:35748kB min:2836kB low:3544kB high:4252kB active_anon:900kB inactive_anon:0kB active_file:175780kB inactive_file:175820kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:503440kB mlocked:0kB dirty:3024kB writeback:0kB mapped:280kB shmem:0kB slab_reclaimable:35324kB slab_unreclaimable:12372kB kernel_stack:2232kB pagetables:2956kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Dec  6 12:43:43 odroid-xu kernel: [ 1676.737644] lowmem_reserve[]: 0 12291 12291
Dec  6 12:43:43 odroid-xu kernel: [ 1676.741740] HighMem free:4332kB min:512kB low:2724kB high:4940kB active_anon:118996kB inactive_anon:4232kB active_file:573056kB inactive_file:573440kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:1573248kB mlocked:0kB dirty:9204kB writeback:0kB mapped:11956kB shmem:5204kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:2 all_unreclaimable? no
Dec  6 12:43:43 odroid-xu kernel: [ 1676.780815] lowmem_reserve[]: 0 0 0
Dec  6 12:43:43 odroid-xu kernel: [ 1676.784228] Normal: 432*4kB 732*8kB 582*16kB 273*32kB 96*64kB 20*128kB 4*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 35872kB
Dec  6 12:43:43 odroid-xu kernel: [ 1676.795329] HighMem: 11*4kB 39*8kB 57*16kB 6*32kB 11*64kB 7*128kB 2*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 4084kB
Dec  6 12:43:43 odroid-xu kernel: [ 1676.805907] 375954 total pagecache pages
Dec  6 12:43:43 odroid-xu kernel: [ 1676.809862] 0 pages in swap cache
Dec  6 12:43:43 odroid-xu kernel: [ 1676.813182] Swap cache stats: add 0, delete 0, find 0/0
Dec  6 12:43:43 odroid-xu kernel: [ 1676.818357] Free swap  = 0kB
Dec  6 12:43:43 odroid-xu kernel: [ 1676.821161] Total swap = 0kB

==> /var/log/syslog <==
Dec  6 12:43:50 odroid-xu kernel: [ 1683.152178] swapper/0: page allocation failure: order:3, mode:0x4020

==> /var/log/messages <==
Dec  6 12:43:50 odroid-xu kernel: [ 1683.152178] swapper/0: page allocation failure: order:3, mode:0x4020

==> /var/log/syslog <==
Dec  6 12:43:50 odroid-xu kernel: [ 1683.157064] Backtrace: 

==> /var/log/messages <==
Dec  6 12:43:50 odroid-xu kernel: [ 1683.157064] Backtrace: 

==> /var/log/syslog <==
Dec  6 12:43:50 odroid-xu kernel: [ 1683.159513] [<c0013474>] (dump_backtrace+0x0/0x10c) from [<c070a030>] (dump_stack+0x18/0x1c)

==> /var/log/messages <==
Dec  6 12:43:50 odroid-xu kernel: [ 1683.159513] [<c0013474>] (dump_backtrace+0x0/0x10c) from [<c070a030>] (dump_stack+0x18/0x1c)

==> /var/log/syslog <==
Dec  6 12:43:50 odroid-xu kernel: [ 1683.167905]  r6:c09f0000 r5:00000003 r4:00004020 r3:c09ec544

==> /var/log/messages <==
Dec  6 12:43:50 odroid-xu kernel: [ 1683.167905]  r6:c09f0000 r5:00000003 r4:00004020 r3:c09ec544

==> /var/log/syslog <==
Dec  6 12:43:50 odroid-xu kernel: [ 1683.173554] [<c070a018>] (dump_stack+0x0/0x1c) from [<c00ce448>] (warn_alloc_failed+0xa8/0x124)

==> /var/log/messages <==
Dec  6 12:43:50 odroid-xu kernel: [ 1683.173554] [<c070a018>] (dump_stack+0x0/0x1c) from [<c00ce448>] (warn_alloc_failed+0xa8/0x124)

==> /var/log/syslog <==
Dec  6 12:43:50 odroid-xu kernel: [ 1683.182221] [<c00ce3a0>] (warn_alloc_failed+0x0/0x124) from [<c00d0758>] (__alloc_pages_nodemask+0x528/0x738)

==> /var/log/messages <==
Dec  6 12:43:50 odroid-xu kernel: [ 1683.182221] [<c00ce3a0>] (warn_alloc_failed+0x0/0x124) from [<c00d0758>] (__alloc_pages_nodemask+0x528/0x738)

==> /var/log/syslog <==
Dec  6 12:43:50 odroid-xu kernel: [ 1683.192101]  r3:c09f1b44 r2:00000000
Dec  6 12:43:50 odroid-xu kernel: [ 1683.195649]  r7:c0a87154 r6:c0a19610 r5:c09f0000 r4:00000000
Dec  6 12:43:50 odroid-xu kernel: [ 1683.201299] [<c00d0230>] (__alloc_pages_nodemask+0x0/0x738) from [<c00d0980>] (__get_free_pages+0x18/0x34)
Dec  6 12:43:50 odroid-xu kernel: [ 1683.210924] [<c00d0968>] (__get_free_pages+0x0/0x34) from [<c00ffb48>] (kmalloc_order_trace+0x2c/0xc8)
Dec  6 12:43:50 odroid-xu kernel: [ 1683.220201] [<c00ffb1c>] (kmalloc_order_trace+0x0/0xc8) from [<c01035f0>] (__kmalloc_track_caller+0x224/0x23c)
Dec  6 12:43:50 odroid-xu kernel: [ 1683.230174] [<c01033cc>] (__kmalloc_track_caller+0x0/0x23c) from [<c052aec0>] (__alloc_skb+0x58/0xf4)
Dec  6 12:43:50 odroid-xu kernel: [ 1683.239362] [<c052ae68>] (__alloc_skb+0x0/0xf4) from [<c052b3fc>] (__netdev_alloc_skb+0x24/0x4c)
Dec  6 12:43:50 odroid-xu kernel: [ 1683.248122] [<c052b3d8>] (__netdev_alloc_skb+0x0/0x4c) from [<c03bc2f8>] (rx_submit+0x24/0x2c8)
Dec  6 12:43:50 odroid-xu kernel: [ 1683.256786]  r4:de319cc0 r3:00000100
Dec  6 12:43:50 odroid-xu kernel: [ 1683.260347] [<c03bc2d4>] (rx_submit+0x0/0x2c8) from [<c03bcb40>] (rx_complete+0x290/0x2dc)
Dec  6 12:43:50 odroid-xu kernel: [ 1683.268589] [<c03bc8b0>] (rx_complete+0x0/0x2dc) from [<c03ccf78>] (usb_hcd_giveback_urb+0x54/0xc4)
Dec  6 12:43:50 odroid-xu kernel: [ 1683.277598]  r7:00000001 r6:de3a61e8 r5:00000000 r4:dda54c80
Dec  6 12:43:50 odroid-xu kernel: [ 1683.283245] [<c03ccf24>] (usb_hcd_giveback_urb+0x0/0xc4) from [<c03f7fa8>] (xhci_irq+0x69c/0x14d8)
Dec  6 12:43:50 odroid-xu kernel: [ 1683.292167]  r5:00000000 r4:ffdf24b0
Dec  6 12:43:50 odroid-xu kernel: [ 1683.295730] [<c03f790c>] (xhci_irq+0x0/0x14d8) from 
Looks like there is a problem with swap but there is only around 200-300M memory used

megglos
Posts: 18
Joined: Sun Sep 22, 2013 12:26 am
languages_spoken: english, german
ODROIDs: XU
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by megglos »

Finally I gave up on using OTG and used a small non external powered USB 3.0 hub to which is connected the hdd & Gigabit adapter, had far better performance on file transfer in local LAN, was around 15-20 MB/s with hdd on OTG port and is now around 30MB/s.

Edit:
again freeze and last messages were kmalloc errors, used newest nightly Kernel 3.4.73

Code: Select all

==> /var/log/syslog <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.157719] kswapd0: page allocation failure: order:3, mode:0x4020

==> /var/log/messages <==

==> /var/log/syslog <==

==> /var/log/messages <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.157719] kswapd0: page allocation failure: order:3, mode:0x4020

==> /var/log/syslog <==

==> /var/log/messages <==

==> /var/log/syslog <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.163841] Backtrace: 

==> /var/log/messages <==

==> /var/log/syslog <==

==> /var/log/messages <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.163841] Backtrace: 

==> /var/log/syslog <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.166280] [<c00136a4>] (dump_backtrace+0x0/0x110) from [<c0724248>] (dump_stack+0x18/0x1c)

==> /var/log/messages <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.166280] [<c00136a4>] (dump_backtrace+0x0/0x110) from [<c0724248>] (dump_stack+0x18/0x1c)

==> /var/log/syslog <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.174681]  r6:00000002 r5:00000003 r4:00004020 r3:c0a06544
Dec 11 22:40:54 odroid-xu kernel: [ 1619.180328] [<c0724230>] (dump_stack+0x0/0x1c) from [<c00d2f64>] (warn_alloc_failed+0xe8/0x124)
Dec 11 22:40:54 odroid-xu kernel: [ 1619.188998] [<c00d2e7c>] (warn_alloc_failed+0x0/0x124) from [<c00d5374>] (__alloc_pages_nodemask+0x55c/0x750)
Dec 11 22:40:54 odroid-xu kernel: [ 1619.198876]  r3:dea7d934 r2:00000000
Dec 11 22:40:54 odroid-xu kernel: [ 1619.202431]  r7:00000000 r6:dea7c000 r5:00000000 r4:00004020
Dec 11 22:40:54 odroid-xu kernel: [ 1619.208076] [<c00d4e18>] (__alloc_pages_nodemask+0x0/0x750) from [<c00d5580>] (__get_free_pages+0x18/0x34)
Dec 11 22:40:54 odroid-xu kernel: [ 1619.217703] [<c00d5568>] (__get_free_pages+0x0/0x34) from [<c0104f64>] (kmalloc_order_trace+0x2c/0xd8)
Dec 11 22:40:54 odroid-xu kernel: [ 1619.226981] [<c0104f38>] (kmalloc_order_trace+0x0/0xd8) from [<c0109160>] (__kmalloc_track_caller+0x170/0x22c)
Dec 11 22:40:54 odroid-xu kernel: [ 1619.236956] [<c0108ff0>] (__kmalloc_track_caller+0x0/0x22c) from [<c053b630>] (__alloc_skb+0x5c/0xf4)
Dec 11 22:40:54 odroid-xu kernel: [ 1619.246145] [<c053b5d4>] (__alloc_skb+0x0/0xf4) from [<c053b7b4>] (__netdev_alloc_skb+0x24/0x4c)
Dec 11 22:40:54 odroid-xu kernel: [ 1619.254895]  r9:00000001 r8:de3a1800 r7:00005000 r6:c545f200 r5:c545f200
Dec 11 22:40:54 odroid-xu kernel: [ 1619.261413] r4:de1e0000
Dec 11 22:40:54 odroid-xu kernel: [ 1619.264013] [<c053b790>] (__netdev_alloc_skb+0x0/0x4c) from [<c03ccf78>] (rx_submit+0x24/0x2dc)
Dec 11 22:40:54 odroid-xu kernel: [ 1619.272674]  r4:de1e04c0 r3:00000104
Dec 11 22:40:54 odroid-xu kernel: [ 1619.276237] [<c03ccf54>] (rx_submit+0x0/0x2dc) from [<c03cda5c>] (rx_complete+0x1ec/0x2fc)

==> /var/log/messages <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.174681]  r6:00000002 r5:00000003 r4:00004020 r3:c0a06544
Dec 11 22:40:54 odroid-xu kernel: [ 1619.180328] [<c0724230>] (dump_stack+0x0/0x1c) from [<c00d2f64>] (warn_alloc_failed+0xe8/0x124)
Dec 11 22:40:54 odroid-xu kernel: [ 1619.188998] [<c00d2e7c>] (warn_alloc_failed+0x0/0x124) from [<c00d5374>] (__alloc_pages_nodemask+0x55c/0x750)
Dec 11 22:40:54 odroid-xu kernel: [ 1619.198876]  r3:dea7d934 r2:00000000
Dec 11 22:40:54 odroid-xu kernel: [ 1619.202431]  r7:00000000 r6:dea7c000 r5:00000000 r4:00004020
Dec 11 22:40:54 odroid-xu kernel: [ 1619.208076] [<c00d4e18>] (__alloc_pages_nodemask+0x0/0x750) from [<c00d5580>] (__get_free_pages+0x18/0x34)
Dec 11 22:40:54 odroid-xu kernel: [ 1619.217703] [<c00d5568>] (__get_free_pages+0x0/0x34) from [<c0104f64>] (kmalloc_order_trace+0x2c/0xd8)
Dec 11 22:40:54 odroid-xu kernel: [ 1619.226981] [<c0104f38>] (kmalloc_order_trace+0x0/0xd8) from [<c0109160>] (__kmalloc_track_caller+0x170/0x22c)
Dec 11 22:40:54 odroid-xu kernel: [ 1619.236956] [<c0108ff0>] (__kmalloc_track_caller+0x0/0x22c) from [<c053b630>] (__alloc_skb+0x5c/0xf4)
Dec 11 22:40:54 odroid-xu kernel: [ 1619.246145] [<c053b5d4>] (__alloc_skb+0x0/0xf4) from [<c053b7b4>] (__netdev_alloc_skb+0x24/0x4c)
Dec 11 22:40:54 odroid-xu kernel: [ 1619.254895]  r9:00000001 r8:de3a1800 r7:00005000 r6:c545f200 r5:c545f200
Dec 11 22:40:54 odroid-xu kernel: [ 1619.261413] r4:de1e0000
Dec 11 22:40:54 odroid-xu kernel: [ 1619.264013] [<c053b790>] (__netdev_alloc_skb+0x0/0x4c) from [<c03ccf78>] (rx_submit+0x24/0x2dc)
Dec 11 22:40:54 odroid-xu kernel: [ 1619.272674]  r4:de1e04c0 r3:00000104
Dec 11 22:40:54 odroid-xu kernel: [ 1619.276237] [<c03ccf54>] (rx_submit+0x0/0x2dc) from [<c03cda5c>] (rx_complete+0x1ec/0x2fc)

==> /var/log/syslog <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.284476] [<c03cd870>] (rx_complete+0x0/0x2fc) from [<c03dcf94>] (usb_hcd_giveback_urb+0x54/0xc4)

==> /var/log/messages <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.284476] [<c03cd870>] (rx_complete+0x0/0x2fc) from [<c03dcf94>] (usb_hcd_giveback_urb+0x54/0xc4)

==> /var/log/syslog <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.293486]  r7:de3a182c r6:ddcd21e8 r5:00000000 r4:c545f200

==> /var/log/messages <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.293486]  r7:de3a182c r6:ddcd21e8 r5:00000000 r4:c545f200

==> /var/log/syslog <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.299132] [<c03dcf40>] (usb_hcd_giveback_urb+0x0/0xc4) from [<c04054dc>] (xhci_irq+0x6a0/0x14b8)

==> /var/log/messages <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.299132] [<c03dcf40>] (usb_hcd_giveback_urb+0x0/0xc4) from [<c04054dc>] (xhci_irq+0x6a0/0x14b8)

==> /var/log/syslog <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.308054]  r5:00000000 r4:ffdf27e0

==> /var/log/messages <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.308054]  r5:00000000 r4:ffdf27e0

==> /var/log/syslog <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.311619] [<c0404e3c>] (xhci_irq+0x0/0x14b8) from [<c03dc7e4>] (usb_hcd_irq+0x34/0x4c)

==> /var/log/messages <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.311619] [<c0404e3c>] (xhci_irq+0x0/0x14b8) from [<c03dc7e4>] (usb_hcd_irq+0x34/0x4c)

==> /var/log/syslog <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.319683] [<c03dc7b0>] (usb_hcd_irq+0x0/0x4c) from [<c009f970>] (handle_irq_event_percpu+0x8c/0x2ac)

==> /var/log/messages <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.319683] [<c03dc7b0>] (usb_hcd_irq+0x0/0x4c) from [<c009f970>] (handle_irq_event_percpu+0x8c/0x2ac)

==> /var/log/syslog <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.328953]  r4:dea6f740 r3:c03dc7b0

==> /var/log/messages <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.328953]  r4:dea6f740 r3:c03dc7b0

==> /var/log/syslog <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.332516] [<c009f8e4>] (handle_irq_event_percpu+0x0/0x2ac) from [<c009fbd4>] (handle_irq_event+0x44/0x64)

==> /var/log/messages <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.332516] [<c009f8e4>] (handle_irq_event_percpu+0x0/0x2ac) from [<c009fbd4>] (handle_irq_event+0x44/0x64)

==> /var/log/syslog <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.342229] [<c009fb90>] (handle_irq_event+0x0/0x64) from [<c00a2a18>] (handle_fasteoi_irq+0xa8/0x170)

==> /var/log/messages <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.342229] [<c009fb90>] (handle_irq_event+0x0/0x64) from [<c00a2a18>] (handle_fasteoi_irq+0xa8/0x170)

==> /var/log/syslog <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.351503]  r6:dea7c020 r5:c0a17010 r4:c0a16fc0 r3:00000000

==> /var/log/messages <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.351503]  r6:dea7c020 r5:c0a17010 r4:c0a16fc0 r3:00000000

==> /var/log/syslog <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.357145] [<c00a2970>] (handle_fasteoi_irq+0x0/0x170) from [<c009f110>] (generic_handle_irq+0x30/0x40)

==> /var/log/messages <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.357145] [<c00a2970>] (handle_fasteoi_irq+0x0/0x170) from [<c009f110>] (generic_handle_irq+0x30/0x40)

==> /var/log/syslog <==
Dec 11 22:40:54 odroid-xu kernel: [ 1619.366595]  r5:c0a082b4 r4:c0a33808

39vc
Posts: 1
Joined: Wed Dec 18, 2013 4:38 pm
languages_spoken: english
ODROIDs: ODROID-XU
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by 39vc »

Hello,

Someone, did you test USB mass storage gadget driver with USB3.0 OTG ? Or, Do you have information like that ?
I can't find related information about that in this forum.

Regards,

ray.cathode
Posts: 1
Joined: Thu Mar 13, 2014 6:44 pm
languages_spoken: english
ODROIDs: Odroid U2
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by ray.cathode »

With respect to the USB 3.0 to Gigabit Ethernet adapter performance, you mentioned "I think we can improve the device driver and get more speed up to 80~90MByte/sec". Have you managed to improve the driver and achieve this performance increase?

Thanks. Ray.

User avatar
odroid
Site Admin
Posts: 34943
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 959 times
Been thanked: 775 times
Contact:

Re: USB 3.0 on ODROID-XU

Post by odroid »


freezy
Posts: 8
Joined: Thu Mar 06, 2014 4:00 am
languages_spoken: english,german
ODROIDs: Odroid XU-lite,16GB eMMc,Gigabit Ethernet
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by freezy »

Hello community, i have a lot of Problems using usb 3.0/Gigabit Adapter with my odroid xu lite.im using dodocool usb 3.0/Gigabit.in many cases the Adapter shuting down and get lost of power. all leds are dark.
using the adpter on otg port is not possible only on host it works.is there anybody else with the same Problems?

mfg freezy

User avatar
odroid
Site Admin
Posts: 34943
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 959 times
Been thanked: 775 times
Contact:

Re: USB 3.0 on ODROID-XU

Post by odroid »

Which chipset is included in your Gigabit adapter?
Does it consume more power than our adapter?

freezy
Posts: 8
Joined: Thu Mar 06, 2014 4:00 am
languages_spoken: english,german
ODROIDs: Odroid XU-lite,16GB eMMc,Gigabit Ethernet
Has thanked: 0
Been thanked: 0
Contact:

Re: USB 3.0 on ODROID-XU

Post by freezy »

I need to ask the manufacture,there are no information about the chipset working in dodocool.
tommorow i will ask the dodocool hotline.


I am industrie electrician and there was few minutes ago a brainwave! Does anybody use a different powersupply as the original one?
I am not shure if the original odroid supply gives really 4 amperes.Tommorow i will try a bigger one that put 6 amperes to output.
maybe my mouse and keybord included the gigabit/usb3.0 passiv hub leech to much.that could be the reason for freezes or power down!

mdrjr
Site Admin
Posts: 11757
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 28 times
Contact:

Re: USB 3.0 on ODROID-XU

Post by mdrjr »

AFAIK the usb3 port can only supply up to 900ma.

Enviado de meu SM-P601 usando Tapatalk

Post Reply

Return to “Hardware and peripherals”

Who is online

Users browsing this forum: No registered users and 1 guest