Guru meditation with 9Front

Discussions about using non Windows and Linux guests such as FreeBSD, DOS, OS/2, OpenBSD, etc.
Post Reply
peterhull90
Posts: 25
Joined: 15. Feb 2014, 10:43

Guru meditation with 9Front

Post by peterhull90 »

9Front (64 bit) doesn't boot any more, giving a Guru Meditation error. I appreciate 9front is not mainstream and therefore not a priority for VirtualBox but, it has worked fine in the past and (correct me if I'm wrong) guru meditation means a crash in VirtualBox itself which shouldn't happen.

Using Version 7.0.8 r156879 on Windows 11, and 9Front from 9front-9442.0e66f87316e571f7edf5274369ec69a5905507aa.amd64.iso
 Edit:  Further information - it will boot if I use option "*nomtrr=" to 9front's boot system - this disables use of memory type range registers, which implies maybe VirtualBox's concept of MTRR doesn't agree with 9front. 
Attachments
VBox.png
VBox.png (10.79 KiB) Viewed 8663 times
Last edited by peterhull90 on 19. May 2023, 13:15, edited 1 time in total.
peterhull90
Posts: 25
Joined: 15. Feb 2014, 10:43

Re: Guru meditation with 9Front

Post by peterhull90 »

Log (didn't attach first time, I had to zip it)
Attachments
VBox-log.zip
(58.67 KiB) Downloaded 60 times
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Guru meditation with 9Front

Post by scottgus1 »

If I read the log correctly, the VM booted from the CD-ROM and did not touch the hard disk.

However, host Hyper-V is enabled and the VM is using only one processor. Some Linux VMs avoid kernel panics on host-Hyper-V-enabled Virtualbox by using 2 processors. Try 2 in your VM.
peterhull90
Posts: 25
Joined: 15. Feb 2014, 10:43

Re: Guru meditation with 9Front

Post by peterhull90 »

Correct, 9front has an bootable 'live' CD (I gave the filename of it in my first post) which allows you to try it and then install to HD if desired. But it fails to start the kernel so we don't get as far as installing.

I tried with 2 CPUs and it did the same thing (would it help to have the log from that?)

Thanks for getting back to me so quickly.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Guru meditation with 9Front

Post by scottgus1 »

peterhull90 wrote:would it help to have the log from that?
It may, but I wouldn't know what else to do with it. Posting the logs on the Bugtracker may help the devs, since 9Front worked before, so a bug may have crept in.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Guru meditation with 9Front

Post by fth0 »

9front probably is too sophisticated an OS to being run by a simple hypervisor like VirtualBox, especially when the latter is running in a Hyper-V L1 Root partition. ;)
javispedro
Posts: 58
Joined: 29. Jan 2022, 15:31
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: Old & New Windows, Linux

Re: Guru meditation with 9Front

Post by javispedro »

It boots here with 2 CPU cores, under a Linux host (so no HyperV).
Edit: yes, 7.0.8.
Last edited by javispedro on 20. May 2023, 14:38, edited 1 time in total.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Guru meditation with 9Front

Post by scottgus1 »

Thanks for the info, Javispedro! If Javis is also running 7.0.8, this might indicate that Virtualbox is OK and Hyper-V is interfering.
peterhull90 wrote:it has worked fine in the past
A good question to answer might be, was host Hyper-V enabled in the past? Possibly unanswerable, but if you can remember between then and now, were there any major host OS Feature Updates (the big every-six-months ones), especially recently, then maybe Hyper-V got enabled. HMR3Init: Attempting fall back to NEM (Hyper-V is active)
peterhull90
Posts: 25
Joined: 15. Feb 2014, 10:43

Re: Guru meditation with 9Front

Post by peterhull90 »

Apologies for the delay.

I don't have Hyper-V per se installed on my new laptop but I've got windows 11 with the 'memory integrity' feature enabled, which (as I understand it) activates Microsoft's virtualisation.

I had 9front working on my previous laptop which did not have this enabled therefore it's very likely this is the reason.

I tried installing the actual Hyper-V client temporarily and actually that ran 9front without issues, so I guess it's not a fundamental issue with the virtualisation.

This is beyond my knowledge but I found a similar looking report on BHyve here which seemed to be suggesting some issue with the MTRR - and maybe the same issue is affecting VB?

I guess filing a bug in the bugtracker would be my best option?
multiOS
Volunteer
Posts: 800
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: WIN11,10, 7, Linux (various)
Location: United Kingdom

Re: Guru meditation with 9Front

Post by multiOS »

The 'conflict' between Microsoft Hyper-V and/or Virtualisation Based Security features and VirtualBox is a well known issue. See the VirtualBox User Manual (Version 7.0.8 ) Section 15.2 Known Issues second bullet point, so I suspect another Bugtracker Ticket is unlikely to be necessary.

You could also follow action suggested this Guide: viewtopic.php?f=25&t=99390 which might help.
Post Reply