From owner-freebsd-xen@FreeBSD.ORG Sat Sep 26 21:08:06 2009 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 39C2F106566B for ; Sat, 26 Sep 2009 21:08:06 +0000 (UTC) (envelope-from edwin.shao@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id EBBAD8FC1A for ; Sat, 26 Sep 2009 21:08:05 +0000 (UTC) Received: by an-out-0708.google.com with SMTP id d14so1262792and.13 for ; Sat, 26 Sep 2009 14:08:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=E6ajQOTQArDe5XwYJugLfcCnZ5tsMOFCPIAOYMPygXM=; b=aanuNqe3jmENS/s5LcwhBdA8S9H1+XG7I3ujDJXgcbyRZloOtl3Yjz6A8102l1EYYN S4EG0GRiCW4OElG615+WSut9D6KLEkDqgVfIWuQz/R7TIezBj8gsJDoJGjn/o+XPBATo AC/B5dwDDYuCb8fP2v2JOhk/pWw57vqhUyQEQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=LnqdV8uhtQ3ktihXDC8V21BJ4rc6BZ9x4BAzraFfAS2ayuztLN/9WjjxPsEQsC+olO 6oFl0BhBg0hVfvaYi2wtNyWq6P3znS1dcBpBFqJrHSsRAfFh8iaEkwVBE72tFrtpmAfl 7TuQaSUdavmTJ+FNKSqlMB/KLhIIo7//LjkzE= MIME-Version: 1.0 Received: by 10.100.27.12 with SMTP id a12mr1707776ana.110.1253997614776; Sat, 26 Sep 2009 13:40:14 -0700 (PDT) From: Edwin Shao Date: Sat, 26 Sep 2009 23:32:48 +0300 Message-ID: To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Kernel trap 9 using 8.0-RC1 compiled with "XEN" configuration 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: Sat, 26 Sep 2009 21:08:06 -0000 As stated in subject, newly compiled 8.0-RC1 source using standard "XEN" configuration fails with the below message. WARNING: loader(8) metadata is missing! GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-RC1 #0: Sat Sep 26 20:23:41 UTC 2009 root@hyper.nekogiri.com:/usr/obj/usr/src/sys/XEN WARNING: WITNESS option enabled, expect reduced performance. Xen reported: 2311.848 MHz processor. Timecounter "ixen" frequency 1000000000 Hz quality 0 CPU: Quad-Core AMD Opteron(tm) Processor 2376 (2311.85-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x100f42 Stepping = 2 Features=0x178bfbff Features2=0x802009 AMD Features=0xee500800 AMD Features2=0x37ff TSC: P-state invariant real memory = 671088640 (640 MB) avail memory = 646967296 (616 MB) [XEN] IPI cpu=0 irq=128 vector=RESCHEDULE_VECTOR (0) [XEN] IPI cpu=0 irq=129 vector=CALL_FUNCTION_VECTOR (1) kbd0 at kbdmux0 xenbus0: on motherboard xc0: on motherboard [XEN] xen_rtc_probe: probing Hypervisor RTC clock rtc0: on motherboard [XEN] xen_rtc_attach: attaching Hypervisor RTC clock Timecounters tick every 10.000 msec kernel trap 9 with interrupts disabled Fatal trap 9: general protection fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x21:0xc0309169 stack pointer = 0x29:0xc2861cb8 frame pointer = 0x29:0xc2861cc8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 1, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 11 (idle: cpu0) [thread pid 11 tid 100003 ] Stopped at spinlock_enter+0x99: hlt db> bt Tracing pid 11 tid 100003 td 0xc2b08b40 spinlock_enter(1,c2b08b40,c03c8d40,c2861ce8,c0309c63,...) at spinlock_enter+0x99 sched_idletd(0,c2861d38,c2b06aa0,0,0,...) at sched_idletd+0x205 fork_exit(c00f5048,0,c2861d38) at fork_exit+0x76 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xc2861d70, ebp = 0 ---