QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1301|回复: 3

需要inmod vnet.o吗?

[复制链接]
发表于 2004-10-9 23:45:05 | 显示全部楼层 |阅读模式
下载skyeye 7.4 编译好的。   ucosii也是编译好的。1.8.2 ,

(skyeye) target sim  执行这个命令后:
开始出现 这个错误:Unkonw option: mem_num

删掉 skyeye.conf 中的 mem_num: 7这一行
再次执行  (skyeye) target sim  执行这个命令后:

[root@cau src]# cd ucosii
[root@cau ucosii]# skyeye simple_test.elf
***************************************************************
****                                                       ****
****   SkyEye  Simulator Ver 0.7.4 with  GDB 5.3 Interface ****
****                                                       ****
***************************************************************
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This SkyEye was configured as "--host=i686-pc-linux-gnu --target=arm-elf"...
(no debugging symbols found)...
(SkyEye) target sim
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x813dae4
nic[0] info: state=1, ethmod num=3, mac addr=0:3:6:9:12:15, hostip=10.0.0.1
nic_init_begin
vnetif_init begin, hostip[0][1][2][3] 10.0.0.1
vnetif_init:for hostif fd -1
vnetif_init:for hostif open: 没有那个设备
-----------------------------------------------------------
NOTICE: Now the net simulation function is disable!!!
NOTICE: 1. you should be root at first !!!
NOTICE: 2. if you don't make device node, you should do commands:
NOTICE:      mkdir /dev/net; mknod /dev/net/vnet c 10 201
NOTICE: 3. you should inmod linux kernel net driver vnet.o!!!
NOTICE: Please read README in SkyEye package and try again!!!
-----------------------------------------------------------

按照notice:mkdir /dev/net; mknod /dev/net/vnet c 10 201
还是出现上面的错误,大侠帮忙
怎么inmod linux kernel net driver vnet.o!!!
啊?

困扰了好几天了。
发表于 2004-10-10 15:01:01 | 显示全部楼层
可能是你没有把 模块加入到内核里面去
你可以按照如下 :
insmod  该vnet.o目录/vnet.o就应该可以了
你首先要找出vnet.o目录  好像在/lib/net/2.4/module下面  你可以查找一下
然后按照上面的命令加入到你的系统中去.
在进行调试  或者你可以看看 skyeye上面提供的avi demo文件 里面有关于这方面的咚咚
回复

使用道具 举报

发表于 2004-10-10 15:15:10 | 显示全部楼层

http://gro.clinux.org/projects/skyeye
下载最新的
skyeye-0.8.0.tar.bz2

ucosii4skyeye-v1.8.4.tgz
回复

使用道具 举报

 楼主| 发表于 2004-10-11 07:23:35 | 显示全部楼层
谢谢二位的热心指教,
我下载VNET,编译的时候有问题,不能生成vnet.o。

后来仔细看陈瑜的文档,发现vnet的作用和tun.o是基本相同的,只是功能更多。

  索性不用vnet,改用tun ,现在已经能够运行了
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-5-9 14:17 , Processed in 0.079571 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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