内核编译问题
请问有谁在sun workstation上编译过linux内核. 我想在sun 上编译内核, 可是总不成功, 请高手帮忙. 以下是我编译的步骤:从kernel.org下载linux-2.2.16.tar.gz ,然后解压在/usr/src/2.2.16内. 然后进入 2.2.16/执行以下命令:
make menuconfig
make dep
make vmlinux
make modules
make modules_install
然后将 2.2.16/vmlinux2.2.16/System.map 拷贝到 /boot/ vmlinux-2.2.16/boot/System.map.2.2.16
再修改silo, 加入以下语句:
image=/vmlinux-2.2.16
label=new
重启机器, 选择 new, 出现错误:
Fatal error : Image too large to fit in destination.
Image not found. Try again.
我检查vmlinux, 发现它的大小是29M. 我把它压缩后, 重启, 但又出现错误:
Decompression error: Uncompressed image too long - wouldn't fit into
destination. Image not found. Try again.
请问如何解决?
:?: make vmlinux应该是make bzImage
应该是把 /usr/src/linux/arch/i386/bzImage拷贝为/boot/vmlinuz--2.2.16
在x86上是这样的。sun也应该是吧 我想你没有编译过SPARC结构的内核吧, 不过还是谢谢你。:-) no bzImage on sparc. u vmlinux is too large, can not exceed 2.5m for vmlinux. try to make sth as modules.
why not use 2.4.x? 我想你没有编译过SPARC结构的内核吧, 不过还是谢谢你。:-)
呵呵,真是没用过。不好意思了
kernel compile
no bzImage on sparc. u vmlinux is too large, can not exceed 2.5m for vmlinux. try to make sth as modules.why not use 2.4.x?
Actually, i had compiled a lot of things as moduels. But the compiled vmlinux was still large,and the size war much bigger than 2.5 M.Have u compile the kernel successfully on Sparc CPU? could u describe the steps in detail?thks. yes, i use a ultra 80 with two 450mhz cpu. i remember my vmlinux size is around 2.4m.i use 2.4.20. i will try to find the config and post it online. really? oh, thanku very much. can u send me the configure file by email? my email address is: richardpeng2001@hotmail. Moreover, plz describe the detailed steps for compling the kernel. i will send u the .config file tomorrow if i still remember. it is for 2.4.20 kernel. steps? make menuconfig dep vmlinux modules modules_install. you know this , nothing special. i use gentoo 1.4 rc3 on sparc.
页:
[1]