FreeBSD hangs on boot
-
- Posts: 49
- Joined: 28. Aug 2009, 00:24
- Primary OS: Debian other
- VBox Version: PUEL
- Guest OSses: windows 98se, 2k, xp, 7, solaris, opensolaris, reactos, ubuntu, debian,...
- Contact:
FreeBSD hangs on boot
HI, i've tried to boot my FreeBSD VM with VirtualBox 4.3 RC1, but is just hangs after loading the kernel. I haven't tried it with the betas, i'll try it later to check if it's not a regression within 4.3.
- Attachments
-
- FreeBSD ZFS-2013-10-13-02-37-04.log
- (56.32 KiB) Downloaded 41 times
-
- Oracle Corporation
- Posts: 2973
- Joined: 19. Dec 2007, 15:45
- Primary OS: MS Windows 7
- VBox Version: PUEL
- Guest OSses: Any and all
- Contact:
Re: FreeBSD hangs on boot
Is there just one version of FreeBSD? Without knowing what exactly you were running, the report is unfortunately pretty useless...
-
- Posts: 49
- Joined: 28. Aug 2009, 00:24
- Primary OS: Debian other
- VBox Version: PUEL
- Guest OSses: windows 98se, 2k, xp, 7, solaris, opensolaris, reactos, ubuntu, debian,...
- Contact:
Re: FreeBSD hangs on boot
Sorry, it's FreeBSD 9.1 amd64. It's somewhat reproducible with the FreeBSD 9.2 amd64 netboot CD, too. With that CD, it corrupts the screen in the guest and VirtualBox dies with a guru meditation. I'll attach the logs of this later today.
It seems like it's only happening on my Phenom 955, I've tried to boot the netboot cd and this VM on my AMD E450 and it works fine.
It seems like it's only happening on my Phenom 955, I've tried to boot the netboot cd and this VM on my AMD E450 and it works fine.
-
- Oracle Corporation
- Posts: 2973
- Joined: 19. Dec 2007, 15:45
- Primary OS: MS Windows 7
- VBox Version: PUEL
- Guest OSses: Any and all
- Contact:
Re: FreeBSD hangs on boot
Yes, a log for that would be very helpful. I don't see a problem on my Intel machine, but this could easily be something AMD specific. We'll have a look.CME wrote:Sorry, it's FreeBSD 9.1 amd64. It's somewhat reproducible with the FreeBSD 9.2 amd64 netboot CD, too. With that CD, it corrupts the screen in the guest and VirtualBox dies with a guru meditation. I'll attach the logs of this later today.
Aha, good to know. If you could also attach a log for the working (vs. non-working) host system that'd be great.It seems like it's only happening on my Phenom 955, I've tried to boot the netboot cd and this VM on my AMD E450 and it works fine.
-
- Posts: 49
- Joined: 28. Aug 2009, 00:24
- Primary OS: Debian other
- VBox Version: PUEL
- Guest OSses: windows 98se, 2k, xp, 7, solaris, opensolaris, reactos, ubuntu, debian,...
- Contact:
Re: FreeBSD hangs on boot
Here are the logs.
- Attachments
-
- amd e450.log
- working
- (74.02 KiB) Downloaded 39 times
-
- phenom 955.log.gz
- guru meditation
- (34.62 KiB) Downloaded 33 times
-
- Oracle Corporation
- Posts: 793
- Joined: 7. Jan 2008, 16:17
Re: FreeBSD hangs on boot
I wonder if this is the problem that causes the guest to triple-fault afterwards:
Anyway, thanks for the log. We'll take a look.
Code: Select all
00:00:13.617107 IEM: rdmsr(0xc0011029) -> GP(0)
Oracle Corp.
-
- Posts: 49
- Joined: 28. Aug 2009, 00:24
- Primary OS: Debian other
- VBox Version: PUEL
- Guest OSses: windows 98se, 2k, xp, 7, solaris, opensolaris, reactos, ubuntu, debian,...
- Contact:
Re: FreeBSD hangs on boot
FYI, I've found this: https://gitorious.org/freebsd/freebsd/c ... 6aee/diffs
So I've added the hypervisor CPUID to VirtualBox and FreeBSD boots fine now.
So I've added the hypervisor CPUID to VirtualBox and FreeBSD boots fine now.
-
- Oracle Corporation
- Posts: 793
- Joined: 7. Jan 2008, 16:17
Re: FreeBSD hangs on boot
Yes, I noticed that the latest FreeBSDs write this MSR only when the hypervisor-present bit isn't set. Nonetheless, we will have to fix this regardless of the HVP bit.
BTW, this is a fairly undocumented MSR from AMD for magically workingaround a very nasty CPU bug on certain AMD CPUs. Errata 721 from the revision guide for AMD family 10h CPUs to be precise. FreeBSD uses this workaround for sane behaviour but the workaround is irrelevant inside a guest as the host OS would/should have done this already.
BTW, this is a fairly undocumented MSR from AMD for magically workingaround a very nasty CPU bug on certain AMD CPUs. Errata 721 from the revision guide for AMD family 10h CPUs to be precise. FreeBSD uses this workaround for sane behaviour but the workaround is irrelevant inside a guest as the host OS would/should have done this already.
Oracle Corp.