qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] problems with freeBSD


From: Aurelien Jarno
Subject: Re: [Qemu-devel] problems with freeBSD
Date: Thu, 7 Mar 2013 00:12:08 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Mar 06, 2013 at 08:21:11AM +0000, Dietmar Maurer wrote:
> Using qemu 1.4.0:
> 
> # qemu -hda test.raw -m 512 -cdrom 
> pfSense-LiveCD-2.0.2-RELEASE-amd64-20121207-2239.iso
> 
> Results in:
> 
> trap 12: page fault while in kernel mode
> ...
> stopped at x86bios_emu_rdw+0x2f: movzwl (%rbx),%eax
> 
> Any ideas? Can somebody reproduce that?
> 
> To get the FreeBSD VM boot use the console, enter the boot loader, then:
> # set hint.atkbd.0.disabled="1"
> # boot
> 
> But that disables the keyboard.

I was actually digging about that problem. It is indeed present in
version 1.4.0, but is fixed in the current git master. The problem is
actually not directly in QEMU but in seabios, the update to version
1.7.2.1 commit 5c75fb10) fixes the issue. Maybe it is worth 
cherry-picking it into stable-1.4 (hence the Cc:). In the meantime
using bios.bin from master with QEMU version 1.4.0 should also fix the
issue.

What is strange is the seabios commit fixing the issue:

    commit 4219149ad2b783abfa61e80e9e9f6910db0c76c9
    Author: Kevin O'Connor <address@hidden>
    Date:   Sun Feb 17 10:56:10 2013 -0500
    
        build: Don't require $(OUT) to be a sub-directory of the main directory.
        
        Remove references to "../" and "out/" from the build so that "make
        OUT=/a/b/c/" will work.
        
        Signed-off-by: Kevin O'Connor <address@hidden>
   
Maybe Kevin has an explanation?

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
address@hidden                 http://www.aurel32.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]