中国Linux公社论坛's Archiver

pjc5520 发表于 2003-4-26 21:09

Redhat 9的内核编译问题

Redhat9里自带的2.4.20-8跟标准的2.4.20有什么不同,我每次编译都打上acpi的补丁,便以标准的2.4.20时没有问题,但在编译2.4.20-8使就不行。

Dragonfly 发表于 2003-4-27 00:13

2.4.20-8 is hacked by redhat by adding many patches. i do not think rh8 kernel is a good kernel, especially for recompiling purpose. so u had better use vanilla 2.4.20.

pjc5520 发表于 2003-4-28 19:01

2.4.20-9也不行,我已经用了最新的ACPI补丁。

Dragonfly 发表于 2003-4-28 21:53

i do not say 2.4.20-9 is better than 2.4.20-8. u had better use a vanilla kernel if u need do many kernel recompiling.

pjc5520 发表于 2003-4-29 10:38

好吧,我继续努力。

Dragonfly 发表于 2003-4-29 10:56

2.5.6x is worthy being tried.

pjc5520 发表于 2003-4-29 10:58

我已经下载下来了。2.5.6.x需不需要安装新的模块加载工具?

Dragonfly 发表于 2003-4-29 11:00

u had better install the latest one. i believe it is needed.

pjc5520 发表于 2003-4-29 16:56

他跟我要Qt.

Dragonfly 发表于 2003-4-29 21:33

qt? almost impossible, which one u use? i tried 2.5.63 and 65 before. no such requirement. i always use menuconfig. but xconfig should use x only.

pjc5520 发表于 2003-4-30 19:05

我用的是2.5.68。
我是这样做的。解压到/usr/src下,建了一个连接linux-2.5。打上了acpi的最新补丁。
make mrproper 正常
make xconfig 出错。信息如下:
root@localhost:/usr/src/linux-2.5[root@localhost linux-2.5]# make xconfig
make -f scripts/Makefile.build obj=scripts
make -f scripts/Makefile.build obj=scripts/kconfig scripts/kconfig/qconf
*
* Unable to find the QT installation. Please make sure that the
* QT development package is correctly installed and the QTDIR
* environment variable is set to the correct location.
*
make[1]: *** [scripts/kconfig/.tmp_qtcheck] Error 1
make: *** [scripts/kconfig/qconf] Error 2

我哪一步做错了吗?

cnhnln 发表于 2003-4-30 21:57

make gconfig 试试

acpi的补丁不需要吧

pjc5520 发表于 2003-4-30 23:08

我的东芝笔记本必须要acpi支持,否则很多功能不能用。
make gconfig是什么?没听说过。

cnhnln 发表于 2003-5-1 00:14

2.5支持acpi呀,不用打补丁吧
2.5新增的.README里有.使用gtk不使用qt

Dragonfly 发表于 2003-5-1 03:35

[quote:d7cfe3c0d6="cnhnln"]2.5支持acpi呀,不用打补丁吧
2.5新增的.README里有.使用gtk不使用qt[/quote]
yes, 2.5 changes much. recommend everybody to try 2.5.x

btw, that vanilla 2.4.20 also has problem, while no everybody will meet the problem. recently i debug a code running on embedded linux on an iop board. when it posts messages to the host, the linux on host will get an intr. the 2.4.20 will hang there, while 2.4.18 and 2.4.21-rc1 will not. so there must be some problems there. stay away from it.

pjc5520 发表于 2003-5-1 22:54

那我上面的问题怎样才能解决掉。我很想试一下2.5.x。拜托各位帮忙。

Dragonfly 发表于 2003-5-1 22:59

u can compile 2.5.68. use make menuconfig.

2.5.x has acpi patch already

pjc5520 发表于 2003-5-1 23:13

那我上面说的问题怎样解决,我很想试一下2.5.x。拜托各位帮忙。

Dragonfly 发表于 2003-5-1 23:22

[quote:0b959a004a="pjc5520"]那我上面说的问题怎样解决,我很想试一下2.5.x。拜托各位帮忙。[/quote]

???
kconfig need qt, gconfig gtk, u can choose the one u have. but i recommend the menuconfig.

my rule is if i can finish it under console, then i will not use gui. this can make me depend on a certain gui less.

pjc5520 发表于 2003-5-2 09:38

make gconfig好像是无效的命令

Dragonfly 发表于 2003-5-2 09:42

o? so stick on make menuconfig. my favor

jackyshow 发表于 2003-5-10 11:28

Where can I download the newest module loading tools? Thanks.
And my notebook works really well with the new kernel, ACPI drive the button key, AC adapter,  battery, LCD lid, LED etc. So fantansitic!  but the RH9 can't load the module, always said "not implement. " So no module can work with the new kernel!

Dragonfly 发表于 2003-5-11 00:57

http://www.kernel.org/pub/linux/utils/kernel/modutils/

Dragonfly 发表于 2003-5-11 02:04

u need download module-init-tool for kernel >2.5.48

jackyshow 发表于 2003-5-11 15:34

Thanx, already done. It's OK now.

Dragonfly 发表于 2003-5-11 22:06

cong!

pjc5520 发表于 2003-5-12 18:45

我装上了QT,make xconfig好用了,跟2.4内核大不一样,加了好多东西,也多了好多不明白的地方,那位老大给详细地讲一讲。

Dragonfly 发表于 2003-5-12 22:06

Documentation/Configure.help. the best place to startup. but 2.5.6x kernel does not have it. so be patient to wait. or you can see help in each kconfig file.

aibornew 发表于 2008-10-19 21:36

Redhat 9的内核编译升级问题?渴求赐教!各位兄弟姐妹!

"将Redhat 9的内核编译升级到Linux 2.6以上的任何一个版本时,内核升级必要的包需要那些?编译内核的步骤是什么?在编译过程中可能遇到的问题有哪些,解决的办法是什么?"
以上是计算机老师布置的作业,由于我是刚刚接触计算机语言编译,就是个路盲,渴望计算机高手帮我一下这个计算机后进的人吧!

页: [1]

Powered by Discuz! Archiver 6.1.0F  © 2001-2007 Comsenz Inc.