LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: 唯雪

内核升级2.4.20『谈点经验』

[复制链接]
发表于 2003-2-23 19:34:55 | 显示全部楼层

一个基础问题

一个已经存在的内核,我想再重新配置一次,用命令make menuconfig,弄好了后保存为000,接下来的步骤是什么呢?谢谢请指点一下。
发表于 2003-2-23 19:47:23 | 显示全部楼层
书上这么写的
make menuconfig      //修改内核配置
make dep             //配置模块以来关系
make bzImage          //编译内核
make modules          //编译模块
make moudules_install //安装已编译的模块
发表于 2003-2-23 21:28:27 | 显示全部楼层

能不能把编译内核时的网络设置贴出来?

我重编译了内核,但网络用不了了,试过多次还是不行?
或者有人把插入模块的方法贴出来也可以,谢谢
:eek:
发表于 2003-2-23 23:20:37 | 显示全部楼层
Network device support
  网络设备支持。里面大概分类了,有ARCnet设备、Ethernet(10 or 100 Mbit)、Ethernet(1000Mbit)、Wireless LAN(non-hamradio)、Token Ring device、Wan interfaces、PCMCIA network device support几大类。我用的是10/100M的以太网,看来只需要选则这个了。还是10/100M的以太网设备熟悉,内容虽然多,一眼就可以看到我所用的RealTeck RTL-8139 PCI Fast Ethernet Adapter support,为了免得麻烦,编译到内核里面好了,不选M了,选Y。耐心点,一般说来你都能找到自己用的网卡。如果没有,你只好自己到厂商那里去要驱动了。
发表于 2003-2-23 23:26:23 | 显示全部楼层
发表于 2003-2-24 07:41:57 | 显示全部楼层

我的网卡也是RealTeck RTL-8139 PCI Fast Ethernet Adapter support

但硬件中断与声卡冲突,所以编入声卡,网卡和声卡都不能用了,不编声卡,能用网卡,怎么办?
发表于 2003-2-24 11:45:06 | 显示全部楼层
换个插槽
发表于 2003-2-24 14:54:06 | 显示全部楼层

在内核编译的时候为什么不能和make xconfig

我用的是make menuconfig make xconfig 我的用不了.下面是提示.你看一下.
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-2.4.20/scripts'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o tkparse.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkcond.o tkcond.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkgen.o tkgen.c
gcc -o tkparse tkparse.o tkcond.o tkgen.o
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/i386/config.in >> kconfig.tk
echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk
echo "set ARCH \"i386\"" >> kconfig.tk
cat tail.tk >> kconfig.tk
chmod 755 kconfig.tk
make[1]: Leaving directory `/usr/src/linux-2.4.20/scripts'
wish -f scripts/kconfig.tk
make: wish: Command not found
make: *** [xconfig] Error 127

希望各位老兄帮一下我实在搞不懂。请用过的朋友指点一下。
发表于 2003-2-24 14:56:38 | 显示全部楼层

声卡是板载的,网卡不是?

应该没用的!我自己想到一个办法还没试!再联系
发表于 2003-2-24 17:23:53 | 显示全部楼层

为什么编译内核出错????

各位高手,帮我解决一个问题。
    我在编译内核时总是出错,在配置完内核后将保存为一个文件到/usr目录下文件名是config。再执行make dep的过程中出错,提示是:make:***Warning:file "arch/i386/makefile has madification time in the future" 后面接着就是时间段。
再是:The tree was updata,so your .config may be out of date!
内核是:linux-2.5-34.


   还有一个问题是如何把一个驱动程序的源码编译成一个模块。可不可以放进内核源码一起编译呢?      :confused:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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