QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1772|回复: 2

skyeye 模拟时连不上本机,这样提示,怎么解决?

[复制链接]
发表于 2008-12-18 19:42:45 | 显示全部楼层 |阅读模式
这几天一直被这个连不上本机的问题困扰.希望大家指点一下。

启动时的完整提示:
$ skyeye -e vmlinux
Your elf file is little endian.
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name s3c2410x, mach_init addr 0x806ea70
ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
tapif_initpen: Permission denied
-----------------------------------------------------------
NOTICE: you should be root at first !!!
NOTICE: you should inmod linux kernel net driver tun.o!!!
NOTICE: if you don't make device node, you should do commands:
NOTICE:    mkdir /dev/net; mknod /dev/net/tun c 10 200
NOTICE: now the net simulation function can not support!!!
NOTICE: Please read SkyEye.README and try again!!!
-----------------------------------------------------------
failed to setup_module (name:net, type:cs8900a)
lcd_mod:1
dbct info: turn on dbct!
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm920t mmu ops
Loaded RAM   ./initrd.img
exec file "vmlinux"'s format is elf32-little.
load section .init: addr = 0xc0008000  size = 0x0000f000.
load section .text: addr = 0xc0017000  size = 0x000e246c.
load section __ex_table: addr = 0xc00f9470  size = 0x00000978.
not load section __ksymtab: addr = 0xc00f9de8  size = 0x00000000 .
load section .data: addr = 0xc00fa000  size = 0x0000e3e3.
not load section .bss: addr = 0xc0108400  size = 0x00027f90 .
not load section .stab: addr = 0x00000000  size = 0x00326154 .
not load section .stabstr: addr = 0x00000000  size = 0x000e23f0 .
not load section .comment: addr = 0x00000000  size = 0x0000258e .
call ARMul_InitSymTable,kernel filename is vmlinux.
start addr is set to 0xc0008000 by exec file.
Linux version 2.4.18-rmk7-pxa1 (skyeyeuser@debian) (gcc version 2.95.3 20010315 (release)) #130 Tue Aug 9 19:28:12 CST 2005
CPU: ARM/CIRRUS Arm920Tsid(wb) revision 0
Machine: Samsung-SMDK2410
Warning: bad configuration page, trying to continue
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram initrd=0xc1000000,0x00600000 rw console=tty0 console=ttyS0
Console: colour dummy device 80x30
Calibrating delay loop... 6.40 BogoMIPS
Memory: 64MB = 64MB total
Memory: 58160KB available (905K code, 219K data, 60K init)
Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 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
CPU clock = 62.400000 Mhz, HCLK = 62.400000 Mhz, PCLK = 62.400000 Mhz
Starting kswapd
ttyS0 at I/O 0x50000000 (irq = 52) is a S3C2410
ttyS1 at I/O 0x50004000 (irq = 55) is a S3C2410
ttyS2 at I/O 0x50008000 (irq = 5 is a S3C2410
fbi->map_size:27000, fbi->map_cpu:c4800000
fbi->map_dma:c0140000
ERROR: s3c2410x_io_write_word(0x4d000060) = 0x00000002
ERROR: s3c2410x_io_write_word(0x4d000050) = 0x00000000
ERROR: s3c2410x_io_write_word(0x4d000060) = 0x00000002
ERROR: s3c2410x_io_write_word(0x4d000050) = 0x00000000
Console: switching to colour frame buffer device 30x40
Installed S3C2410 frame buffer
pty: 256 Unix98 ptys configured
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 6144K size 1024 blocksize
ERROR: s3c2410x_io_write_word(0x1900030a) = 0x00000002
ERROR: s3c2410x_io_write_word(0x1900030a) = 0x00000136
eth0: cs8920 rev `(3.3 Volts) found at 0xd0000300
cs8900a.c: wrong device driver!
cs89x0: no cs8900 or cs8920 detected.Be sure to disable PnP with SETUP
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 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 2048 blocks [1 disk] into ram disk... done.
Freeing initrd memory: 6144K
EXT2-fs warning: checktime reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 60K
SIOCSIFADDR: No such device
SIOCGIFFLAGS: No such device

ping 主机IP时这样提示

/ # ping 192.168.1.100
PING 192.168.1.100 (192.168.1.100): 56 data bytes
ping: sendto: Network is unreachable



skyeye.conf 配置如下

  1 #skyeye config file sample
  2
  3 cpu:  arm920t
  4 mach: s3c2410x
  5
  6 #physical memory
  7 #mem_bank: map=M, type=RW, addr=0x20000000, size=0x01000000
  8 mem_bank: map=M, type=RW, addr=0xc0000000, size=0x01000000
  9 mem_bank: map=M, type=RW, addr=0xc1000000, size=0x00600000, file=./initrd.img
10 mem_bank: map=M, type=RW, addr=0xc1600000, size=0x00a00000
11 #all peripherals I/O mapping area
12 #mem_bank: map=I, type=RW, addr=0xfefa0000, size=0x00060000
13 mem_bank: map=I, type=RW, addr=0x48000000, size=0x20000000
14 mem_bank: map=I, type=RW, addr=0x19000300, size=0x00000020
15 net: type=cs8900a, base=0x19000300, size=0x20,int=9, mac=0:4:3:2:1:f, ethmod=tuntap, ho    stip=10.0.0.1
16 lcd:type=s3c2410x,mod=gtk
17 dbct:state=on
发表于 2008-12-18 22:26:22 | 显示全部楼层
NOTICE: you should be root at first !!!
NOTICE: you should inmod linux kernel net driver tun.o!!!
NOTICE: if you don't make device node, you should do commands:
NOTICE:    mkdir /dev/net; mknod /dev/net/tun c 10 200
NOTICE: now the net simulation function can not support!!!
NOTICE: Please read SkyEye.README and try again!!!
回复

使用道具 举报

发表于 2008-12-19 20:03:07 | 显示全部楼层
ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
怎么能ping 192。168。1。100啊不是一个网段都
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-6 15:25 , Processed in 0.072904 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表