Well, you have to gunzip it before patch it or you do : gzip �Cd < xxx.gz | patch �Cp1
Regards, Robbert _____ From: lizhong zhu [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2008 12:47 PM To: Mali VMS; [EMAIL PROTECTED] Subject: 回复: RE: [Voyage-linux] where is kernel-source-2.6.8-voyage? hello, mali: i have to change to linux-source to patch that. this is error:----------------------------------------------- voyage:/usr/src# cd linux-source-2.6.23-voyage/ voyage:/usr/src/linux-source-2.6.23-voyage# ls COPYING Documentation MAINTAINERS README REPORTING-BUGS block crypto kernel-patch-2.6.23-voyage_5.0-1.patch.gz CREDITS Kbuild Makefile README.openswan-2 arch conf.vars drivers voyage:/usr/src/linux-source-2.6.23-voyage# patch -p1 < kernel-patch-2.6.23-voyage_5.0-1.patch.gz patch unexpectedly ends in middle of line patch: **** Only garbage was found in the patch input. voyage:/usr/src/linux-source-2.6.23-voyage# ---------------------------------------------------------------------------- -------------------- i also tried -p4 but it does work. is anything wrong with patch file? thanks! zhu Mali VMS <[EMAIL PROTECTED]> 写道: You do these: 1) apt-get install linux-source-2.6.23-voyage 2) cd /usr/src; tar xjvf linux-source-2.6.23-voyage.tar.bz2; 3) cd linux-source-2.6.23; Regards, Robbert -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of lizhong zhu Sent: Tuesday, July 08, 2008 11:41 AM To: [EMAIL PROTECTED] Subject: [Voyage-linux] where is kernel-source-2.6.8-voyage? hello, users: I try to recompile the kernel, but i have some problems. i do that based on the link: http://wiki.voyage.hk/dokuwiki/doku.php?id=voyage_kernel. i have linux source :linux-source-2.6.23-voyage. the confusion part is here: -------------------------------------------------------- Downloading kernel configuration Download the corresponding kernel config file from voyage.hk and put to /usr/src: wget http://www.voyage.hk/download/kernel_config/config-2.6.8-486-voyage_2.0-3 cp config-2.6.8-486-voyage_2.0-3 kernel-source-2.6.8-voyage/.config Kernel configuration files can be found here . Patching kernel You can now apply your own kernel patch to voyage kernel, here are the commands I use: cd kernel-source-2.6.8-voyage patch -p1 < _______________________________________________ where is kernel source? is it linux-source? anyone knows that? please give me a hint. Regards! James.zhu ________________________________ 雅虎邮箱,您的终生邮箱! _____ <http://cn.mail.yahoo.com/> 雅虎邮箱,您的终生邮箱!
_______________________________________________ Voyage-linux mailing list [email protected] http://list.voyage.hk/mailman/listinfo/voyage-linux
