Kernel Panics help

General support questions
Post Reply
manuel.gonzalez
Posts: 2
Joined: 2021/03/25 19:54:28

Kernel Panics help

Post by manuel.gonzalez » 2021/03/25 20:11:50

Hello.

I have a computer with this characteristics:
Lenovo Core i5 2500 3.3Ghz x4, with 4GB RAM Kingston memories and a 500 gb SSD, the RAM and the ssd was purchased 2 years ago and the PC worked perfectly without issues until February when it began to have kernel panics.

After the first kerne panic I reinstalled the system and a few days before I have the same kernel panic, I reinstalled again the system and after a few days the same kernel panic. The computer works since 6 am and at 12am it was a crontab to hibernate the pc.

I reinstalled the system once again, so I thought the problem was the hibernation then I made a crontab job to shutdown the computer instead of hibernation at 12am and I a few days after I had this: 32 bit Relocation outside of kernel, System halted.

I attached the kernel panics photos on this Post. I had reinstalled the system again using a new SSD but honesty I think it will crash in a few days.

Hope some could help me.

Thanks.
Attachments
PHOTO-2021-03-18-07-51-26.jpg
PHOTO-2021-03-18-07-51-26.jpg (115.3 KiB) Viewed 904 times
PHOTO-2021-03-05-05-53-55.jpg
PHOTO-2021-03-05-05-53-55.jpg (123.86 KiB) Viewed 904 times

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Kernel Panics help

Post by TrevorH » 2021/03/25 23:11:55

Those are all the panics you get from an incomplete yum update where it gets interrupted between installing the kernel and adding it to grub and generating the initramfs file for that kernel which is done in a later phase. Just select the older kernel from the grub menu and then yum reinstall the failing kernel by full version number like yum reinstall kernel-3.10.0-15.2.el7.x86_64

Same crash could also be caused by e.g. lack of disk space in /boot but I think yum would error and tell you about that.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

manuel.gonzalez
Posts: 2
Joined: 2021/03/25 19:54:28

Re: Kernel Panics help

Post by manuel.gonzalez » 2021/03/26 01:08:27

i will try what you said next time it will happen, I have some doubts:

kernel-3.10.0-15.2.el7.x86_64 was my installed kernel, it was unattended and as far as I know I have to check the checkbox in order the update to be installed is that right?

If an update was installed the 15.2 of the kernel should be a different number right?

Thanks

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Kernel Panics help

Post by TrevorH » 2021/03/26 02:51:14

In both your screenshots it says that the initramfs file is corrupt. How it's getting corrupt is what you need to find out. Nothing should touch that file except for kernel updates and each kernel update uses its own separately named file with the kernel version number in it. I'd suggest looking at the dates and times on those files in /boot/initramfs* and seeing what happened on or around the time they were made. Really the file should be created when you install that kernel and then it should never be touched ever again.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply