Kernel Panic when booting Metasploitable 2

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Khloe_ruby
Posts: 2
Joined: 28. Jul 2022, 07:51

Kernel Panic when booting Metasploitable 2

Post by Khloe_ruby »

My host is Windows 11, and my guest is ubuntu(64bit)
I/O -APIC and PAE/NX is enabled
Error: Kernel panic - not syncing : Attempted to kill idle task
kernel panic.png
kernel panic.png (19.67 KiB) Viewed 7571 times
I've searched much, and tried to change the numbers of processors to 2
Then another error occured
Error: MP - BIOS bug : 8254 timer not connected to IO-APIC
MP BIOS bug.png
MP BIOS bug.png (5.53 KiB) Viewed 7571 times
Though it suggested me disabling the IOAPIC, IO/APIC is essential for more than one proccsors
If I change the number of processors to 1, the kernel panic error would occur again
Log file will be uploaded soon
One more question: Why can't I upload the log file?
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Kernel Panic when booting Metasploitable 2

Post by scottgus1 »

Khloe_ruby wrote:Why can't I upload the log file?
You can. Zipped log files can be uploaded using the forum's Upload Attachment tab from first day first post. In fact you were already at the correct spot, where you uploaded your pictures.
Khloe_ruby wrote:I/O -APIC and PAE/NX is enabled
Be sure you put the VM settings back where they were. Or even better, delete this VM and start fresh with a new VM. 2 processors in the VM is good.
Khloe_ruby wrote:Though it suggested me disabling the IOAPIC
Switching IO APIC is often bad for the installed VM OS. FWIW, the error message looks to me like it says to set the VM OS's GRUB boot switch to 'apic=debug' or to 'noapic', not adjusting the Virtualbox settings, which the OS designers would not ostensibly know about.

After resetting or making a new VM, run it, then right-click the guest in the main Virtualbox window's guest list, choose Show Log.

Search the far left tab's log for this text:

Attempting fall back to NEM

If you find it, Hyper-V is enabled. You have two options:

A. Try Virtualbox 6.1.36 and matching Extension Pack.

B. Turn off Hyper-V. See HMR3Init: Attempting fall back to NEM (Hyper-V is active).
Khloe_ruby
Posts: 2
Joined: 28. Jul 2022, 07:51

Re: Kernel Panic when booting Metasploitable 2

Post by Khloe_ruby »

Thanks very much!
Since the Hyper-V is not active, I simply installed the extension pack and reboot the computer.
Then it worked now.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Kernel Panic when booting Metasploitable 2

Post by scottgus1 »

Great! Glad you're up and running.
Post Reply