public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Aurelien Jarno <aurelien-rXXEIb44qovR7s880joybQ@public.gmane.org>
To: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: kvm-devel <kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: 32-bit FreeBSD under 64-bit KVM
Date: Thu, 08 Mar 2007 00:52:25 +0100	[thread overview]
Message-ID: <45EF5039.4010907@aurel32.net> (raw)
In-Reply-To: <45EEFEB3.1090809-atKUWr5tajBWk0Htik3J/w@public.gmane.org>

Avi Kivity a écrit :
> Aurelien Jarno wrote:
>> Yep. Here are what I get in my dmesg. The lines below are output when
>> the kernel is started (just after the bootloader):
>>
>> Mar  3 16:50:35 joule kernel: assertion failed /usr/local/src/kvm-15/kernel/mmu.c:722: (gpa & HPA_ERR_MASK) == 0
>> Mar  3 16:50:35 joule kernel: audit error: (pre page fault) levels 2 gva 444000 gpa ffffffffffffffff hpa ffffffffffffffff ent 3e369021
>> Mar  3 16:50:36 joule kernel: assertion failed /usr/local/src/kvm-15/kernel/mmu.c:722: (gpa & HPA_ERR_MASK) == 0
>> Mar  3 16:50:36 joule kernel: audit error: (post page fault (fixed)) levels 2 gva 444000 gpa ffffffffffffffff hpa ffffffffffffffff ent 3e369021 
>>
>>
>> Then the kernel takes a huge time to boot, and at then end of the kernel boot, or maybe when
>> trying to start init, the following lines are printed hundred thousand of time:
>>
>> Mar  3 18:40:30 joule kernel: audit error: (pre page fault) levels 2 gva ffffffffbfbfe000 gpa 1e81e000 hpa 4749c000 ent 564ca825
>> Mar  3 18:40:30 joule kernel: audit error: (post page fault (fixed)) levels 2 gva ffffffffbfbfe000 gpa 1e81e000 hpa 4749c000 ent 564ca825
>>   
> 
> Okay, an mmu bug.  Been a while since we've seen one.
> 
> Please post a URL for the .iso so I can take a look, along with exact 
> instructions for reproducing the bug.

I have put a qcow image on http://aurel32.free.fr . You have to bunzip2
the image and then run:

  qemu-system-x86_64 -hda gnu_kfreebsd.qcow

Then wait for the system to boot and look at the boot process. The
kernel should boot fine, but when INIT is started, you will get a
"SEGMENTATION VIOLATION" from the kernel.

At least is what I observe here on two different computers, both with
AMD CPU (Turion 64 X2 and Athlon 64 X2), for kvm versions 14 (maybe also
before) through 16. Note also that the problem is not always
reproducible if the system load is high (for example running cpuburn on
both cores).

Thanks for your help.

Bye,
Aurelien

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org         | aurelien-rXXEIb44qovR7s880joybQ@public.gmane.org
   `-    people.debian.org/~aurel32 | www.aurel32.net

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

  parent reply	other threads:[~2007-03-07 23:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-27  1:10 32-bit FreeBSD under 64-bit KVM Aurelien Jarno
     [not found] ` <45E38511.9000006-rXXEIb44qovR7s880joybQ@public.gmane.org>
2007-02-27  7:08   ` Avi Kivity
     [not found]     ` <45E3D902.7000102-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-03-01 21:48       ` Aurelien Jarno
     [not found]         ` <20070301214843.GA28822-pck4HO7xIi+4mUWUGf39/V6hYfS7NtTn@public.gmane.org>
2007-03-03  8:01           ` Avi Kivity
     [not found]             ` <45E92B4D.8030501-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-03-07 14:33               ` Aurelien Jarno
     [not found]                 ` <45EECD2D.20209-rXXEIb44qovR7s880joybQ@public.gmane.org>
2007-03-07 14:34                   ` Avi Kivity
     [not found]                     ` <45EECD5A.5090801-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-03-07 17:47                       ` Aurelien Jarno
     [not found]                         ` <20070307174737.GA8340-WMRsAYcELcC4mUWUGf39/V6hYfS7NtTn@public.gmane.org>
2007-03-07 18:04                           ` Avi Kivity
     [not found]                             ` <45EEFEB3.1090809-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-03-07 23:52                               ` Aurelien Jarno [this message]
     [not found]                                 ` <45EF5039.4010907-rXXEIb44qovR7s880joybQ@public.gmane.org>
2007-03-08 15:12                                   ` Avi Kivity
     [not found]                                     ` <45F027D8.9070001-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-03-08 17:32                                       ` Aurelien Jarno
     [not found]                                         ` <45F048C8.6060406-rXXEIb44qovR7s880joybQ@public.gmane.org>
2007-03-08 17:35                                           ` Avi Kivity
     [not found]                                             ` <45F04966.7030307-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-03-08 19:39                                               ` Aurelien Jarno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45EF5039.4010907@aurel32.net \
    --to=aurelien-rxxeib44qovr7s880joybq@public.gmane.org \
    --cc=avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox