View previous topic :: View next topic |
Author |
Message |
gamander n00b

Joined: 08 Dec 2013 Posts: 1
|
Posted: Sun Dec 08, 2013 11:29 am Post subject: Newest gentoo x86 hangs on boot in Virtualbox |
|
|
There is a similar thread here. The latest gentoo x86 release install-x86-minimal-20131029.iso no longer boots in Virtualbox, it hangs after the ramdisk has finished its job:
>>Booting (initramfs)..
INIT: version 2.88 booting
OpenRc 0.11.8 is starting up Gentoo Linux (i686)
After a while I get an endless stream of warning messages like
INFO: rcu_sched detected stalls on CPUs/tasks: {} (detected by 0, t=6002 jiffies, g=10000, c=9999, q=11)
I downloaded an older release image install-x86-minimal-20130820.iso and it worked without problems. Then I compiled a generic kernel from gentoo-sources with "genkernel all" and installed lilo. When I try to boot from hd I get the same error as above, it hangs after:
>>Booting (initramfs)..
INIT: version 2.88 booting
Something happened between 8/20 and 10/29 that prevents the newly built kernel/initramfs or init program from booting in Virtualbox. My Virtualbox PC has 1 CPU with VT-x disabled (my real CPU doesn't support it). Everything else is vanilla Virtualbox hardware. |
|
Back to top |
|
 |
Thuggin420 n00b

Joined: 08 Dec 2013 Posts: 4
|
Posted: Sun Dec 08, 2013 4:21 pm Post subject: |
|
|
Yeah man. This happens to me too. Exact same error, but it works fine in workstation 10.
Picture:
Code: | http://i.imgur.com/DWUBxt4.png |
|
|
Back to top |
|
 |
pwaring Tux's lil' helper


Joined: 28 Aug 2003 Posts: 99
|
Posted: Sat Jan 11, 2014 5:23 pm Post subject: |
|
|
Quote: | This looks like a bug in VirtualBox but fixing bugs for hosts which don't support VT-x/AMD-V have lower priority, sorry. |
https://www.virtualbox.org/ticket/12469
I've been hit by the same issue. The workaround appears to be using a kernel version prior to 3.10, although I haven't tried that yet, and I'm not sure if you can change the kernel used in the installation media. |
|
Back to top |
|
 |
lazykoala n00b

Joined: 08 Jan 2014 Posts: 22
|
Posted: Fri Jan 24, 2014 1:02 pm Post subject: |
|
|
I got the same issue.
virtualbox 4.3.6 r91406
gentoo: install-x86-minimal-20131224.iso
Stuck with the following message:
INFO: rcu_sched detected stalls on CPUs/tasks: {} (detected by 0, t=6002, jiffies, g=6436, c=6435, q=12)
INFO: Stall ended before state dump start |
|
Back to top |
|
 |
lazykoala n00b

Joined: 08 Jan 2014 Posts: 22
|
Posted: Fri Jan 24, 2014 1:04 pm Post subject: |
|
|
The last line will repeat many times with different values. |
|
Back to top |
|
 |
pwaring Tux's lil' helper


Joined: 28 Aug 2003 Posts: 99
|
Posted: Fri Jan 24, 2014 1:10 pm Post subject: |
|
|
As I've pointed out, this is a bug in VirtualBox. You have two options:
1. Use an older install CD which doesn't come with a 3.10 or later kernel.
2. Create the Gentoo virtual machine on a host which does support hardware virtualization and make sure that you install a kernel below 3.10. You can then export this VM image to a machine which does not have support for hardware virtualization (this is the workaround I used). |
|
Back to top |
|
 |
lokeshj n00b

Joined: 11 Mar 2014 Posts: 4
|
Posted: Tue Mar 11, 2014 8:38 am Post subject: |
|
|
i faced the same problem while installing in my virtual box. since i don't have another laptop / desktop, i have to go for the option 1 ie. install from older CD which comes with a kernel older than 3.10. but how do i get the cd? the iso images available on gentoo are from realease 10.1 onwards but i don't know which kernel they use... is there any way to find out? |
|
Back to top |
|
 |
pwaring Tux's lil' helper


Joined: 28 Aug 2003 Posts: 99
|
Posted: Tue Mar 11, 2014 9:44 am Post subject: |
|
|
The upstream kernel reached version 3.10 in June 2013, so if you find an ISO for your architecture from before that date then you should be fine (I don't know exactly when Gentoo switched to 3.10 for the install CD but it can't be before 3.10 upstream was released...). The only problem is that for x86 only the DVD images seem to be available, which are a substantially larger download than the minimal install + stage3 + only the packages you need. |
|
Back to top |
|
 |
lokeshj n00b

Joined: 11 Mar 2014 Posts: 4
|
|
Back to top |
|
 |
lokeshj n00b

Joined: 11 Mar 2014 Posts: 4
|
Posted: Sun Mar 16, 2014 11:09 am Post subject: |
|
|
while i have been able to boot using the older iso, what should i do when downloading the tarballs? do i need to have the older tarballs also? |
|
Back to top |
|
 |
pwaring Tux's lil' helper


Joined: 28 Aug 2003 Posts: 99
|
|
Back to top |
|
 |
pwaring Tux's lil' helper


Joined: 28 Aug 2003 Posts: 99
|
Posted: Thu Mar 27, 2014 1:15 pm Post subject: |
|
|
If anyone wants a pre-built VirtualBox Vagrant box with the 3.4.x kernel which will boot under software virtualization I have made one available here (approximately 950MB):
http://www.compsoc.man.ac.uk/~pwaring/gentoo-x86-no-vtx.box
I can't guarantee that this will always be available, so please download a copy rather than referring to the URL above directly in any Vagrantfiles. Any use of the box is entirely at your own risk. |
|
Back to top |
|
 |
emc Guru


Joined: 02 Jul 2004 Posts: 564 Location: Cracow, Poland
|
|
Back to top |
|
 |
|