1、下载内核文件如:linux-2.4.21.tar.gz拷贝到/usr/src目录并解压缩。
# cd /usr/src
# tar zvxf linux-2.4.21.tar.gz
# cd /usr/src/linux-2.4.21
# make mrproper
# make xconfig
3、进行选译,自己设定个性化的内核。完后点“save and exit”
4、进行编译。
# make dep
# make clean
# make bzImage
5、编译模块。
# make modules
# make modules_install
# depmod -a
You still didn't answered me which distribution you are using but anyways
这句话中文什么意思,该怎么回答
还有就是我升级内核后启动出现下列错误。
ds:no socker drivers loaded!
VFS=Cannot open root device "LABEL/" or 00:00
Please append a correct "root"= boot option
Kernel panic:VFS:Unable to mount root fs on 00:00
Root device is (3, 65)
Boot sector 512 bytes.
Setup is 2516 bytes.
System is 1177 kB
warning: kernel is too big for standalone boot from floppy
make[1]: Leaving directory `/usr/src/linux-2.4.21/arch/i386/boot'
[quote:42050f3b18="Dragonfly"]u need choose that experimental in code maturity option, i think so.
no idea on u tcl/tk.
can u run make bzImage and post the last 5 lines msg here?
i want u to tell me which linux u use, mdk or rh? or sth else?
for vfs can not open problem. u need to build an initrd file use mkinitrd command. run it or see man to know how to use.[/quote]
IPtable这个问题,我搜索了BBS,发现这个做法,但是找不到choose iptable这个啊!
network option, choose that network filter, then go network filter option to choose iptable
choose M
base.c: In function `is_devfsd_or_child':
base.c:1417: structure has no member named `p_opptr'
base.c:1417: structure has no member named `p_opptr'
base.c:1412: warning: `p' might be used uninitialized in this function
base.c: In function `devfsd_ioctl':
base.c:3433: warning: unused variable `lock'
make[3]: *** [base.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.20-8/fs/devfs'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-8/fs/devfs'
make[1]: *** [_subdir_devfs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-8/fs'
make: *** [_dir_fs] Error 2