nbdxkfq 发表于 2008-4-17 13:06:06

skyeye网络不通,用testsuite的也不行

我自己编译的 内核没有成功,想用用testsuite里面的,什么都没改 ,用的是skyeye是1.2版本的,testsuite是2.3的,
没有运行skyeye -e linux时lsmod状态这样:
# lsmod
Module                  SizeUsed by    Tainted: PF
tun                     5696   0(unused)
parport_pc             19076   1(autoclean)
lp                      8996   0(autoclean)
运行skyeye -e linux后变成:
# lsmod
Module                  SizeUsed by    Tainted: PF
tun                     5696   3
parport_pc             19076   1(autoclean)
lp                      8996   0(autoclean)
然后在skyeye里面的uclinux下用ifconfig显示的信息:
Sash command shell (version 1.1.1)
/> ifconfig
eth0      Link encap:EthernetHWaddr 00:04:03:02:01:0F
          inet addr:10.0.0.2Bcast:10.255.255.255Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICASTMTU:1500Metric: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:1000
          RX bytes:0 (0.0 B)TX bytes:0 (0.0 B)
          Interrupt:16
没有lo扣出现,不过ip好像是对的
在host下用ifconfig出现的信息:
# ifconfig
eth0      Link encap:EthernetHWaddr 00:0C:29:36:62:BE
          inet addr:222.194.13.80Bcast:222.194.13.255Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICASTMTU:1500Metric:1
          RX packets:3119 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1148 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:660375 (644.8 Kb)TX bytes:183796 (179.4 Kb)
          Interrupt:10 Base address:0x2024

lo      Link encap:Local Loopback
          inet addr:127.0.0.1Mask:255.0.0.0
          UP LOOPBACK RUNNINGMTU:16436Metric:1
          RX packets:17035 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17035 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1166062 (1.1 Mb)TX bytes:1166062 (1.1 Mb)

tap0      Link encap:EthernetHWaddr 00:FF:58:F3:4A:00
          inet addr:10.0.0.1Bcast:10.255.255.255Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICASTMTU:1500Metric: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:100
          RX bytes:0 (0.0 b)TX bytes:0 (0.0 b)
看起来也都对,没什么问题
然后从host往skyeye进行ping时如下(在skyeye起动的时候):
# ping 10.0.0.2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
From 10.0.0.1 icmp_seq=1 Destination Host Unreachable
From 10.0.0.1 icmp_seq=2 Destination Host Unreachable
From 10.0.0.1 icmp_seq=3 Destination Host Unreachable
从skyeye往host进行ping时是这样的:
Sash command shell (version 1.1.1)
/> ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1): 56 data bytes
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
当把skyeye关掉 ,在host端ping 10.0.0.2时能 通:
# ping 10.0.0.2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
64 bytes from 10.0.0.2: icmp_seq=1 ttl=243 time=275 ms
64 bytes from 10.0.0.2: icmp_seq=2 ttl=243 time=275 ms
64 bytes from 10.0.0.2: icmp_seq=3 ttl=243 time=275 ms
怎么回事呢 ?其他的我都没变,包括skyeye.conf
高手告诉我一下啊 ,谢谢

nbdxkfq 发表于 2008-4-17 13:08:11

#skyeye config file sample
cpu: arm7tdmi

mach: at91

mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
mem_bank: map=M, type=RW, addr=0x01000000, size=0x00400000
mem_bank: map=M, type=R,addr=0x01400000, size=0x00400000, file=./romfs.img
mem_bank: map=M, type=RW, addr=0x02000000, size=0x00400000
mem_bank: map=M, type=RW, addr=0x02400000, size=0x00008000
mem_bank: map=M, type=RW, addr=0x04000000, size=0x00400000
mem_bank: map=I, type=RW, addr=0xf0000000, size=0x10000000
net: type=rtl8019, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=10.0.0.1
#dbct: state=on


skyeye.conf如上

duzhig 发表于 2008-4-24 21:29:36

好像都是ping不通吧,我的skyeye也不能ping不知道为什么

ksh 发表于 2008-4-24 23:41:59

s3c23410+ cs8900 , at91 + rtl8019 以及 s3c44b0 + rtl8019测试过,应该都没有问题。
页: [1]
查看完整版本: skyeye网络不通,用testsuite的也不行