Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started 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.
-
Error:
# 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
-
Hi
In your lilo.conf try typing something smaller than the label I type
Like : SMEserver2425
That should work
Regards
-
Thanks, I've been waiting for mod string for quite sometime, maybe now i can try to filter kazaa.
-
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
-
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
-
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.
-
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,
-
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 ?
-
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
-
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.
-
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
-
The smp version is there
kernel-2.4.27mstslpsmp01-2.i386.rpm
-
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
-
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.
-
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
-
You are right, I teste by connecting directly to the teste server.
try the following command at the command line :
/sbin/iptables --append INPUT -p GRE -j ACCEPT
But normally nothing have change with firewall rules.
Regards.
-
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
-
interesting, cuz im having the same problems with vpn after a kernel upgrade
-
Great thanks to cc_skavenger,
New kernel have a problem with some patch from netfilter.
I look to solve that.
Regards,
-
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
-
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.
-
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?
-
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.
-
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
-
Hello danny,
I've include the freeswan kernel patch in this futur kernel.
Regards.
-
MasterSleepy,
Any ideas on this?
http://Contribs.org/viewtopic.php?t=23503
-
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.
-
SMP version of the kernel is not done.
I'm waiting for feedback of UP version to compile SMP version.
Regs
-
Downloading it now, will let you know in a couple of hours....
Thanks for the serious effort you have been putting into this!
Marco
-
Ninety downloads of the kernel upgrade, here's one thank you MasterSleepy. Looking forward to learning how to do it.
Regards. :-)
-
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.
-
Thanks for feedback.
I'll look for that problem.
regards
-
Has anyone created a custom SME Install ISO with the updated kernel and updated RPMs?
-
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.
-
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?
-
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
-
cc_skavenger,
Oh. Whenever they are ready, let me know. I would like to test them both out.
-
MasterSleepy,
Are you applying any patches to the kernels before creating the rpm?
Thanks
Marco
-
Hi Marco,
Yes I apply some patch.
For pptp (vpn), i2c(sensors), iptables(firewall), freeswan(ipsec).
Regards
-
Any progress on ISOs based on more recent kernel versions?
-
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.
-
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
-
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.
-
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.
-
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:
-
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.
-
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.
-
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
-
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.
-
.. 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
-
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.
-
Is anyone still working on rolling kernel updates into a new installation ISO?
-
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.
-
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.
-
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
-
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.