Hi,
I´m using centos in 4 servers that work as gateway for intranets where i work. I built a particular kernel for my needs but this kernel is 2.4.31. So i neeed to boot this kernel in centos 4.3 and centos 4.2. Can anyone help with that? I know the problem is mainly in modutils because modules cannot be loaded when kernel is loaded. Any help is very much appreciated.
Thanks in advance.
Luís.
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
azeredo@qmc.ufsc.br wrote:
I´m using centos in 4 servers that work as gateway for intranets where i work. I built a particular kernel for my needs but this kernel is 2.4.31. So i neeed to boot this kernel in centos 4.3 and centos 4.2. Can anyone help with that? I know the problem is mainly in modutils because modules cannot be loaded when kernel is loaded. Any help is very much appreciated.
I typically hate the 'ignore the question, and tell user how to do it' style answers, however ...
Would it not be easier/a lot better(stable) to boot CentOS 3?
Regards,
Sean
On Fri, 2006-07-28 at 17:37 +0100, Seán O Sullivan wrote:
azeredo@qmc.ufsc.br wrote:
I´m using centos in 4 servers that work as gateway for intranets where i work. I built a particular kernel for my needs but this kernel is 2.4.31. So i neeed to boot this kernel in centos 4.3 and centos 4.2. Can anyone help with that? I know the problem is mainly in modutils because modules cannot be loaded when kernel is loaded. Any help is very much appreciated.
I typically hate the 'ignore the question, and tell user how to do it' style answers, however ...
Would it not be easier/a lot better(stable) to boot CentOS 3?
Regards,
Sean
Sean, I believe that you are correct ...
Some problems are going to be:
1. Trying to change centos-4 to not use udev ... or roll that into a 2.4 kernel.
2. Also there are other LVM2 features and SELinux that do not exist in the 2.4 kernel.
That is just off the top of my head ... I'm sure there are other major issues trying to boot a 2.4 kernel on CentOS-4.
Hi,
Thanks a lot to the guy that tried to help me. But i really need to use centos 4.3 since i have 3 linux already running and i didn't want to reinstall and reconfigure them. The problem is that i need full support to pptp-conntract and also ppp_mppe in the kernel. I had to compile a kernel with that modules by myself. I even tried to use those modules already compiled for the 2.6 kernel for SME server (that are similar to those of centos 4)
that one can find at
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/build...
But the problem is that the modules install and are loaded but cannot work together. No VPN coming into the intranet gets connected when module ip_nat_pptp is loaded . Look at the error:
Jul 28 20:25:48 edm194 pppd[20710]: pptpd-logwtmp: $Version$ Jul 28 20:25:48 edm194 pppd[20710]: pppd 2.4.3 started by root, uid 0 Jul 28 20:25:48 edm194 pppd[20710]: Using interface ppp0 Jul 28 20:25:48 edm194 pppd[20710]: Connect: ppp0 <--> /dev/pts/1 Jul 28 20:25:48 edm194 pptpd[20709]: GRE: Bad checksum from pppd. Jul 28 20:26:18 edm194 pppd[20710]: LCP: timeout sending Config-Requests Jul 28 20:26:18 edm194 pppd[20710]: Connection terminated. Jul 28 20:26:18 edm194 pppd[20710]: Using interface ppp0 Jul 28 20:26:18 edm194 pppd[20710]: Connect: ppp0 <--> /dev/pts/1 Jul 28 20:26:18 edm194 pppd[20710]: tcflush failed: Bad file descriptor Jul 28 20:26:18 edm194 pppd[20710]: tcsetattr: Invalid argument (line 1016) Jul 28 20:26:18 edm194 pppd[20710]: Exit. Jul 28 20:26:18 edm194 pptpd[20709]: GRE: read(fd=6,buffer=804eb00,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs Jul 28 20:26:18 edm194 pptpd[20709]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7) Jul 28 20:26:18 edm194 pptpd[20709]: CTRL: Client 201.14.175.204 control connection finished As soon as I unload this module the connection establishes. But I managed to get a 2.4.31 kernel running with all these modules, namely
ip_conntrack_pptp ip_conntrack_proto_gre ip_nat_pptp ip_nat_proto_gre
and
ppp_mppe
loaded so that incoming VPN connections work, as well as outgoing vpn connections through NAT at the gateway are correctly redirected to the server outside the intranet. This kernel is in another linux that runs and old version of red hat. I need to upgrade this system and centos is my choice. So, that is the reason i want a kernel 2.4 loaded in centos 4.3 or 4.2. Actually i've read somewhere that, with compatible modutils, i can do that, but i don't know how to install and where to find modutils ( old ones) that will let me boot my 2.4.31 kernel in centos 4, without disrupting the whole system.
I hope someone can help me out. If anyone knows where i can find those modules for centos kernel 2.6 would also solve the problem. Any other solution to my problem is very welcome too.
Thanks a lot.
Luís
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
Honestly?
I think you should just bite the bullet and migrate to CentOS 4 and not try to get an older kernel to work with a newer version of Centos. What youa re proposing is trying to get the windows xp kernel to run under windows 9x...it just isn't going to happen without wasting more time than if you just upgrade to the newer version outright. YOur statement that you did not want to reload also bears testament to this.
It comes down to this: do you really want to waste all of htis time and frustration trying to piece together two totally different Linux versions or jsut go the other faster, less frustrating way of migrating to CentOS-4?
azeredo@qmc.ufsc.br wrote:
Hi,
Thanks a lot to the guy that tried to help me. But i really need to use centos 4.3 since i have 3 linux already running and i didn't want to reinstall and reconfigure them. The problem is that i need full support to pptp-conntract and also ppp_mppe in the kernel. I had to compile a kernel with that modules by myself. I even tried to use those modules already compiled for the 2.6 kernel for SME server (that are similar to those of centos 4)
that one can find at
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/build...
But the problem is that the modules install and are loaded but cannot work together. No VPN coming into the intranet gets connected when module ip_nat_pptp is loaded . Look at the error:
Jul 28 20:25:48 edm194 pppd[20710]: pptpd-logwtmp: $Version$ Jul 28 20:25:48 edm194 pppd[20710]: pppd 2.4.3 started by root, uid 0 Jul 28 20:25:48 edm194 pppd[20710]: Using interface ppp0 Jul 28 20:25:48 edm194 pppd[20710]: Connect: ppp0 <--> /dev/pts/1 Jul 28 20:25:48 edm194 pptpd[20709]: GRE: Bad checksum from pppd. Jul 28 20:26:18 edm194 pppd[20710]: LCP: timeout sending Config-Requests Jul 28 20:26:18 edm194 pppd[20710]: Connection terminated. Jul 28 20:26:18 edm194 pppd[20710]: Using interface ppp0 Jul 28 20:26:18 edm194 pppd[20710]: Connect: ppp0 <--> /dev/pts/1 Jul 28 20:26:18 edm194 pppd[20710]: tcflush failed: Bad file descriptor Jul 28 20:26:18 edm194 pppd[20710]: tcsetattr: Invalid argument (line 1016) Jul 28 20:26:18 edm194 pppd[20710]: Exit. Jul 28 20:26:18 edm194 pptpd[20709]: GRE: read(fd=6,buffer=804eb00,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs Jul 28 20:26:18 edm194 pptpd[20709]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7) Jul 28 20:26:18 edm194 pptpd[20709]: CTRL: Client 201.14.175.204 control connection finished As soon as I unload this module the connection establishes. But I managed to get a 2.4.31 kernel running with all these modules, namely
ip_conntrack_pptp ip_conntrack_proto_gre ip_nat_pptp ip_nat_proto_gre
and
ppp_mppe
loaded so that incoming VPN connections work, as well as outgoing vpn connections through NAT at the gateway are correctly redirected to the server outside the intranet. This kernel is in another linux that runs and old version of red hat. I need to upgrade this system and centos is my choice. So, that is the reason i want a kernel 2.4 loaded in centos 4.3 or 4.2. Actually i've read somewhere that, with compatible modutils, i can do that, but i don't know how to install and where to find modutils ( old ones) that will let me boot my 2.4.31 kernel in centos 4, without disrupting the whole system.
I hope someone can help me out. If anyone knows where i can find
those modules for centos kernel 2.6 would also solve the problem. Any other solution to my problem is very welcome too.
Thanks a lot. Luís
This message was sent using IMP, the Internet Messaging Program.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
azeredo@qmc.ufsc.br spake the following on 7/28/2006 4:50 PM:
Hi,
Thanks a lot to the guy that tried to help me. But i really need to use centos 4.3 since i have 3 linux already running and i didn't want to reinstall and reconfigure them. The problem is that i need full support to pptp-conntract and also ppp_mppe in the kernel. I had to compile a kernel with that modules by myself. I even tried to use those modules already compiled for the 2.6 kernel for SME server (that are similar to those of centos 4)
that one can find at
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/build...
But the problem is that the modules install and are loaded but cannot work together. No VPN coming into the intranet gets connected when module ip_nat_pptp is loaded . Look at the error:
Jul 28 20:25:48 edm194 pppd[20710]: pptpd-logwtmp: $Version$ Jul 28 20:25:48 edm194 pppd[20710]: pppd 2.4.3 started by root, uid 0 Jul 28 20:25:48 edm194 pppd[20710]: Using interface ppp0 Jul 28 20:25:48 edm194 pppd[20710]: Connect: ppp0 <--> /dev/pts/1 Jul 28 20:25:48 edm194 pptpd[20709]: GRE: Bad checksum from pppd. Jul 28 20:26:18 edm194 pppd[20710]: LCP: timeout sending Config-Requests Jul 28 20:26:18 edm194 pppd[20710]: Connection terminated. Jul 28 20:26:18 edm194 pppd[20710]: Using interface ppp0 Jul 28 20:26:18 edm194 pppd[20710]: Connect: ppp0 <--> /dev/pts/1 Jul 28 20:26:18 edm194 pppd[20710]: tcflush failed: Bad file descriptor Jul 28 20:26:18 edm194 pppd[20710]: tcsetattr: Invalid argument (line 1016) Jul 28 20:26:18 edm194 pppd[20710]: Exit. Jul 28 20:26:18 edm194 pptpd[20709]: GRE: read(fd=6,buffer=804eb00,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs Jul 28 20:26:18 edm194 pptpd[20709]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7) Jul 28 20:26:18 edm194 pptpd[20709]: CTRL: Client 201.14.175.204 control connection finished As soon as I unload this module the connection establishes. But I managed to get a 2.4.31 kernel running with all these modules, namely
ip_conntrack_pptp ip_conntrack_proto_gre ip_nat_pptp ip_nat_proto_gre
and
ppp_mppe
loaded so that incoming VPN connections work, as well as outgoing vpn connections through NAT at the gateway are correctly redirected to the server outside the intranet. This kernel is in another linux that runs and old version of red hat. I need to upgrade this system and centos is my choice. So, that is the reason i want a kernel 2.4 loaded in centos 4.3 or 4.2. Actually i've read somewhere that, with compatible modutils, i can do that, but i don't know how to install and where to find modutils ( old ones) that will let me boot my 2.4.31 kernel in centos 4, without disrupting the whole system.
I hope someone can help me out. If anyone knows where i can find
those modules for centos kernel 2.6 would also solve the problem. Any other solution to my problem is very welcome too.
Clarkconnect Linux is based on CentOS 4 and has working pptp patches. Maybe you could try there, or just use their distro. I use it for several firewalls, and it works great!