Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Newest gentoo x86 hangs on boot in Virtualbox
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
gamander
n00b
n00b


Joined: 08 Dec 2013
Posts: 1

PostPosted: Sun Dec 08, 2013 11:29 am    Post subject: Newest gentoo x86 hangs on boot in Virtualbox Reply with quote

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
View user's profile Send private message
Thuggin420
n00b
n00b


Joined: 08 Dec 2013
Posts: 4

PostPosted: Sun Dec 08, 2013 4:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
pwaring
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2003
Posts: 99

PostPosted: Sat Jan 11, 2014 5:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
lazykoala
n00b
n00b


Joined: 08 Jan 2014
Posts: 22

PostPosted: Fri Jan 24, 2014 1:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
lazykoala
n00b
n00b


Joined: 08 Jan 2014
Posts: 22

PostPosted: Fri Jan 24, 2014 1:04 pm    Post subject: Reply with quote

The last line will repeat many times with different values.
Back to top
View user's profile Send private message
pwaring
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2003
Posts: 99

PostPosted: Fri Jan 24, 2014 1:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
lokeshj
n00b
n00b


Joined: 11 Mar 2014
Posts: 4

PostPosted: Tue Mar 11, 2014 8:38 am    Post subject: Reply with quote

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
View user's profile Send private message
pwaring
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2003
Posts: 99

PostPosted: Tue Mar 11, 2014 9:44 am    Post subject: Reply with quote

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
View user's profile Send private message
lokeshj
n00b
n00b


Joined: 11 Mar 2014
Posts: 4

PostPosted: Sat Mar 15, 2014 6:20 pm    Post subject: Reply with quote

thanks pwaring.
found an older iso from here: http://linuxtracker.org/index.php?page=downloadcheck&id=a65566195bc8c81acc68adbf193394a92e2a9f1b
and this time it has successfully booted :)
Back to top
View user's profile Send private message
lokeshj
n00b
n00b


Joined: 11 Mar 2014
Posts: 4

PostPosted: Sun Mar 16, 2014 11:09 am    Post subject: Reply with quote

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
View user's profile Send private message
pwaring
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2003
Posts: 99

PostPosted: Mon Mar 17, 2014 11:41 am    Post subject: Reply with quote

You can use the latest stage3 tarball, you just need to make sure that when you emerge gentoo-sources (or genkernel) you specify a version number, for example:

Code:
emerge =sys-kernel/gentoo-sources-3.4.83


You can find all the available versions of the gentoo-sources package available in portage here:

https://packages.gentoo.org/package/sys-kernel/gentoo-sources

You might need to unmask the package version first, instructions can be found on the wiki:

https://wiki.gentoo.org/wiki/Knowledge_Base:Unmasking_a_package
Back to top
View user's profile Send private message
pwaring
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2003
Posts: 99

PostPosted: Thu Mar 27, 2014 1:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 564
Location: Cracow, Poland

PostPosted: Sat Oct 18, 2014 3:39 pm    Post subject: Reply with quote

lokeshj wrote:
thanks pwaring.
found an older iso from here: http://linuxtracker.org/index.php?page=downloadcheck&id=a65566195bc8c81acc68adbf193394a92e2a9f1b
and this time it has successfully booted :)

now here:
http://ftp.cc.uoc.gr/mirrors/linux/gentoo/releases/x86/autobuilds/current-install-x86-minimal/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum