Mailing List Archive

virtualbox woes
I cant get gentoo to run on virtualbox, segfaults or core dumps or something.

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows
Re: virtualbox woes [ In reply to ]
VB log files at a minimum

On Sun, Jul 31, 2022 at 6:27 AM Matthew Sacks <matthew@mdsitservices.com>
wrote:

> I cant get gentoo to run on virtualbox, segfaults or core dumps or
> something.
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows
>
>
>
RE: virtualbox woes [ In reply to ]
Attached, and thanks.




Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows

From: Mark Knecht<mailto:markknecht@gmail.com>
Sent: Sunday, July 31, 2022 6:31 AM
To: gentoo-user@lists.gentoo.org<mailto:gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] virtualbox woes

VB log files at a minimum

On Sun, Jul 31, 2022 at 6:27 AM Matthew Sacks <matthew@mdsitservices.com<mailto:matthew@mdsitservices.com>> wrote:
I cant get gentoo to run on virtualbox, segfaults or core dumps or something.

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows
Re: virtualbox woes [ In reply to ]
On Sun, Jul 31, 2022 at 6:40 AM Matthew Sacks <matthew@mdsitservices.com>
wrote:
>
> Attached, and thanks.
>
>
>
>
>
>
>
>
>
> Sent from Mail for Windows
>
>
>
> From: Mark Knecht
> Sent: Sunday, July 31, 2022 6:31 AM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] virtualbox woes
>
>
>
> VB log files at a minimum
>
>
>
> On Sun, Jul 31, 2022 at 6:27 AM Matthew Sacks <matthew@mdsitservices.com>
wrote:
>
> I cant get gentoo to run on virtualbox, segfaults or core dumps or
something.
>
So I'm not all that good at reading VBox log files but I don't see anything
obvious showing a VBox problem. It looks like it starts booting and
somewhere
around 20 seconds it gives up and then a minute later you shut the VM down.

Is this basically what happened?

So when Gentoo is booting what do you see in the VM's boot screen?

You appear to be running Win 11 as a host which I have no experience with.

Mark
RE: virtualbox woes [ In reply to ]
It crashes then I shut it down yeah.

Maybe a screenshot will help?

Attached.




Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows

From: Mark Knecht<mailto:markknecht@gmail.com>
Sent: Sunday, July 31, 2022 7:03 AM
To: gentoo-user@lists.gentoo.org<mailto:gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] virtualbox woes



On Sun, Jul 31, 2022 at 6:40 AM Matthew Sacks <matthew@mdsitservices.com<mailto:matthew@mdsitservices.com>> wrote:
>
> Attached, and thanks.
>
>
>
>
>
>
>
>
>
> Sent from Mail for Windows
>
>
>
> From: Mark Knecht
> Sent: Sunday, July 31, 2022 6:31 AM
> To: gentoo-user@lists.gentoo.org<mailto:gentoo-user@lists.gentoo.org>
> Subject: Re: [gentoo-user] virtualbox woes
>
>
>
> VB log files at a minimum
>
>
>
> On Sun, Jul 31, 2022 at 6:27 AM Matthew Sacks <matthew@mdsitservices.com<mailto:matthew@mdsitservices.com>> wrote:
>
> I cant get gentoo to run on virtualbox, segfaults or core dumps or something.
>
So I'm not all that good at reading VBox log files but I don't see anything
obvious showing a VBox problem. It looks like it starts booting and somewhere
around 20 seconds it gives up and then a minute later you shut the VM down.

Is this basically what happened?

So when Gentoo is booting what do you see in the VM's boot screen?

You appear to be running Win 11 as a host which I have no experience with.

Mark
Re: virtualbox woes [ In reply to ]
On 7/31/22 09:27, Matthew Sacks wrote:
>
> I cant get gentoo to run on virtualbox, segfaults or core dumps or
> something.
>
Please learn how to ask for help.  You have provided next to no useful
information.  From the other thread, you provided a log, and the fact
that you are trying to run a Gentoo guest on a Windows (which version?)
host.  Which version of VB?  The latter might matter, as there have been
some reports of VBox instability, although I believe those are on Linux
hosts, not guests.

In the other thread, you mention that the crash happens on shutting
down.  How did you shut down?  Have you tried other ways?  Have you
checked the virtualbox forums for similar reports?

Jack
Re: virtualbox woes [ In reply to ]
Did you add the proper kernel modules for virtualbox?
The Gentoo Wiki has a list of what you need to enable
https://wiki.gentoo.org/wiki/VirtualBox#Gentoo_guests

On 7/31/22 10:08, Matthew Sacks wrote:
> It crashes then I shut it down yeah.
>
> Maybe a screenshot will help?
>
> Attached.
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows


--
Julien
Re: virtualbox woes [ In reply to ]
On Sun, Jul 31, 2022 at 7:08 AM Matthew Sacks <matthew@mdsitservices.com>
wrote:
>
> It crashes then I shut it down yeah.
>
> Maybe a screenshot will help?
>
>
>
> Attached.
>

"invalid opcode: 0000" is highly suspicious.

Lots of Google links about that causing systems to crash independent of VB.
Re: virtualbox woes [ In reply to ]
On 2022.07.31 10:45, Jack wrote:
> On 7/31/22 09:27, Matthew Sacks wrote:
>>
>> I cant get gentoo to run on virtualbox, segfaults or core dumps or
>> something.
>>
> Please learn how to ask for help.? You have provided next to no
> useful information.? From the other thread, you provided a log, and
> the fact that you are trying to run a Gentoo guest on a Windows
> (which version?) host.? Which version of VB?? The latter might
> matter, as there have been some reports of VBox instability, although
> I believe those are on Linux hosts, not guests.
>
> In the other thread, you mention that the crash happens on shutting
> down.? How did you shut down?? Have you tried other ways?? Have you
> checked the virtualbox forums for similar reports?
Sorry, I misread. You shut down after it crashes. Any idea what makes
it crash? Does it crash if you just start it and just let it sit?
>
> Jack
Re: virtualbox woes [ In reply to ]
On Sun, Jul 31, 2022 at 10:58 AM Jack <ostroffjh@users.sourceforge.net>
wrote:
<SNIP>
> Sorry, I misread. You shut down after it crashes. Any idea what makes
> it crash? Does it crash if you just start it and just let it sit?
> >
> > Jack

Jack,
I'm no expert at reading crash reports but the screenshot he provided
earlier looks to me like the boot started, worked its way through the
initram stuff and then when handing over control to the main kernel
got mixed up and jumped to address 0000 which segfaults.

I have no idea what that means in terms of a specific Gentoo
build. Is the kernel binary corrupted? The initram? Beyond my
abilities.

Mark
RE: virtualbox woes [ In reply to ]
The vbox log and screenshot are all I have to go off. Next time I?ll provide that upfront. New to these parts (gentoo lists).

It crashes on boot actually to answer your question.

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows

From: Jack<mailto:ostroffjh@users.sourceforge.net>
Sent: Sunday, July 31, 2022 7:48 AM
To: gentoo-user@lists.gentoo.org<mailto:gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] virtualbox woes

On 7/31/22 09:27, Matthew Sacks wrote:
I cant get gentoo to run on virtualbox, segfaults or core dumps or something.

Please learn how to ask for help. You have provided next to no useful information. From the other thread, you provided a log, and the fact that you are trying to run a Gentoo guest on a Windows (which version?) host. Which version of VB? The latter might matter, as there have been some reports of VBox instability, although I believe those are on Linux hosts, not guests.

In the other thread, you mention that the crash happens on shutting down. How did you shut down? Have you tried other ways? Have you checked the virtualbox forums for similar reports?

