LinuxSir.cn,穿越时空的Linuxsir!

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

做一个基于X86平台的小linux系统

[复制链接]
发表于 2004-11-25 12:41:11 | 显示全部楼层 |阅读模式
使用2.4.20内核
去掉了模块化支持,所有东西全部编译成静态的.
网卡选了8139的. 拷了我Slackware下的rc.inet1,使之启动时运行
结果启动后总是出问题,如下:
kmod: failed to exec /sbin/modprobe -s -k net-pf-10, errno = 2
kmod: failed to exec /sbin/modprobe -s -k net-pf-3, errno = 2
kmod: failed to exec /sbin/modprobe -s -k net-pf-6, errno = 2
kmod: failed to exec /sbin/modprobe -s -k net-pf-4, errno = 2
kmod: failed to exec /sbin/modprobe -s -k net-pf-5, errno = 2
kmod: failed to exec /sbin/modprobe -s -k net-pf-9, errno = 2
kmod: failed to exec /sbin/modprobe -s -k net-pf-10, errno = 2
kmod: failed to exec /sbin/modprobe -s -k net-pf-3, errno = 2
kmod: failed to exec /sbin/modprobe -s -k net-pf-6, errno = 2
kmod: failed to exec /sbin/modprobe -s -k net-pf-4, errno = 2
kmod: failed to exec /sbin/modprobe -s -k net-pf-5, errno = 2
kmod: failed to exec /sbin/modprobe -s -k net-pf-9, errno = 2
kmod: failed to exec /sbin/modprobe -s -k eth0, errno = 2
kmod: failed to exec /sbin/modprobe -s -k eth0, errno = 2
kmod: failed to exec /sbin/modprobe -s -k eth0, errno = 2
kmod: failed to exec /sbin/modprobe -s -k eth0, errno = 2
我明明没有使用任何模块,还出现modprobe ,为什么呢?
(出错信息用dmesg获得,和源格式有点差别)
 楼主| 发表于 2004-11-26 16:04:22 | 显示全部楼层
编译内核时少要了plip 重新编译后(网卡驱动继续编译进内核)
ifconfig .....................  找不到网卡
SIOCADDRT: File exists
SIOCSIFADDR: No such device
eth0: unknown interface: No such device
SIOCSIFBRDADDR: No such device
eth0: unknown interface: No such device
SIOCSIFNETMASK: No such device
SIOCADDRT: Network is unreachable
 楼主| 发表于 2004-11-27 14:37:52 | 显示全部楼层
奇怪了,在家里的一下就搞定了
看来还是在公司的那个内核配置文件有点问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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