View previous topic :: View next topic |
Author |
Message |
maybl8 n00b
Joined: 06 Feb 2024 Posts: 20
|
Posted: Tue Aug 06, 2024 1:27 am Post subject: [SOLVED] computer locks up everytime I do emerge update |
|
|
Just installed gentoo to a Virtualbox which files are stored on a usb ssd drive.
I don't think that has anything to do with the issue but i'm not sure.
Trying to update with emerge commands at some point during the update it just stops and I have to shut down the vm and start it up again.
It seems to consistently have and issue with gcc as best as I can tell.
One question I have is . If the USE entries are not right could that cause it to stop?
Also is there a standard USE variable that you should start with?
I'm trying to figure out how to get the results of emerge --info in this post.
Last edited by maybl8 on Tue Aug 06, 2024 6:12 pm; edited 1 time in total |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 3038
|
Posted: Tue Aug 06, 2024 2:02 am Post subject: Re: computer locks up everytime I do emerge update |
|
|
maybl8 wrote: | Just installed gentoo to a Virtualbox which files are stored on a usb ssd drive....
Trying to update with emerge commands at some point during the update it just stops and I have to shut down the vm and start it up again.... |
What is the configuration of your vm? Maybe it does not have enough memory allocated. You need the same amount of RAM as for a physical machine, if not more. Decent performance at least 8GB real RAM allocated for the vm, 16GB if you can. |
|
Back to top |
|
|
maybl8 n00b
Joined: 06 Feb 2024 Posts: 20
|
Posted: Tue Aug 06, 2024 2:30 am Post subject: |
|
|
It is a 16GB host ram and gentoo vm is 8GB |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20484
|
Posted: Tue Aug 06, 2024 3:36 am Post subject: |
|
|
maybl8 wrote: | Just installed gentoo to a Virtualbox which files are stored on a usb ssd drive. | How is the USB SSD driver powered? If you are relying on hub power, try an external power source. That is often a problem.
maybl8 wrote: | I'm trying to figure out how to get the results of emerge --info in this post. | wgetpaste is generally the easiest.
maybl8 wrote: | Also is there a standard USE variable that you should start with? | The defaults. If you don't have a reason you understand to change them, then don't. You can select a relevant profile to help. For example, a "desktop" profile. Use it for a desktop, or avoid it to not enable desktop USE flags such as KDE or Gnome related items.
maybl8 wrote: | One question I have is . If the USE entries are not right could that cause it to stop? | It seems highly unlikely that it would cause the problem you describe.
Have you changed any USE flags? If so, what? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
lars_the_bear Guru
Joined: 05 Jun 2024 Posts: 517
|
Posted: Tue Aug 06, 2024 7:28 am Post subject: Re: computer locks up everytime I do emerge update |
|
|
maybl8 wrote: |
Trying to update with emerge commands at some point during the update it just stops and I have to shut down the vm and start it up again.
|
I also find that extended compilation causes Gentoo to crash on VirtualBox. The behaviour, for me, is not deterministic -- sometimes I can get a successful compilation if I retry the operation. But sometimes I can't.
The problem could be related to resources. Unfortunately, the machines I run VirtualBox on are machines I use for business. They have plenty of RAM, but I'm using most of it for work. I usually set my Gentoo VMs to 8Gb; conceivably that's not enough.
Because I don't plan on using Gentoo on VirtualBox in the long term, I haven't really bothered to investigate further.
BR, Lars. |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1721 Location: Germany
|
|
Back to top |
|
|
maybl8 n00b
Joined: 06 Feb 2024 Posts: 20
|
Posted: Tue Aug 06, 2024 11:01 am Post subject: |
|
|
I ran the following command and it completed successfully.
Code: | emerge --ask --quiet --update --changed-use --deep @world |
To answer some of your questions.
The usb ssd is plugged directly to the usb 3.0 port on the laptop not through a powered hub.
https://bpa.st/ZQVQ |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20484
|
|
Back to top |
|
|
|