Koozali.org: home of the SME Server

Wrong kernel booting after yum update?

Offline stian

  • ***
  • 64
  • +0/-0
Wrong kernel booting after yum update?
« Reply #15 on: November 02, 2006, 08:35:20 AM »
Ok. But what bug should I report? That the kernel is labeled wrong at the bootloader or that the kernel 2.6.9-34.02 gives me kernel panic for my hardware raid?

mercyh: Yes it seems to work under the old SME 2.6.9-34 kernel, but the server is not in "production" so it is not very stressed...

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Wrong kernel booting after yum update?
« Reply #16 on: November 02, 2006, 03:58:07 PM »
In my opinion the kernel panic for your hardware raid is not a bug in SME. It is either a result of hardware that is not supported "out of the box" by CentOS or if the hardware is listed as supported it is a CentOS bug.

I don't know how much work you have done on customizing this server but it looks like if you want to use this hardware you will need to reinstall the current version from an ISO and build the driver like you did the first time. If I understand the directions from the areca website you will need to be sure and rebuild the driver for the correct kernel BEFORE you do any yum upgrades in the future.

On my end it looks like I need to reboot my server with the latest kernel  :oops:

Offline stian

  • ***
  • 64
  • +0/-0
Wrong kernel booting after yum update?
« Reply #17 on: November 02, 2006, 04:10:33 PM »
Is there by any chance any way to download an iso containing the updates? With the latest kernel included? That would solve my problem until the kernel is updated again.

I am not a linux expert and do not know how to rebuild the driver for the correct kernel while I am in the "old" kernel...

Can anyone maybe point me to some directions?

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Wrong kernel booting after yum update?
« Reply #18 on: November 02, 2006, 11:29:49 PM »
Not that I can really help, but what model card do you have ?

Also, you said the FAQ did not help..
Code: [Select]
a. Before they want to isntall 2.6.9-34.0.2EL, do a

mkdir -p /lib/modules/2.6.9-34.0.2EL/updates
cp -R /lib/modules/2.6.9-34.EL/updates/* /lib/modules/2.6.9-34.0.2EL/updates

b. now install the new 2.6.9-34.0.2EL kernel RPM


Was the 2.6.9-34.0.2 kernel already on the system before you did the above ?
Regards,
William

IF I give advise.. It's only if it was me....

Offline stian

  • ***
  • 64
  • +0/-0
Wrong kernel booting after yum update?
« Reply #19 on: November 03, 2006, 08:17:39 AM »
No, tried that before I did the yum update.

Offline stian

  • ***
  • 64
  • +0/-0
Wrong kernel booting after yum update?
« Reply #20 on: November 03, 2006, 11:27:23 AM »
Tried again now and saw this during the update:

Installing: kernel                       ##################### [  6/131]
WARNING: No module arcmsr found for kernel 2.6.9-34.0.2.EL, continuing anyway
Updating  : kernel-module-slip           ##################### [  7/131]

AND:

Installing: kernel-smp                   ##################### [  2/131]
WARNING: No module arcmsr found for kernel 2.6.9-34.0.2.ELsmp, continuing anyway
Updating  : chkconfig                    ##################### [  3/131]

And then I found out that it was a type error at the Areca support site...

They were missing a puncture between ...02EL. It should be ...02.EL.

So the correct commands for Smeserver should be:

mkdir -p /lib/modules/2.6.9-34.0.2.EL/updates

cp /lib/modules/2.6.9-34.EL/updates/* /lib/modules/2.6.9-34.0.2.EL/updates

mkdir -p /lib/modules/2.6.9-34.0.2.ELsmp/updates

cp /lib/modules/2.6.9-34.ELsmp/updates/* /lib/modules/2.6.9-34.0.2.ELsmp/updates

The server now boots up in the new kernel.... :-) :-) :-)

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Wrong kernel booting after yum update?
« Reply #21 on: November 03, 2006, 11:36:02 AM »
Very Good.

The next kernel sitting in the smeupdates-testing repo is 2.6.9-42.0.2.EL .

Hmm.. I wonder... ;)
Regards,
William

IF I give advise.. It's only if it was me....

Offline stian

  • ***
  • 64
  • +0/-0
Wrong kernel booting after yum update?
« Reply #22 on: November 03, 2006, 12:08:26 PM »
I`ll test it over the weekend.

Offline stian

  • ***
  • 64
  • +0/-0
Wrong kernel booting after yum update?
« Reply #23 on: November 08, 2006, 12:11:49 PM »
Works fine:

mkdir -p /lib/modules/2.6.9-42.0.2.EL/updates

cp /lib/modules/2.6.9-34.EL/updates/* /lib/modules/2.6.9-42.0.2.EL/updates

mkdir -p /lib/modules/2.6.9-42.0.2.ELsmp/updates

cp /lib/modules/2.6.9-34.ELsmp/updates/* /lib/modules/2.6.9-42.0.2.ELsmp/updates

Does anyone know if theres any chance for Areca Card-drivers to be build in to the kernel?

Offline del

  • *
  • 765
  • +0/-0
Wrong kernel booting after yum update?
« Reply #24 on: November 09, 2006, 12:51:10 AM »
Hi All,

I am sorry to butt in on this thread but I am easily confused :D If I run uname -a I get myserver 2.6.9-34EL is this the correct kernel for a single CPU system, the reason I am confused is I have tried most options at boot up because Asterisk doesn't start on boot since I did the last yum update (and I got a message yesterday telling me there were some more updates!) So I have completly lost myself as to what the kernel was booting before yum updated it :shock:

Regards,
Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Wrong kernel booting after yum update?
« Reply #25 on: November 09, 2006, 05:00:02 AM »
del

2.6.9-34.EL was the origional.

I you have a look at this thread it has the work around for your asterisk problem .... look at last post of mine.

http://forums.contribs.org/index.php?topic=33194.0

I have tested this with the new kernel as well and works fine.

Regards,

Tib

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Wrong kernel booting after yum update?
« Reply #26 on: November 09, 2006, 03:59:00 PM »
Quote
If I run uname -a I get myserver 2.6.9-34EL is this the correct kernel for a single CPU system


The latest kernel shows like this in the boot menu

CentOS 2.6.9-34.0.2 EL

(this is the single processor version)

I ran the latest update from 11/7/06 and did not get a kernel upgrade.

Part of what makes this so confusing is that the ISO (used for the initial install) identifies the kernel as SME and any kernel that is brought in as a yum update is labeled as CentOS.

If you would like to see this changed. Leave your thoughts on the bugtracker here.

http://bugs.contribs.org/show_bug.cgi?id=1996

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Wrong kernel booting after yum update?
« Reply #27 on: November 09, 2006, 04:03:42 PM »
Quote
So I have completly lost myself as to what the kernel was booting before yum updated it


Another thing to be aware of. Grub will not automatically boot the correct kernel after an update. It is setup to boot the kernel that updated last.

If you are running a multiprocessor system and the last kernel upgraded was the single processor kernel, the single processor kernel will boot.

See bug here;
http://bugs.contribs.org/show_bug.cgi?id=1930

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Wrong kernel booting after yum update?
« Reply #28 on: November 13, 2006, 09:50:43 PM »
Quote
I ran the latest update from 11/7/06 and did not get a kernel upgrade.


I have done some more research and find that there was an upgrade on the 11/7/06 update. However GRUB did not boot into the new kernel.

See newest thread here

http://forums.contribs.org/index.php?topic=34532.0

and bug here

http://bugs.contribs.org/show_bug.cgi?id=2061