nemonemo
02-04-2009, 04:01 AM
Hello, I'm having trouble with the second cpusend regression test in the reference_router project.
Regression tests in reference_router project runs twice; once before the reference_nic project and after it.
However, the second cpusend test always fails while the first one hardly fails.
In the second cpusend test, eth1 or eth2 never receive any packet from the other interfaces.
After reading and examining considerable amount of perl code, regression.txt, and test.txt,
I found that the failed test is affected by execution of
reference_nic/regress/src/reset_phy.pl
More specifically, executing the following line of reset_phy.pl makes the test fail:
${REG_ACCESS_DIR}/regwrite -i $IFACE $regaddr 0x8000 ;
$IFACE is one of nf2c0-nf2c3 and regaddr is any one of MDIO CONTROL REG. (what are those MDIO control registers?)
My machine configuration is as follows:
netfpga-base version: 1.2.5_1
OS: CentOS 5.2
kernel: 2.6.18-92.el5
eth1, eth2 ethernet controller: Intel Corporation 82541PI Gigabit Ethernet Controller (rev 05)
If anyone knows about this kind of error and the reason for it,
please let me know.
Thanks in advance.
Regression tests in reference_router project runs twice; once before the reference_nic project and after it.
However, the second cpusend test always fails while the first one hardly fails.
In the second cpusend test, eth1 or eth2 never receive any packet from the other interfaces.
After reading and examining considerable amount of perl code, regression.txt, and test.txt,
I found that the failed test is affected by execution of
reference_nic/regress/src/reset_phy.pl
More specifically, executing the following line of reset_phy.pl makes the test fail:
${REG_ACCESS_DIR}/regwrite -i $IFACE $regaddr 0x8000 ;
$IFACE is one of nf2c0-nf2c3 and regaddr is any one of MDIO CONTROL REG. (what are those MDIO control registers?)
My machine configuration is as follows:
netfpga-base version: 1.2.5_1
OS: CentOS 5.2
kernel: 2.6.18-92.el5
eth1, eth2 ethernet controller: Intel Corporation 82541PI Gigabit Ethernet Controller (rev 05)
If anyone knows about this kind of error and the reason for it,
please let me know.
Thanks in advance.