<div class="gmail_quote">On Tue, Jun 30, 2009 at 2:56 PM, Filipe Brandenburger <span dir="ltr"><<a href="mailto:filbranden@gmail.com">filbranden@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<div class="im"><br>
On Tue, Jun 30, 2009 at 14:24, Bob Beers<<a href="mailto:bob.beers@gmail.com">bob.beers@gmail.com</a>> wrote:<br>
> I think I'll need to back port Krzysztof Halasa's 'ppp for generic hdlc'<br>
>  patches to the 2.6.18-128.1.14.el5 kernel sources.<br>
><br>
> Has anyone worked on this?  I have tried simply overwriting the<br>
>  drivers/net/wan directory with corresponding directory from<br>
>  more recent (2.6.25.20, 2.6.30) vanilla kernel source, but I get errors:<br>
<br>
</div>Instead of copying a whole subdirectory from a later kernel (which<br>
will likely not work), you can try to apply only the patch you need to<br>
the current version of the kernel.</blockquote><div><br>Yes, I knew this was unlikely to work.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
There are instructions on how to build a custom kernel based on the<br>
CentOS kernel but with additional patches here:<br>
<a href="http://wiki.centos.org/HowTos/Custom_Kernel" target="_blank">http://wiki.centos.org/HowTos/Custom_Kernel</a></blockquote><div><br>I am familiar with this page and also the very helpful<br><<a href="http://wiki.centos.org/HowTos/BuildingKernelModules">http://wiki.centos.org/HowTos/BuildingKernelModules</a>>  :) <br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
I believe this is the patch you want to apply, right?<br>
<a href="http://kerneltrap.org/mailarchive/linux-netdev/2008/3/14/1165494" target="_blank">http://kerneltrap.org/mailarchive/linux-netdev/2008/3/14/1165494</a></blockquote><div><br>Yes, I've been through this thread a couple of times.  There<br>
are several patches actually applied in the course of this thread. <br>I'll go through it again and try to apply the same patches in the<br>same order.  And there are a couple other patches that show up<br>later in the year fixing other things related to hdlc/wan.  Do you know <br>
of a clever way to scan through the change logs for the relevant<br>entries?<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>

<br>
If so, the comments on the original post on that thread suggests it<br>
works on kernels up to 2.6.22, that might end up including 2.6.18 as<br>
well, so you might have luck with that...</blockquote><div><br>Yes, thank you for your reply.  I'll take a whack at it.<br> <br>-- <br></div></div>-Bob<br>