Koozali.org: home of the SME Server

Howto Kernel upgrade.

Offline arne

  • ****
  • 1,116
  • +0/-4
Howto Kernel upgrade.
« Reply #45 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:
......

Offline arne

  • ****
  • 1,116
  • +0/-4
Howto Kernel upgrade.
« Reply #46 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.
......

Offline MasterSleepy

  • *
  • 386
  • +0/-0
    • http://www.vanhees.cc
Howto Kernel upgrade.
« Reply #47 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

Please use it with caution.
Feedback will be appreciate.

Regards.

Offline smeghead

  • *
  • 557
  • +0/-0
Howto Kernel upgrade.
« Reply #48 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
..................

Offline MasterSleepy

  • *
  • 386
  • +0/-0
    • http://www.vanhees.cc
Howto Kernel upgrade.
« Reply #49 on: September 14, 2004, 10:51:02 AM »

Offline smeghead

  • *
  • 557
  • +0/-0
Howto Kernel upgrade.
« Reply #50 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
..................

cc_skavenger

Howto Kernel upgrade.
« Reply #51 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.

jeremy

Howto Kernel upgrade.
« Reply #52 on: September 17, 2004, 05:15:06 AM »
Is anyone still working on rolling kernel updates into a new installation ISO?

Offline arne

  • ****
  • 1,116
  • +0/-4
Howto Kernel upgrade.
« Reply #53 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.
......

Offline MasterSleepy

  • *
  • 386
  • +0/-0
    • http://www.vanhees.cc
Howto Kernel upgrade.
« Reply #54 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.

Offline psc

  • *
  • 151
  • +0/-0
Still ppp error in kernel-2.4.27mstslp04SMP-1
« Reply #55 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
First, solve the problem. Then, write the code.

Offline psc

  • *
  • 151
  • +0/-0
Still ppp error in kernel-2.4.27mstslp04SMP-1
« Reply #56 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.
First, solve the problem. Then, write the code.