|
楼主 |
发表于 2007-11-29 11:00:56
|
显示全部楼层
感谢各位,该实验还在进行中,但又遇到了新问题,设定目标机的ipd地址后,从其它主机可以ping通目标主机,但从目标主机(uClinux内)却无法ping通其它计算机,连自己也ping不通:
如下:
big_endian is false.
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x807853c
ethmod num=1, mac addr=0:4:3:2:1:f, hostip=192.168.10.10
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm7100 mmu ops
Loaded ROM images/romfs.img
exec file "linux-2.4.x/linux"'s format is elf32-little.
load section .init: addr = 0x01000000 size = 0x0000a000.
load section .text: addr = 0x0100a000 size = 0x000d97b0.
load section .data: addr = 0x010e4000 size = 0x00009d14.
not load section .bss: addr = 0x010edd20 size = 0x00021fe0 .
not load section .debug_abbrev: addr = 0x00000000 size = 0x0003ce97 .
not load section .debug_info: addr = 0x00000000 size = 0x0183f092 .
not load section .debug_line: addr = 0x00000000 size = 0x002b4768 .
not load section .debug_pubnames: addr = 0x00000000 size = 0x0000c0ed .
not load section .debug_aranges: addr = 0x00000000 size = 0x00002420 .
start addr is set to 0x01000000 by exec file.
Linux version 2.4.27-uc1 (root@linux2) (gcc version 2.95.3 20010315 (release)(ColdFire patches - 20010318 from http://fiddes.net/coldfire/)(uClinux XIP and shared lib patches from http://www.snapgear.com/)) #1 四 11月 29 08:49:50 CST 2007
Processor: Atmel AT91M40xxx revision 0
Architecture: EB01
On node 0 totalpages: 1024
zone(0): 0 pages.
zone(1): 1024 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/rom0
Calibrating delay loop... 15.82 BogoMIPS
Memory: 4MB = 4MB total
Memory: 2952KB available (869K code, 177K data, 40K init)
Dentry cache hash table entries: 512 (order: 0, 4096 bytes)
Inode cache hash table entries: 512 (order: 0, 4096 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 1024 (order: 0, 4096 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Atmel USART driver version 0.99
ttyS0 at 0xfffd0000 (irq = 2) is a builtin Atmel APB USART
ttyS1 at 0xfffcc000 (irq = 3) is a builtin Atmel APB USART
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: 1400000-14AFBFF [VIRTUAL 1400000-14AFBFF] (RO)
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Samsung S3C44B0 Rtl8019as driver version 0.1 (2002-02-20) <[email protected]>
eth0: 12:34:56:78:90:ab
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 512 bind 512)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (romfs filesystem) readonly.
Shell invoked to run file: /etc/rc
Command: hostname GDB-ARMulator
Command: /bin/expand /etc/ramfs.img /dev/ram0
Command: mount -t proc proc /proc
Command: mount -t ext2 /dev/ram0 /var
Command: mkdir /var/tmp
Command: mkdir /var/log
Command: mkdir /var/run
Command: mkdir /var/lock
Command: mkdir /var/empty
Command: cat /etc/motd
Welcome to
____ _ _
/ __| ||_|
_ _| | | | _ ____ _ _ _ _
| | | | | | || | _ \| | | |\ \/ /
| |_| | |__| || | | | | |_| |/ \
| ___\____|_||_|_| |_|\____|\_/\_/
| |
|_|
GDB/ARMulator support by <[email protected]>
For further information check:
http://www.uclinux.org/
Execution Finished, Exiting
Sash command shell (version 1.1.1)
/> ifconfig eth0 192.168.10.10
/> ping 192.168.10.10
PING 192.168.10.10 (192.168.10.10): 56 data bytes
ping: sendto: Invalid argument
ping: wrote 192.168.10.10 64 chars, ret=-1
ping: sendto: Invalid argument
ping: wrote 192.168.10.10 64 chars, ret=-1 |
|