Page 1 of 2

Gigabit Ethernet

Posted: Fri Jan 09, 2015 6:46 pm
by Sergey
C1 drops connection at gigabit switch port, but work stable at 100 megabit router. In other topics recomends to put c1 in 100m, so it isnt solve problem, because many people need 1gbit lan. If it software problem, can You fix that please?

Re: Gigabit Ethernet

Posted: Fri Jan 09, 2015 7:00 pm
by BlueDroid
They are looking into the issue, trying to find a fix and are suggesting 100m as a temporary solution.
http://forum.odroid.com/viewtopic.php?f ... 164#p63710
odroid wrote:We heard some Gbit switches/hubs caused the issue. :(
Here is a temporary solution.
http://forum.odroid.com/viewtopic.php?f=111&t=8004

Re: Gigabit Ethernet

Posted: Fri Jan 09, 2015 7:13 pm
by odroid
It is very hard to reproduce the issue in our office.
http://forum.odroid.com/viewtopic.php?f=111&t=8004
So we are going to purchase a few different Gbit hubs/switches tonight.
Can you tell me the brand/model name of your Gibt hub?

Re: Gigabit Ethernet

Posted: Fri Jan 09, 2015 10:39 pm
by Sergey
Yes, Friends!
D-Link DGS-1005A - My Gbit hub (At this C1 drops 1Gbit and unstable speed)
ZyXEL Keenetic - My 100M router (At this C1 stable speed download and upload for all shares)

Re: Gigabit Ethernet

Posted: Sat Jan 10, 2015 6:18 am
by stalk
Same problem. Mikrotik 951G-2HnD.

Re: Gigabit Ethernet

Posted: Sat Jan 10, 2015 6:57 am
by sc754
I'm using what I think is a 100mbit router and I cant get my c1 to show an ip on it... works with my pi fine. My router is Technicolor TG582n. Also when I try my two usb wifi devices neither works, they are a edimax one and a tp link one... any ideas on that? Right now I can't get any connectivity on the c1

Re: Gigabit Ethernet

Posted: Sat Jan 10, 2015 6:16 pm
by BlueDroid
Check that it really is a 100mbit router.
For the usb wifi devices, step one is checking what chipset they use. Its prefered that you make a seperate thread for seperate issues, such as the wifi devices.

Remember that the RasPi had lots of issues when it was first released in February 2012. Usb was just broken for a lot of devices.

Re: Gigabit Ethernet

Posted: Sat Jan 10, 2015 9:44 pm
by sc754
It's definately a 100mbit only router, I've tried 2 different brands of sd card, two different ethernet cables and tried several different downloads of the ubuntu images but it still won't obtain an ip. Seems like mine is broken :/ It's strange, when I first put in the power nothing happens just a red light, but when I take it out then put it in again it then gives the blue light and the red one is brighter too.

Re: Gigabit Ethernet

Posted: Sat Jan 10, 2015 11:22 pm
by tobetter
sc754 wrote:It's definately a 100mbit only router, I've tried 2 different brands of sd card, two different ethernet cables and tried several different downloads of the ubuntu images but it still won't obtain an ip. Seems like mine is broken :/ It's strange, when I first put in the power nothing happens just a red light, but when I take it out then put it in again it then gives the blue light and the red one is brighter too.
What's the brand and model of your MicroSD?
Does the blue LED blink like heartbeat?
What the LED is on RJ45 port?
Are you able to look the Ubuntu face on your TV or monitor?

Re: Gigabit Ethernet

Posted: Sun Jan 11, 2015 12:22 am
by BlueDroid
Also are you using the newest ubuntu image, v1.1?
http://odroid.com/dokuwiki/doku.php?id= ... _note_v1.1

Re: Gigabit Ethernet

Posted: Sun Jan 11, 2015 12:57 am
by sc754
I have used both a Sandisk ultra 8gb micro sd and a Kingston class 10 16gb micro sd, I get the same results with both. I've also tried several redownloads and images of ubuntu.

Yes the blue led blinks every few seconds, the red stays on all the time.

I get a green blinking LED on the ethernet port, but no connection is ever made to my router since the light on my router never goes solid and stays solid.

I am trying to run it headless as I thought ssh was enabled, I dont have a mini hdmi cable.

I've tried both versions of the ubuntu images provided and they copy fine using the win32 disk imager.

Re: Gigabit Ethernet

Posted: Sun Jan 11, 2015 1:05 am
by tobetter
sc754 wrote:I have used both a Sandisk ultra 8gb micro sd and a Kingston class 10 16gb micro sd, I get the same results with both. I've also tried several redownloads and images of ubuntu.

Yes the blue led blinks every few seconds, the red stays on all the time.

I get a green blinking LED on the ethernet port, but no connection is ever made to my router since the light on my router never goes solid and stays solid.

I am trying to run it headless as I thought ssh was enabled, I dont have a mini hdmi cable.

I've tried both versions of the ubuntu images provided and they copy fine using the win32 disk imager.
I think your installation and Ubuntu is working properly based on the info, blinking blue LED. Little bit hard to verify since you are not able to open a shell on display or ethernet. Would you try to install Android and adb shell thru micro-USB cable? You might be able to check if Android can get IP address from your router.

Re: Gigabit Ethernet

Posted: Sun Jan 11, 2015 1:30 am
by sc754
I have tried checking the logs through mounting the sd card on my laptop in an ubuntu live cd. Dmesg seems to look normal nothing reported about the network, is there somewhere else worth checking? It would be good if i could get my edimax wifi adapter working

Re: Gigabit Ethernet

Posted: Sun Jan 11, 2015 4:18 am
by fromen
odroid wrote:It is very hard to reproduce the issue in our office.
http://forum.odroid.com/viewtopic.php?f=111&t=8004
So we are going to purchase a few different Gbit hubs/switches tonight.
Can you tell me the brand/model name of your Gibt hub?
Same problem here, TPLINK-WDR3600, stock Ubuntu eMMC

Code: Select all

Jan 09 00:18:42 odroid NetworkManager[688]: <info> (eth1): carrier now OFF (device state 100, deferring action for 4 seconds)
Jan 09 00:18:42 odroid kernel: [  405.583459@0] libphy: 0:01 - Link is Down
Jan 09 00:18:43 odroid NetworkManager[688]: <info> (eth1): carrier now ON (device state 100)
Jan 09 00:18:43 odroid kernel: [  406.584348@0] libphy: 0:01 - Link is Up - 1000/Full
Jan 09 00:18:47 odroid NetworkManager[688]: <info> (eth1): carrier now OFF (device state 100, deferring action for 4 seconds)
Jan 09 00:18:47 odroid kernel: [  410.584233@0] libphy: 0:01 - Link is Down
Jan 09 00:18:48 odroid NetworkManager[688]: <info> (eth1): carrier now ON (device state 100)
Jan 09 00:18:48 odroid kernel: [  411.584303@0] libphy: 0:01 - Link is Up - 1000/Full
Jan 09 00:18:52 odroid NetworkManager[688]: <info> (eth1): carrier now OFF (device state 100, deferring action for 4 seconds)
Jan 09 00:18:52 odroid kernel: [  415.584193@0] libphy: 0:01 - Link is Down
Jan 09 00:18:57 odroid NetworkManager[688]: <info> (eth1): device state change: activated -> unavailable (reason 'carrier-changed') [100 20 40]
Jan 09 00:18:57 odroid NetworkManager[688]: <info> (eth1): deactivating device (reason 'carrier-changed') [40]
Jan 09 00:18:57 odroid NetworkManager[688]: <info> (eth1): canceled DHCP transaction, DHCP client pid 1006
Jan 09 00:18:57 odroid avahi-daemon[506]: Withdrawing address record for 192.168.1.12 on eth1.
Jan 09 00:18:57 odroid avahi-daemon[506]: Leaving mDNS multicast group on interface eth1.IPv4 with address 192.168.1.12.
Jan 09 00:18:57 odroid avahi-daemon[506]: Interface eth1.IPv4 no longer relevant for mDNS.
Jan 09 00:18:57 odroid NetworkManager[688]: <warn> DNS: plugin dnsmasq update failed
Jan 09 00:18:57 odroid dnsmasq[1009]: se establecen los servidores superiores desde DBus
Jan 09 00:18:57 odroid NetworkManager[688]: <info> Removing DNS information from /sbin/resolvconf
Jan 09 00:18:57 odroid kernel: [  420.337774@0] changed the Multicast,mcount=4
Jan 09 00:18:57 odroid kernel: [  420.337789@0] add mac address:01:00:5e:00:00:01,bit=32
Jan 09 00:18:57 odroid kernel: [  420.337797@0] add mac address:33:33:00:00:00:01,bit=1
Jan 09 00:18:57 odroid kernel: [  420.337804@0] add mac address:33:33:ff:34:9a:ee,bit=9
Jan 09 00:18:57 odroid kernel: [  420.337812@0] add mac address:33:33:00:00:00:fb,bit=17
Jan 09 00:18:57 odroid kernel: [  420.337817@0] set hash low=20202,high=1
Jan 09 00:18:57 odroid kernel: [  420.337823@0] changed the filter setting to :4
Jan 09 00:18:57 odroid NetworkManager[688]: <info> NetworkManager state is now DISCONNECTED

Re: Gigabit Ethernet

Posted: Sun Jan 11, 2015 6:27 am
by sc754
Ok I have some information which might be of use... here's my log. For some reason eth0 is being assigned 192.168.2.x address but the range is 192.168.1.x, any ideas what's going on? :S

Code: Select all

Jan  1 09:44:18 odroid anacron[814]: Job `cron.daily' terminated (mailing output)
Jan  1 09:44:18 odroid anacron[814]: Can't find sendmail at /usr/sbin/sendmail, not mailing output
Jan  1 09:44:18 odroid anacron[814]: Job `cron.weekly' started
Jan  1 09:44:18 odroid anacron[1882]: Updated timestamp for job `cron.weekly' to 1970-01-01
Jan  1 09:44:20 odroid anacron[814]: Job `cron.weekly' terminated
Jan  1 09:44:20 odroid anacron[814]: Normal exit (2 jobs run)
Jan  1 09:45:19 odroid ntpd_intres[1025]: host name not found: 0.ubuntu.pool.ntp.org
Jan  1 09:45:19 odroid ntpd_intres[1025]: host name not found: 1.ubuntu.pool.ntp.org
Jan  1 09:45:19 odroid ntpd_intres[1025]: host name not found: 2.ubuntu.pool.ntp.org
Jan  1 09:45:19 odroid ntpd_intres[1025]: host name not found: 3.ubuntu.pool.ntp.org
Jan  1 09:45:19 odroid ntpd_intres[1025]: host name not found: ntp.ubuntu.com
Jan  1 09:51:30 odroid NetworkManager[716]: <info> (eth0): carrier now ON (device state 20)
Jan  1 09:51:30 odroid NetworkManager[716]: <info> (eth0): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40]
Jan  1 09:51:30 odroid NetworkManager[716]: <info> Auto-activating connection 'Wired connection 1'.
Jan  1 09:51:30 odroid NetworkManager[716]: <info> Activation (eth0) starting connection 'Wired connection 1'
Jan  1 09:51:30 odroid NetworkManager[716]: <info> (eth0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Jan  1 09:51:30 odroid NetworkManager[716]: <info> NetworkManager state is now CONNECTING
Jan  1 09:51:30 odroid NetworkManager[716]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
Jan  1 09:51:30 odroid NetworkManager[716]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started...
Jan  1 09:51:30 odroid NetworkManager[716]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
Jan  1 09:51:30 odroid NetworkManager[716]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
Jan  1 09:51:30 odroid NetworkManager[716]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting...
Jan  1 09:51:30 odroid NetworkManager[716]: <info> (eth0): device state change: prepare -> config (reason 'none') [40 50 0]
Jan  1 09:51:30 odroid NetworkManager[716]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
Jan  1 09:51:30 odroid NetworkManager[716]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
Jan  1 09:51:30 odroid NetworkManager[716]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
Jan  1 09:51:30 odroid NetworkManager[716]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
Jan  1 09:51:30 odroid NetworkManager[716]: <info> (eth0): device state change: config -> ip-config (reason 'none') [50 70 0]
Jan  1 09:51:30 odroid kernel: [ 1293.385157@2] libphy: 0:01 - Link is Up - 1000/Full
Jan  1 09:51:30 odroid kernel: [ 1293.385186@2] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jan  1 09:51:30 odroid NetworkManager[716]: <info> Activation (eth0) Beginning DHCPv4 transaction (timeout in 45 seconds)
Jan  1 09:51:30 odroid NetworkManager[716]: <info> dhclient started with pid 1915
Jan  1 09:51:30 odroid NetworkManager[716]: <info> Activation (eth0) Beginning IP6 addrconf.
Jan  1 09:51:30 odroid NetworkManager[716]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
Jan  1 09:51:30 odroid dhclient: Internet Systems Consortium DHCP Client 4.2.4
Jan  1 09:51:30 odroid dhclient: Copyright 2004-2012 Internet Systems Consortium.
Jan  1 09:51:30 odroid dhclient: All rights reserved.
Jan  1 09:51:30 odroid dhclient: For info, please visit https://www.isc.org/software/dhcp/
Jan  1 09:51:30 odroid dhclient: 
Jan  1 09:51:30 odroid NetworkManager[716]: <info> (eth0): DHCPv4 state changed nbi -> preinit
Jan  1 09:51:30 odroid dhclient: Listening on LPF/eth0/00:1e:06:c0:8e:9a
Jan  1 09:51:30 odroid dhclient: Sending on   LPF/eth0/00:1e:06:c0:8e:9a
Jan  1 09:51:30 odroid dhclient: Sending on   Socket/fallback
Jan  1 09:51:30 odroid dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 (xid=0x25be41dd)
Jan  1 09:51:30 odroid dhclient: DHCPREQUEST of 192.168.2.130 on eth0 to 255.255.255.255 port 67 (xid=0x25be41dd)
Jan  1 09:51:30 odroid dhclient: DHCPOFFER of 192.168.2.130 from 192.168.2.254
Jan  1 09:51:30 odroid dhclient: DHCPACK of 192.168.2.130 from 192.168.2.254
Jan  1 09:51:30 odroid dhclient: bound to 192.168.2.130 -- renewal in 18600 seconds.
Jan  1 09:51:30 odroid NetworkManager[716]: <info> (eth0): DHCPv4 state changed preinit -> bound
Jan  1 09:51:30 odroid NetworkManager[716]: <info>   address 192.168.2.130
Jan  1 09:51:30 odroid NetworkManager[716]: <info>   prefix 24 (255.255.255.0)
Jan  1 09:51:30 odroid NetworkManager[716]: <info>   gateway 192.168.2.254
Jan  1 09:51:30 odroid NetworkManager[716]: <info>   hostname 'odroid'
Jan  1 09:51:30 odroid NetworkManager[716]: <info>   nameserver '192.168.2.254'
Jan  1 09:51:30 odroid NetworkManager[716]: <info>   domain name 'lan'
Jan  1 09:51:30 odroid NetworkManager[716]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
Jan  1 09:51:30 odroid NetworkManager[716]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Commit) started...
Jan  1 09:51:30 odroid avahi-daemon[487]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.2.130.
Jan  1 09:51:30 odroid avahi-daemon[487]: New relevant interface eth0.IPv4 for mDNS.
Jan  1 09:51:30 odroid avahi-daemon[487]: Registering new address record for 192.168.2.130 on eth0.IPv4.
Jan  1 09:51:31 odroid NetworkManager[716]: <info> (eth0): device state change: ip-config -> secondaries (reason 'none') [70 90 0]
Jan  1 09:51:31 odroid NetworkManager[716]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Commit) complete.
Jan  1 09:51:31 odroid NetworkManager[716]: <info> (eth0): device state change: secondaries -> activated (reason 'none') [90 100 0]
Jan  1 09:51:31 odroid NetworkManager[716]: <info> NetworkManager state is now CONNECTED_GLOBAL

Re: Gigabit Ethernet

Posted: Sun Jan 11, 2015 11:41 am
by wizz825
Yeah, there is definitely something wacky happening with C1 interacting with GigE switches.

I've got multiple TrendNet TEG-S80G v2 in my house, and when C1 is set to 1000baseT/Full iperf speeds range from 60 Mbps (very rare) to 10Kbps (tried with auto-negotiation off and on).
Limiting to 100Mbps allows getting very consistent results, averaging 95Mbps (with about 45% cpu utilization, which usually means TSO/LRO is off).

I don't think this is a switch issue as all my other devices run without issues at GigE, passing through 2 to 3 switches in the network. We use the same switches at work and had no issues so far.

P.S. I'm running the latest and greatest Ubuntu image, with everything being up to date.

Re: Gigabit Ethernet

Posted: Sun Jan 11, 2015 12:06 pm
by wizz825
I just switched the NIC back to GigE and forced it to renegotiate and it's doing 500Mbps (consuming 100% of one core - iperf, ISRs and ksoftirqd). Go figure why it started working properly again.

Re: Gigabit Ethernet

Posted: Tue Jan 13, 2015 8:47 am
by chriscryp
ill give this a bump and +1

This is also occurring with my odroid-c1 and a TP-link wdr3600 running openwrt

