QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1368|回复: 1

郁闷啊,我load /boot/config*编译内核也不行

[复制链接]
发表于 2005-12-7 14:14:40 | 显示全部楼层 |阅读模式
我想打开硬盘的DMA模式,操作失败
hdparm -d1 /dev/hda

/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma    =  0 (off)

想想可能是内核不支持,需要重新编译一下,可是改来改去总是在make bzImage时出错,后来索性load /boot/config*,看看当前使用的内核能不能编译通过,结果是照样出错,出错信息如下:
/usr/src/linux-2.4.21-27.EL/include/net/ah.h: In function `ah_hmac_digest':
/usr/src/linux-2.4.21-27.EL/include/net/ah.h:26: warning: implicit declaration of function `crypto_hmac_init'
/usr/src/linux-2.4.21-27.EL/include/net/ah.h:27: `crypto_hmac_update' undeclared (first use in this function)
/usr/src/linux-2.4.21-27.EL/include/net/ah.h:27: (Each undeclared identifier is reported only once
/usr/src/linux-2.4.21-27.EL/include/net/ah.h:27: for each function it appears in.)
/usr/src/linux-2.4.21-27.EL/include/net/ah.h:28: warning: implicit declaration of function `crypto_hmac_final'
In file included from xfrm_algo.c:19:
/usr/src/linux-2.4.21-27.EL/include/net/esp.h: In function `esp_hmac_digest':
/usr/src/linux-2.4.21-27.EL/include/net/esp.h:49: `crypto_hmac_update' undeclared (first use in this function)
make[3]: *** [xfrm_algo.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.21-27.EL/net/xfrm'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.21-27.EL/net/xfrm'
make[1]: *** [_subdir_xfrm] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21-27.EL/net'
make: *** [_dir_net] Error 2

哪位老大帮帮忙了,看看什么问题,郁闷哦,我保证什么都没有改
 楼主| 发表于 2005-12-7 14:45:21 | 显示全部楼层
发现个问题,即时我load /boot/config*,直接save and exit,对比.config & /boot/config*,两个文件也有很大差别,不知道为什么

后来再测,直接把cp /boot/config* /usr/src/linux-2.4/.config,运行make dep时就出错,是不是这个/boot/config*文件并不可靠啊?最好还是自己重新编译一遍?
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-4-27 13:14 , Processed in 0.066850 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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