From owner-freebsd-xen@FreeBSD.ORG Fri Oct 22 19:35:28 2010 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 603BF106566C for ; Fri, 22 Oct 2010 19:35:28 +0000 (UTC) (envelope-from linda.messerschmidt@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id E61478FC21 for ; Fri, 22 Oct 2010 19:35:27 +0000 (UTC) Received: by bwz3 with SMTP id 3so1537995bwz.13 for ; Fri, 22 Oct 2010 12:35:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=VN5Ve8BhXOszEK32xG3uIDVGUzpCpzGG1Qz4FCl4p4g=; b=GqoOzseYsVX35+AnBL2AzYYM616WIrDglJTH/1aBpOUvuV+Um6sUIigTCtQOPpiaaS 6NpfYXdCycbJrATwY22jM7BULTEj48oEu5ZBR7BOJ2eZwAGOEyo0/6KU/6asCPFacOrx A0f0/d1TlfebduVMJfko7IVFPP+YxGIFSz+jo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=MBeO824kQW8iJLOti28RlwxZ0rI8EMf02/r30PCSy7nWxQfmp9p7xz7KCJbP9IIBk6 HRYBshVr9U4kChMLdFXpDA1UiBbS8YC5W1rDIaIn3JCEviNFfhapOHqc4fnbDc7KgLbf /ZI1XOrVoMr9AxeEN+AC0PPAFJUNt7LXka2pM= MIME-Version: 1.0 Received: by 10.204.52.193 with SMTP id j1mr2534645bkg.52.1287775898686; Fri, 22 Oct 2010 12:31:38 -0700 (PDT) Received: by 10.204.152.203 with HTTP; Fri, 22 Oct 2010 12:31:38 -0700 (PDT) Date: Fri, 22 Oct 2010 15:31:38 -0400 Message-ID: From: Linda Messerschmidt To: "freebsd-xen@FreeBSD.org" Content-Type: text/plain; charset=ISO-8859-1 Subject: Fatal trap 12 on live migrate X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Oct 2010 19:35:28 -0000 Hello, With 8.1-STABLE (r214217) up and running under Xen 4.0.1 on the 2.6.32.24 pvops kernel, this command: xm migrate freebsd8s localhost Produces the following crash: kernel trap 12 with interrupts disabled Kernel page fault with the following non-sleepable locks held: exclusive sleep mutex intr sources (intr sources) r = 0 (0xc051c540) locked @ /usr/src/sys/i386/i386/intr_machdep.c:190 KDB: stack backtrace: X_db_sym_numargs(c0333f0d,c00fbc50,d4667ad4,a,d4667b10,...) at X_db_sym_numargs+0x146 kdb_backtrace(be,3,ffffffff,c04e24d4,d4667b64,...) at kdb_backtrace+0x2a witness_display_spinlock(c0336345,d4667b78,4,1,0,...) at witness_display_spinlock+0x75 witness_warn(5,0,c035da1d,c03b4e7c,c234d2a8,...) at witness_warn+0x1fe trap(d4667bfc) at trap+0x16a alltraps(c2366cc0,f,d4667c78,c02dc08e,83,...) at alltraps+0x1b unbind_from_irqhandler(83,d4667cd8,c02d74d3,c22f7780,c22db03c,...) at unbind_from_irqhandler+0x21 xencons_suspend(c22f7780,c22db03c,c036c3b8,b5,d4667cc8,...) at xencons_suspend+0x1e evtchn_device_upcall(c038d474,c262dc80,2,301,a,...) at evtchn_device_upcall+0x4e3 xs_suspend(0,d4667d38,c032bf9f,345,c234d2a8,...) at xs_suspend+0x1fe fork_exit(c02d9e10,0,d4667d38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xd4667d70, ebp = 0 --- Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x21:0x0 stack pointer = 0x29:0xd4667c3c frame pointer = 0x29:0xd4667c5c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 1, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 14 (xenwatch) [thread pid 14 tid 100017 ] Stopped at 0: *** error reading from address 0 *** I am no expert but it looks like some sort of null pointer problem? Maybe it tried to jump to a null address? (eip = 0) I would like to learn more about the inner workings of DomU FreeBSD. How could I help debug this? Thanks!