Page 1 of 1
guru 1155 TRIPLE FAULT
Posted: 13. Mar 2022, 19:47
by lord_raven
Hi, I just made it to the kernel part of the broken thorn tutorials and now I am getting a critical error in virtualbox and then vb shuts it self down. I tried googling this before asking here.
I have tried messing with Vt-x, adjusting ram and memory, and hyper is def disabled but still the critical error keeps coming up and shutting the machine down. I do not have this problem with my other bootloader. When reading through the logs i found guru mediation 1155 triple fault but I do not understand the log very well. Is virtualbox triple faulting or the kernel I am putting into virtualbox? If that is the real error at all? I mean I just noticed that error while reading through trying to get some idea. Just trying to get a better understanding of the tool we use. Any help would be appreciated.
Re: guru 1155 TRIPLE FAULT
Posted: 13. Mar 2022, 20:05
by fth0
Please zip the VBox.log file before attaching it, then it will (most probably) fit.
Re: guru 1155 TRIPLE FAULT
Posted: 13. Mar 2022, 20:11
by lord_raven
Thanks, I can not believe I did not think of that!!!
Re: guru 1155 TRIPLE FAULT
Posted: 13. Mar 2022, 21:36
by fth0
To begin with a word of caution: I just took a quick peek at the
BrokenThorn OS Development Series. Although I have quite some background knowledge about OS design, I do not know this tutorial at all. You'll probably have to provide the necessary background information yourself to indicate what your OS is trying to do, so that we can try and help you discover why it doesn't work inside the VirtualBox VM.
I'll start with some general observations:
1) You've installed the VirtualBox Guest Additions 6.0.24, which are naturally rejected by VirtualBox 6.1.32. The versions must match.
2) You've selected
DOS as the guest OS type. This selection determines part of the provided virtual hardware. Depending on the type and age of your OS perhaps another guest OS type is preferable.
3) You've enabled Nested VT-x/AMD-V. As long as you don't want to run your own hypervisor inside the VM, you should disable this setting for simplicity's sake.
4) VirtualBox has read 40448 bytes or 79 sectors from the floppy disk image (see /Public/Storage/I820780/*). Together with the CPU register dump this should tell you where you are inside your kernel.
AFAIU, this triple fault is within VirtualBox and not within the guest OS, but the distinction is not very clear. You could use the
12.1.4. The Built-In VM Debugger, if your OS doesn't provide its own debugging infrastructure that early.
Re: guru 1155 TRIPLE FAULT
Posted: 13. Mar 2022, 21:49
by lord_raven
Trying to cover some of these like reinstalling without guest. Broken thorn is a windows like kernel that is 32 bit only. would that matter? I thought it might, seeing as dos, was 16bit. no right now i have no debugger but Ill look that one you provided over.
Re: guru 1155 TRIPLE FAULT
Posted: 14. Mar 2022, 01:23
by fth0
VirtualBox simulates most hardware provided to the VM, and uses the Guest OS Version setting to select typical PC hardware expected by the configured guest OS. If "your" guest OS expects a special combination of hardware features, you may have to fine-tune the VM settings.