Santosh Kumar
|
Native ethernet driver(8572xx) issues(system hang)
|
Santosh Kumar
10/06/2009 11:38 PM
post39474
|
Native ethernet driver(8572xx) issues(system hang)
Hi,
I am using native Ethernet driver(8572xx) devnp-mpc85xx.so and need some input on below issues.
Problem-1: Is there a way to change the interfaces convention from tsec's to en(i.e tsec0 to en0, tsec2 to en2) in
native driver.
-------------------------------------------------------------------------------------------------------------------
Problem-2: I am observing in-correct reading of mac-address for vlan0 having parent set to tsec2. ifconfig shows "00:1f:
aa:00:0d:02" but it returns some address starting 47:48:xx:xx:xx:xx which is not assigned to any interface.
vlan0: flags=88c3<UP,BROADCAST,RUNNING,NOARP,SIMPLEX,MULTICAST> mtu 1496
vlan: 512 parent: tsec2
address: 00:1f:aa:00:0d:02
inet 172.16.10.65 netmask 0xffffff00 broadcast 172.16.10.255
Code Snippet:
ifdcp->ifdc_cmd = DRVCOM_CONFIG;
ifdcp->ifdc_len = sizeof(*confp);
ret = devctl(devname, SIOCGDRVCOM, ifdcp,sizeof(struct drvcom_config), 0);
However, It returns correct mac address if we specify devname to 'tsec2' instead 'vlan0', Is there any limitation to get
mac wrt. vlan's.
------------------------------------------------------------------------------------------------------------
Problem-3: I am observing hard hang in the system after loading this native ethernet driver after few hours of data
transfer or even if the system is idle for long duration.
In one instance i have observed following receive error followed by system hang.
"mpc85xx_receive: status RXBD_ERR 0x1D44". Is there any workaround to resolve this issue.
I appreciate if somebody analyze or suggest on how to handle above issues.
Thanx and regards,
Tarun
|
|
|