Jack
Re: virtualbox woes [ In reply to ]
On Monday, 1 August 2022 01:46:32 BST Matthew Sacks wrote:
> The vbox log and screenshot are all I have to go off. Next time I”ll provide
> that upfront. New to these parts (gentoo lists).

No problem. :-)

> It crashes on boot actually to answer your question.

I've always run VBox on a linux host, so I am not familiar with MSWindows host
peculiarities. However, I would think VBox on MSWindows would/should be plug
'n play.

From what you've shown you're experiencing a kernel crash of the VM at boot.
I'd start by looking at the configuration of the linux kernel you're trying to
boot and at the same time consider the settings of the VM appropriate for your
hardware, e.g. use AHCI/NVMe for storage instead of PIIX, add more than one
CPU, adequate memory, etc.

Starting with these recommendations for Gentoo guests should get you in the
right ballpark:

https://wiki.gentoo.org/wiki/VirtualBox#Gentoo_guests

PS. When you boot the Live media within the VM to install Gentoo make sure
you boot it as legacy BIOS or as UEFI and configure VBox to match.
Re: virtualbox woes [ In reply to ]
On Monday, 1 August 2022 02:46:32 CEST Matthew Sacks wrote:
> The vbox log and screenshot are all I have to go off. Next time I?ll provide
> that upfront. New to these parts (gentoo lists).
>
> It crashes on boot actually to answer your question.

Please stop top-posting. It makes these emails difficult to read.

Did you enable hardware virtualisation (VT) in the BIOS?
What are the VM-settings you use for the VM?
Does your host have sufficient CPU-cores and memory for the Host + the VM?

--
Joost


>
> Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows
>
> From: Jack<mailto:ostroffjh@users.sourceforge.net>
> Sent: Sunday, July 31, 2022 7:48 AM
> To: gentoo-user@lists.gentoo.org<mailto:gentoo-user@lists.gentoo.org>
> Subject: Re: [gentoo-user] virtualbox woes
>
> On 7/31/22 09:27, Matthew Sacks wrote:
> I cant get gentoo to run on virtualbox, segfaults or core dumps or
> something.
>
> Please learn how to ask for help. You have provided next to no useful
> information. From the other thread, you provided a log, and the fact that
> you are trying to run a Gentoo guest on a Windows (which version?) host.
> Which version of VB? The latter might matter, as there have been some
> reports of VBox instability, although I believe those are on Linux hosts,
> not guests.
>
> In the other thread, you mention that the crash happens on shutting down.
> How did you shut down? Have you tried other ways? Have you checked the
> virtualbox forums for similar reports?
>
> Jack
RE: virtualbox woes [ In reply to ]
Thank you!

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows

From: Michael<mailto:confabulate@kintzios.com>
Sent: Monday, August 1, 2022 1:17 AM
To: gentoo-user@lists.gentoo.org<mailto:gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] virtualbox woes

On Monday, 1 August 2022 01:46:32 BST Matthew Sacks wrote:
> The vbox log and screenshot are all I have to go off. Next time I?ll provide
> that upfront. New to these parts (gentoo lists).

No problem. :-)

> It crashes on boot actually to answer your question.

I've always run VBox on a linux host, so I am not familiar with MSWindows host
peculiarities. However, I would think VBox on MSWindows would/should be plug
'n play.

From what you've shown you're experiencing a kernel crash of the VM at boot.
I'd start by looking at the configuration of the linux kernel you're trying to
boot and at the same time consider the settings of the VM appropriate for your
hardware, e.g. use AHCI/NVMe for storage instead of PIIX, add more than one
CPU, adequate memory, etc.

Starting with these recommendations for Gentoo guests should get you in the
right ballpark:

https://wiki.gentoo.org/wiki/VirtualBox#Gentoo_guests

PS. When you boot the Live media within the VM to install Gentoo make sure
you boot it as legacy BIOS or as UEFI and configure VBox to match.