Re: 配置并编译内核[更新到linux-2.6.29.2]
发表于 : 2009-10-08 13:04
今天那自己的thinkpad做了下实验,感觉还行,毕竟还是个菜鸟~~~呵呵,顶你! 

代码: 全选
yusong@yusong-desktop:~/linus$ bzcat patch-2.6.31.6.bz2 | patch -p1
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/Documentation/connector/cn_test.c b/Documentation/connector/cn_test.c
|index 6a5be5d..473c589 100644
|--- a/Documentation/connector/cn_test.c
|+++ b/Documentation/connector/cn_test.c
--------------------------
File to patch:
在打补丁之前你是什么版本?hbyusong 写了:今天9.10上面编到打补丁那步,下不去了代码: 全选
yusong@yusong-desktop:~/linus$ bzcat patch-2.6.31.6.bz2 | patch -p1 can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/Documentation/connector/cn_test.c b/Documentation/connector/cn_test.c |index 6a5be5d..473c589 100644 |--- a/Documentation/connector/cn_test.c |+++ b/Documentation/connector/cn_test.c -------------------------- File to patch:
是2.26.61.6呀syrano 写了:在打补丁之前你是什么版本?hbyusong 写了:今天9.10上面编到打补丁那步,下不去了代码: 全选
yusong@yusong-desktop:~/linus$ bzcat patch-2.6.31.6.bz2 | patch -p1 can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/Documentation/connector/cn_test.c b/Documentation/connector/cn_test.c |index 6a5be5d..473c589 100644 |--- a/Documentation/connector/cn_test.c |+++ b/Documentation/connector/cn_test.c -------------------------- File to patch:
打补丁之前是2.6.31才用patch-2.6.31.6.bz2
您可以直接下2.6.31的内核http://www.kernel.org/pub/linux/kernel/v2.6/li ... .6.tar.bz2hbyusong 写了:是2.26.61.6呀syrano 写了:在打补丁之前你是什么版本?hbyusong 写了:今天9.10上面编到打补丁那步,下不去了代码: 全选
yusong@yusong-desktop:~/linus$ bzcat patch-2.6.31.6.bz2 | patch -p1 can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/Documentation/connector/cn_test.c b/Documentation/connector/cn_test.c |index 6a5be5d..473c589 100644 |--- a/Documentation/connector/cn_test.c |+++ b/Documentation/connector/cn_test.c -------------------------- File to patch:
打补丁之前是2.6.31才用patch-2.6.31.6.bz2
我是下载的这个,就是在打补丁的时候打不上去syrano 写了:您可以直接下2.6.31的内核http://www.kernel.org/pub/linux/kernel/v2.6/li ... .6.tar.bz2hbyusong 写了:是2.26.61.6呀syrano 写了:在打补丁之前你是什么版本?hbyusong 写了:今天9.10上面编到打补丁那步,下不去了代码: 全选
yusong@yusong-desktop:~/linus$ bzcat patch-2.6.31.6.bz2 | patch -p1 can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/Documentation/connector/cn_test.c b/Documentation/connector/cn_test.c |index 6a5be5d..473c589 100644 |--- a/Documentation/connector/cn_test.c |+++ b/Documentation/connector/cn_test.c -------------------------- File to patch:
打补丁之前是2.6.31才用patch-2.6.31.6.bz2
那就不用打补丁了, 你那个补丁是给linux-2.6.31.tar.bz2用来升级的.hbyusong 写了:我是下载的这个,就是在打补丁的时候打不上去syrano 写了:您可以直接下2.6.31的内核http://www.kernel.org/pub/linux/kernel/v2.6/li ... .6.tar.bz2hbyusong 写了:是2.26.61.6呀syrano 写了:在打补丁之前你是什么版本?hbyusong 写了:今天9.10上面编到打补丁那步,下不去了代码: 全选
yusong@yusong-desktop:~/linus$ bzcat patch-2.6.31.6.bz2 | patch -p1 can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/Documentation/connector/cn_test.c b/Documentation/connector/cn_test.c |index 6a5be5d..473c589 100644 |--- a/Documentation/connector/cn_test.c |+++ b/Documentation/connector/cn_test.c -------------------------- File to patch:
打补丁之前是2.6.31才用patch-2.6.31.6.bz2
哦,知道,谢谢了hbyusong 写了:我是下载的这个,就是在打补丁的时候打不上去syrano 写了:您可以直接下2.6.31的内核http://www.kernel.org/pub/linux/kernel/v2.6/li ... .6.tar.bz2hbyusong 写了:是2.26.61.6呀syrano 写了:在打补丁之前你是什么版本?hbyusong 写了:今天9.10上面编到打补丁那步,下不去了代码: 全选
yusong@yusong-desktop:~/linus$ bzcat patch-2.6.31.6.bz2 | patch -p1 can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/Documentation/connector/cn_test.c b/Documentation/connector/cn_test.c |index 6a5be5d..473c589 100644 |--- a/Documentation/connector/cn_test.c |+++ b/Documentation/connector/cn_test.c -------------------------- File to patch:
打补丁之前是2.6.31才用patch-2.6.31.6.bz2
是dpkg而不是dpkkooko1986 写了:wangyixi@wangyixi-desktop:~/linus$ sudo dpk -i linux-image-2.6.29david0.75_2.6.29david0.75-10.00.Custom_i386.deb
[sudo] password for wangyixi:
sudo: dpk: command not found
这个是什么原因呢?