Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: MasterSleepy on February 26, 2004, 08:46:22 AM

Title: Howto Kernel upgrade.
Post by: MasterSleepy on February 26, 2004, 08:46:22 AM
Hi,

Here is my last Howto.
It concerne the upgrade of the kernel for the SME 6.0.
All rpms (smp and single proc) are available.

I use last version of kernel 2.4.25 and add some patch for netfilter :
strings
h323
quake3
mms

 howto (http://vanhees.homeip.net/index.php?module=ContentExpress&func=display&ceid=18&meid=)

Regards.
Title: Howto Kernel upgrade.
Post by: Rigger on February 27, 2004, 08:00:25 AM
Error:

Quote
# lilo
Fatal: Label "SME-Server-2425s" is too long
]#


Also will not boot on the new kernel. Message that kernel is loading and then system resets.


--
Doug M.
Rigger
Title: Howto Kernel upgrade.
Post by: MasterSleepy on February 28, 2004, 10:06:21 AM
Hi

In your lilo.conf try typing something smaller than the label I type
Like : SMEserver2425
That should work

Regards
Title: Howto Kernel upgrade.
Post by: CH Cheah on February 29, 2004, 11:01:33 PM
Thanks, I've been waiting for mod string for quite sometime, maybe now i can try to filter kazaa.
Title: Howto Kernel upgrade.
Post by: CH Cheah on March 09, 2004, 10:34:36 PM
Hi MasterSleepy

Can you confirm that there is no PPTP support in this kernel
build. I tried looking for ppp_mppe.o module but it's not
there. Modprobe also gives an error trying to locate the
module ppp-compress-18
Title: Howto Kernel upgrade.
Post by: MasterSleepy on March 15, 2004, 12:07:05 PM
Hi,

Yes it appears that I don't include that module in the kernel.
I'll look for that also.

Thanks for the return.
Bye
Title: Howto Kernel upgrade.
Post by: MasterSleepy on March 30, 2004, 03:24:02 PM
Hi all,

http://vanhees.homeip.net/index.php?module=ContentExpress&func=display&ceid=18
Here you can find the updated doc and RPM for the installation of last kernel.

ppp module are now included.
i2c module are included.

I still have some problem with my USB ups, but sitll looking to solve that problem.

Regards.
Title: Howto Kernel upgrade.
Post by: MasterSleepy on April 28, 2004, 11:42:59 AM
Hi,

The documentation have been updated.
The new version of the kernel is also available.
http://www.vanhees.cc/index.php?module=ContentExpress&func=display&ceid=18

Note : Source rpm are not include for the moment, but it will arrive soon.

Regards,
Title: Howto Kernel upgrade.
Post by: Anonymous on April 29, 2004, 07:44:38 PM
MasterSleepy, how can I get the URL to the downloads so I can download them direct to my SME servers from the command line with for example wget ?
Title: Howto Kernel upgrade.
Post by: bobk on April 30, 2004, 12:21:58 AM
Quote from: "Anonymous"
MasterSleepy, how can I get the URL to the downloads so I can download them direct to my SME servers from the command line with for example wget ?


http://mvanhees.free.fr/kernel-2.4.26mstslp01-2.i386.rpm

http://mvanhees.free.fr/sme-iptables-1.2.9-01.i386.rpm
Title: Howto Kernel upgrade.
Post by: MasterSleepy on August 09, 2004, 08:06:19 AM
Hi all,

Kernel 2.4.27 are out from this week-end.
So I recompile whole kernel with new feature.
Howto upgrade kernel (http://www.vanhees.cc/index.php?module=ContentExpress&func=display&ceid=18)

Regards.
Title: Howto Kernel upgrade.
Post by: lajgaard on August 09, 2004, 12:35:45 PM
It is a very good initiative MasterSleepy. And seems that it works for other people. So I guess i am willing to give it a try. My question is: can you make a multi processor kernel? I have a abit BP6 mobo with 2 celerons running as server. Ofcause I would like both my processors to put in their workload ;-)

/Carsten
Title: Howto Kernel upgrade.
Post by: CheahCH on August 09, 2004, 04:30:54 PM
The smp version is there
kernel-2.4.27mstslpsmp01-2.i386.rpm
Title: Kernel Upgrade Test
Post by: cc_skavenger on August 10, 2004, 01:03:58 AM
Test box:

Hardware:
PII-350 64MB ram, 7.5GB hard drive. (Old reliable junker)  

Software:
SME 6.01-01 with the following updates:
initscripts-6.67-1es26.i386.rpm
openssh-3.8p1-1.norlug.i386.rpm
openssh-clients-3.8p1-1.norlug.i386.rpm
openssh-server-3.8p1-1.norlug.i386.rpm
openssl-0.9.6b-36.7.legacy.i386.rpm
openssl-perl-0.9.6b-36.7.legacy.i386.rpm
rsync-2.6.2-1.noarch.rpm


Had no trouble with the upgrade, but now I am not able to create a PPTP session to another SME 6 box from behind the upgraded SME server that I could vpn into before I upgraded the kernel.  I get the dreaded error 619.  Is there anything different that needs to be done to create the PPTP session?  I am using XP Pro.  I currently use PPTP vpn's to my other vpn servers with no trouble.  I have a mixture of AMD and Intel boxes.  I am currently behind a SME 6 box now and have no trouble with VPNs to other remote SME 6 boxes.

Thanks for your work. I am just posting this as feedback.

Keep up the good work!

Marco
Title: Howto Kernel upgrade.
Post by: MasterSleepy on August 10, 2004, 10:20:16 AM
Hi,

I have tested the pptp connection, and it's working on my test platform.
Did you follow Step 7 (http://www.vanhees.cc/index.php?module=ContentExpress&func=display&ceid=18#step7) of the howto?

Regards.
Title: PPTP Connection
Post by: cc_skavenger on August 10, 2004, 04:04:37 PM
Yes,
I did follow step 7 and have verified that the alias is there.  Are you making pptp connections to this test server or through this test server.  I seem to be having problems with making connections through my test server.  I can make pptp connections to it all day long, with no trouble.

thanks
Title: Howto Kernel upgrade.
Post by: MasterSleepy on August 10, 2004, 07:37:27 PM
You are right, I teste by connecting directly to the teste server.
try the following command at the command line :
Code: [Select]
/sbin/iptables --append INPUT -p GRE -j ACCEPT
But normally nothing have change with firewall rules.

Regards.
Title: PPTP Pass through
Post by: cc_skavenger on August 11, 2004, 04:43:55 PM
Master Sleepy,

Tried that, but it did not help.  Checked the message log, but did not find any reference to the outgoing pptp connection.  I am going to load the dev tools and try to compare the two different kernel's options.
I'll let you know what I find.

Marco
Title: Howto Kernel upgrade.
Post by: djohen on August 12, 2004, 01:46:07 PM
interesting, cuz im having the same problems with vpn after a kernel upgrade
Title: Howto Kernel upgrade.
Post by: MasterSleepy on August 12, 2004, 07:47:47 PM
Great thanks to cc_skavenger,

New kernel have a problem with some patch from netfilter.
I look to solve that.

Regards,
Title: Kernel upgrade
Post by: cc_skavenger on August 15, 2004, 06:40:53 PM
MasterSleepy,
I have upgraded another test box.  As long as I don't install the iptables rpm, things seem to work fine.  What is the iptables file for?  Is it an update to iptables?

Thanks for the great work you have been doing.

Marco
Title: Howto Kernel upgrade.
Post by: MasterSleepy on August 16, 2004, 06:29:58 AM
Hello Marco,

Great thanks to make the test and for the feedback.

The update of iptables is needed if you want to use new feature that are include in the new kernel, like iptables string,mms, h323,... modules.
Effectively there is a 1.2.11 version of iptables, I need to update whole packages.

Solution are near for kernel, but style have some problems, I'm no the good way to find the solution  ;-)

Regards.
Title: Howto Kernel upgrade.
Post by: PhilV on August 16, 2004, 02:10:02 PM
Sorry, newbie, here, (with a slow connection!) Does the howto say in detail how to update the kernel?

Also am I right in thinking that the new kernels support SATA raid?
Title: Howto Kernel upgrade.
Post by: MasterSleepy on August 16, 2004, 02:45:43 PM
Hy,

If every things goes fine, here is the supported SATA hardware in the new kernel:

Serial ATA (SATA) support
   ServerWorks Frodo / Apple K2 SATA support (EXPERIMENTAL)
   Promise SATA TX2/TX4 support (EXPERIMENTAL)
   Promise SATA SX4 support (EXPERIMENTAL)
   Silicon Image SATA support (EXPERIMENTAL)
   SiS 964/180 SATA support (EXPERIMENTAL)
   VIA SATA support (EXPERIMENTAL)
   Vitesse VSC-7174 SATA support (EXPERIMENTAL)

Regards.
Title: Howto Kernel upgrade.
Post by: danny on August 18, 2004, 08:43:50 AM
currently i'm running e-smith 5.6, with freeswan-1.99_2.4.18_27_7.x-0.i386.rpm and the associated module rpm as well.

i'm about to upgrade to SME 6, and hopefully i dont brake the ipsec too much.. obviously i have to install the ipsec compiled to the newer kernel, however, i will be upgrading to this kernel as well.. so might do it all at once..

has anyone else got ipsec/freeswan running for vpn with sme6 and this latest kernel?

if so, please let me know of any problems you encounted
Title: Howto Kernel upgrade.
Post by: MasterSleepy on August 18, 2004, 08:57:07 AM
Hello danny,

I've include the freeswan kernel patch in this futur kernel.

Regards.
Title: Howto Kernel upgrade.
Post by: jeremy on August 18, 2004, 09:35:35 PM
MasterSleepy,

Any ideas on this?

http://Contribs.org/viewtopic.php?t=23503
Title: Howto Kernel upgrade.
Post by: MasterSleepy on August 20, 2004, 09:03:16 AM
Hello,

Now I thing every thing work fine.
http://www.vanhees.cc/index.php?module=ContentExpress&func=display&ceid=18

rpm have been updated too.

regards.
Title: Howto Kernel upgrade.
Post by: MasterSleepy on August 20, 2004, 09:05:23 AM
SMP version of the kernel is not done.
I'm waiting for feedback of UP version to compile SMP version.

Regs
Title: Kernel Upgrade
Post by: cc_skavenger on August 20, 2004, 10:54:15 PM
Downloading it now, will let you know in a couple of hours....

Thanks for the serious effort you have been putting into this!

Marco
Title: Howto Kernel upgrade.
Post by: MikeT on August 21, 2004, 06:14:41 AM
Ninety downloads of the kernel upgrade, here's one thank you MasterSleepy. Looking forward to learning how to do it.
Regards. :-)
Title: Howto Kernel upgrade.
Post by: psc on August 22, 2004, 04:56:00 PM
A short test results in:

