Bug #1751
closed
DFBSD 2.7.2 - X86_64 Installation on KVM fails
Added by ahuete.devel over 14 years ago.
Updated over 12 years ago.
Description
Hi,
During the boot process of the livecd (latest x86_64 ISO from
26-April-2010) on KVM, I get the following:
http://imgpaste.com/i/gzpyc.png
In sys/platform/vkernel64/x86_64/trap.c line 639 there's a comment:
"Invalid segment selectors and out of bounds %rip's and %rsp's can be
set up in user mode. This causes a fault in kernel mode when the
kernel tries to return to user mode. We want to get this fault so
that we can fix the problem here and not have to check all the
selectors and pointers when the user changes them."
Cheers,
Antonio Huete
I just saw someone else with a KVM crash and DragonFly:
http://rwmj.wordpress.com/2010/04/26/trying-out-the-bsds/
Hi Justin,
I don't know how this guy is trying to run our i386, but it is
certainly working for i386. island.quantumachine.net is a VM on KVM
and Jan has done some test on DFBSD/i386 over KVM also. He shouldn't
be pressing a lot of keys in the loader prompt and also in that prompt
it is asking for the loader, not the kernel.
It is on x64 where I encounter this issue, right the same as he does
in that screenshot.
Nevertheless, thanks for the link :-)
Cheers,
Antonio Huete
Just FYI, he isn't running x86, he's running x86_64. See that %rbx?
Hi,
I've tried several FBSD flavours with different issues.
FBSD 6.4 and above doesn't seem to have any issue, and 6.3 and below just fail
randomly, so I haven't been able to establish any relationship.
I keep searching ...
Cheers,
Antonio Huete
This could be related to the use of superpages to map portions of the
kernel on x86_64. Hardware KVM support has serious issues with
FreeBSD's dynamic superpage support and they have to turn it off to
run reliably, I wonder if the static superpages have the same problem.
-Matt
Hi Matt,
So I guess if we could disable static superpages, we could make sure that's the
issue. But something tells me that it can't be done, at least in an easy way.
Thanks,
Antonio Huete
- Description updated (diff)
- Status changed from New to Closed
- Assignee deleted (
0)
It can be handled in issue 2089. Closing this one.
Also available in: Atom
PDF