From owner-freebsd-xen@FreeBSD.ORG Sun Apr 12 17:31:00 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 BBB7E106566C for ; Sun, 12 Apr 2009 17:31:00 +0000 (UTC) (envelope-from saifi.khan@twincling.org) Received: from s217.sureserver.com (s217.sureserver.com [203.194.200.22]) by mx1.freebsd.org (Postfix) with ESMTP id 634948FC1B for ; Sun, 12 Apr 2009 17:31:00 +0000 (UTC) (envelope-from saifi.khan@twincling.org) Received: (qmail 13445 invoked by uid 1002); 12 Apr 2009 17:04:17 -0000 Received: from unknown (HELO ?10.10.10.10?) (saifi.khan@twincling.org@59.92.158.250) by s217.sureserver.com with ESMTPA; 12 Apr 2009 17:04:17 -0000 Date: Sun, 12 Apr 2009 22:37:41 +0000 (GMT) From: Saifi Khan X-X-Sender: saifi@localhost To: freebsd-xen@freebsd.org, freebsd-virtualizaion@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Subject: FreeBSD 8.x, Xen 3.3.x Dom0 support 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: Sun, 12 Apr 2009 17:31:01 -0000 Hi: Does anybody know the extent of Dom0 support for FreeBSD 8.x with Xen 3.3.x ? My interest is to run multiple guest OS hosted on a Xen-ified (aka paravirtualized) FreeBSD 8.x on a multi-core intel or AMD64 box. Any pointers or observations ? thanks Saifi. From owner-freebsd-xen@FreeBSD.ORG Wed Apr 15 18:48:13 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 D0CB410656BB for ; Wed, 15 Apr 2009 18:48:13 +0000 (UTC) (envelope-from tgraves_cs@yahoo.com) Received: from web53401.mail.re2.yahoo.com (web53401.mail.re2.yahoo.com [206.190.37.48]) by mx1.freebsd.org (Postfix) with SMTP id 6CCD08FC1B for ; Wed, 15 Apr 2009 18:48:13 +0000 (UTC) (envelope-from tgraves_cs@yahoo.com) Received: (qmail 52889 invoked by uid 60001); 15 Apr 2009 18:21:31 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1239819691; bh=bonfOkKASd2/yTcTnAsXbuFlonjrDFWHT/l2Ut0LRMo=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=td4sYhlaL2duWP6CjLt0hVxbVsWa6v/lcf2cSjau2hk1dkI5u0uhTroQApdV9sUKw/05AE5CrgS6QpwxZQF3zpMhO6q+uXPOMmRkQvHEIHSY9TnRX7tn0ylZvEE2JlCpQ/ZuXf1PCTIxq+CZqMk1QRISFtAsZfn2FI7bqvXbxKo= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=JM52Eh20IMj+hMjw5CSWXTbKyN/956C8nAS6HD+dE7zO9fLSqkgUdN0epQ+9n5VHANPApEeSGu/AyyYjSa4xZ90th6v4G5NyGIMfUWRn6EOrSaP3yaI3wrYF45bk7i5ZSmceXtBsq0CkguAnaNQO6qTsj+uLOshrlh9ol8WHFHc=; Message-ID: <849614.51420.qm@web53401.mail.re2.yahoo.com> X-YMail-OSG: 5K5.RtMVM1nK95b2oLjDRtBmAwL82ENU07SZoRV7bsA.kAxn8ode.gDVsy0sNLhdl1PsxWzLkMqeRWluNlXcsOWCLzVYxGVXdWhv.nvpqQylggR679BFdOK2KZrhoX4s722vXHnM8zu14pxcRzRHDXzvCjlEkZezlirXZkGzxpSjaugloCaLDWzV9_eNewWnK3WjDoF0T4Wb5lBP1APz4nhXXI9RjdVKA8k5EY_UXYboRkIhYNpg3uxRt_kcUq0IQfr.M8Y7hI_UhUgHLYsFEasZNyXFDtex49_s8cTgn7ZJ_zhG0S_N8wrknw-- Received: from [64.198.211.64] by web53401.mail.re2.yahoo.com via HTTP; Wed, 15 Apr 2009 11:21:31 PDT X-Mailer: YahooMailRC/1277.35 YahooMailWebService/0.7.289.1 Date: Wed, 15 Apr 2009 11:21:31 -0700 (PDT) From: Tom Graves To: freebsd-xen@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: xen on freebsd 6.3? 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: Wed, 15 Apr 2009 18:48:14 -0000 Hello, Can anyone give me pointers on building a freebsd6.3 xen domU running paravirt drivers? I've downloaded source from svn://svn.freebsd.org/base/projects/release_6_3_xen/ but I can't find any instructions on building xen. I did find the config file XEN in sys/i386/conf. Can I just do a "make buildkernel KERNCONF=XEN" and then "make installkernel KERNCONF=XEN" and then reboot and it will automatically start using paravirt drivers? the only references to instructions I could find were to a web page that no longer works. Any help is appreciated. Thanks, Tom From owner-freebsd-xen@FreeBSD.ORG Wed Apr 15 19:57:46 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 ADB9C10656BE; Wed, 15 Apr 2009 19:57:46 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from mail-bw0-f164.google.com (mail-bw0-f164.google.com [209.85.218.164]) by mx1.freebsd.org (Postfix) with ESMTP id D03568FC16; Wed, 15 Apr 2009 19:57:45 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by bwz8 with SMTP id 8so58957bwz.43 for ; Wed, 15 Apr 2009 12:57:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=fHmx6bbH0srwZ0EpDxbDjTWIbVJVeMZguGmS8SqF5Xw=; b=JX/fHMSBFItq3V0SCaWTAr8fZfJxRgN8ZmaFZbQU2cJJnwlGnPo44/c20VA7gEkNdW dqmsbXz5F5zwfhjiZrfmuAzWEPiKE8m9J4do6Y6+oKy9ybUWd2Ac+FY3NTaz33ePskYi qHR9ouaHyxmizRVxXNAb0oHkAhqMC8iZikpFM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:reply-to:to:cc:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=q6OiPL73zupvAUOF+n2A9QMgV4RnXn+mQAo/g0BdYEVzbFyZZnr7z/ZVYuAHgvXjaw rjg5tPShhOO9e66H8wGqQZkwZmaOHAmAmgsMGuQxztSsfpx61hiUcw1PhHuy35xu1Z60 5+9tCARovW8oYcIqfgbSkWGVzLlJdfWFaaF1A= Received: by 10.103.227.13 with SMTP id e13mr361209mur.20.1239825464633; Wed, 15 Apr 2009 12:57:44 -0700 (PDT) Received: from ?78.92.244.96? (dsl4E5CF460.pool.t-online.hu [78.92.244.96]) by mx.google.com with ESMTPS id 23sm381142mun.0.2009.04.15.12.57.42 (version=SSLv3 cipher=RC4-MD5); Wed, 15 Apr 2009 12:57:44 -0700 (PDT) From: Mister Olli To: freebsd-current@FreeBSD.org Content-Type: text/plain Date: Wed, 15 Apr 2009 19:57:38 +0000 Message-Id: <1239825458.23277.13.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Page fault with r191077 as xen PV X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mister.olli@googlemail.com 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: Wed, 15 Apr 2009 19:57:47 -0000 hi. I just build a XEN pv kernel, based on svn revision 191077. When booting the kernel stops with a page-fault. ===================================================== virt-001 template_8-CURRENT # xm create -c 00_template_8-CURRENT.XENconfig Using config file "./00_template_8-CURRENT.XENconfig". Started domain template_8-CURRENT 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-CURRENT #2 r191077M: Wed Apr 15 21:46:50 CEST 2009 root@template-8_CURRENT.blechhirn.net:/usr/obj/usr/src/sys/freebsd8_WITHOUT_WITNESS WARNING: WITNESS option enabled, expect reduced performance. Xen reported: 1600.059 MHz processor. Timecounter "ixen" frequency 1000000000 Hz quality 0 CPU: AMD Athlon(tm) MP 1900+ (1600.06-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383fbff AMD Features=0xc0480800 real memory = 536870912 (512 MB) avail memory = 517857280 (493 MB) cpu=0 irq=0 vector=0 cpu=0 irq=0 vector=1 kbd0 at kbdmux0 xenbus0: on motherboard xc0: on motherboard Timecounters tick every 100.000 msec 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:0xc21a9cdc frame pointer = 0x29:0xc21a9cf8 code segment = base 0x0, limit 0xf67ff, type 0x1b = DPL 1, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 14 (xenwatch) [thread pid 14 tid 100017 ] Stopped at 0: *** error reading from address 0 *** db> xccncheckc:155 bxccncheckc:155 txccncheckc:155 Tracing pid 14 tid 100017 td 0xc22d9230 _end(0,c21a9d38,c0254672,32d,c23272a4,...) at 0xc2346a00 fork_exit(c01fccd0,0,c21a9d38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xc21a9d70, ebp = 0 --- db> ========================= The output of 'bt' from the debugger is included. Regards, Olli