EC2 instance unresponsive

0

An EC2 instance has suddenly become unresponsive. I can no longer access it over ssh (it has an elastic IP), so I'm sure that this is ok. I rebooted it, stopped and started it multiple times. I've also tried to connect to it over the console, but that doesn't work either.

This is the systems log:

Press any key to continue...

[ 0.041250] RETBleed: WARNING: Spectre v2 mitigation leaves CPU vulnerable to RETBleed attacks, data leaks possible! [ 0.291435] /dev/root: Can't open blockdev [ 0.291981] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 0.292942] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.1.55-75.123.amzn2023.x86_64 #1 [ 0.293835] Hardware name: Amazon EC2 t3.small/, BIOS 1.0 10/16/2017 [ 0.294533] Call Trace: [ 0.294823] <TASK> [ 0.295080] dump_stack_lvl+0x34/0x48 [ 0.295501] panic+0x107/0x2a0 [ 0.295853] mount_block_root+0x13f/0x1d9 [ 0.296288] prepare_namespace+0x13b/0x16a [ 0.296737] kernel_init_freeable+0x171/0x196 [ 0.297279] ? rest_init+0xd0/0xd0 [ 0.297686] kernel_init+0x16/0x130 [ 0.298105] ret_from_fork+0x22/0x30 [ 0.298556] </TASK> [ 0.298945] Kernel Offset: 0x29000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 0.463488] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---

asked 7 months ago240 views
1 Answer
0
Accepted Answer

On looking into the system logs, Observed the error Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0). Kindly follow the below knowledge center article which have steps that need to be followed for this error.

[+] https://repost.aws/knowledge-center/ec2-linux-kernel-panic-unable-mount [+] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstances.html#FilesystemKernel

After following the above knowledge center article, if you are still facing issue, kindly check the below knowledge center article which have steps on how to revert to a known stable kernel after an update prevents Amazon EC2 instance from rebooting successfully.

[+] https://repost.aws/knowledge-center/revert-stable-kernel-ec2-reboot

AWS
answered 7 months ago
profile picture
EXPERT
reviewed 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions