This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Eth0 & eth1 giga ethernet problem!!

Hi  All

I used the latest PSP 4.00.01.13, EVM rev.F & VSDC rev.B,

I found only eth0 could work correctly,

eth1 doesn't,

Does current PSP support two giga ethernet port work at the same time ?

 

below is the log :

ata2: SATA link down (SStatus 0 SControl 300)
davinci_mdio davinci_mdio.0: resetting idled controller
net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=282f014)
net eth1: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:02, id=282f013)
Sending DHCP requests .
PHY: 0:01 - Link is Up - 1000/Full
PHY: 0:02 - Link is Up - 1000/Full
., OK
IP-Config: Got DHCP answer from 192.168.70.50, my address is 192.168.70.142
IP-Config: Complete:
     device=eth0, addr=192.168.70.142, mask=255.255.255.0, gw=192.168.70.50,
     host=192.168.70.142, domain=, nis-domain=(none),
     bootserver=192.168.70.50, rootserver=192.168.70.144, rootpath=
VFS: Mounted root (nfs filesystem) on device 0:14.
devtmpfs: mounted
Freeing init memory: 196K
INIT: version 2.86 booting
Please wait: booting...
Error opening /dev/fb0: No such file or directory
Starting udev
udevd (79): /proc/79/oom_adj is deprecated, please use /proc/79/oom_score_adj in
stead.
udev: starting version 141
Root filesystem already rw, not remounting
Caching udev devnodes
Populating dev cachetar: dev/.udev/queue/704: No such file or directory
tar: dev/.udev/queue/693: No such file or directory
tar: dev/.udev/queue/683: No such file or directory
tar: error exit delayed from previous errors
mv: cannot rename '/tmp/devices': No such file or directory
ALSA: Restoring mixer settings...
NOT configuring network interfaces: / is an NFS mount
No state is present for card EVM
Found hardware: "" "" "" "" ""
Hardware is initialized using a generic method
No state is present for card EVM
hwclock: can't open '/dev/misc/rtc': No such file or directory
Thu Sep  8 14:28:00 UTC 2011
hwclock: can't open '/dev/misc/rtc': No such file or directory
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting telnet daemon.
Starting syslogd/klogd: done
Starting thttpd.

 _____                    _____           _         _
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
              |___|                    |___|

Arago Project http://arago-project.org dm816x-evm ttyO2

Arago 2011.05 dm816x-evm ttyO2

dm816x-evm login: root
root@dm816x-evm:~#
root@dm816x-evm:~#
root@dm816x-evm:~#
root@dm816x-evm:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 90:D7:EB:89:C0:47
          inet addr:192.168.70.142  Bcast:192.168.70.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11033 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9782 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7663016 (7.3 MiB)  TX bytes:2058938 (1.9 MiB)
          Interrupt:40 Base address:0x8000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@dm816x-evm:~# ifconfig eth1 up
net eth1: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:02, id=282f013)
root@dm816x-evm:~# ifcPHY: 0:02 - Link is Up - 1000/Full
onfig
eth0      Link encap:Ethernet  HWaddr 90:D7:EB:89:C0:47
          inet addr:192.168.70.142  Bcast:192.168.70.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11070 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9825 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7669858 (7.3 MiB)  TX bytes:2066486 (1.9 MiB)
          Interrupt:40 Base address:0x8000

eth1      Link encap:Ethernet  HWaddr 90:D7:EB:89:C0:48
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1180 (1.1 KiB)  TX bytes:0 (0.0 B)
          Interrupt:44 Base address:0x8000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@dm816x-evm:~#
root@dm816x-evm:~# udhcpc -i eth1
udhcpc (v1.13.2) started
Sending discover...
Sending discover...
Sending discover...

root@dm816x-evm:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 90:D7:EB:89:C0:47
          inet addr:192.168.70.142  Bcast:192.168.70.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11403 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10066 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7990130 (7.6 MiB)  TX bytes:2099668 (2.0 MiB)
          Interrupt:40 Base address:0x8000

eth1      Link encap:Ethernet  HWaddr 90:D7:EB:89:C0:48
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1792 (1.7 KiB)  TX bytes:1180 (1.1 KiB)
          Interrupt:44 Base address:0x8000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@dm816x-evm:~# PHY: 0:02 - Link is Down
PHY: 0:02 - Link is Up - 1000/Full

root@dm816x-evm:~#
root@dm816x-evm:~#
root@dm816x-evm:~#
root@dm816x-evm:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 90:D7:EB:89:C0:47
          inet addr:192.168.70.142  Bcast:192.168.70.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11425 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10103 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7994182 (7.6 MiB)  TX bytes:2104854 (2.0 MiB)
          Interrupt:40 Base address:0x8000

eth1      Link encap:Ethernet  HWaddr 90:D7:EB:89:C0:48
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1792 (1.7 KiB)  TX bytes:1180 (1.1 KiB)
          Interrupt:44 Base address:0x8000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@dm816x-evm:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 90:D7:EB:89:C0:47
          inet addr:192.168.70.142  Bcast:192.168.70.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11450 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10132 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7998592 (7.6 MiB)  TX bytes:2109636 (2.0 MiB)
          Interrupt:40 Base address:0x8000

eth1      Link encap:Ethernet  HWaddr 90:D7:EB:89:C0:48
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1792 (1.7 KiB)  TX bytes:1180 (1.1 KiB)
          Interrupt:44 Base address:0x8000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@dm816x-evm:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 90:D7:EB:89:C0:47
          inet addr:192.168.70.142  Bcast:192.168.70.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11460 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10144 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8000444 (7.6 MiB)  TX bytes:2111684 (2.0 MiB)
          Interrupt:40 Base address:0x8000

eth1      Link encap:Ethernet  HWaddr 90:D7:EB:89:C0:48
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1792 (1.7 KiB)  TX bytes:1180 (1.1 KiB)
          Interrupt:44 Base address:0x8000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

  • Hi all

    I verify with 100M router,

    there is no such problem,

    eth1 could get IP from dhcp,

    could anyone help me clear this issue?

     

    below is my log:

    root@dm816x-evm:~#
    root@dm816x-evm:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr 90:D7:EB:89:C0:47
              inet addr:192.168.2.103  Bcast:192.168.2.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:11229 errors:0 dropped:0 overruns:0 frame:0
              TX packets:9877 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:7678590 (7.3 MiB)  TX bytes:2057400 (1.9 MiB)
              Interrupt:40 Base address:0x8000

    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

    root@dm816x-evm:~# ifconfig eth1 up
    net eth1: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:02, id=282f013)
    root@dm816x-evm:~# PHY: 0:02 - Link is Up - 100/Full

    root@dm816x-evm:~# udhcpc -i eth1
    udhcpc (v1.13.2) started
    Sending discover...
    Sending select for 192.168.2.102...
    Lease of 192.168.2.102 obtained, lease time 140773632
    adding dns 192.168.2.1
    root@dm816x-evm:~#

    root@dm816x-evm:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr 90:D7:EB:89:C0:47
              inet addr:192.168.2.103  Bcast:192.168.2.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:11613 errors:0 dropped:0 overruns:0 frame:0
              TX packets:10185 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:8010666 (7.6 MiB)  TX bytes:2102800 (2.0 MiB)
              Interrupt:40 Base address:0x8000

    eth1      Link encap:Ethernet  HWaddr 90:D7:EB:89:C0:48
              inet addr:192.168.2.102  Bcast:0.0.0.0  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:6 errors:0 dropped:0 overruns:0 frame:0
              TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:3540 (3.4 KiB)  TX bytes:1180 (1.1 KiB)
              Interrupt:44 Base address:0x8000

    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

  • Max,

    Please apply the patch below to enable giga bit tx clocking for the phy.

    http://arago-project.org/git/projects/linux-omap3.git?p=projects/linux-omap3.git;a=commit;h=3228b1d8e5270ee56002e7f59d839ed8b6b85606

    with regards

    Mugunthan V N