Date: Fri, 31 May 2013 23:22:36 -0500 From: Shaopu Qin <qin6560@gmail.com> To: freebsd-xen@freebsd.org Subject: Page fault when booting FreeBSD 9.1 XENHVM Message-ID: <CAOg-uwKZz_=-NiKcZs3jVFqS8OaNu%2BUU6eBjmHQgFVD1EX%2BJXQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi everyone, I have a problem when booting FreeBSD 9.1 XENHVM. After build and install the kernel with KERNCONF=XENHVM, the system cannot boot. Here is the error message: xenbusb_front0: <Xen Frontend Devices> on xenstore0 Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xfffffe010255667f fault code = supervisor write data, page not present instruction pointer = 0x20:0xffffffff80b63c08 stack pointer = 0x28:0xffffffff8156a8a0 frame pointer = 0x28:0xffffffff8156a8e0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) trap number = 12 panic: page fault cpuid = 0 KDB: stack backtrace: #0 0xffffffff809219a6 at kdb_backtrace+0x66 #1 0xffffffff808ebc4e at panic+0x1ce #2 0xffffffff80bfa890 at trap_fatal+0x290 #3 0xffffffff80bfabcd at trap_pfault+0x1ed #4 0xffffffff80bfb1ee at trap+0x3ce #5 0xffffffff80be576f at calltrap+0x8 #6 0xffffffff80b65aaa at xs_directory+0x7a #7 0xffffffff80b65d05 at xs_exists+0x15 #8 0xffffffff80b61eac at xenbusb_add_device+0x9c #9 0xffffffff80b6312b at xenbusb_front_enumerate_type+0x5b #10 0xffffffff80b62eee at xenbusb_attach+0xfe #11 0xffffffff8091af02 at device_attach+0x72 #12 0xffffffff8091c95a at bus_generic_attach+0x1a #13 0xffffffff80b63bd1 at xs_attach_deferred+0x21 #14 0xffffffff809167fb at run_interrupt_driven_config_hooks+0xab #15 0xffffffff80916b6c at boot_run_interrupt_driven_config_hooks+0x2c #16 0xffffffff8089d637 at mi_startup+0x77 #17 0xffffffff802b682c at btext+0x2c And here is my xen config file: builder = "hvm" name = "shvm5_freebsd" memory = "1024" vcpus = 1 vif = [ 'ip=192.168.3.15,mac=00:16:3e:05:4a:82,bridge=xenbr0' ] #disk = ['phy:/dev/vg0/vm5,hda,w','file:/root/xenn/FreeBSD-9.1-RELEASE-amd64-disc1.iso,hdc:cdrom,r'] disk = ['phy:/dev/vg0/vm5,hda,w'] boot="dc" gfx_passthru=0 xen_platform_pci=1 serial='pty' Does anyone have the same problem? I found a post online and it seems that there is a bug in the code. http://freebsd.1045724.n5.nabble.com/xenstore-panic-booting-XENHVM-on-NetBSD6-xen41-td5742039.html My xen version is 4.2.2-rc2, FreeBSD is 9.1 amd64, host0 is Ubuntu with kernel 3.4.9 Thanks, Peter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOg-uwKZz_=-NiKcZs3jVFqS8OaNu%2BUU6eBjmHQgFVD1EX%2BJXQ>