QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1595|回复: 17

请问一下有一种内核文件是pacth-xx的这个怎么用的呢

[复制链接]
发表于 2003-8-16 21:56:05 | 显示全部楼层 |阅读模式
请问一下有一种内核文件是pacth-xx的这个怎么用的呢
pacth是什么来
它有什么好处呢
为什么要用这个呢
好像里面是一些代码呢
干什么的
发表于 2003-8-16 22:35:45 | 显示全部楼层
that is only a name, anybody can name a file as patch-xx, so you have to give me a context to know what kind of file u mention.

if what u mean is sth like http://www.kernel.org/pub/linux/kernel/v2.4/patch-2.4.20.gz
then it is a patch to patch on a 2.4.19 kernel to get a 2.4.20 kernel. the reason to use it is because u already dl a xxMB 2.4.19 kernel, and u only have modem connection, u can download this small file to get a 2.4.20 kernel instead of download xxMB again.
回复

使用道具 举报

 楼主| 发表于 2003-8-17 10:31:04 | 显示全部楼层
是内核的
但你还没有说怎么做呢
它是怎么用的
如果是别的呢
又有什么不同呢
回复

使用道具 举报

 楼主| 发表于 2003-8-17 10:41:23 | 显示全部楼层
我还有一个问题
我下载了
2.4.6和2.4.9但它们都没有支持ext3的功能的
怎会这样的呢
我的系统是用ext3的
之后我在编译时我从2.4.20内核复制了fs的文件夹到2.4.6里了
但那当然是过不了
这又是为什么呢
我想编译2.4.6 or 2.4.9我应该怎么办呢
回复

使用道具 举报

发表于 2003-8-18 22:38:09 | 显示全部楼层
[quote:a9e569ff7a="vyouzhi"]是内核的
但你还没有说怎么做呢
它是怎么用的
如果是别的呢
又有什么不同呢[/quote]

man patch
info patch
回复

使用道具 举报

发表于 2003-8-18 22:42:15 | 显示全部楼层
[quote:8451dcd17d="vyouzhi"]我还有一个问题
我下载了
2.4.6和2.4.9但它们都没有支持ext3的功能的
怎会这样的呢
我的系统是用ext3的
之后我在编译时我从2.4.20内核复制了fs的文件夹到2.4.6里了
但那当然是过不了
这又是为什么呢
我想编译2.4.6 or 2.4.9我应该怎么办呢[/quote]

suggest u use 2.4.21
new functions are kept added to kernel. so old kernel does not have some functionalities. it is normal.
u can not simply copy one dir from a kernel to other kernel. code keeps changing,
there is no ext3 for 2.4.6
回复

使用道具 举报

 楼主| 发表于 2003-8-20 14:04:04 | 显示全部楼层

Re: 请问一下有一种内核文件是pacth-xx的这个怎么用的呢

[quote:b510575df3="vyouzhi"]请问一下有一种内核文件是pacth-xx的这个怎么用的呢
pacth是什么来
它有什么好处呢
为什么要用这个呢
好像里面是一些代码呢
干什么的[/quote]

我知道怎样用pacth了
是内核里会有说的
回复

使用道具 举报

发表于 2003-8-20 23:09:42 | 显示全部楼层
there are many good readme in kernel source under documentation. i think if you can read them. most of the questions asked here can be solved easily.
回复

使用道具 举报

 楼主| 发表于 2003-8-21 10:42:59 | 显示全部楼层
yes
我还想问一个问题
我把GCC升级了
升到3.2.3上
之后我再编译内核2.4.6 或2.4.9都不行
都是在一个地方出错
driver/pci
这个地方
为什么呢
我的系统是rh7.3
还有我想编译2.6.0是test3的
为什么不能编译呢
我都把gcc升上去了
是不是glic不够高呀
回复

使用道具 举报

发表于 2003-8-21 23:26:19 | 显示全部楼层
u can get requirement on compiling kernel from Documentation/Changes in kernel source code.

post u error msg here.

回复

使用道具 举报

 楼主| 发表于 2003-8-22 22:21:46 | 显示全部楼层
这次又可以了
我没有升级gcc
也没有用ext3一下子就升到2.4.6 和2.4.9了
但2.5.xx就真的不行
我上次升级没有把历史记录下来
所以不能放上来了
:(
怎改内核?
回复

使用道具 举报

发表于 2003-8-23 12:12:49 | 显示全部楼层
post u steps on how you compiled 2.5.x and post the error msg here.  
回复

使用道具 举报

 楼主| 发表于 2003-8-25 09:16:34 | 显示全部楼层
usb.c:registered new driver usbfs
usb.c:registered new driver hub
starting kswapd
BIO:pool of 256 setup,14kb(56bytes/bio)
biover:init pool 0: 1 entries,12 bytes
biover:init pool 1: 4 entries,48 bytes
biover:init pool 2: 16 entries,192 bytes
biover:init pool 3: 64 entries,768 bytes
biover:init pool 4: 128 entries,1536 bytes
biover:init pool 5: 256 entries,3072 bytes
installing knfsd (copyright (c)1996 [email protected])
parport0:pc-style at 0x378(pcspp(,...)
pty:256 Unix98 ptys configurod
serial driver version 5.05c (2001-07-0
witn MANY_PDRTS SHARE_ERQ SERIAL_PCI IS AGNP enabled
ttys00 at 0x03f8 (irq=4)is a 16650A
ttys00 at 0x03f8 (irq=3)is a 16650A
kedundant entry in serial pci_table
please send the output of lspci -vv.
this message (1069,5459,10ao,5459)
and the manufalturer and name of serial
board or modem board
to [email protected]
reqister_serial(-):autoconfig failed
lpo:using parport 0(polling)
block:256 slots per queue.batch=32


我发表过的
回复

使用道具 举报

发表于 2003-8-25 09:51:39 | 显示全部楼层
u error is here.
please send the output of lspci -vv.
this message (1069,5459,10ao,5459)
and the manufalturer and name of serial
board or modem board

can u check u old config to see which option u use for serial, modem...?
回复

使用道具 举报

 楼主| 发表于 2003-8-26 16:53:51 | 显示全部楼层
有可能是module-init-tools 这个太老了
要升级这个才行
不过我还没有试过
好像听你说过的
但我就不知应该把它放在哪里用
我放在/tmp里
是用不了这个的
是不是一定要放在/usr/src/linux里才能用呀
在什么时候用
在编译完用还是之前用?
放在/usr/src/linux  or /usr/src/linux2.xx里用都一样的吗
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-18 15:40 , Processed in 0.062286 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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