Aug 22 16:38:28 gateway modprobe: modprobe: Can't locate module eth1
Aug 22 16:38:29 gateway modprobe: modprobe: Can't locate module eth1
Aug 22 16:38:29 gateway modprobe: modprobe: Can't locate module char-major-108
Aug 22 16:38:29 gateway pppd[26750]: This system lacks kernel support for PPP.  This could be because the PPP kernel module could not be loaded, or because PPP was not included in the kernel configuration.  If PPP was included as a module, try /sbin/modprobe -v ppp'.  If that fails, check that ppp.o exists in /lib/modules/uname -r/net. See README.linux file in the ppp distribution for more details.
Title: Howto Kernel upgrade.
Post by: MasterSleepy on August 22, 2004, 09:17:40 PM
Thanks for feedback.

I'll look for that problem.

regards
Title: Howto Kernel upgrade.
Post by: jeremy on August 24, 2004, 12:00:00 AM
Has anyone created a custom SME Install ISO with the updated kernel and updated RPMs?
Title: Howto Kernel upgrade.
Post by: ricrjhl on August 24, 2004, 09:37:16 AM
Quote from: "MasterSleepy"
Thanks for feedback.

I'll look for that problem.

regards


Maybe something else to look into also is IPV6 support. Seems it has been removen from the 2.4.27mstslp-02 version. Previous versions included it. I use IPV6 on my sme machine (thru www.sixxs.com). Mainly as an experiment.

Ricrjhl.
Title: Howto Kernel upgrade.
Post by: jeremy on August 24, 2004, 05:09:26 PM
cc_skavenger,

    You posted two links to custom ISOs, and all of a sudden the links have disappeared, as has your message which pointed to them.

    I was right in the middle of downloading the two ISOs.  What happened?  Any chance of putting them back up ... somewhere?
Title: ISO post
Post by: cc_skavenger on August 24, 2004, 05:22:43 PM
Sorry,

The ISO's do not work.  The initrd image is missing from the kernel rpm that MasterSleepy created and once installed, the system will not boot.  You only get the dreaded LI error.  I am working on fixing this problem.  

Marco
Title: Howto Kernel upgrade.
Post by: jeremy on August 24, 2004, 05:24:06 PM
cc_skavenger,

Oh.  Whenever they are ready, let me know.  I would like to test them both out.
Title: Kernel
Post by: cc_skavenger on August 24, 2004, 11:40:33 PM
MasterSleepy,
Are you applying any patches to the kernels before creating the rpm?

