Project

General

Profile

Actions

Bug #1751

closed

DFBSD 2.7.2 - X86_64 Installation on KVM fails

Added by ahuete.devel over 14 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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


Related issues 1 (0 open1 closed)

Related to Bug #2089: Fatal trap 9: GPF in kernel modeClosed

Actions
Actions #1

Updated by justin over 14 years ago

On Tue, April 27, 2010 5:26 am, Antonio Huete Jimenez wrote:

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

I just saw someone else with a KVM crash and DragonFly:

http://rwmj.wordpress.com/2010/04/26/trying-out-the-bsds/

Actions #2

Updated by ahuete.devel over 14 years ago

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

Actions #3

Updated by alexh over 14 years ago

Just FYI, he isn't running x86, he's running x86_64. See that %rbx?

Actions #4

Updated by ahuete.devel over 14 years ago

Alex,

Yeah, indeed, I got confused by the PCBSD screenshots.

Cheers,
Antonio Huete

2010/4/27 Alex Hornung (via DragonFly issue tracker)
<>:

Alex Hornung <> added the comment:

Just FYI, he isn't running x86, he's running x86_64. See that %rbx?

_____________________________________________
DragonFly issue tracker <>
<http://bugs.dragonflybsd.org/issue1751>
_____________________________________________

Actions #5

Updated by tuxillo over 14 years ago

Hi Dillon,

After adding the nop as you told me and building an ISO with it, here's the new
panic:

http://imgpaste.com/i/kssqi.jpeg

Cheers,
Antonio Huete

Actions #6

Updated by tuxillo over 14 years ago

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

Actions #7

Updated by dillon over 14 years ago

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
Actions #8

Updated by tuxillo over 14 years ago

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

Actions #9

Updated by tuxillo about 12 years ago

  • Description updated (diff)
  • Status changed from New to Closed
  • Assignee deleted (0)

It can be handled in issue 2089. Closing this one.

Actions

Also available in: Atom PDF