OpenVZ Forum


Home » General » Support » *SOLVED* Centos 5 - doesn't boot after yum update
*SOLVED* Centos 5 - doesn't boot after yum update [message #25672] Sun, 06 January 2008 23:12 Go to next message
fgomes is currently offline  fgomes
Messages: 29
Registered: August 2006
Junior Member
I was using kernel OpenVZ (2.6.18-8.1.8.el5.028stab039.1). Today I made a yum update, and two new kernels were installed:

CentOS (2.6.18-53.1.4.el5)
OpenVZ (2.6.18-53.el5.028stab051.1)

If I boot from the first (CentOS), the server boots but OpenVZ doesn't work (this is expected, since this is the standard CentOS kernel), but if I boot from the second configuration (2.6.18-53.el5.028stab051.1), the server doesn't boot, it hangs during the boot process. Any idea in what might be wrong?

Thanks

Fernando

[Updated on: Fri, 11 January 2008 11:25] by Moderator

Report message to a moderator

Re: Centos 5 - doesn't boot after yum update [message #25674 is a reply to message #25672] Mon, 07 January 2008 00:16 Go to previous messageGo to next message
ugob is currently offline  ugob
Messages: 271
Registered: March 2007
Senior Member
Do you have access to the console? Any special error message?

Please read the manual before asking questions:
http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf

Please have a look at the wiki before asking questions:
http://wiki.openvz.org/Main_Page
Re: Centos 5 - doesn't boot after yum update [message #25675 is a reply to message #25674] Mon, 07 January 2008 00:39 Go to previous messageGo to next message
fgomes is currently offline  fgomes
Messages: 29
Registered: August 2006
Junior Member
The last line I see on the console is this:

input: AT Translated Set 2 keyboard as /class/input/input0

It seems strange that there are no messages in the /var/log/messages for every boot with this kernel

Before this message there are a couple of them that seems like a problem exists, but they also occur when it boots well with a different kernel:

powernow-k8: MP systems not supported by PSB BIOS structure
powernow-k8: MP systems not supported by PSB BIOS structure
powernow-k8: MP systems not supported by PSB BIOS structure
powernow-k8: MP systems not supported by PSB BIOS structure

Please let me know if you need any additional information

Best regards

Fernando
Re: Centos 5 - doesn't boot after yum update [message #25866 is a reply to message #25675] Wed, 09 January 2008 23:14 Go to previous messageGo to next message
fgomes is currently offline  fgomes
Messages: 29
Registered: August 2006
Junior Member
Hi, is there any additional information I can provide to diagnose the problem? Do you suggest any test? The system is a dual opteron dual core with a 3Ware RAID controller, after the last yum update it boots from CentOS stock kernel, but not from the OpenVZ kernel.

Thanks in advance!
Re: Centos 5 - doesn't boot after yum update [message #25869 is a reply to message #25866] Thu, 10 January 2008 00:52 Go to previous messageGo to next message
ugob is currently offline  ugob
Messages: 271
Registered: March 2007
Senior Member
Maybe more lines of the console when it hangs. You could also try booting different kernels, http://download.openvz.org/kernel/

Please read the manual before asking questions:
http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf

Please have a look at the wiki before asking questions:
http://wiki.openvz.org/Main_Page
Re: Centos 5 - doesn't boot after yum update [message #25873 is a reply to message #25672] Thu, 10 January 2008 07:23 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

press AltSysRq-p multiple times and AltSysRq-T. does it print some info? if yes, need to collect it (e.g. via serial line console or netconsole)


http://static.openvz.org/userbars/openvz-developer.png
Re: Centos 5 - doesn't boot after yum update [message #25876 is a reply to message #25873] Thu, 10 January 2008 07:55 Go to previous messageGo to next message
vaverin is currently offline  vaverin
Messages: 708
Registered: September 2005
Senior Member
I would ask you to add "debug" and option into the kernel commandline.
Also You can add "noapic" option -- it can help you resolve this issue.
Re: Centos 5 - doesn't boot after yum update [message #25906 is a reply to message #25869] Thu, 10 January 2008 15:42 Go to previous messageGo to next message
fgomes is currently offline  fgomes
Messages: 29
Registered: August 2006
Junior Member
I will try to get the log by the serial port, as it doesn't record anything in the /var/log/messages.

