QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1005|回复: 12

编译完2.4.21版内核,无法启动,请高手赐教!

[复制链接]
发表于 2003-6-16 14:48:05 | 显示全部楼层 |阅读模式
出错信息说binfmt有错误
我用depmod -a 2.4.21,输出下列信息:
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/acpi/ospm/a
c_adapter/ospm_ac_adapter.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/acpi/ospm/b
attery/ospm_battery.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/acpi/ospm/b
usmgr/ospm_busmgr.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/acpi/ospm/b
utton/ospm_button.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/acpi/ospm/e
c/ospm_ec.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/acpi/ospm/p
rocessor/ospm_processor.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/acpi/ospm/s
ystem/ospm_system.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/acpi/ospm/t
hermal/ospm_thermal.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/block/flopp
y.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/block/loop.
o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/block/nbd.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/char/i810_r
ng.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/char/lp.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/char/rtc.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/hotplug/acp
iphp.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/hotplug/pci
_hotplug.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/ide-flo
ppy.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/legacy/
ide-cs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/input/keybd
ev.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/input/mouse
dev.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/net/dummy.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/parport/par
port.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/parport/par
port_pc.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/parport/par
port_serial.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/scsi/ide-sc
si.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/scsi/scsi_m
od.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/scsi/sd_mod
.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/scsi/sym53c
8xx.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/sound/ad184
8.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/sound/i810_
audio.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/sound/sound
.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/usb/acm.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/usb/dc2xx.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/usb/hid.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/usb/host/us
b-ohci.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/usb/hpusbsc
si.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/usb/mdc800.
o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/usb/microte
k.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/usb/printer
.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/usb/scanner
.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/usb/storage
/usb-storage.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/usb/usbkbd.
o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/usb/usbmous
e.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/video/vga16      fb.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/fs/autofs4/autofs4.      o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/fs/binfmt_aout.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/fs/binfmt_elf.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/fs/binfmt_misc.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/fs/fat/fat.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/fs/jfs/jfs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/fs/msdos/msdos.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/fs/ntfs/ntfs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/fs/umsdos/umsdos.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/fs/vfat/vfat.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/net/ipx/ipx.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/net/irda/ircomm/irc      omm-tty.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/net/irda/ircomm/irc      omm.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/net/irda/irda.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/net/irda/irlan/irla      n.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/net/irda/irlan.o
[root@zym root]# depmod -a 2.4.21
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/acpi/ospm/ac_adapter/ospm_ac_adapter.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/acpi/ospm/battery/ospm_battery.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/acpi/ospm/busmgr/ospm_busmgr.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/acpi/ospm/button/ospm_button.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/acpi/ospm/ec/ospm_ec.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/acpi/ospm/processor/ospm_processor.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/acpi/ospm/system/ospm_system.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/acpi/ospm/thermal/ospm_thermal.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/block/floppy.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/block/loop.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/block/nbd.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/char/i810_rng.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/char/lp.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/char/rtc.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/hotplug/acpiphp.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/hotplug/pci_hotplug.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/ide-floppy.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/legacy/ide-cs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/input/keybdev.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/input/mousedev.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/net/dummy.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/parport/parport.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/parport/parport_pc.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/parport/parport_serial.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/scsi/ide-scsi.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/scsi/scsi_mod.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/scsi/sd_mod.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/scsi/sym53c8xx.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/sound/ad1848.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/sound/i810_audio.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/sound/sound.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/usb/acm.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/usb/dc2xx.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/usb/hid.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/usb/host/usb-ohci.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/usb/hpusbscsi.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/usb/mdc800.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/usb/microtek.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/usb/printer.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/usb/scanner.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/usb/storage/usb-storage.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/usb/usbkbd.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/usb/usbmouse.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/video/vga16fb.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/fs/autofs4/autofs4.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/fs/binfmt_aout.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/fs/binfmt_elf.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/fs/binfmt_misc.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/fs/fat/fat.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/fs/jfs/jfs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/fs/msdos/msdos.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/fs/ntfs/ntfs.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/fs/umsdos/umsdos.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/fs/vfat/vfat.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/net/ipx/ipx.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/net/irda/ircomm/ircomm-tty.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/net/irda/ircomm/ircomm.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/net/irda/irda.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/net/irda/irlan/irlan.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/net/irda/irlan.o
发表于 2003-6-16 15:43:44 | 显示全部楼层
是不是因为下载的内核代码不全,导致需要的.o文件没有生成?
回复

使用道具 举报

 楼主| 发表于 2003-6-16 15:54:10 | 显示全部楼层
应该不会吧,不然解压的时候就报错了
回复

使用道具 举报

发表于 2003-6-16 17:07:47 | 显示全部楼层
编译方法(步骤)有问题?
回复

使用道具 举报

 楼主| 发表于 2003-6-16 20:16:47 | 显示全部楼层
[quote:41f8b00760="greenforce"]编译方法(步骤)有问题?[/quote]
能不能具体一点?
回复

使用道具 举报

发表于 2003-6-16 20:48:56 | 显示全部楼层
make mrproper
make menuconfig
make dep
make clean
make bzImage
make modules
make modules_install
你是不是这样做的?
回复

使用道具 举报

发表于 2003-6-16 22:43:04 | 显示全部楼层
post u .config file
回复

使用道具 举报

 楼主| 发表于 2003-6-18 13:27:39 | 显示全部楼层
问题已经解决,是我把对ELF的支持编译成模块了。
不过怎么还是不能支持I855芯片组的AGP控制芯片
回复

使用道具 举报

发表于 2003-6-18 13:37:29 | 显示全部楼层
[quote:6a4bc8234d="flyzym"]问题已经解决,是我把对ELF的支持编译成模块了。
不过怎么还是不能支持I855芯片组的AGP控制芯片[/quote]

这就是导致你出问题的原因?把对ELF的支持编译成模块了为什么会出现那些错误?道理呢?
回复

使用道具 举报

 楼主| 发表于 2003-6-18 14:04:07 | 显示全部楼层
[quote:e97acf8cfd="xdwjack"][quote:e97acf8cfd="flyzym"]问题已经解决,是我把对ELF的支持编译成模块了。
不过怎么还是不能支持I855芯片组的AGP控制芯片[/quote]

这就是导致你出问题的原因?把对ELF的支持编译成模块了为什么会出现那些错误?道理呢?[/quote]
看了内核的说明文档,说现在大多数都是elf格式的执行文件,编译成模块是非常危险的(大概就是指不能启动吧)。
回复

使用道具 举报

 楼主| 发表于 2003-6-18 14:04:49 | 显示全部楼层
其实我也是不懂得说,只是瞎试
回复

使用道具 举报

发表于 2003-6-18 21:36:55 | 显示全部楼层
yes, now u have to use ELF. but can try to deselect a.out
回复

使用道具 举报

发表于 2003-6-18 21:37:25 | 显示全部楼层
forget to say that for 855 u need search some posts here about 855.
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-12-3 07:32 , Processed in 0.040198 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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