In The Name Of God

Thanks alot for you'r attentions .
Debian is intsalled from DVD ,where is kernel source directory ?
Or just kernel should be compiled ?

regards dehqan

On Fri, Mar 27, 2009 at 9:54 PM, Phillip Michael <[email protected]>wrote:

> You need to be in the kernel source directory, not the kernel headers
> directory. I don't use debian myself, but here is a guide to patching
> and compiling a custom kernel on debian that might help:
> http://www.howtoforge.com/kernel_compilation_debian
> However, you will have a much easier time if you just upgrade to
> kernel 2.6.28 or newer. 2.6.28 and newer kernels don't need to be
> patched for hdaps.
>
> On Fri, Mar 27, 2009 at 5:43 AM, a dehqan <[email protected]> wrote:
> > ---------- Forwarded message ----------
> > From: a dehqan <[email protected]>
> > Date: Tue, 24 Mar 2009 23:02:05 +0430
> > Subject: question about applying patch ti kernel
> > To: [email protected]
> >
> > In The Name Of God
> >
> > I'll be thankfull if you guide ;
> > this patch code<
> http://article.gmane.org/gmane.linux.drivers.hdaps.devel/1324/raw>has
> > been saved as 2.patch  in /usr/src/linux-headers-2.6.26-1-686 directory.
> > and with this command applied to kernel : patch -p2 -l < 2.patch
> >
> > debian:~# patch -p2 -l < 2.patch
> > can't find file to patch at input line 4
> > Perhaps you used the wrong -p or --strip option?
> > The text leading up to this was:
> > --------------------------
> > |diff -urN linux-2.6.18.3.original/block/ll_rw_blk.c
> > linux-2.6.18.3.hdaps/block/ll_rw_blk.c
> > |--- linux-2.6.18.3.original/block/ll_rw_blk.c    2006-11-19
> > 03:28:22.000000000 +0000
> > |+++ linux-2.6.18.3.hdaps/block/ll_rw_blk.c    2006-11-26
> 11:29:55.000000000
> > +0000
> > --------------------------
> > File to patch:
> >
> > after that it asked this > "File to patch:"
> > what should be answered to this question ?
> >
> > regards dehqan
> >
> >
> ------------------------------------------------------------------------------
> > _______________________________________________
> > Hdaps-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/hdaps-devel
> >
>
_______________________________________________
Thinkpad mailing list
[email protected]
http://stderr.org/cgi-bin/mailman/listinfo/thinkpad

Reply via email to