I added "ethtool -s eth1 speed 100 duplex full autoneg off" in the /etc/rc.local file so that it runs the command on boot. (just a little hint for others)

if you guys at Odroid would like access to my Odroid, router or both to check things out please send me a Private Email and we can try and work through this.

Re: Gigabit Ethernet

Posted: Fri Jan 16, 2015 3:57 pm
by swex
One more person with TP-Link WDR3600 with openwrt on it. And also have troubles with network. Interface just stops to work after ifconfig down/up it starts to work. ethtool hint dont work for me.

Re: Gigabit Ethernet

Posted: Fri Jan 23, 2015 6:29 am
by chriscryp
I am sorry, I just looked again and I for whatever the reason could not get the /etc/rc.local to run the command either, the file was set to 755 permissions (executable) and that should be the only requirement for it to get ran, as a workaround I placed the command in the /etc/init.d/rc.local file

this code snip shows part of the "real rc.local?" just a reminder my Ethernet adapter is eth2, yours could be different.

Code: Select all

PATH=/sbin:/usr/sbin:/bin:/usr/bin

. /lib/init/vars.sh
. /lib/lsb/init-functions
do_start() {

#this is the little guy right here
        ethtool -s eth2 speed 100 duplex full autoneg off
        if [ -x /etc/rc.local ]; then
                [ "$VERBOSE" != no ] && log_begin_msg "Running local boot scripts (/etc/rc.local)"
                /etc/rc.local
                ES=$?
                [ "$VERBOSE" != no ] && log_end_msg $ES
                return $ES
        fi
}

