From owner-freebsd-xen@FreeBSD.ORG Mon Dec 13 11:08:35 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 3711B106583D for ; Mon, 13 Dec 2010 11:08:35 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 24B1F8FC24 for ; Mon, 13 Dec 2010 11:08:35 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oBDB8ZA2045706 for ; Mon, 13 Dec 2010 11:08:35 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oBDB8YTK045703 for freebsd-xen@FreeBSD.org; Mon, 13 Dec 2010 11:08:34 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 13 Dec 2010 11:08:34 GMT Message-Id: <201012131108.oBDB8YTK045703@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-xen@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-xen@FreeBSD.org 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: Mon, 13 Dec 2010 11:08:35 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/152228 xen [xen] [panic] Xen/PV panic with machdep.idle_mwait=1 o kern/144629 xen [xen] FreeBSD 8-RELEASE XEN pvm networking doesn't wor o kern/143398 xen [xen] FreeBSD 8-RELEASE XEN pvm networking doesn't wor o kern/143340 xen [xen] FreeBSD 8-RELEASE XEN pvm networking doesn't wor o kern/143069 xen [xen] [panic] Xen Kernel Panic - Memory modified after o kern/141328 xen [xen] [panic] gstat exit causes kernel panic from unma o kern/140313 xen [xen] [panic] FreeBSD8 RC2 as PV domU crashes during c o kern/135421 xen [xen] FreeBSD Xen PVM DomU network failure - netfronc. f kern/135178 xen [xen] Xen domU outgoing data transfer stall when TSO i o kern/135069 xen [xen] FreeBSD-current/Xen SMP doesn't function at all f i386/124516 xen [xen] FreeBSD-CURRENT Xen Kernel Segfaults when config 11 problems total. From owner-freebsd-xen@FreeBSD.ORG Mon Dec 13 13:49:42 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 73082106564A for ; Mon, 13 Dec 2010 13:49:42 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout1.yahoo.com (mrout1.yahoo.com [216.145.54.171]) by mx1.freebsd.org (Postfix) with ESMTP id 4262C8FC16 for ; Mon, 13 Dec 2010 13:49:41 +0000 (UTC) Received: from [127.0.0.1] (proxy8.corp.yahoo.com [216.145.48.13]) by mrout1.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id oBDDdJiV004121 for ; Mon, 13 Dec 2010 05:39:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=yahoo-inc.com; s=cobra; t=1292247559; bh=R8rOn8gJV+Z1wzmCer4+yXdOYx2bGcyF6ket+e7DH4E=; h=Subject:From:Reply-To:To:Content-Type:Date:Message-ID: Mime-Version:Content-Transfer-Encoding; b=GigEToPbxxIeCA+uTvkvlvluIplKKywmf3Ipd0k4+e58JT+RG9zcHhUxx+XeeY5IK Y83p1Ik9p6ReIbJqFa4yTlXeJjY/HT1M0HWyGXMFcIPvmIBNTAR08OiKeqLszzFlfK X2mrsyFXLqeoJlviHv0yS2fKc6bR6CGuZGyhnv/Y= From: Sean Bruno To: "freebsd-xen@freebsd.org" Content-Type: text/plain; charset="UTF-8" Date: Mon, 13 Dec 2010 05:26:08 -0800 Message-ID: <1292246768.2508.15.camel@home-yahoo> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 (2.28.3-1.fc12) Content-Transfer-Encoding: 7bit Subject: domU config for NetBSD Dom0 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sbruno@freebsd.org 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: Mon, 13 Dec 2010 13:49:42 -0000 Does anyone have a working HVM config for a FreeBSD DomU under the NetBSD Dom0? Sean From owner-freebsd-xen@FreeBSD.ORG Mon Dec 13 19:00:41 2010 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 1A7CC1065694 for ; Mon, 13 Dec 2010 19:00:41 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from xps.daemonology.net (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx2.freebsd.org (Postfix) with SMTP id 533AF152497 for ; Mon, 13 Dec 2010 19:00:35 +0000 (UTC) Received: (qmail 72878 invoked from network); 13 Dec 2010 19:00:34 -0000 Received: from unknown (HELO xps.daemonology.net) (127.0.0.1) by localhost with SMTP; 13 Dec 2010 19:00:34 -0000 Message-ID: <4D066D52.2080100@freebsd.org> Date: Mon, 13 Dec 2010 11:00:34 -0800 From: Colin Percival User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100803 Thunderbird/3.0.6 MIME-Version: 1.0 To: "freebsd-xen@freebsd.org" X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: FreeBSD/EC2 lives! 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: Mon, 13 Dec 2010 19:00:41 -0000 Hi freebsd-xen people and wannabe FreeBSD/EC2 users, Thanks to a month of bug fixing and a lot of help from Amazon, FreeBSD is now available on EC2: http://www.daemonology.net/blog/2010-12-13-FreeBSD-on-EC2.html Only for 9.0-CURRENT and only t1.micro instances so far, though -- but we're moving in the right direction. :-) -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid From owner-freebsd-xen@FreeBSD.ORG Mon Dec 13 19:47:22 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 EDB0C106564A for ; Mon, 13 Dec 2010 19:47:22 +0000 (UTC) (envelope-from aleksey.ovcharenko@gmail.com) Received: from mail-bw0-f49.google.com (mail-bw0-f49.google.com [209.85.214.49]) by mx1.freebsd.org (Postfix) with ESMTP id 774878FC15 for ; Mon, 13 Dec 2010 19:47:22 +0000 (UTC) Received: by bwz5 with SMTP id 5so7366499bwz.8 for ; Mon, 13 Dec 2010 11:47:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=AHF+1eo/N1kIhnhC/Ta36exmpw8v3HddWoffCuDaLv4=; b=Bh/3g2HQ0w+Tyt6acmKpIaPw2NW1ggU3a1/A2/D0SlxJ6PFLQ4/ckpb6HOgl+QXyH7 8ZWguatnRSM2bb60HyP6fcUXnhVvI+j+PG5R6U/8Ev1pzwQGVUqdI9Qc/Wm1+GjKzzau b8dvVropONYWan1yEGcLTiQi87h++rpIIL1t4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=sI4xPMSdL9JFpaHKda7SfzuTfr3HwUnFglE8+ILdFcrG6sdMxQeF7+sKimpq3AKvh+ p3/I3n7nZxKrUdGNyl4e3Lu1rhE6uJFW/AJRnhMoDQ6RAlNZ0aJ1q5ctpucB+Q0qC5PY 5PTrWahZWJb9Yg+aHyJxUzUZy59syzaoES6GY= Received: by 10.204.23.6 with SMTP id p6mr3838813bkb.123.1292267891251; Mon, 13 Dec 2010 11:18:11 -0800 (PST) Received: from alexo.selfip.com (172-54-94-178.pool.ukrtel.net [178.94.54.172]) by mx.google.com with ESMTPS id q18sm263264bka.3.2010.12.13.11.18.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 13 Dec 2010 11:18:10 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Aleksey Ovcharenko In-Reply-To: <4D066D52.2080100@freebsd.org> Date: Mon, 13 Dec 2010 21:18:06 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <127D9397-0A4A-4020-AF0B-42E5772E261D@gmail.com> References: <4D066D52.2080100@freebsd.org> To: Colin Percival X-Mailer: Apple Mail (2.1082) Cc: "freebsd-xen@freebsd.org" Subject: Re: FreeBSD/EC2 lives! 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: Mon, 13 Dec 2010 19:47:23 -0000 Any plans of using ZFS there? On 13.12.2010, at 21:00, Colin Percival wrote: > Hi freebsd-xen people and wannabe FreeBSD/EC2 users, >=20 > Thanks to a month of bug fixing and a lot of help from Amazon, FreeBSD = is now > available on EC2: > http://www.daemonology.net/blog/2010-12-13-FreeBSD-on-EC2.html >=20 > Only for 9.0-CURRENT and only t1.micro instances so far, though -- but = we're > moving in the right direction. :-) >=20 > --=20 > Colin Percival > Security Officer, FreeBSD | freebsd.org | The power to serve > Founder / author, Tarsnap | tarsnap.com | Online backups for the truly = paranoid From owner-freebsd-xen@FreeBSD.ORG Mon Dec 13 20:09:41 2010 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id A965B106564A for ; Mon, 13 Dec 2010 20:09:41 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from xps.daemonology.net (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx2.freebsd.org (Postfix) with SMTP id BBE9515475A for ; Mon, 13 Dec 2010 20:09:33 +0000 (UTC) Received: (qmail 95829 invoked from network); 13 Dec 2010 20:09:33 -0000 Received: from unknown (HELO xps.daemonology.net) (127.0.0.1) by localhost with SMTP; 13 Dec 2010 20:09:33 -0000 Message-ID: <4D067D7D.1070109@freebsd.org> Date: Mon, 13 Dec 2010 12:09:33 -0800 From: Colin Percival User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100803 Thunderbird/3.0.6 MIME-Version: 1.0 To: v.tolstov@selfip.ru References: <4D066D52.2080100@freebsd.org> <1292270310.3242.0.camel@mobile> In-Reply-To: <1292270310.3242.0.camel@mobile> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: "freebsd-xen@freebsd.org" Subject: Re: FreeBSD/EC2 lives! 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: Mon, 13 Dec 2010 20:09:41 -0000 On 12/13/10 11:58, Vasiliy G Tolstov wrote: > Great! Can You say, does freebsd support live migration and memory > hotplug? I don't think so. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid From owner-freebsd-xen@FreeBSD.ORG Mon Dec 13 22:30:40 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 1F9231065672 for ; Mon, 13 Dec 2010 22:30:40 +0000 (UTC) (envelope-from eric@egsner.cirr.com) Received: from egsner.cirr.com (egsner.cirr.com [192.67.63.1]) by mx1.freebsd.org (Postfix) with ESMTP id D22ED8FC08 for ; Mon, 13 Dec 2010 22:30:39 +0000 (UTC) Received: from egsner.cirr.com (IDENT:eric@localhost [127.0.0.1]) by egsner.cirr.com (8.14.4/8.14.2/$Revision: 1.32 $) with ESMTP id oBDLxITE023293 for ; Mon, 13 Dec 2010 15:59:19 -0600 (CST) Message-Id: <201012132159.oBDLxITE023293@egsner.cirr.com> From: eric@cirr.com (Eric Schnoebelen) To: "freebsd-xen@freebsd.org" In-reply-to: Your message of "Mon, 13 Dec 2010 05:26:08 PST." <1292246768.2508.15.camel@home-yahoo> Date: Mon, 13 Dec 2010 15:59:17 -0600 Sender: eric@cirr.com X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.6 (egsner.cirr.com [127.0.0.1]); Mon, 13 Dec 2010 15:59:19 -0600 (CST) Subject: Re: domU config for NetBSD Dom0 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: Mon, 13 Dec 2010 22:30:40 -0000 Sean Bruno writes: - Does anyone have a working HVM config for a FreeBSD DomU under the - NetBSD Dom0? Here's what I'm using to run a FreeBSD 7.4-BETA1 HVM DomU on a NetBSD Dom0. The host is NetBSD 5.1_STABLE/amd64. Xen is xenkernel33-3.3.2 from pkgsrc. (xenkernel33-3.3.2nb1 just became available, but I haven't rebooted the host yet.) Ignore the 8.1 stuff in the filenames, I originally started with an 8.1 HVM, and was getting crashes. #============================================================================ # Python configuration setup for 'xm create'. # This script sets the parameters used when a domain is created using 'xm create'. # You use a separate script for each domain you want to create, or # you can set the parameters for the domain on the xm command line. #============================================================================ #---------------------------------------------------------------------------- # Kernel image file. kernel = "/usr/pkg/lib/xen/boot/hvmloader" builder='hvm' # Initial memory allocation (in megabytes) for the new domain. memory = 1024 # A name for your domain. All domains must have different names. name = "FreeBSD" #Network interface. By default emules a realtek 8139. For a NetBSD guest you # have to disable re(4) and let rtk attach to use it. # ne2k_pci emulates a pci ne2000 clone; this his cpu-hungry in dom0 # pcnet emulates a AMD PCnet-PCI controller; but it corrupts packets with # pcn(4) under NetBSD. vif = [ 'mac=00:16:3e:00:00:14, bridge=bridge0, type=ioemu, model=pcnet' ] #---------------------------------------------------------------------------- # device model to use: only qemu-dm available for now device_model = '/usr/pkg/libexec/qemu-dm' # Define the disk devices you want the domain to have access to, and # what you want them accessible as. # Each disk entry is of the form phy:UNAME,DEV,MODE # where UNAME is the device, DEV is the device name the domain will see, # and MODE is r for read-only, w for read-write. # For hvm domains you can only use hda to hdd. You can set extra types # (e.g. cdrom) disk = [ 'file:/scratch/FreeBSD-8.1.img,ioemu:hda,w', # 'file:/home/zonker/eric/FreeBSD-7.4-BETA1-i386-bootonly.iso,ioemu:hdc:cdrom,r' ] # floppy images; this doesn't seem to work currently. Use a iso image instead. #fda = '/home/domains/boot1.fs' # boot device: a = floppy, c= hard drive, d= cdrom (with the disk entry # before) boot='c' # By default, 'xm create' will try to open an X window on the current display # for the virtal framebuffer. You can have the virtal framebuffer in vnc # instead, and connect using a vnc client (using localhost:$vncdisplay) # If vncunused is set to 1 (this is the default value), vncdisplay # will be set to the first unused port; so it's recommended to vnc = 1 vncdisplay = 1 vncunused = 0 vncpasswd='' # vncpasswd='freebsd' #Xen emulates a PS/2 mouse, but the pointer in the guest has difficulties # tracking the absolute position. Xen can emulate a USB tablet in addition # to the mouse which will report the absolute position of the pointer, # and make the mouse much easier to use. # usb=1 usbdevice='tablet' #usbdevice='mouse' #============================================================================ -- Eric Schnoebelen eric@cirr.com http://www.cirr.com On-line, adj.: The idea that a human being should always be accessible to a computer. From owner-freebsd-xen@FreeBSD.ORG Tue Dec 14 12:04:53 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 424181065674 for ; Tue, 14 Dec 2010 12:04:53 +0000 (UTC) (envelope-from luke@digital-crocus.com) Received: from mail.digital-crocus.com (node2.digital-crocus.com [91.209.244.128]) by mx1.freebsd.org (Postfix) with ESMTP id ED8438FC16 for ; Tue, 14 Dec 2010 12:04:52 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dkselector; d=hybrid-logic.co.uk; h=Received:Received:Subject:From:Reply-To:To:Cc:In-Reply-To:References:Content-Type:Organization:Date:Message-ID:Mime-Version:X-Mailer:Content-Transfer-Encoding:X-Spam-Score:X-Digital-Crocus-Maillimit:X-Authenticated-Sender:X-Complaints:X-Admin:X-Abuse; b=BiYKjcXr1Q8A2xT0qDF/cRRFeZ9p56peOQT8yl3ysIIdVduYvKZI8ZaKx4h5zAeE5gTVengPCDUt9iTSrnJ0v6JGBo0uj9FWN8PAK/1lPnWC4kXOyMAPDSLq+Mk4KyZF; Received: from luke by mail.digital-crocus.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1PSTXq-000BY4-U8 for freebsd-xen@freebsd.org; Tue, 14 Dec 2010 11:59:50 +0000 Received: from 127cr.net ([78.105.122.99] helo=[192.168.1.22]) by mail.digital-crocus.com with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1PSTXq-000BXj-Kx; Tue, 14 Dec 2010 11:59:50 +0000 From: Luke Marsden To: Colin Percival In-Reply-To: <4D066D52.2080100@freebsd.org> References: <4D066D52.2080100@freebsd.org> Content-Type: text/plain; charset="UTF-8" Organization: Hybrid Web Cluster Date: Tue, 14 Dec 2010 12:04:49 +0000 Message-ID: <1292328289.26377.48.camel@pow> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 X-Digital-Crocus-Maillimit: done X-Authenticated-Sender: luke X-Complaints: abuse@digital-crocus.com X-Admin: admin@digital-crocus.com X-Abuse: abuse@digital-crocus.com (Please include full headers in abuse reports) Cc: "freebsd-xen@freebsd.org" , team@hybrid-logic.co.uk, UK FreeBSD Users Subject: Re: FreeBSD/EC2 lives! X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: luke@hybrid-logic.co.uk 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: Tue, 14 Dec 2010 12:04:53 -0000 On Mon, 2010-12-13 at 11:00 -0800, Colin Percival wrote: > Thanks to a month of bug fixing and a lot of help from Amazon, FreeBSD > is now available on EC2 Congratulations Colin, this is absolutely fantastic news! Thank you!! This is clearly an enormous milestone on the road to a stable FreeBSD 8 AMI which I hope will eventually work in amd64 mode on the large EC2 instances :-) Is this working with PV net and disk drivers? Presumably to run on EC2 at all (notwithstanding their expensive cluster compute nodes which are meant for HPC and which do run HVM) it must be in fully PV mode. We at Hybrid Logic are very happy to provide testing, assistance and any resources we can muster to help you in this effort. We are building a cross-cloud PaaS web cluster on top of FreeBSD/ZFS. Having EC2 support is a big win for us and our clients, so this is really excellent news. Thank you again. With stable KVM, Xen HVM and soon Xen PV support, it looks like FreeBSD in the cloud is truly coming to fruition in 2011. Awesome! -- Best Regards, Luke Marsden CTO, Hybrid Logic Ltd. Web: http://www.hybrid-cluster.com/ Hybrid Web Cluster - cloud web hosting Mobile: +447791750420 From owner-freebsd-xen@FreeBSD.ORG Tue Dec 14 15:56:26 2010 Return-Path: Delivered-To: freebsd-xen@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCE141065674; Tue, 14 Dec 2010 15:56:26 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A19298FC13; Tue, 14 Dec 2010 15:56:26 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oBEFuQR7083205; Tue, 14 Dec 2010 15:56:26 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oBEFuQxh083201; Tue, 14 Dec 2010 15:56:26 GMT (envelope-from linimon) Date: Tue, 14 Dec 2010 15:56:26 GMT Message-Id: <201012141556.oBEFuQxh083201@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-java@FreeBSD.org, freebsd-xen@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/153150: [xen] xen/ec2: disable checksum offloading on interface 'xn0' and enable it immediately caused network hang 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: Tue, 14 Dec 2010 15:56:26 -0000 Old Synopsis: xen/ec2: disable checksum offloading on interface 'xn0' and enable it immediately caused network hang New Synopsis: [xen] xen/ec2: disable checksum offloading on interface 'xn0' and enable it immediately caused network hang Responsible-Changed-From-To: freebsd-java->freebsd-xen Responsible-Changed-By: linimon Responsible-Changed-When: Tue Dec 14 15:55:53 UTC 2010 Responsible-Changed-Why: Reclassify at submitter request. http://www.freebsd.org/cgi/query-pr.cgi?pr=153150 From owner-freebsd-xen@FreeBSD.ORG Tue Dec 14 17:11:07 2010 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 1CE03106566B for ; Tue, 14 Dec 2010 17:11:07 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from xps.daemonology.net (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx2.freebsd.org (Postfix) with SMTP id BAA741539F0 for ; Tue, 14 Dec 2010 17:11:06 +0000 (UTC) Received: (qmail 9631 invoked from network); 14 Dec 2010 17:11:06 -0000 Received: from unknown (HELO xps.daemonology.net) (127.0.0.1) by localhost with SMTP; 14 Dec 2010 17:11:06 -0000 Message-ID: <4D07A52A.1080208@freebsd.org> Date: Tue, 14 Dec 2010 09:11:06 -0800 From: Colin Percival User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100803 Thunderbird/3.0.6 MIME-Version: 1.0 To: luke@hybrid-logic.co.uk References: <4D066D52.2080100@freebsd.org> <1292328289.26377.48.camel@pow> In-Reply-To: <1292328289.26377.48.camel@pow> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: "freebsd-xen@freebsd.org" , Luke Marsden , UK FreeBSD Users , team@hybrid-logic.co.uk Subject: Re: FreeBSD/EC2 lives! 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: Tue, 14 Dec 2010 17:11:07 -0000 On 12/14/10 04:04, Luke Marsden wrote: > This is clearly an enormous milestone on the road to a stable FreeBSD 8 > AMI which I hope will eventually work in amd64 mode on the large EC2 > instances :-) I hope so too. :-) > Is this working with PV net and disk drivers? Presumably to run on EC2 > at all (notwithstanding their expensive cluster compute nodes which are > meant for HPC and which do run HVM) it must be in fully PV mode. This is fully PV, yes. > We at Hybrid Logic are very happy to provide testing, assistance and any > resources we can muster to help you in this effort. Probably the biggest thing you can do to help right now is to spin up a bunch of instances, throw some load at them, and see if you can get them to panic. :-) -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid From owner-freebsd-xen@FreeBSD.ORG Tue Dec 14 20:54:05 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 AD44D106566B for ; Tue, 14 Dec 2010 20:54:04 +0000 (UTC) (envelope-from got.andras@deployis.eu) Received: from mail.deployis.eu (mail.deployis.eu [217.20.135.253]) by mx1.freebsd.org (Postfix) with ESMTP id 66BE58FC08 for ; Tue, 14 Dec 2010 20:54:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=deployis.eu; s=default; h=Subject:To:From:Date; bh=yJEsUX4OsRa2HzWr7rSDDOu9ypen7y8tl3mrxLmwsio=; b=doNZ+wB13OObeWKlZUxa3Pw4asQHtbryL3q5oBKICUBcHWZCV4CVErQJc4qiOdGe5ebvQJYOAaby1GTo1t1N1L2Rb0PXzvJnIoI/Hi6scb3vQpvgcGvCzVYMvKYu+yyI; Received: from 54033545.catv.pool.telekom.hu ([84.3.53.69]:40060 helo=[192.168.0.102]) by mail.deployis.eu with esmtpsa (Exim 4.71 #1 (Debian)) id 1PSbLR-0001bq-7o from ; Tue, 14 Dec 2010 21:19:33 +0100 Message-ID: <4D07D154.5060001@deployis.eu> Date: Tue, 14 Dec 2010 21:19:32 +0100 From: =?UTF-8?B?R8OzdCBBbmRyw6Fz?= User-Agent: Thunderbird 2.0.0.24 (X11/20101027) MIME-Version: 1.0 To: Colin Percival References: <4D066D52.2080100@freebsd.org> <1292328289.26377.48.camel@pow> <4D07A52A.1080208@freebsd.org> In-Reply-To: <4D07A52A.1080208@freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-DKIM-Status: None (from 84.3.53.69) X-Mail-Status-postahivatal: trustedmail (from 84.3.53.69) Cc: "freebsd-xen@freebsd.org" , Luke Marsden , UK FreeBSD Users , team@hybrid-logic.co.uk Subject: Re: FreeBSD/EC2 lives! 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: Tue, 14 Dec 2010 20:54:05 -0000 Hi, If it's full PV is it 32 bit only? Last time I've checked amd64 was only hvm with PV drivers. Are there any 32bit images (tar.gz) to start with? We run Xen 3.4.3 on our servers and I'd give it a try also. We have Opteron and Xeon processors as well on the hosts. Regards, Andras Colin Percival wrote: > On 12/14/10 04:04, Luke Marsden wrote: >> This is clearly an enormous milestone on the road to a stable FreeBSD 8 >> AMI which I hope will eventually work in amd64 mode on the large EC2 >> instances :-) > > I hope so too. :-) > >> Is this working with PV net and disk drivers? Presumably to run on EC2 >> at all (notwithstanding their expensive cluster compute nodes which are >> meant for HPC and which do run HVM) it must be in fully PV mode. > > This is fully PV, yes. > >> We at Hybrid Logic are very happy to provide testing, assistance and any >> resources we can muster to help you in this effort. > > Probably the biggest thing you can do to help right now is to spin up a bunch > of instances, throw some load at them, and see if you can get them to panic. :-) > From owner-freebsd-xen@FreeBSD.ORG Fri Dec 17 09:29:53 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 C8D20106567A; Fri, 17 Dec 2010 09:29:53 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id A34148FC13; Fri, 17 Dec 2010 09:29:53 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 5A1E746B2E; Fri, 17 Dec 2010 04:29:53 -0500 (EST) Date: Fri, 17 Dec 2010 09:29:53 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Aleksey Ovcharenko In-Reply-To: <127D9397-0A4A-4020-AF0B-42E5772E261D@gmail.com> Message-ID: References: <4D066D52.2080100@freebsd.org> <127D9397-0A4A-4020-AF0B-42E5772E261D@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "freebsd-xen@freebsd.org" , pjd@FreeBSD.org Subject: Re: FreeBSD/EC2 lives! 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, 17 Dec 2010 09:29:53 -0000 On Mon, 13 Dec 2010, Aleksey Ovcharenko wrote: > Any plans of using ZFS there? I don't know about Amazon's live disk resizing policy, but at least in our local Xen deployment of FreeBSD at Cambridge, ZFS seems like the sensible thing so that we can do live disk resizing during provision of VMs through cloning. There are some missing features in GEOM to notify up the stack that a non-destructive resize has taken place, unfortunately. Pawel CC'd on the principle that he might take an interest in helping :-). (I've also given Kirk a ping about live resize for UFS -- it's an increasingly obvious missing feature that will force us, despite concerns about memory overhead, to use ZFS in virtual configurations here). Robert > > On 13.12.2010, at 21:00, Colin Percival wrote: > >> Hi freebsd-xen people and wannabe FreeBSD/EC2 users, >> >> Thanks to a month of bug fixing and a lot of help from Amazon, FreeBSD is now >> available on EC2: >> http://www.daemonology.net/blog/2010-12-13-FreeBSD-on-EC2.html >> >> Only for 9.0-CURRENT and only t1.micro instances so far, though -- but we're >> moving in the right direction. :-) >> >> -- >> Colin Percival >> Security Officer, FreeBSD | freebsd.org | The power to serve >> Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid > > _______________________________________________ > freebsd-xen@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-xen > To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org" > From owner-freebsd-xen@FreeBSD.ORG Fri Dec 17 12:07:47 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 E57391065674 for ; Fri, 17 Dec 2010 12:07:47 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 8C58A8FC1C for ; Fri, 17 Dec 2010 12:07:47 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 4365346B23 for ; Fri, 17 Dec 2010 07:07:47 -0500 (EST) Date: Fri, 17 Dec 2010 12:07:47 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: freebsd-xen@FreeBSD.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: Subject: Patches to support (or at least make compile) Xen PV drivers on i386 HVM 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, 17 Dec 2010 12:07:48 -0000 Dear all: Something I'd like us to do for 9.0 (and maybe even 8.3) is include the Xen PV drivers in our GENERIC i386 and amd64 kernels. This will improve our "just works" factor running on Xen HVM by avoiding a mandatory kernel recompile to get access to PV drivers, in turn better supporting users who use freebsd-update, etc. However, today we're only in a position to really think about this on amd64, as currently options XENHVM and device xenpci are not supported on i386. I've attached some *untested* patches that appear to get them compiling properly, and might even work. However, I'm not set up to test Xen i386 under HVM currently. If there are people who are able to do some testing, that would be great -- it wouldn't surprise me if it sort of works but specific things don't. I don't know what those specific things might be. :-) More generally: there are distressing inconsistencies between the i386 and amd64 Xen code in our tree. Some is a natural outcome of supporting full PV on i386 and not amd64, but many are just arbitrarily different file layouts, etc. I think a lot of those can be reduced to our benefit, but the first step is trying to rectify functional inconsistencies. Robert N M Watson Computer Laboratory University of Cambridge Index: conf/options.i386 =================================================================== --- conf/options.i386 (revision 216496) +++ conf/options.i386 (working copy) @@ -118,3 +118,4 @@ NATIVE opt_global.h XEN opt_global.h +XENHVM opt_global.h Index: dev/xen/netfront/netfront.c =================================================================== --- dev/xen/netfront/netfront.c (revision 216496) +++ dev/xen/netfront/netfront.c (working copy) @@ -77,6 +77,7 @@ #include #include +#include #include #include #include Index: dev/xen/blkfront/blkfront.c =================================================================== --- dev/xen/blkfront/blkfront.c (revision 216496) +++ dev/xen/blkfront/blkfront.c (working copy) @@ -51,6 +51,7 @@ #include #include +#include #include #include Index: dev/xen/balloon/balloon.c =================================================================== --- dev/xen/balloon/balloon.c (revision 216496) +++ dev/xen/balloon/balloon.c (working copy) @@ -41,8 +41,8 @@ #include #include +#include #include -#include #include #include Index: dev/xen/xenpci/evtchn.c =================================================================== --- dev/xen/xenpci/evtchn.c (revision 216496) +++ dev/xen/xenpci/evtchn.c (working copy) @@ -51,13 +51,19 @@ #include +#if defined(__i386__) +#define __ffs(word) ffs(word) +#elif defined(__amd64__) static inline unsigned long __ffs(unsigned long word) { __asm__("bsfq %1,%0" :"=r" (word) - :"rm" (word)); + :"rm" (word)); /* XXXRW: why no "cc"? */ return word; } +#else +#error "evtchn: unsupported architecture" +#endif #define is_valid_evtchn(x) ((x) != 0) #define evtchn_from_irq(x) (irq_evtchn[irq].evtchn) Index: i386/include/pcpu.h =================================================================== --- i386/include/pcpu.h (revision 216496) +++ i386/include/pcpu.h (working copy) @@ -44,14 +44,17 @@ * other processors" */ -#ifdef XEN +#if defined(XEN) || defined(XENHVM) #ifndef NR_VIRQS #define NR_VIRQS 24 #endif #ifndef NR_IPIS #define NR_IPIS 2 #endif +#endif +#if defined(XEN) + /* These are peridically updated in shared_info, and then copied here. */ struct shadow_time_info { uint64_t tsc_timestamp; /* TSC at last update of time vals. */ @@ -72,8 +75,18 @@ int pc_callfunc_irq; \ int pc_virq_to_irq[NR_VIRQS]; \ int pc_ipi_to_irq[NR_IPIS] -#else + +#elif defined(XENHVM) + +#define PCPU_XEN_FIELDS \ + ; \ + unsigned int pc_last_processed_l1i; \ + unsigned int pc_last_processed_l2i + +#else /* !XEN && !XENHVM */ + #define PCPU_XEN_FIELDS + #endif #define PCPU_MD_FIELDS \ Index: i386/include/pmap.h =================================================================== --- i386/include/pmap.h (revision 216496) +++ i386/include/pmap.h (working copy) @@ -208,7 +208,7 @@ */ #define vtophys(va) pmap_kextract((vm_offset_t)(va)) -#ifdef XEN +#if defined(XEN) #include #include #include @@ -316,7 +316,9 @@ } return (pa); } +#endif +#if !defined(XEN) #define PT_UPDATES_FLUSH() #endif Index: i386/include/xen/xen-os.h =================================================================== --- i386/include/xen/xen-os.h (revision 216496) +++ i386/include/xen/xen-os.h (working copy) @@ -12,7 +12,7 @@ #define CONFIG_X86_PAE #endif -#if defined(XEN) && !defined(__XEN_INTERFACE_VERSION__) +#if !defined(__XEN_INTERFACE_VERSION__) /* * Can update to a more recent version when we implement * the hypercall page @@ -95,6 +95,8 @@ /* some function prototypes */ void trap_init(void); +#ifndef XENHVM + /* * STI/CLI equivalents. These basically set and clear the virtual * event_enable flag in teh shared_info structure. Note that when @@ -164,6 +166,7 @@ #define spin_lock_irqsave mtx_lock_irqsave #define spin_unlock_irqrestore mtx_unlock_irqrestore +#endif #ifdef SMP #define smp_mb() mb() Index: i386/include/xen/hypercall.h =================================================================== --- i386/include/xen/hypercall.h (revision 216496) +++ i386/include/xen/hypercall.h (working copy) @@ -234,9 +234,14 @@ return _hypercall2(int, memory_op, cmd, arg); } +#if defined(XEN) int HYPERVISOR_multicall(multicall_entry_t *, int); static inline int _HYPERVISOR_multicall( +#else /* XENHVM */ +static inline int +HYPERVISOR_multicall( +#endif void *call_list, int nr_calls) { return _hypercall2(int, multicall, call_list, nr_calls); Index: i386/include/xen/xenvar.h =================================================================== --- i386/include/xen/xenvar.h (revision 216496) +++ i386/include/xen/xenvar.h (working copy) @@ -28,6 +28,11 @@ #ifndef XENVAR_H_ #define XENVAR_H_ + +#include + +#if defined(XEN) + #define XBOOTUP 0x1 #define XPMAP 0x2 extern int xendebug_flags; @@ -36,7 +41,6 @@ #else #define XENPRINTF printf #endif -#include extern xen_pfn_t *xen_phys_machine; extern xen_pfn_t *xen_pfn_to_mfn_frame_list[16]; @@ -101,4 +105,11 @@ void xen_destroy_contiguous_region(void * addr, int npages); +#elif defined(XENHVM) + +#define PFNTOMFN(pa) (pa) +#define MFNTOPFN(ma) (ma) + +#endif /* !XEN && !XENHVM */ + #endif Index: i386/include/xen/xenpmap.h =================================================================== --- i386/include/xen/xenpmap.h (revision 216496) +++ i386/include/xen/xenpmap.h (working copy) @@ -35,6 +35,8 @@ #ifndef _XEN_XENPMAP_H_ #define _XEN_XENPMAP_H_ + +#if defined(XEN) void _xen_queue_pt_update(vm_paddr_t, vm_paddr_t, char *, int); void xen_pt_switch(vm_paddr_t); void xen_set_ldt(vm_paddr_t, unsigned long); @@ -230,5 +232,15 @@ return xen_phys_machine[pfn] != INVALID_P2M_ENTRY; } +#elif defined(XENHVM) +#define set_phys_to_machine(pfn, mfn) ((void)0) +#define phys_to_machine_mapping_valid(pfn) (TRUE) + +#if !defined(PAE) +#define vtomach(va) pmap_kextract((vm_offset_t) (va)) +#endif + +#endif /* !XEN && !XENHVM */ + #endif /* _XEN_XENPMAP_H_ */ From owner-freebsd-xen@FreeBSD.ORG Fri Dec 17 20:37:44 2010 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 4B474106566B for ; Fri, 17 Dec 2010 20:37:44 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from xps.daemonology.net (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx2.freebsd.org (Postfix) with SMTP id D90D814E853 for ; Fri, 17 Dec 2010 20:37:43 +0000 (UTC) Received: (qmail 58298 invoked from network); 17 Dec 2010 20:37:43 -0000 Received: from unknown (HELO xps.daemonology.net) (127.0.0.1) by localhost with SMTP; 17 Dec 2010 20:37:43 -0000 Message-ID: <4D0BCA17.8030207@freebsd.org> Date: Fri, 17 Dec 2010 12:37:43 -0800 From: Colin Percival User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100803 Thunderbird/3.0.6 MIME-Version: 1.0 To: Robert Watson References: <4D066D52.2080100@freebsd.org> <127D9397-0A4A-4020-AF0B-42E5772E261D@gmail.com> In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "freebsd-xen@freebsd.org" Subject: Re: FreeBSD/EC2 lives! 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, 17 Dec 2010 20:37:44 -0000 On 12/17/10 01:29, Robert Watson wrote: > On Mon, 13 Dec 2010, Aleksey Ovcharenko wrote: >> Any plans of using ZFS there? > > I don't know about Amazon's live disk resizing policy, but at least in > our local Xen deployment of FreeBSD at Cambridge, ZFS seems like the > sensible thing so that we can do live disk resizing during provision of > VMs through cloning. Amazon EBS doesn't allow disks to be resized -- this is something I asked for a long time ago, but I'm guessing it isn't something a very large number of people are demanding. Of course, with EBS you can always create a new volume, sync everything across, then destroy the old volume[*]; so it's not as large a problem as on a local Xen deployment where the amount of disk space you have available might limit your ability to temporarily duplicate everything. [*] In theory, at least. Last time I tried I got a FreeBSD kernel panic when I detached an EBS volume from a running instance. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid From owner-freebsd-xen@FreeBSD.ORG Sat Dec 18 13:56:58 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 4E97D1065739 for ; Sat, 18 Dec 2010 13:56:58 +0000 (UTC) (envelope-from tobiasztworek@gmail.com) Received: from mail-bw0-f48.google.com (mail-bw0-f48.google.com [209.85.214.48]) by mx1.freebsd.org (Postfix) with ESMTP id BA3618FC08 for ; Sat, 18 Dec 2010 13:56:57 +0000 (UTC) Received: by bwz8 with SMTP id 8so1471664bwz.7 for ; Sat, 18 Dec 2010 05:56:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=PxAdQ8cZK3gxxKjzPwTu/qssGRQyeSPS8Wdtuun/1hA=; b=HmnbhCT45ue20HeYFxhU6P5B7Oad32mpIgAP7lA9JItfksW/gIUBIVt6Sn6/vdRU+C PXwvgj08zb8Q/CZDnv6I0rVbl2QHNVy4Ao+lZLfKu9brRM+SlkMsa0xvBhwVAc5vbhAj nTlu3sPXpjZtAPDPfHEX0MRPmgXZXErpog+dk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=lkIca+WwHrow0aw4KnqhJCL44i+uoqmvzkLgIuqTH5kGa9VHSF3TLFFyePRbicw1r+ 7yDeqkd7Addii7zFAs2Xql1785dMBTz9OHsX2rBBOjwlNuXFjH6HJtge1L0lueKW9NL0 o6gfmfnAzb3B8g/uxxJQAlk/tmkTK4Pt6ybs8= Received: by 10.204.24.65 with SMTP id u1mr1761020bkb.5.1292678907505; Sat, 18 Dec 2010 05:28:27 -0800 (PST) Received: from [10.1.1.4] (87-205-82-59.adsl.inetia.pl [87.205.82.59]) by mx.google.com with ESMTPS id d27sm2431265bkw.2.2010.12.18.05.28.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 18 Dec 2010 05:28:26 -0800 (PST) Message-ID: <4D0CB6FA.1010307@gmail.com> Date: Sat, 18 Dec 2010 14:28:26 +0100 From: Tobiasz Tworek User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; pl; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: FreeBSD 8.2 PR PANIC PVM on Citrix XenServer 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, 18 Dec 2010 13:56:58 -0000 Hellow, I have build XEN kernel from RELANG_8 on Citrix XenServer 5.6 and got panic after reboot :-( My screen output: ********************************************************************************** WARNING: loader(8) metadata is missing! GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2010 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.2-PRERELEASE #0: Sat Dec 18 11:56:45 CET 2010 root@freebsd82:/usr/obj/usr/src/sys/XEN i386 WARNING: WITNESS option enabled, expect reduced performance. Xen reported: 3013.706 MHz processor. Timecounter "ixen" frequency 1000000000 Hz quality 0 CPU: AMD Athlon(tm) II X4 640 Processor (3013.71-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x100f53 Family = 10 Model = 5 Stepping = 3 Features=0x1783fbff Features2=0x802009 AMD Features=0xee500800 AMD Features2=0x37ff TSC: P-state invariant Data TLB: 48 entries, fully associative Instruction TLB: 32 entries, fully associative L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L2 internal cache: 512 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative real memory = 536870912 (512 MB) Physical memory chunk(s): 0x000000000076d000 - 0x000000001f638fff, 518832128 bytes (126668 pages) avail memory = 515936256 (492 MB) APIC: Using the MPTable enumerator. SMP: Added CPU 0 (BSP) ULE: setup cpu 0 [XEN] IPI cpu=0 irq=128 vector=RESCHEDULE_VECTOR (0) [XEN] IPI cpu=0 irq=129 vector=CALL_FUNCTION_VECTOR (1) Event-channel device installed. null: random: mem: Pentium Pro MTRR support enabled nfslock: pseudo-device io: xs_probe: Probe retuns 0 xenstore0: on motherboard Grant table initialized [XEN] xen_rtc_probe: probing Hypervisor RTC clock rtc0: on motherboard [XEN] xen_rtc_attach: attaching Hypervisor RTC clock rtc0: registered as a time-of-day clock (resolution 1000000us) xc0: on motherboard Device configuration finished. procfs registered 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:0xc0320f11 stack pointer = 0x29:0xc21ffc8c frame pointer = 0x29:0xc21ffc94 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_exit+0xe1: hlt db> db> show alllocks Process 0 (kernel) thread 0xc03d33f0 (100000) exclusive sx xenstore request (xenstore request) r = 0 (0xc05509b8) locked @ /usr/src/sys/xen/xenstore/xenstore.c:870 shared sx xenstore suspend (xenstore suspend) r = 0 (0xc0550a1c) locked @ /usr/src/sys/xen/xenstore/xenstore.c:1587 ********************************************************************************************* Any sugestions ?? What i have done wrong or what can i do to run freebsd in xenserver in pvm mode ? I am using this guide (http://forums.citrix.com/thread.jspa?threadID=257379&start=15&tstart=0) to change hvm to pvm mode... Tobiasz Tworek FreeBSD User from Poland From owner-freebsd-xen@FreeBSD.ORG Sat Dec 18 17:28:23 2010 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id C349F106564A for ; Sat, 18 Dec 2010 17:28:23 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from xps.daemonology.net (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx2.freebsd.org (Postfix) with SMTP id 6E48415F9F0 for ; Sat, 18 Dec 2010 17:28:23 +0000 (UTC) Received: (qmail 71585 invoked from network); 18 Dec 2010 17:28:23 -0000 Received: from unknown (HELO xps.daemonology.net) (127.0.0.1) by localhost with SMTP; 18 Dec 2010 17:28:23 -0000 Message-ID: <4D0CEF37.4070502@freebsd.org> Date: Sat, 18 Dec 2010 09:28:23 -0800 From: Colin Percival User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100803 Thunderbird/3.0.6 MIME-Version: 1.0 To: Tobiasz Tworek References: <4D0CB6FA.1010307@gmail.com> In-Reply-To: <4D0CB6FA.1010307@gmail.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: FreeBSD 8.2 PR PANIC PVM on Citrix XenServer 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, 18 Dec 2010 17:28:23 -0000 On 12/18/10 05:28, Tobiasz Tworek wrote: > I have build XEN kernel from RELANG_8 on Citrix XenServer 5.6 and got > panic after reboot :-( > My screen output: > [snip] > > Any sugestions ?? What i have done wrong or what can i do to run freebsd > in xenserver in pvm mode ? Try running HEAD. I have a lot of bug fixes in there which I haven't MFCed yet. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid