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, 1 Mar 2007 22:48:43 +0100 [thread overview]
Message-ID: <20070301214843.GA28822@volta.aurel32.net> (raw)
In-Reply-To: <45E3D902.7000102-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
On Tue, Feb 27, 2007 at 09:08:50AM +0200, Avi Kivity wrote:
> Aurelien Jarno wrote:
> >Hi all,
> >
> >While I am able to run a 64-bit FreeBSD under a 64-bit KVM perfectly, I
> >am having problems with running a 32-bit FreeBSD under the same KVM:
> >
> >INIT: version 2.86 booting
> >INIT: PANIC: segmentation violation! sleeping for 30 seconds.
> >pid 34 (init), uid 0: exited on signal 11
> >INIT: PANIC: segmentation violation! sleeping for 30 seconds.
> >INIT: PANIC: segmentation violation! sleeping for 30 seconds.
> >INIT: PANIC: segmentation violation! sleeping for 30 seconds.
> >INIT: PANIC: segmentation violation! sleeping for 30 seconds.
> >INIT: PANIC: segmentation violation! sleeping for 30 seconds.
> >INIT: PANIC: segmentation violation! sleeping for 30 seconds.
> >INIT: PANIC: segmentation violation! sleeping for 30 seconds.
> >
> >Basically the kernel boots correctly, but then the userland fails to
> >work. I am using KVM-15 on an AMD64 CPU.
> >
> >I am able to run the same OS with -no-kvm, also I am able to run a
> >32-bit Linux under a 64-bit KVM. It seems the 32-bit support is at least
> >not totally broken, though I haven't made extensive tests.
> >
> >Does somebody is experiencing the same problems? Do you have a solution?
> >
> >
>
> Can you try turning the '#undef AUDIT' to '#define AUDIT' in mmu.c?
> Also, change 'int dbg = 1' to 'int dbg = 0' in the same file. Note kvm
> will be very slower after this. dmesg will show any issues (issue a
> 'echo 9 > /proc/sysrq-trigger' to make sure all messages are shown)
>
Yep I confirm it is very slow, especially when your tty0 device is
actually a serial port running at 9600 bauds!
I also got some problems, as it seems logging so much data slowed down
the machine, including the emulated machine. The segmentation violation
message disappeared, but the OS was like in an endless loop. So the
problem _may_ be due to a race condition.
After a lot of tries, I found that I was able to get the segmentation
violation by sending the kernel log to another machine. The full log is
available on http://temp.aurel32.net/kvm-gnu_kfreebsd32.log.bz2. But I
don't know what to look for in a such big log.
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
next prev parent reply other threads:[~2007-03-01 21:48 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 [this message]
[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
[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=20070301214843.GA28822@volta.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