freebsd 6.2 i486 does not boot under kvm

Aurelien Jarno
2007-01-30T15:28:36Z

Hi all,

Today I have just tried kvm, as it seems to be a really good replacement
to qemu, as it is a lot faster. I don't really have confidence on kqemu,
so I don't use it. I am using it on my laptop to be able to develop
while I am away from my various computers.

I am really interesting in having FreeBSD working under kvm (actually
GNU/kFreeBSD, but that's almost the same kernel), so I have tried to
boot FreeBSD 6.2 for both amd64 and i386 versions.

I haven't used it a lot, but the amd64 version seems to works very well.
Great work!

About the i386 version, I get a kernel trap (see below for the log).
Does anybody have any idea of the problem?

I am using kvm 12 on an amd64 machine. I have got the same problem with
both kvm modules from kvm 12 and from kernel 2.6.20-rc6-git1.

Thanks,
Aurelien

CPU: QEMU Virtual CPU version 0.8.2 (1608.17-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x623 Stepping = 3
Features=0x789e9fd<FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,PGE,MCA,CMOV,PAT,CLFLUSH
,MMX,FXSR,SSE,SSE2>
Features2=0x1<SSE3>
AMD Features=0x20100a00<<s9>,SYSCALL,NX,LM>
real memory = 134217728 (128 MB)
avail memory = 117563312 (112 MB)
kernel trap 12 with interrupts disabled

Fatal trap 12: page fault while in kernel mode
fault virtual address = 0xf000ff6f
fault code = supervisor write, page not present
instruction pointer = 0x20:0xc06930dd
stack pointer = 0x28:0xc1020cc0
frame pointer = 0x28:0xc1020cc4
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = resume, IOPL = 0
current process = 0 (swapper)
trap number = 12
panic: page fault
Uptime: 1s

--
.''`. 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