Thanks
Marco
Title: Howto Kernel upgrade.
Post by: MasterSleepy on August 25, 2004, 06:31:27 AM
Hi Marco,

Yes I apply some patch.
For pptp (vpn), i2c(sensors), iptables(firewall), freeswan(ipsec).

Regards
Title: Howto Kernel upgrade.
Post by: jeremy on September 04, 2004, 04:19:22 AM
Any progress on ISOs based on more recent kernel versions?
Title: Howto Kernel upgrade.
Post by: MikeT on September 05, 2004, 12:03:50 AM
After the kernel upgrade the system boots and networks over a lan fine.  But on issuing the lilo command at the command prompt the response is: Fatal: open /boot/initrd-2.4.27mstslp-02.img :No such file or directory
Does this mean no initrd in the kernel?  Can this problem be fixed? These are Newbie questions I know.
Title: Howto Kernel upgrade.
Post by: arne on September 08, 2004, 03:16:49 AM
I tried to make a kernel upgrade at my test server. It's an old K6-2 450 with 256 MB ram and SME 6.0.1-01

Before the kernel upgrade I made a PHP upgrade to 4.3.8 No error with this.

No error during this prosess and I think I did everything according to the web page. Used the -27 single prosessor installation.

After I had made the upgrade, I got 3 choices in lilo, The old single pros, the new -27 and the old multiprossessor. he old singkle pross is still default. Don't know why.

The old boot images work like before. If I choose the new image, I can see that the new kernel starts booting, then it crashes, and the PC reboots.

Any idea how to troubleshoot this ?

Could it be so simple that the hardware is just to old for the new kernel ? Could it help to choose the -26 kernel instead ??

Best reg Arne
Title: Howto Kernel upgrade.
Post by: MasterSleepy on September 08, 2004, 08:01:11 AM
Hello,

I have several problem with version 2.4.27 of the kernel.
I still looking to solve all problem and come back when I have the beginning of the solution.

regards.
Title: Howto Kernel upgrade.
Post by: arne on September 08, 2004, 11:16:16 AM
OK, thanks a lot. Think I will try -26 as well. Will reprot if it should work. (Guess the installation procedures etc are the same.)

Arne.
Title: Howto Kernel upgrade.
Post by: arne on September 08, 2004, 11:59:30 AM
I removed kernel .27 and installed .26 as a replacement. The old K6-2 were quite happy with that. PC now boots with no vissible error with the .26 kernel:

[root@blackie /]# uname -a
Linux blackie 2.4.26mstslp-03 #2 Mon Jun 7 04:33:29 CEST 2004 i586 unknown

I guess that the .26 already have the nice things like the string inspection function.

Is there any good reason to upgrade to .27 again when this is stable  ?

By the way .. Thanks a lot - I would never believe that I should replace the kernel on the 6.0.1 and I would certainly not be able to do it allone and by myself from scratch   :lol:
Title: Howto Kernel upgrade.
Post by: arne on September 09, 2004, 10:54:27 PM
For your info:

I did the php upgrade just before the kernel upgrade. Then discovered that the php function did not work after the kernel upgrade.

Then made this "repair procedure":

Rebooted from installation CD and choosed "upgrade".

(Even though this was the same CD I used for the orginal installation.)

This removed the PHP mod but not the kernel upgrade.

The PC now runs with the orginal PHP rpm and the new .26 kernel from mr Sleepy. Seems to be working ok, togeteher with the orginal PHP.

Find this "incompability" between the PHP and the kernel mod rather strange and difficult to understand.

If anybody else should experience such a problem or if have any theories about this, please leave a msg. (Because it could be something like just fingertrouble from my side.)

Arne.
Title: Howto Kernel upgrade.
Post by: MasterSleepy on September 13, 2004, 08:41:04 AM
Hello every one,

Here is the last version of the kernel.
Documentation have been updated.
Howto upgrade kernel  (http://www.vanhees.cc/index.php?module=ContentExpress&func=display&ceid=18&meid=)

Please use it with caution.
Feedback will be appreciate.

Regards.
Title: Howto Kernel upgrade.
Post by: smeghead on September 13, 2004, 09:05:24 PM
Hi MasterSleepy, love ya work :-)

If you can 'roll' the SMP version then my test Compaq DL380 will be very happy to test it out for you (and everyone else).

Could you please post the list options compiled into these new kernels (particulaly if PPTP is in or out)

TIA
Title: Howto Kernel upgrade.
Post by: MasterSleepy on September 14, 2004, 10:51:02 AM
Hello smeghead,

Here is the SMP version, thanks for testing
http://www.vanhees.cc/modules.php?op=modload&name=Downloads&file=index&req=viewdownloaddetails&lid=231&ttitle=kernel-2.4.27mstslp04SMP-1.i386.rpm

Regards.
Title: Howto Kernel upgrade.
Post by: smeghead on September 15, 2004, 07:35:30 PM
.. well after a coupla typos (doh!) I got it installed and booting, buutttt, I seem to have an iptable issue with some apparent missing lib modules being reported in the messages log.

The test server is now effectively isolated when using this kernel due to the firewall config being faulty.  It works fine on the orig kernel.

I have an extract of the log file but its 960 lines so rather than clutter up the forum with a huge post I will sen it to you as an email attachement of list if you give me an address to send it to.

Recently, I have been playing around with writing a script to install Public DNS and this makes some changes to the firewall itself (open port 53) so I am gonna do a reload of the test server just to be sure this hasn't contributed to the problem.

If you wish to contact me off list to get the file then use smeghead$at$gfitc$com$au.

HTH
Title: Howto Kernel upgrade.
Post by: cc_skavenger on September 15, 2004, 10:19:49 PM
Same here on the "isolated server".  Thought it was something I had done.  Tried three times, once on a remote server....had to pick it up, LOL.
Title: Howto Kernel upgrade.
Post by: jeremy on September 17, 2004, 05:15:06 AM
Is anyone still working on rolling kernel updates into a new installation ISO?
Title: Howto Kernel upgrade.
Post by: arne on September 18, 2004, 07:55:24 AM
Made a new effort to install the newest .27.04 kernel on my K2-2 450 test server.

It apeared that the .27 kernel vere not able to run 1 second. It craches before it can even give one error message. When I try to boot the machine on the .27 kernel it just reboot and reboot.

Then removed the .27 kernel and installed .26

This time the .26 worked without a problem. Then made a upgrade of the php installation.

This time the .26 and the PHP upgrade worked without a problem.

First time I tried this installation, I used en exisisting server with a lot of datas and some modifications. I also made the PHP mod before the kernel mod. PHP did not work after the mod.

This time I used a fresh installed and unmodified 6.0.1 and I started with the kernel as the first mod and then the php as the second upgrade.

Sems to be working ok for the .26 kernel. For the .27 kernel it did not work at all.
Title: Howto Kernel upgrade.
Post by: MasterSleepy on September 19, 2004, 08:19:53 PM
Hello,

I still looking for the problem.
I have build new test version but waiting for iptables packages.

It will arrive during next week.

Regards.
Title: Still ppp error in kernel-2.4.27mstslp04SMP-1
Post by: psc on September 20, 2004, 07:39:29 AM
Hi,
i still have the ppp error in the new version.
--------------------------------------------------
Sep 20 07:30:58 gateway modprobe: modprobe: Can't locate module eth1
Sep 20 07:30:58 gateway modprobe: modprobe: Can't locate module eth1
Sep 20 07:30:58 gateway modprobe: modprobe: Can't locate module char-major-108
Sep 20 07:30:58 gateway pppd[11650]: This system lacks kernel support for PPP.  This could be because the PPP kernel module could not be loaded, or because PPP was not included in the kernel configuration.  If PPP was included as a module, try /sbin/modprobe -v ppp'.  If that fails, check that ppp.o exists in /lib/modules/uname -r/net. See README.linux file in the ppp distribution for more details.
--------------------------------------------------

Best
Peter
Title: Still ppp error in kernel-2.4.27mstslp04SMP-1
Post by: psc on September 22, 2004, 02:18:45 PM
Part sloved:

I removed all "ppp" entries in /etc/modules.conf:
The /etc/e-smith/templates/etc/modules.conf/10ppp have to look like this:
-----------------
{
    # Obsolete the aliasing of ppp module name if we find it
    # We no longer need to use the alias, we use a module
    # search path instead
    @lines = grep { !/^alias ppp ppp-4mppe$/ } @lines;
    foreach my $line
        (
#not needed "alias ppp ppp_generic",
            "alias char-major-108 ppp",
#old:       "alias /dev/ppp ppp",
            "alias /dev/ppp ppp_generic",
            "alias tty-ldisc-3 ppp_async",
            "alias tty-ldisc-14 ppp_synctty",
        )
    {
        unless (exists $lines{$line})
        {
            push @lines, $line;
        }
    }
    "";
}
--------------------------------

Now the Kernel works without errors, PPPOE is started on connect ... but some other problem occur, squid fails to start, no connection to the internet at all.