OpenVZ Forum


Home » General » Support » Kernel Problem
Kernel Problem [message #15678] Thu, 09 August 2007 20:11 Go to next message
SixtyClear is currently offline  SixtyClear
Messages: 6
Registered: July 2007
Location: Hampshire, UK
Junior Member

I am trying to install the x64 kernel on a x64 copy of CentOS 4.5

However it fails, and outputs the following, any idea on a fix, or advice.

[root@node01 ~]# rpm -ihv http://download.openvz.org/kernel/branches/2.6.18/028stab039.1/kernel-smp-2.6.18-ovz028stab039.1.x86_64.rpm
Retrieving http://download.openvz.org/kernel/branches/2.6.18/028stab039.1/kernel-smp-2.6.18-ovz028stab039.1.x86_64.rpm
Preparing...                ########################################### [100%]
   1:kernel-smp             ########################################### [100%]
/sbin/mkinitrd: line 102: [: =: unary operator expected
/sbin/mkinitrd: line 102: [: =: unary operator expected
/sbin/mkinitrd: line 102: [: =: unary operator expected
/sbin/new-kernel-pkg: line 200:  3189 Segmentation fault      /sbin/mkinitrd --allow-missing -f $initrdfile $version
mkinitrd failed
error: %post(kernel-smp-2.6.18-ovz028stab039.1.x86_64) scriptlet failed, exit status 1
Re: Kernel Problem [message #15679 is a reply to message #15678] Thu, 09 August 2007 21:50 Go to previous messageGo to next message
tanfwc is currently offline  tanfwc
Messages: 18
Registered: November 2006
Junior Member
does it return anything if you type this?

which mkinitrd


http://static.openvz.org/userbars/openvz-user.png
Re: Kernel Problem [message #15680 is a reply to message #15678] Thu, 09 August 2007 21:55 Go to previous messageGo to next message
dougy is currently offline  dougy
Messages: 5
Registered: August 2007
Junior Member
[root@node01 ~]# which mkinitrd
/sbin/mkinitrd

Sixtyclear just posted it for me as he was doing the setup on the server for me.

[Updated on: Thu, 09 August 2007 21:57]

Report message to a moderator

Re: Kernel Problem [message #15681 is a reply to message #15678] Thu, 09 August 2007 21:58 Go to previous messageGo to next message
tanfwc is currently offline  tanfwc
Messages: 18
Registered: November 2006
Junior Member
it seems to be a bug. You might want to file a bug report on this.

http://bugzilla.openvz.org

Anyway, you might want to install the 32 bit kernel first?


http://static.openvz.org/userbars/openvz-user.png
Re: Kernel Problem [message #15682 is a reply to message #15681] Thu, 09 August 2007 21:59 Go to previous messageGo to next message
dougy is currently offline  dougy
Messages: 5
Registered: August 2007
Junior Member
tanfwc wrote on Thu, 09 August 2007 17:58

it seems to be a bug. You might want to file a bug report on this.

http://bugzilla.openvz.org

Anyway, you might want to install the 32 bit kernel first?


I was told big performance decrease, being that it's an Athlon X2 4200+.
Re: Kernel Problem [message #15683 is a reply to message #15678] Thu, 09 August 2007 22:03 Go to previous messageGo to next message
tanfwc is currently offline  tanfwc
Messages: 18
Registered: November 2006
Junior Member
how about trying 2.6.9 kernel?

Quote:

http://download.openvz.org/kernel/branches/rhel4-2.6.9/023st ab044.4/ovzkernel-smp-2.6.9-023stab044.4.x86_64.rpm


http://static.openvz.org/userbars/openvz-user.png
Re: Kernel Problem [message #15684 is a reply to message #15683] Thu, 09 August 2007 22:06 Go to previous messageGo to next message
dougy is currently offline  dougy
Messages: 5
Registered: August 2007
Junior Member
Seems smoother now. Smile I'll have the admin test.
Re: Kernel Problem [message #15685 is a reply to message #15684] Thu, 09 August 2007 22:09 Go to previous messageGo to next message
dougy is currently offline  dougy
Messages: 5
Registered: August 2007
Junior Member
http://download.openvz.org/kernel/branches/2.6.20/2.6.20-ovz 007.1/kernel-2.6.20-ovz007.1.x86_64.rpm

I tried that and it installed smoothly. This is a fresh install (trying to make OpenVZ work for the first time).
Re: Kernel Problem [message #15686 is a reply to message #15678] Thu, 09 August 2007 22:11 Go to previous messageGo to next message
tanfwc is currently offline  tanfwc
Messages: 18
Registered: November 2006
Junior Member
if you have more than 1 processor, it is better that you install smp support Smile

http://static.openvz.org/userbars/openvz-user.png
Re: Kernel Problem [message #15687 is a reply to message #15686] Thu, 09 August 2007 22:13 Go to previous messageGo to next message
dougy is currently offline  dougy
Messages: 5
Registered: August 2007
Junior Member
It's okay, I have to give up anyway as the kernel doesn't include NVIDIA NIC support.
Re: Kernel Problem [message #15688 is a reply to message #15678] Thu, 09 August 2007 22:29 Go to previous messageGo to next message
tanfwc is currently offline  tanfwc
Messages: 18
Registered: November 2006
Junior Member
alright. Enjoy your new openvz Smile

http://static.openvz.org/userbars/openvz-user.png
Re: Kernel Problem [message #15706 is a reply to message #15678] Fri, 10 August 2007 05:47 Go to previous message
vaverin is currently offline  vaverin
Messages: 708
Registered: September 2005
Senior Member
mkinitrd creates initrd image -- script that loads the drivers required for mounting root partition.
mkinitrd from CentOs4 distribution was tuned for RHEL4 (2.6.9) based kernels, knows nothing about more fresh kernels and therefore can fail on the some nodes.

If you wish to use 2.6.18 kenrels I would recommend you to install CehtOs 5 on HW node and then install RHEL5 based OpenVZ kernels.

ALso I would note that IMHO CentOs5 should support NVidia NIC on your node. And if it works on CentOs 5 kernel -- then it should works on the RHEL5-based OpenVz kernels too.

Thank you,
Vasily Averin
Previous Topic: VE stopped but IP already in use! Posibly BUG
Next Topic: Network problems
Goto Forum:
  


Current Time: Mon Aug 05 16:14:01 GMT 2024

Total time taken to generate the page: 0.05862 seconds