Re: Gigabit Ethernet

Posted: Sat Jan 24, 2015 3:27 am
by woelen
I had a drop of the connection as well. It occurred while I was scrolling through a text file with vi, while I had an open SSH session. The connection simply froze. I could not setup a new connection, using ssh. The system was completely unreachable for several seconds.

In the dmesg file, I found the following lines:

Code: Select all

[10384.062078@3] [adjust link -> eth: am_adjust_link state change (new_state=true)
[10384.062218@3] libphy: 0:01 - Link is Down
[10385.061712@3] [adjust link -> eth: full-duplex
[10385.061830@3] [adjust link -> eth: phy_speed <> priv_speed)
[10385.061971@3] [adjust link -> eth: am_adjust_link state change (new_state=true)
[10385.062068@3] libphy: 0:01 - Link is Up - 1000/Full
The Odroid C1 is connected to my internet router, which is a Draytek Vigor 2760 modem/router combo.
After this hickup, I could connect to the Odroid C1 again by means of SSH. My application processes on the Odroid also continued normally.

Re: Gigabit Ethernet

Posted: Sun Jan 25, 2015 6:04 am
by blindpet
I just got my ODROID and was all ready to benchmark it and alas the ethernet port is only working at 100Mb/s - it will not even show gigabit. The exact same cable going into my Banana Pi into the same gigabit switch is using the full 1000Mbit. The model of my switch is Tp-link TL-SG1005D.

Re: Gigabit Ethernet

Posted: Sun Jan 25, 2015 6:44 am
by tobetter
blindpet wrote:I just got my ODROID and was all ready to benchmark it and alas the ethernet port is only working at 100Mb/s - it will not even show gigabit. The exact same cable going into my Banana Pi into the same gigabit switch is using the full 1000Mbit. The model of my switch is Tp-link TL-SG1005D.
If you are running with Ubuntu v1.2, then remove the line from /etc/rc.local.

Code: Select all

ethtool -s eth0 speed 100 duplex full

Re: Gigabit Ethernet

Posted: Sun Jan 25, 2015 7:17 am
by blindpet
tobetter wrote:
blindpet wrote:I just got my ODROID and was all ready to benchmark it and alas the ethernet port is only working at 100Mb/s - it will not even show gigabit. The exact same cable going into my Banana Pi into the same gigabit switch is using the full 1000Mbit. The model of my switch is Tp-link TL-SG1005D.
If you are running with Ubuntu v1.2, then remove the line from /etc/rc.local.

Code: Select all

ethtool -s eth0 speed 100 duplex full
Thank you! Now I can see if it is stable or not.

Re: Gigabit Ethernet

Posted: Thu Mar 12, 2015 4:13 am
by venkatbo
tobetter wrote:

Code: Select all

ethtool -s eth0 speed 100 duplex full
That setting is dropping my speed to 100 in the latest image, despite the fact that my C1 was working properly in my GigE network earlier.

Why not use something like the following:

Code: Select all

ethtool -s eth0 autoneg on
by default in the /etc/rc.local file. This option worked fine for me and resulted in full GigE setup. This will not work if autoneg is failing in some network setups using the current images (and if that is the case, we may have some view into the issue). For those folks where it fails, they can use the commented out line instead:

Code: Select all

# ethtool -s eth0 speed 100 duplex full
Presumably the majority of the folks have their GigE working properly. If so, the present default speed setting of 100, penalizes the majority - and every time we burn a new image we have to keep this change in mind.

Re: Gigabit Ethernet

Posted: Thu Mar 12, 2015 6:36 am
by tobetter
venkatbo wrote:
tobetter wrote:

Code: Select all

ethtool -s eth0 speed 100 duplex full
That setting is dropping my speed to 100 in the latest image, despite the fact that my C1 was working properly in my GigE network earlier.

Why not use something like the following:

Code: Select all

ethtool -s eth0 autoneg on
by default in the /etc/rc.local file. This option worked fine for me and resulted in full GigE setup. This will not work if autoneg is failing in some network setups using the current images (and if that is the case, we may have some view into the issue). For those folks where it fails, they can use the commented out line instead:

Code: Select all

# ethtool -s eth0 speed 100 duplex full
Presumably the majority of the folks have their GigE working properly. If so, the present default speed setting of 100, penalizes the majority - and every time we burn a new image we have to keep this change in mind.
That was just a workaround before we have stable ethernet driver, since C1 had failed to get 1Gbit with particular vendor's router. So 100Mbps was fixed, by default. We do not need this any more but not sure if it is removed on the update already.

Re: Gigabit Ethernet

Posted: Thu Mar 12, 2015 11:52 am
by odroid
The option was removed in the Ver1.3 and default speed is 1000Mbps.
http://odroid.com/dokuwiki/doku.php?id= ... _note_v1.3

Re: Gigabit Ethernet

Posted: Mon Mar 16, 2015 6:23 am
by venkatbo
... The option was removed in the Ver1.3 and default speed is 1000Mbps...
True, the release note does say that, but as alluded to in my post above, this is what I noticed:
. I had installed ubuntu-14.04.1lts-lubuntu-odroid-c1-20150204.img
. I has done the apt-get update/upgrade resulting in my latest image info being:

Code: Select all

   Linux odroid 3.10.70-74 #1 SMP PREEMPT Wed Mar 4 04:13:57 
   BRT 2015 armv7l armv7l armv7l GNU/Linux
. After upgrade, the rc.local file still contained:

Code: Select all

   ethtool -s eth0 speed 100 duplex full
. So, I changed it to:

Code: Select all

   ethtool -s eth0 autoneg on
. Rebooted and got GigE setup, as expected

I tried the above when I noticed the following:
  • When the C1 just starts to bootup, the yellow LED on C1's eth port does come ON, indicating autoneg does see 1000Mb/s (GigE) possibility.
  • But then, a few moments later, it turns green, indicating it drops to 100Mb/s. Searching if there was an override, I found it in the rc.local file. dmesg output does indicate this downward setup.
  • So I changed it and got my GigE.
It could be that my update/upgrade process did not go through properly, but there was no visible clue to that effect.

Re: Gigabit Ethernet

Posted: Sun Apr 05, 2015 9:28 pm
by WaPeR
Hi!

I'm using a Ubuntu image done by a user and this is what I have inside rc.local
Image

Need I to edit something?

Thanks!

Re: Gigabit Ethernet

Posted: Mon Apr 06, 2015 12:19 am
by odroid
Try to use our latest Ubuntu OS image. I think you are trying an outdated image.
http://odroid.com/dokuwiki/doku.php?id= ... nux_ubuntu

Re: Gigabit Ethernet

Posted: Mon Apr 06, 2015 12:28 am
by WaPeR
I'm using the image provided here -> http://www.htpcguides.com/install-plex- ... nd-debian/
It's very lightweight (around 1Gb) and has no desktop interface. It's Ubuntu 14.10 based

Re: Gigabit Ethernet

Posted: Mon Apr 06, 2015 12:34 am
by odroid
It seems to be fine... But you need to check the kernel version.

Re: Gigabit Ethernet

Posted: Mon Apr 06, 2015 12:41 am
by WaPeR
Kernel is 3.10.72-78

If needed, how can I update it?

Re: Gigabit Ethernet

Posted: Mon Apr 06, 2015 3:28 am
by robroy
Use the ODROID Utility linked on the Ubuntu desktop.

Re: Gigabit Ethernet

Posted: Mon Apr 06, 2015 9:19 am
by WaPeR
But I'm not using the official release and I don't know if this will work with mine

Re: Gigabit Ethernet

Posted: Wed Apr 08, 2015 2:04 am
by robroy
WaPeR wrote:But I'm not using the official release and I don't know if this will work with mine
You can download the script from https://github.com/mdrjr/odroid-utility. It recognizes a few popular distributions such as Debian and Ubuntu, and can be easily modified for others.

Re: Gigabit Ethernet

Posted: Wed Apr 08, 2015 6:39 pm
by WaPeR
robroy wrote:
WaPeR wrote:But I'm not using the official release and I don't know if this will work with mine
You can download the script from https://github.com/mdrjr/odroid-utility. It recognizes a few popular distributions such as Debian and Ubuntu, and can be easily modified for others.
Mine is Ubuntu 14.10 with kernel 3.10.72-78.

I'll try tomorrow, I hope not to break something

Re: Gigabit Ethernet

Posted: Wed Apr 08, 2015 10:21 pm
by robroy
WaPeR wrote:
I'll try tomorrow, I hope not to break something
Make a disk image backup first.

Re: Gigabit Ethernet

Posted: Tue May 05, 2015 12:54 am
by Shonk
I picked up two full sets of C1's yesterday from the uk distributor £131 total $200 US

and did a fair bit of reading before buying everything, I read the problems where with atheros based switches

guess what thats bs

I only ordered them due to them having gigabit ethernet if gigabit isnt working its of no use to me

I have a Zyxel GS1900E 24 Port Managed Switch chipset Realtek RTL8382M

I have been getting stuttering and buffering problems with the C1 on Ubuntu and openelec

sd content does it once in a while
hd content eg.g blu-ray's ripped to mkv's do it constantly

Forcing the 100mbit at the switch end fully fixed this

The C1 comes with a Realtek RTL8211F that is a perfect match chipset wise to my RTL8382M Switch

so there's clearly a big problem somewhere


prices soon add up if you want a complete unit..
and it isnt a case of wastng just $35


HardKernel ODroid-C1 2 £34.50 £69.00
Odroid HDMI - Micro HDMI Cable (Type A - Type D) 2 £6.09 £12.18
Odroid USB-DC Plug Cable 2.5x0.8mm 2 £2.34 £4.67
Odroid IR Remote Controller 2 £5.15 £10.30
Odroid Heatsink 2 £4.21 £8.42
Odroid RTC Backup Battery 2 £2.34 £4.67
Odroid C1 Case 2 £5.15 £10.30
Sub-Total: £99.62
UK Shipping Zone (Weight: 3,102.00g): £8.94
VAT (20%) UK: £21.71
Total: £130.27 (200 US Dollars)

Not happy with this in the slightest
hardkernel should have fixed this months ago

Re: Gigabit Ethernet

Posted: Tue May 05, 2015 12:19 pm
by odroid
The Gigabit Ethernet issue was already solved in early February.

Which OS image do you run on your C1 board?
What is the kernel version?
Can you post the result of iperf test?

Re: Gigabit Ethernet

Posted: Tue May 05, 2015 2:21 pm
by Shonk
I was using ubuntu 1.4.1 fully updated
but due to passthrough being so badly broken went to openelec

openelec 5.0.5.0
Linux Odroid 3.10.73+103250b #1 SMP PREEMPT Sat Apr 11 02:30:15 UTC 2015 armv7l GNU/Linux

Both buids exhibit the problem

this isnt fixed

i will post an iperf test later as im out atm

Re: Gigabit Ethernet

Posted: Tue May 05, 2015 10:49 pm
by Shonk
Odroid as Server
D:\iperf-2.0.5-3-win32>iperf -c odroid
------------------------------------------------------------
Client connecting to odroid, TCP port 5001
TCP window size: 63.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.0.27 port 59121 connected with 192.168.0.50 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 834 MBytes 700 Mbits/sec


Odroid as client

root@odroid:~# iperf -c ep45-ds3r
Client connecting to ep45-ds3r, TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.0.50 port 38622 connected with 192.168.0.27 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 487 MBytes 408 Mbits/sec

Re: Gigabit Ethernet

Posted: Tue May 05, 2015 11:00 pm
by odroid
The speed of 400Mbps and 700Mbps seem to be normal value.
I think there should be other root cause.

Re: Gigabit Ethernet

Posted: Tue May 05, 2015 11:19 pm
by Shonk
there's clearly a problem somewhere as forcing 100mbit
fixes the buffering issues

its no good being able to pull 408mbit

if it cant pull a constant 7mbit in a stable manner

I have the Zyxel GS-1900E (Realtek RTL8382M) that exhibits this problem

I also have a Tp-Link TL-SG1008D v5.1 (also Realtek) this also exhibits this problem

I also have a very old Netgear GS608 v1 (runs very hot very old gigabit switch)
gigabit is fine via this

so yes you fixed alot of issues in feb but the issue isnt fixed

you have to remember as im using a managed switch i can flip it to 100mbit on the fly without any alteration of the c1

watching video on c1 via gigabit

you can see the buffer 99-98-97-96-95-80-70-50-30-15-17-20 bang buffering

let it do that a few times then on the fly flip the port to 100mbit

the buffer goes like so on the c1 100-99-100-99-100-99-100-99-100-99-100-99

all the same video without stopping

Re: Gigabit Ethernet

Posted: Tue May 05, 2015 11:29 pm
by odroid
Do you mean we needed to test the Kodi/XBMC playback with 10mbps video file?

We will try it with a Gigabit switch which has a Realtek chipset within a couple of days.
Can you tell me how to see the level of buffer?

Re: Gigabit Ethernet

Posted: Tue May 05, 2015 11:34 pm
by Shonk
press o on the keyboard

watch end b

i will record it with my phone later at gigabit then flip it to 100mbit on the fly
to show you in kodi you can see it clearly

http://s17.postimg.org/qxztqc80v/image.jpg

Re: Gigabit Ethernet

Posted: Wed May 06, 2015 2:44 pm
by Shonk
Odroid C1 Gigabit
http://youtu.be/1V_zKSZuV8E


Odroid C1 100mbit
http://youtu.be/x9vB8I0Zj70

Re: Gigabit Ethernet

Posted: Wed May 06, 2015 5:20 pm
by Holzhaus
Possibly a Buffering bug in Kodi? I've also had problems with network/buffering speed in the development version of Kodi 15 (Kodi started playing, but after some seconds, it wouldn't load more additional video data with full network speed into the buffer, but with 1-5 KB/s). IThe problem seems to have been fixed in a later git commit, but possibly this is a regression?

Btw: you can check network traffic with iptraf-ng.

Re: Gigabit Ethernet

Posted: Wed May 06, 2015 5:27 pm
by Shonk
Why would it be a kodi issue if its fine under 100mbit linkspeed but not fine with gigabit link speed

you could hide the problem by tweaking kodi
but the underlying problem is driver related

Re: Gigabit Ethernet

Posted: Wed May 06, 2015 5:36 pm
by Holzhaus
I don't know, but as I said, I had problems with slow Kodi buffering speed, while at the same time, general network speed was fine:
1. I played a ~ 10GiB 1080p movie from an NFS mount via Kodi → Buffering issues, super-slow-network speed (1-5 KB/s)
2. Then I logged in via SSH and copied the *same* file from the *same* NFS mount to the local SD card → As fast as expected (GbE speed)

(No network reconnect or NFS remount between the two.)