LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 09-28-2022, 09:48 AM   #1
nicktf
LQ Newbie
 
Registered: Sep 2022
Posts: 3

Rep: Reputation: 0
Stable system now wont boot 'kernel panic' !


Hi,

My linux system fails to boot after a blip in the power. Upon boot it jumps to a grub screen, which if I select advanced options I get
*Ubuntu 18.04.6..... with Linux 4.15.0-189-generic, and the same kernel with recovery options.
Hitting the recovery, gives a kernel boot that ends very early with a 'Kernel panic - not syncing: timer doesnt work through interupt remapped IO-APCI'

I dont really understand what this means or how to get a system that has been fine for the last year working again!

Any help really appreciated

Thanks

nick
 
Old 09-28-2022, 11:05 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Welcome to the forums!

Is there another kernel you could try?

Generally, you should boot from an external media and run fsck on all your filesystems. Also I'd run smartctl test on hard drive. Then further decisions can be made depending on outcome. Perhaps the drive is dying and needs to be replaced, in this case you should make sure your backup is current and replace the drive. It may be the drive is OK and the power outage caused filesystem corruption, in this case the easiest may be reinstall or restoring from backup if you have full backup made. There may be other ways, for instance booting from external media, chrooting into your system and reinstalling kernel. It all depends on what got corrupted and why, is it only power outage related or the drive is also failing.
 
1 members found this post helpful.
Old 09-29-2022, 11:36 AM   #3
nicktf
LQ Newbie
 
Registered: Sep 2022
Posts: 3

Original Poster
Rep: Reputation: 0
Hi Emerson,

Thanks for taking the time to help!

I have booted to the live usb distro which can see and mount the disk. Running fsck on the disk comes up with it being 'clean'. Looking around I found a post that recommended something called 'testdisk' which takes a deeper look this also found no problems. Not quite sure what else to look for, corrupted grub file?

nick
 
Old 09-29-2022, 12:08 PM   #4
elgrandeperro
Member
 
Registered: Apr 2021
Posts: 415
Blog Entries: 2

Rep: Reputation: Disabled
Going back to the panic, that is APIC mode not being enabled (in BIOS). I wonder if the power outage disabled APIC mode?

One can boot with the noapic option on the grub line to avoid this but a modern computer should have APIC mode but the panic is definitely a mismatch of grub options and BIOS apic mode.
 
Old 09-30-2022, 10:17 AM   #5
nicktf
LQ Newbie
 
Registered: Sep 2022
Posts: 3

Original Poster
Rep: Reputation: 0
Hi,

Thanks to both of you for taking the time to provide helpful advice

My box is a 2011 dell optiplex, that does not support apci, but various bios tweaks for power management.

The bios settings all looked ok but I decided to reset to defaults any way. This then enabled the recovery kernel to run, after which the standard kernel came up.

So not quite sure if the bios had an issue or whether fsck/testdisk fixed something, end result is I am a happy chappy again

Regards

nick
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] System wont boot - Kernel Panic Error dalgrim Slackware 11 10-13-2015 06:36 AM
Stable 13 kernel vs Current kernel in Stable system linus72 Slackware 6 04-01-2010 07:45 AM
stable:2.6.32.7 from kernel.org is really stable? miros84 Linux - Software 2 02-02-2010 01:44 AM
Kernel Panic / System wont boot phatboyz Linux - Hardware 5 01-25-2005 07:39 AM
Installing KDE3.1.3 on stable system using the "stable" mirror at download.kde.org preben Debian 8 08-28-2003 07:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration