LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1345|回复: 1

大家救命啊---关于iproute2 && 流量控制工具tc 在mips平台 移植

[复制链接]
发表于 2006-5-8 11:32:50 | 显示全部楼层 |阅读模式
大家好,我移植iproute2-2.6.10 包中 的tc工具到我的mips 平台的linux-2.4.21 中,
内核中相应支持的项都已经选上。
当执行 tc qdisc add dev eth0 root handle 1: htb default 30
        出错打印消息为:Unknown qdisc "htb", hence option "default" is unparsable
本来我是以为是不支持htb ,
但当我执行 tc qdisc add dev eth0 root handle 1:  cbq bandwidth 100Mbit avpkt 1000 cell 8
   出错打印消息为:Unknown qdisc "cbq" ,hence option "bandwidth" is unparsable

这是为什么呢? 是不是我移植的tc本身有问题,我编译iproute2的时候是遇到一些编译不过的
但不是tc这个工程的我就忽略过了。但tc是编译出来了是不是这个问题还是有其他的问题,如果是能帮我解决吗? 非常急,谢谢各位了。
发表于 2006-6-23 00:35:35 | 显示全部楼层
使用的skyeye-1.2-RC7-3.tar.bz2,编译成功后起动没有反应:
debian:/home/debian/skyeye-linux/at91x40/uclinux2# pwd
/home/debian/skyeye-linux/at91x40/uclinux2
debian:/home/debian/skyeye-linux/at91x40/uclinux2# skyeye linux
SKYEYE: If you have ELF kernel file, please use -e option to indicate your ELF format kernel filename
SKYEYE: If you only have kernel binary image, you should put the filename of kernel binary image in skyeye.conf file
Non-option argument linux
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x80746b2
ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
can't find device module: (null)
log_info: log is off.
log_info:log file is /tmp/test.log, fd is 0x80e62a0
log_info: log start clock 3200000
log_info: log end clock 3330000
SKYEYE: use arm7100 mmu ops
Loaded ROM   ./boot.rom

请各位指点
回复 支持 反对

使用道具 举报

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

本版积分规则

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