The system boots well with the newer CentOS/RedHat kernel (2.6.18-53.1.4), is there any plan to have a OpenVZ kernel based on that version? Is it different from the current OpenVZ kernel 2.6.18-53.el5.028stab051.1?

And what are the differences between the "OpenVZ RHEL5 kernel" versions (all based on the 2.6.18 kernel) and the "OpenVZ 2.6.18" kernel.

The kernel that hangs is the following:
ovzkernel-2.6.18-53.el5.028stab051.1.x86_64.rpm
Do you recommend trying with this instead?
kernel-smp-2.6.18-ovz028stab051.1.x86_64.rpm

Thanks!

Fernando
Re: Centos 5 - doesn't boot after yum update [message #25910 is a reply to message #25906] Thu, 10 January 2008 17:49 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

Aha! Can you please check whether CentOS/RedHat kernel 2.6.18-53 (not 53.1.4) boot fine? If the problem is fixed somewhere between 53 -> 53.1.4, then I will provide a kernel based on 53.1.4 to you and the bug will most likely will go away.

Answering your questions:
1. 2.6.18-53.el5.028stab051.1 is based on 2.6.18-53.el5, not 53.1.4

2. And what are the differences between the "OpenVZ RHEL5 kernel" versions (all based on the 2.6.18 kernel) and the "OpenVZ 2.6.18" kernel.

The difference in RHEL5 patches. "OpenVZ 2.6.18" is based on mainstream kernel which is not updated by no one. "RHEL5 2.6.18 OpenVZ" kernel is based on RHEL5 kernel which in turn is based on 2.6.18 mainstream kernel and is updated by RedHat (security fixes, drivers, bugs, etc.).
So RHEL5 is preferebal for production usage.

3. The kernel that hangs is the following:
ovzkernel-2.6.18-53.el5.028stab051.1.x86_64.rpm
Do you recommend trying with this instead?
kernel-smp-2.6.18-ovz028stab051.1.x86_64.rpm

well. you can try Smile it can help us to resolve the problem if (1) won't help.


http://static.openvz.org/userbars/openvz-developer.png
Re: Centos 5 - doesn't boot after yum update [message #25924 is a reply to message #25910] Fri, 11 January 2008 09:09 Go to previous messageGo to next message
fgomes is currently offline  fgomes
Messages: 29
Registered: August 2006
Junior Member
Thanks for all your help!

Just to keep all informed of the situation (it might be usefull to others). Using exactly the same version of the CentOS kernel as suggested by dev works, so it wasn't some incompatibility with this specific version (2.6.18-53). While trying to install different kernel versions, to figure what kernel has problems in my server, I had to remove the current OpenVZ kernel in order to be able to install previous versions. When I used yum to remove the kernel, I saw it was removing the x86_64 _AND_ the i686 version of the same kernel Confused
I removed both and reinstall only the x86_64 from RPM and it worked as expected... So the initial problem was that the yum update installed both x86_64 and the i686 kernels...

Once again thanks for all your help!

Fernando

[Updated on: Fri, 11 January 2008 10:49]

Report message to a moderator

Re: Centos 5 - doesn't boot after yum update [message #25926 is a reply to message #25924] Fri, 11 January 2008 11:25 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

ohh. glad to hear it was finally resolved!
Thanks for spending your time and writing this info for others and me.


http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: create OS tempalte for RHEL 5?
Next Topic: *SOLVED* bash: relocation error
Goto Forum:
  


Current Time: Thu Mar 28 17:35:20 GMT 2024

Total time taken to generate the page: 0.01753 seconds