From owner-freebsd-xen@FreeBSD.ORG Sun May 31 12:58:24 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 BE8DF1065670; Sun, 31 May 2009 12:58:24 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from mail-ew0-f212.google.com (mail-ew0-f212.google.com [209.85.219.212]) by mx1.freebsd.org (Postfix) with ESMTP id 23E5F8FC15; Sun, 31 May 2009 12:58:23 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by ewy8 with SMTP id 8so3790514ewy.43 for ; Sun, 31 May 2009 05:58:23 -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 :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=aDMBEc38LiYZfNzTEfNdxB3pTVOV4KLXVD88cOca0L4=; b=a1auPqm2dC1b/ijINPweeBgzgVgiGdEqLZgt8ofN+O0n9Vit7SmqnKYj7zybLJaQhL jvMqTx000Z45SykWaNc4BhLtlbqtED0yXXbpxkRcdE1ZWRJ2tlBt+WIFC7NGdrMD5pf6 MhKTDn3c67ZQ6nEKqn4c7454yXzbqpnCn6XpE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=U+WE2ipYuovrAzw0QHxCR25cMvy1Of0xJOMGQOUq9HcdLG5vnuc/IatBNqje4/vEZN NJ0ekWU9EwhiRE2ZMg2JX2UAcP8L1EMjIWDrWbwje039Dg3q1dMOtUANrs6pGuh9x7QN JYXdozMyV48FyugteTPLak5YpBhAXJLR06ukg= Received: by 10.210.131.6 with SMTP id e6mr2659948ebd.81.1243774703214; Sun, 31 May 2009 05:58:23 -0700 (PDT) Received: from ?192.168.220.100? (Zf082.z.pppool.de [89.61.240.130]) by mx.google.com with ESMTPS id 7sm5774884eyb.25.2009.05.31.05.58.22 (version=SSLv3 cipher=RC4-MD5); Sun, 31 May 2009 05:58:22 -0700 (PDT) From: Mister Olli To: Adrian Chadd In-Reply-To: References: Content-Type: text/plain Date: Sun, 31 May 2009 14:58:06 +0200 Message-Id: <1243774686.12279.7.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: Clock TOD issues (mostly) resolved? 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: Sun, 31 May 2009 12:58:25 -0000 Hi, I just had the time to upgrade my domU to r193943 and it fixes some bugs I've seen before in my setup: - scp'ing the kernel file to the dom0 instance hanged after transfering ~ 1MB of data and did not finish. This now works perfect. I hadn't got the time to test larger network transfers. - clock jumps fully disappeared for me. I can do a complete 'make buildworld' without any interruptions due to the time jump, even when I'm not using ntpd within the domU. Great work Adrian. This really brings domU support forward. Btw. do you know if there's already a PR for the reboot problem in xen domU's? For me the domU does not reboot (shutdown -r ) properly and hangs after the shutdown process is complete. Normal shutdown (shutdown -h) works like a charm. Regards --- Mr. Olli On Fri, 2009-05-29 at 21:45 +0800, Adrian Chadd wrote: > G'day, > > I've just committed some changes to the Xen clock code which should > resolve some of the random time jumps people may have seen when the > dom0/hypervisor clock was updated. > > Please test! > > > > Adrian > _______________________________________________ > 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 Sun May 31 13:04:21 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 90717106564A for ; Sun, 31 May 2009 13:04:21 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id 469478FC12 for ; Sun, 31 May 2009 13:04:21 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so3747491ywe.13 for ; Sun, 31 May 2009 06:04:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=Weyr2ug8Zs12LS1ilXZ4VAxuDRPFIxLU7GJ+i+NBdhY=; b=td+9feaz6kV5tid9JH6JHwA6+TVxzVoG0mIQ0CDnbQrgkrOJiCVZKVkktnpi9dYbm7 ysMIn6iXVM/pc7DNxc7QDWp2ZmEjLbTFUHdG/lgu0Ax7O576OM6TQ1SRbHwO3mJQVEy0 YUipDP2nta3unkqfZABxG9Ve0uvS5GNZs2is0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=rw/x6/N6d1MW9MPLnmGnRwLBTBxiM0J5hRZOfK06B7wiU3jVpGTA7OdqWv5qzK8tbT aKKzryAzZYzEJXSiuXox27PUSOYO6avt7x4j3vB0Ymqest3X8Ihntq8ETNBcDcHD1uWl 5LHdXzwbdWZBf1YXFbwhPLrBZzEi1wt7E8PPc= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.90.49.8 with SMTP id w8mr4172660agw.48.1243775060672; Sun, 31 May 2009 06:04:20 -0700 (PDT) In-Reply-To: <1243774686.12279.7.camel@phoenix.blechhirn.net> References: <1243774686.12279.7.camel@phoenix.blechhirn.net> Date: Sun, 31 May 2009 21:04:20 +0800 X-Google-Sender-Auth: e33360c71d141e09 Message-ID: From: Adrian Chadd To: mister.olli@googlemail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-xen@freebsd.org Subject: Re: Clock TOD issues (mostly) resolved? 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, 31 May 2009 13:04:21 -0000 2009/5/31 Mister Olli : > Hi, > > I just had the time to upgrade my domU to r193943 and it fixes some bugs > I've seen before in my setup: > - scp'ing the kernel file to the dom0 instance hanged after transfering > =A0 =A0 =A0 =A0~ 1MB of data and did not finish. This now works perfect. = I > =A0 =A0 =A0 =A0hadn't got the time to test larger network transfers. Good! > - clock jumps fully disappeared for me. I can do a complete 'make > =A0 =A0 =A0 =A0buildworld' without any interruptions due to the time jump= , even > =A0 =A0 =A0 =A0when I'm not using ntpd within the domU. Good! The time will still drift a little until a hypervisor wall clock sync occurs (mostly due to a large enough change to the dom0 time); I'll investigate that later. I'm curious to know exactly how Linux DomU's manage to keep in lock-step with the dom0 time. > Great work Adrian. This really brings domU support forward. > > Btw. do you know if there's already a PR for the reboot problem in xen > domU's? I'm not sure. Please just create one; duplicates are better than nothing. > For me the domU does not reboot (shutdown -r ) properly and hangs after > the shutdown process is complete. > Normal shutdown (shutdown -h) works like a charm. Adrian From owner-freebsd-xen@FreeBSD.ORG Mon Jun 1 06:49:02 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 64FD3106564A for ; Mon, 1 Jun 2009 06:49:02 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id 1C86E8FC2E for ; Mon, 1 Jun 2009 06:49:01 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qyk3 with SMTP id 3so10701879qyk.3 for ; Sun, 31 May 2009 23:48:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=3yqUBSzoS5mfv2i9mRW+trbbbuzEYIed/UqZFS36slo=; b=Kgkgc+1fWPl+mLKyryl/07n5UrtO8cQgW7QqTi0SRBTeho1ZM08LpeQauW0GGdSQR5 85gssmFQhB3LEWSBsBqT1lxyd6z8zV3PcQwO9IlXC2d6jfPCS+m3MT+I1Z1Zt6QPiwnp Xc1aesHohuw25If+eKT+GwMv6svcYp8lTakKU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=BlzTKTA9gI6PbI8VBFGf5D0kS006MxLTzblxst1pZFjHF+Td4EKGkLBDRWpSap7OC7 s4QwlfZccqQDLay/PKnVNaB27tgaF1ABKE8PXUA49Z8KDkM20Y7ULmEPwGwEU9YDA5q3 W6FXVfUIEINb9CVQnMEKqx6+wWcdK42vCPwcU= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.95.77 with SMTP id c13mr1652764qcn.2.1243838939428; Sun, 31 May 2009 23:48:59 -0700 (PDT) In-Reply-To: References: Date: Mon, 1 Jun 2009 14:48:59 +0800 X-Google-Sender-Auth: fca138a1f7601008 Message-ID: From: Adrian Chadd To: Ron Carter Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-xen@freebsd.org Subject: Re: freebsd-xen images 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, 01 Jun 2009 06:49:02 -0000 2009/5/30 Ron Carter : > Will this work with XenServer 5.0 or =A0Beta 5.5? =A0I saw but have not > gotten any information yet but I saw a FreeBSD based image from Citrix > that is fully virtualized. =A0I trying to get more information. > RC I don't know at all, sorry. You should talk to Citrix about getting PVM FreeBSD images if that is what you're after. Adrian From owner-freebsd-xen@FreeBSD.ORG Mon Jun 1 11:07:04 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 5272610656CF for ; Mon, 1 Jun 2009 11:07:04 +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 20E5E8FC0C for ; Mon, 1 Jun 2009 11:07:04 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n51B745H021307 for ; Mon, 1 Jun 2009 11:07:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n51B73lF021303 for freebsd-xen@FreeBSD.org; Mon, 1 Jun 2009 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 1 Jun 2009 11:07:03 GMT Message-Id: <200906011107.n51B73lF021303@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, 01 Jun 2009 11:07:06 -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/135008 xen FreeBSD-current/Xen timecounter jumps o kern/134926 xen [xen] [panic] FreeBSD-current Xen DomU networking pani 2 problems total. From owner-freebsd-xen@FreeBSD.ORG Tue Jun 2 07:49:43 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 D9C931065672; Tue, 2 Jun 2009 07:49:43 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 2E7408FC08; Tue, 2 Jun 2009 07:49:42 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by bwz9 with SMTP id 9so8125057bwz.43 for ; Tue, 02 Jun 2009 00:49:42 -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 :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=8Y/Cj2RPd546CqrkiOWAENcKFYMn2TZ1Sj5KFA7AdX8=; b=roWblX2Y7ol6ZPeV28P3rnxidTllS92zbW9rwERA0rQpvfw35Ey77TITxrgnVVy9pG RMPvlLfcNjUCHPnp7MSAWbBBXcfgMvhPwchJKTGzlJCGOnpvUvyaZZyYHqrVORioqrJM 3ceQREgY3F4jhBHln+R/aB2UITaGjyYPl2+l8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=lPIg6UF7O3/MJhgazKshCk66QCS1zWfTco9epM5QpBcIjxgVpxlhQrgIGAgNPPtDrI aEVeDuzzQcq4lGefzRZ+UQ16KdJ6Ioijex/fOGp6qGXxsEt2Ms0Gk+d5VGhxR/r+zy0Q h/Nk+jg1Rr4Yc2Pncsmw/Mil5rHJmZIq7JUac= Received: by 10.102.228.10 with SMTP id a10mr3772425muh.26.1243928982055; Tue, 02 Jun 2009 00:49:42 -0700 (PDT) Received: from ?192.168.220.100? (Zf9c8.z.pppool.de [89.61.249.200]) by mx.google.com with ESMTPS id e10sm6010453muf.44.2009.06.02.00.49.40 (version=SSLv3 cipher=RC4-MD5); Tue, 02 Jun 2009 00:49:40 -0700 (PDT) From: Mister Olli To: Adrian Chadd In-Reply-To: References: <1243774686.12279.7.camel@phoenix.blechhirn.net> Content-Type: text/plain Date: Tue, 02 Jun 2009 09:49:03 +0200 Message-Id: <1243928943.2351.5.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: Clock TOD issues (mostly) resolved? 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: Tue, 02 Jun 2009 07:49:44 -0000 Hi, > > - scp'ing the kernel file to the dom0 instance hanged after transfering > > ~ 1MB of data and did not finish. This now works perfect. I > > hadn't got the time to test larger network transfers. > > Good! Sorry on that, I just recognized that it's not fixed right now. Maybe Most probable I've tested with the wrong kernel, since I have a r kernel here to transfer my freshly build kernel to the host dom0. I just tested with r193225 and it didn't work. Transfer always stops after 2112kb of transfered data, no matter what kind of data I copy: ======================================================================== template-8_CURRENT# scp /boot/kernel/kernel dante@10.30.1.15:/tmp Password: kernel 46% 2112KB 268.4KB/s - stalled -^CKilled by signal 2. template-8_CURRENT# dd if=/dev/zero of=/tmp/more_data bs=1024k count=512 512+0 records in 512+0 records out 536870912 bytes transferred in 27.200000 secs (19737901 bytes/sec) template-8_CURRENT# scp /tmp/more_data dante@10.30.1.15:/tmp Password: more_data 0% 2112KB 662.8KB/s - stalled -^CKilled by signal 2. template-8_CURRENT# ======================================================================== Transfering smaller files (like SVN checkout) works like a charm within the domU. I also tested transfering 512MB of data from dom0 -> domU and it worked as expected. > > > - clock jumps fully disappeared for me. I can do a complete 'make > > buildworld' without any interruptions due to the time jump, even > > when I'm not using ntpd within the domU. > > Good! The time will still drift a little until a hypervisor wall clock > sync occurs (mostly due to a large enough change to the dom0 time); > I'll investigate that later. I'm curious to know exactly how Linux > DomU's manage to keep in lock-step with the dom0 time. Didn't recognize any heavy time drifts until now. I have less than 0.5 after ~14 hours uptime. This is great :-) Regards, --- Mr. Olli From owner-freebsd-xen@FreeBSD.ORG Tue Jun 2 08:08:36 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 E419D106564A for ; Tue, 2 Jun 2009 08:08:35 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id 988028FC08 for ; Tue, 2 Jun 2009 08:08:35 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qyk3 with SMTP id 3so11851527qyk.3 for ; Tue, 02 Jun 2009 01:08:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=LsREIHyuq7Yg/vHM3ca299BHwLr2jj9wD7e0ZKbTrAU=; b=OfaMp+DZvDI0dhoa5wTwNAtFevdFCbFEzothfWVFds/EYWgfYfuh2m79PkaP3W4Cby JdlPFBhh9Ge1KGdQpi9wd2byzQMQfy9WmNgd09Qj/7rIc1GKISEyz/3RN2RLhqcP30SW lgfT3dp8fDC9AJvyIc/4xZp8BV9BdVz6TGvCw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=xRKQwzSfLLstQvfkB3SS8QAVFD0JstCqtzpX3YbioLcN+OI5pxAIFSp8/tS04fIFEH tiDVs5F5VpiLcWrQ5MWRmdpJGYjvTkcNLXZ7sNrf+i7Nrz/yJuF9P0Y8YKfy7B7Hk5Dj InxSWvt1/uGZQbNgcYl3hfqbdf79a/5X8koQ8= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.95.77 with SMTP id c13mr1985047qcn.2.1243930114837; Tue, 02 Jun 2009 01:08:34 -0700 (PDT) In-Reply-To: <1243928943.2351.5.camel@phoenix.blechhirn.net> References: <1243774686.12279.7.camel@phoenix.blechhirn.net> <1243928943.2351.5.camel@phoenix.blechhirn.net> Date: Tue, 2 Jun 2009 16:08:34 +0800 X-Google-Sender-Auth: 39cc22c35184e27c Message-ID: From: Adrian Chadd To: mister.olli@googlemail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-xen@freebsd.org Subject: Re: Clock TOD issues (mostly) resolved? 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, 02 Jun 2009 08:08:36 -0000 Just create a PR for the copying issue and email me the PR number. Thanks, Adrian 2009/6/2 Mister Olli : > Hi, > >> > - scp'ing the kernel file to the dom0 instance hanged after transferin= g >> > =A0 =A0 =A0 =A0~ 1MB of data and did not finish. This now works perfec= t. I >> > =A0 =A0 =A0 =A0hadn't got the time to test larger network transfers. >> >> Good! > > Sorry on that, I just recognized that it's not fixed right now. Maybe > Most probable I've tested with the wrong kernel, since I have a r kernel > here to transfer my freshly build kernel to the host dom0. > I just tested with r193225 and it didn't work. Transfer always stops > after 2112kb of transfered data, no matter what kind of data I copy: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > template-8_CURRENT# scp /boot/kernel/kernel dante@10.30.1.15:/tmp > Password: > kernel =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 46% 2112KB 268.4KB/s - stalled -^CKilled by signal 2. > template-8_CURRENT# dd if=3D/dev/zero of=3D/tmp/more_data bs=3D1024k coun= t=3D512 > 512+0 records in > 512+0 records out > 536870912 bytes transferred in 27.200000 secs (19737901 bytes/sec) > template-8_CURRENT# scp /tmp/more_data dante@10.30.1.15:/tmp > Password: > more_data =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 0% 2112KB 662.8KB/s - stalled -^CKilled by signal 2. > template-8_CURRENT# > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > Transfering smaller files (like SVN checkout) works like a charm within > the domU. > I also tested transfering 512MB of data from dom0 -> domU and it worked > as expected. > > >> >> > - clock jumps fully disappeared for me. I can do a complete 'make >> > =A0 =A0 =A0 =A0buildworld' without any interruptions due to the time j= ump, even >> > =A0 =A0 =A0 =A0when I'm not using ntpd within the domU. >> >> Good! The time will still drift a little until a hypervisor wall clock >> sync occurs (mostly due to a large enough change to the dom0 time); >> I'll investigate that later. I'm curious to know exactly how Linux >> DomU's manage to keep in lock-step with the dom0 time. > > Didn't recognize any heavy time drifts until now. I have less than 0.5 > after ~14 hours uptime. This is great :-) > > > Regards, > --- > Mr. Olli > > > > From owner-freebsd-xen@FreeBSD.ORG Tue Jun 2 14:27:07 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 99276106566B for ; Tue, 2 Jun 2009 14:27:07 +0000 (UTC) (envelope-from marcel@piglet.slowthinkers.net) Received: from piglet.slowthinkers.net (unknown [IPv6:2001:888:198c:2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 57C418FC16 for ; Tue, 2 Jun 2009 14:27:07 +0000 (UTC) (envelope-from marcel@piglet.slowthinkers.net) Received: from piglet.slowthinkers.net (localhost [127.0.0.1]) by piglet.slowthinkers.net (8.14.1/8.14.1) with ESMTP id n52ER5qQ001387 for ; Tue, 2 Jun 2009 16:27:05 +0200 (CEST) (envelope-from marcel@piglet.slowthinkers.net) Message-Id: <200906021427.n52ER5qQ001387@piglet.slowthinkers.net> To: freebsd-xen@freebsd.org In-reply-to: <1243928943.2351.5.camel@phoenix.blechhirn.net> References: <1243774686.12279.7.camel@phoenix.blechhirn.net> <1243928943.2351.5.camel@phoenix.blechhirn.net> Comments: In-reply-to Mister Olli message dated "Tue, 02 Jun 2009 09:49:03 +0200." Date: Tue, 02 Jun 2009 16:27:05 +0200 From: Anne Marcel Roorda Subject: Re: Clock TOD issues (mostly) resolved? 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, 02 Jun 2009 14:27:07 -0000 In message <1243928943.2351.5.camel@phoenix.blechhirn.net>, Mister Olli writes: > Hi, > > > > - scp'ing the kernel file to the dom0 instance hanged after transfering > > > ~ 1MB of data and did not finish. This now works perfect. I > > > hadn't got the time to test larger network transfers. > > > > Good! > > Sorry on that, I just recognized that it's not fixed right now. Maybe > Most probable I've tested with the wrong kernel, since I have a r kernel > here to transfer my freshly build kernel to the host dom0. > I just tested with r193225 and it didn't work. Transfer always stops > after 2112kb of transfered data, no matter what kind of data I copy: Hi, Try 'ifconfig xn0 -tso', that fixes it for me. - marcel From owner-freebsd-xen@FreeBSD.ORG Tue Jun 2 14:58:44 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 B7112106566B for ; Tue, 2 Jun 2009 14:58:44 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 35B728FC0A for ; Tue, 2 Jun 2009 14:58:43 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by bwz9 with SMTP id 9so8398213bwz.43 for ; Tue, 02 Jun 2009 07:58:43 -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 :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=iMTM6B9jA37hal02w+LIBRcpaQDPg13Y+lPx8cBWA2o=; b=qRQCtYeHQdK3QfacdgH9zPxX5RVl5YXQp/peMhmUBANX6ij+/yjPcy4dwQzv+arSxQ nu9KMetK+KrslooZCe/uNH7KtkefphJXMAlXn8KYluS8v0xkaspJJ6WA+I4xscWX+RE7 Kjj9FNFGvcryns5sB+YCADpGJjT2tw2MMF52k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=gQp6M/F2zyl3IU9QKQvVGCd3/oTaWf1hTn4n+ey1Wn0mOiUPg17RZQhGn0oJV81NRS w7hGmmSvTqFkqpzCd5bo85/fWEPJJDoxXWc5sIbLTQs3sV6hyrtHq9JbYgLCVF9C65r4 Vi0/M1SjM700aOY1cudLNdlDSbHO2uwJT9Lhk= Received: by 10.204.97.140 with SMTP id l12mr6907969bkn.133.1243954723089; Tue, 02 Jun 2009 07:58:43 -0700 (PDT) Received: from ?10.30.1.106? (vpn-or.studi-planet.com [78.47.172.52]) by mx.google.com with ESMTPS id y15sm8627385fkd.53.2009.06.02.07.58.41 (version=SSLv3 cipher=RC4-MD5); Tue, 02 Jun 2009 07:58:42 -0700 (PDT) From: Mister Olli To: Anne Marcel Roorda In-Reply-To: <200906021427.n52ER5qQ001387@piglet.slowthinkers.net> References: <1243774686.12279.7.camel@phoenix.blechhirn.net> <1243928943.2351.5.camel@phoenix.blechhirn.net> <200906021427.n52ER5qQ001387@piglet.slowthinkers.net> Content-Type: text/plain Date: Tue, 02 Jun 2009 16:58:30 +0200 Message-Id: <1243954710.2351.18.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: Clock TOD issues (mostly) resolved? 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: Tue, 02 Jun 2009 14:58:45 -0000 On Tue, 2009-06-02 at 16:27 +0200, Anne Marcel Roorda wrote: > In message <1243928943.2351.5.camel@phoenix.blechhirn.net>, Mister Olli writes: > > > Hi, > > > > > > - scp'ing the kernel file to the dom0 instance hanged after transfering > > > > ~ 1MB of data and did not finish. This now works perfect. I > > > > hadn't got the time to test larger network transfers. > > > > > > Good! > > > > Sorry on that, I just recognized that it's not fixed right now. Maybe > > Most probable I've tested with the wrong kernel, since I have a r kernel > > here to transfer my freshly build kernel to the host dom0. > > I just tested with r193225 and it didn't work. Transfer always stops > > after 2112kb of transfered data, no matter what kind of data I copy: > > Hi, > > Try 'ifconfig xn0 -tso', that fixes it for me. > > - marcel Hi, thanks for the hint, solves the issue for me completly. Even transfering 2GB of data works perfectly. Just a short question: Can I append '-tso' to my ifconfig_xn0 line in /etc/rc.conf? Regards, --- Mr. Olli From owner-freebsd-xen@FreeBSD.ORG Tue Jun 2 15:13:10 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 2D5C8106566B for ; Tue, 2 Jun 2009 15:13:10 +0000 (UTC) (envelope-from marcel@piglet.slowthinkers.net) Received: from piglet.slowthinkers.net (unknown [IPv6:2001:888:198c:2::2]) by mx1.freebsd.org (Postfix) with ESMTP id B728B8FC08 for ; Tue, 2 Jun 2009 15:13:09 +0000 (UTC) (envelope-from marcel@piglet.slowthinkers.net) Received: from piglet.slowthinkers.net (localhost [127.0.0.1]) by piglet.slowthinkers.net (8.14.1/8.14.1) with ESMTP id n52FD8mL002175 for ; Tue, 2 Jun 2009 17:13:08 +0200 (CEST) (envelope-from marcel@piglet.slowthinkers.net) Message-Id: <200906021513.n52FD8mL002175@piglet.slowthinkers.net> to: freebsd-xen@freebsd.org In-reply-to: <1243954710.2351.18.camel@phoenix.blechhirn.net> References: <1243774686.12279.7.camel@phoenix.blechhirn.net> <1243928943.2351.5.camel@phoenix.blechhirn.net> <200906021427.n52ER5qQ001387@piglet.slowthinkers.net> <1243954710.2351.18.camel@phoenix.blechhirn.net> Comments: In-reply-to Mister Olli message dated "Tue, 02 Jun 2009 16:58:30 +0200." Date: Tue, 02 Jun 2009 17:13:08 +0200 From: Anne Marcel Roorda Subject: Re: Clock TOD issues (mostly) resolved? 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, 02 Jun 2009 15:13:10 -0000 > thanks for the hint, solves the issue for me completly. Even transfering > 2GB of data works perfectly. > > Just a short question: > Can I append '-tso' to my ifconfig_xn0 line in /etc/rc.conf? Oli, That works for me. - marcel From owner-freebsd-xen@FreeBSD.ORG Tue Jun 2 15:29:11 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 0D8D310656A6 for ; Tue, 2 Jun 2009 15:29:11 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id B23008FC14 for ; Tue, 2 Jun 2009 15:29:10 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qyk3 with SMTP id 3so12200497qyk.3 for ; Tue, 02 Jun 2009 08:29:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=DVtQOys6UdGRwYfYGa42JMgT2iSTIQFUGTyPhVYerMs=; b=LD0FC6+ipxJbh+0LE14TLzMiXlEMeCu4yXk2ooOCAAavkMlZuhrfUJdRx+s6UWUTGj 9E/44wUGtSziIE6nAdVAwLqg9ozBqZ3ZEUyfKnWEn099pcSEp98jYBEdClfb19gUuYNi zc32gpLHZ6FjqxjRZ2PbbaRV+q/NAkztPW4Jc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=nOs2QZvRXMc+Ula+ddZhqlQTsCxSbnoR5RFeRfdpCi18UE5pOHn5ZaAWci46R7WpMp h54Wo6HpyfOSJTK4eIhYF3Y07g+TJ+yf21l7pJIalPTIjmVREFgAV8+t0HVBugTzLh9C rsIZDko7aImrG4MvLgiYWrLVuIdg2A5eDR/8U= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.70.139 with SMTP id d11mr2015223qcj.51.1243956549943; Tue, 02 Jun 2009 08:29:09 -0700 (PDT) In-Reply-To: <200906021513.n52FD8mL002175@piglet.slowthinkers.net> References: <1243774686.12279.7.camel@phoenix.blechhirn.net> <1243928943.2351.5.camel@phoenix.blechhirn.net> <200906021427.n52ER5qQ001387@piglet.slowthinkers.net> <1243954710.2351.18.camel@phoenix.blechhirn.net> <200906021513.n52FD8mL002175@piglet.slowthinkers.net> Date: Tue, 2 Jun 2009 23:29:09 +0800 X-Google-Sender-Auth: 1e912a9d77a572c2 Message-ID: From: Adrian Chadd To: Anne Marcel Roorda Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-xen@freebsd.org Subject: Re: Clock TOD issues (mostly) resolved? 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, 02 Jun 2009 15:29:11 -0000 Please make sure the fix goes into the PR too! 2009/6/2 Anne Marcel Roorda : > >> thanks for the hint, solves the issue for me completly. Even transfering >> 2GB of data works perfectly. >> >> Just a short question: >> Can I append '-tso' to my ifconfig_xn0 line in /etc/rc.conf? > > Oli, > > =A0That works for me. > > - marcel > _______________________________________________ > 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 Tue Jun 2 17:36:50 2009 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 69BB11065679; Tue, 2 Jun 2009 17:36:50 +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 3E3BE8FC17; Tue, 2 Jun 2009 17:36:50 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n52Haouj067279; Tue, 2 Jun 2009 17:36:50 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n52HaoYH067275; Tue, 2 Jun 2009 17:36:50 GMT (envelope-from linimon) Date: Tue, 2 Jun 2009 17:36:50 GMT Message-Id: <200906021736.n52HaoYH067275@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-xen@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/135178: [xen] Xen domU outgoing data transfer stall when TSO is enabled 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, 02 Jun 2009 17:36:50 -0000 Old Synopsis: Xen domU outgoing data transfer stall when TSO is enabled New Synopsis: [xen] Xen domU outgoing data transfer stall when TSO is enabled Responsible-Changed-From-To: freebsd-bugs->freebsd-xen Responsible-Changed-By: linimon Responsible-Changed-When: Tue Jun 2 17:36:18 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=135178 From owner-freebsd-xen@FreeBSD.ORG Tue Jun 2 17:37:15 2009 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 301AB1065672; Tue, 2 Jun 2009 17:37:15 +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 055568FC1F; Tue, 2 Jun 2009 17:37:15 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n52HbECs067330; Tue, 2 Jun 2009 17:37:14 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n52HbE3S067326; Tue, 2 Jun 2009 17:37:14 GMT (envelope-from linimon) Date: Tue, 2 Jun 2009 17:37:14 GMT Message-Id: <200906021737.n52HbE3S067326@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-xen@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/135179: [xen] Xen domU does not properly reboot 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, 02 Jun 2009 17:37:16 -0000 Old Synopsis: Xen domU does not properly reboot New Synopsis: [xen] Xen domU does not properly reboot Responsible-Changed-From-To: freebsd-bugs->freebsd-xen Responsible-Changed-By: linimon Responsible-Changed-When: Tue Jun 2 17:37:01 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=135179 From owner-freebsd-xen@FreeBSD.ORG Tue Jun 2 17:38:19 2009 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 8E6C8106564A; Tue, 2 Jun 2009 17:38:19 +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 637A78FC08; Tue, 2 Jun 2009 17:38:19 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n52HcJnV067386; Tue, 2 Jun 2009 17:38:19 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n52HcJu0067382; Tue, 2 Jun 2009 17:38:19 GMT (envelope-from linimon) Date: Tue, 2 Jun 2009 17:38:19 GMT Message-Id: <200906021738.n52HcJu0067382@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-emulation@FreeBSD.org, freebsd-xen@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/135069: [xen] FreeBSD-current/Xen SMP doesn't function at all after the AP's are loaded 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, 02 Jun 2009 17:38:20 -0000 Synopsis: [xen] FreeBSD-current/Xen SMP doesn't function at all after the AP's are loaded Responsible-Changed-From-To: freebsd-emulation->freebsd-xen Responsible-Changed-By: linimon Responsible-Changed-When: Tue Jun 2 17:38:04 UTC 2009 Responsible-Changed-Why: more specific assignment. http://www.freebsd.org/cgi/query-pr.cgi?pr=135069 From owner-freebsd-xen@FreeBSD.ORG Tue Jun 2 23:00:04 2009 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 60059106564A for ; Tue, 2 Jun 2009 23:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3430A8FC1A for ; Tue, 2 Jun 2009 23:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n52N04Je014290 for ; Tue, 2 Jun 2009 23:00:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n52N04lM014289; Tue, 2 Jun 2009 23:00:04 GMT (envelope-from gnats) Date: Tue, 2 Jun 2009 23:00:04 GMT Message-Id: <200906022300.n52N04lM014289@freefall.freebsd.org> To: freebsd-xen@FreeBSD.org From: Mister Olli Cc: Subject: Re: kern/135179: [xen] Xen domU does not properly reboot X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mister Olli 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, 02 Jun 2009 23:00:04 -0000 The following reply was made to PR kern/135179; it has been noted by GNATS. From: Mister Olli To: bug-followup@freebsd.org Cc: Subject: Re: kern/135179: [xen] Xen domU does not properly reboot Date: Wed, 03 Jun 2009 00:37:05 +0200 Hi, problem is solved as it came from XEN configuration file failure. setting 'on_restart=preserve' triggers the described behaviour exactly. Removing the line from the domU config file enables proper reboots. Regards, --- Mr. Olli From owner-freebsd-xen@FreeBSD.ORG Fri Jun 5 00:47:40 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 6C05F106566C for ; Fri, 5 Jun 2009 00:47:40 +0000 (UTC) (envelope-from llama@ruomad.net) Received: from slow3-v.mail.gandi.net (slow3-v.mail.gandi.net [217.70.178.89]) by mx1.freebsd.org (Postfix) with ESMTP id 2AB4D8FC12 for ; Fri, 5 Jun 2009 00:47:40 +0000 (UTC) (envelope-from llama@ruomad.net) Received: from relay4-v.mail.gandi.net (relay4-v.mail.gandi.net [217.70.178.78]) by slow3-v.mail.gandi.net (Postfix) with ESMTP id 8701B39642 for ; Fri, 5 Jun 2009 02:20:53 +0200 (CEST) Received: from localhost (mfilter6-d.gandi.net [217.70.178.40]) by relay4-v.mail.gandi.net (Postfix) with ESMTP id 20DFBB9FB for ; Fri, 5 Jun 2009 02:20:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter6-v.mgt.gandi.net Received: from relay4-v.mail.gandi.net ([217.70.178.78]) by localhost (mfilter6-d.mgt.gandi.net [217.70.178.40]) (amavisd-new, port 10024) with ESMTP id d0izwHKAtu7L for ; Fri, 5 Jun 2009 02:20:50 +0200 (CEST) Received: from [192.168.0.104] (vln78-1-82-238-160-33.fbx.proxad.net [82.238.160.33]) by relay4-v.mail.gandi.net (Postfix) with ESMTP id A8EADBA0E for ; Fri, 5 Jun 2009 02:20:50 +0200 (CEST) Message-ID: <4A2864E1.40208@ruomad.net> Date: Fri, 05 Jun 2009 02:20:49 +0200 From: Bruno Damour User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: freebsd on opensolaris 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: Fri, 05 Jun 2009 00:47:40 -0000 Hello, I have tried for some time to get to install freeBSD on an up-to-date (SXCE b114) opensolaris xvm box (xen 3.1.4) which already has had success in running in a quite stable xay NetBSD and Gentoo Linux as PV domUs and different Windows flavours (Server 2008, Win7 RC, Xp, Server 2003) as HVM domUs. However, freeBSD does not boot as an HVM host and xen-kernel have been impossible to find. So I'm glad eventually Adrian put some kernel/images, which I have tried to test. My goal is to be able to install and run a current freebsd. It has been a bit hacky, but it boots allright with adrians kernel and image as xbd0. I've even succeeded to install a 7.2-RELEASE via sysinstall/ftp to a zvol (under xbd2). However, even if ftp install works, network traffic in general (ftp to dom0, ssh, csup) panics the domu and in about 1 case of 4 even freezes the dom0. It might be related to my dom0 being an amd64 (intel core2 quad E6600) whereas adrian's system is i386 ? I cannot even try to build a new kernel because : - there is no xen in 7.2-RELEASE which I can isntall - updating via csup to current does not work (as mentioned) - I cannot find a way to install a current snapshot as I cannot boot from the downloaded iso images i have (no cdrom, Adrian's kernel only boots from root image) - I have no bare metal freebsd host I can use to build a different kernel Any ideas ? bruno From owner-freebsd-xen@FreeBSD.ORG Fri Jun 5 02:41:26 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 8E1EF106564A for ; Fri, 5 Jun 2009 02:41:26 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gx0-f207.google.com (mail-gx0-f207.google.com [209.85.217.207]) by mx1.freebsd.org (Postfix) with ESMTP id 449D88FC12 for ; Fri, 5 Jun 2009 02:41:26 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by gxk3 with SMTP id 3so833806gxk.19 for ; Thu, 04 Jun 2009 19:41:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=xYXkOtXvMzSOMcJfheRR06S2K8usEvw4oVg+c27u4XY=; b=v2UBXCEq3+L8sa7SEyaa8vA48ep4YRzDpj1KK1KDxB8oujqXSuUflgudaoQmf/VhwC 00V/cY+n5mJYwKHlS5rQ3vpKSoUqKpyZ4Fyepf53FXa58Um+xWAvr5LyUzw4DzGS0G4n 58M+gKxArhOntdnBLmPyFFrY/LWW3lWtugvi8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=FESD1oHdGXzFtQDGtLJFFIC+0irmQANPYoIyGiqTwEfzUoN1i50s4jPhIQr7SZYFrP xbchO2rDJEXntkSF4CMfrsDIkPbRE0GSl5WDcWoEv3N4vmzEQNaHL2i1GTsIei4qjcvY h9+tkwJExJ27yAmSrZhNJ1A42BDkmTWIhxICc= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.90.68.12 with SMTP id q12mr2465714aga.33.1244169685512; Thu, 04 Jun 2009 19:41:25 -0700 (PDT) In-Reply-To: <4A2864E1.40208@ruomad.net> References: <4A2864E1.40208@ruomad.net> Date: Fri, 5 Jun 2009 10:41:25 +0800 X-Google-Sender-Auth: 8cdbd68aa5151d35 Message-ID: From: Adrian Chadd To: Bruno Damour Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-xen@freebsd.org Subject: Re: freebsd on opensolaris 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: Fri, 05 Jun 2009 02:41:26 -0000 2009/6/5 Bruno Damour : > Hello, > I have tried for some time to get to install freeBSD on an up-to-date (SX= CE > b114) opensolaris xvm box =A0(xen 3.1.4) which already has had success in > running in a quite stable xay NetBSD and Gentoo Linux as PV domUs and > different Windows flavours (Server 2008, Win7 RC, Xp, Server 2003) as HVM > domUs. G'day! I've been meaning to trial FreeBSD under Opensolaris/Xen. Thanks for trying it out! > However, freeBSD does not boot as an HVM host and xen-kernel have been > impossible to find. It should boot as a HVM host. Please post further details. I admit I haven't even looked at HVM support yet as I just use PVM exclusively here. > So I'm glad eventually Adrian put some kernel/images, which I have tried = to > test. > My goal is to be able to install and run a current freebsd. > > It has been a bit hacky, but it boots allright with adrians kernel and im= age > as xbd0. I've even succeeded to install a 7.2-RELEASE via sysinstall/ftp = to > a zvol (under xbd2). Could you please post what you've done here? > However, even if ftp install works, network traffic in general (ftp to do= m0, > ssh, csup) panics the domu and in about 1 case of 4 even freezes the dom0= . I'll upload a more recent filesystem image now for you to test. It should be more stable. I'd like to fix all all of the DomU panics as soon as possible. I'd also be curious about the DomU messing up the Dom0 - I've seen it happen before locally using Linux. I think the various Xen related groups out there would love to hear about any issues which upset dom0 stability. > It might be related to my dom0 being an amd64 (intel core2 quad E6600) > whereas adrian's system =A0is i386 ? Later versions of the Xen hypervisor should support 32-bit PVM on 64-bit hypervisor/dom0. > I cannot even try to build a new kernel because : > - there is no xen in 7.2-RELEASE which I can isntall > - updating via csup to current does not work (as mentioned) > - I cannot find a way to install a current snapshot as I cannot boot from > the downloaded iso images i have (no cdrom, Adrian's kernel only boots = =A0from > root image) > - I have no bare metal freebsd host I can use to build a different kernel > > Any ideas ? I've built a more recent -current image here to do tests with. I'll upload it as a filesystem image for you to do testing with. I'd like whatever information you can provide about the domU panic. It should dump you into the kernel debugger. Please type "bt" at the (ddb) prompt and then provide me with a copy of the domU console output. Don't kill the domain either; I may ask for further ddb commands. My goal is to try and sort out the majority of stability issues in the single vcpu DomU case before 8.0-RELEASE. I don't have any plans (ie, I just can't dedicate any further unpaid time) to work on making 64 bit support function or making the installation process easier. Thanks, Adrian From owner-freebsd-xen@FreeBSD.ORG Fri Jun 5 05:01:04 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 4D4A31065672 for ; Fri, 5 Jun 2009 05:01:04 +0000 (UTC) (envelope-from llama@ruomad.net) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by mx1.freebsd.org (Postfix) with ESMTP id D838C8FC20 for ; Fri, 5 Jun 2009 05:00:59 +0000 (UTC) (envelope-from llama@ruomad.net) Received: from localhost (mfilter4-d.gandi.net [217.70.178.45]) by relay2-d.mail.gandi.net (Postfix) with ESMTP id 95AA7225176; Fri, 5 Jun 2009 07:00:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter4-d.mgt.gandi.net Received: from relay2-d.mail.gandi.net ([217.70.183.194]) by localhost (mfilter4-d.mgt.gandi.net [217.70.178.45]) (amavisd-new, port 10024) with ESMTP id kNsoLPvKlc7y; Fri, 5 Jun 2009 07:00:55 +0200 (CEST) Received: from [192.168.0.100] (vln78-1-82-238-160-33.fbx.proxad.net [82.238.160.33]) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 1C32C225173; Fri, 5 Jun 2009 07:00:53 +0200 (CEST) Message-ID: <4A28A674.6020809@ruomad.net> Date: Fri, 05 Jun 2009 07:00:36 +0200 From: Bruno Damour User-Agent: Thunderbird 2.0.0.21 (X11/20090323) MIME-Version: 1.0 To: adrian@freebsd.org References: <4A2864E1.40208@ruomad.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: freebsd on opensolaris 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: Fri, 05 Jun 2009 05:01:04 -0000 Adrian Chadd wrote: > 2009/6/5 Bruno Damour : > >> Hello, >> I have tried for some time to get to install freeBSD on an up-to-date (SXCE >> b114) opensolaris xvm box (xen 3.1.4) which already has had success in >> running in a quite stable xay NetBSD and Gentoo Linux as PV domUs and >> different Windows flavours (Server 2008, Win7 RC, Xp, Server 2003) as HVM >> domUs. >> > > G'day! > > I've been meaning to trial FreeBSD under Opensolaris/Xen. Thanks for > trying it out! > > >> However, freeBSD does not boot as an HVM host and xen-kernel have been >> impossible to find. >> > > It should boot as a HVM host. Please post further details. I admit I > haven't even looked at HVM support yet as I just use PVM exclusively > here. > > >> So I'm glad eventually Adrian put some kernel/images, which I have tried to >> test. >> My goal is to be able to install and run a current freebsd. >> >> It has been a bit hacky, but it boots allright with adrians kernel and image >> as xbd0. I've even succeeded to install a 7.2-RELEASE via sysinstall/ftp to >> a zvol (under xbd2). >> > > Could you please post what you've done here? > > >> However, even if ftp install works, network traffic in general (ftp to dom0, >> ssh, csup) panics the domu and in about 1 case of 4 even freezes the dom0. >> > > I'll upload a more recent filesystem image now for you to test. It > should be more stable. I'd like to fix all all of the DomU panics as > soon as possible. I'd also be curious about the DomU messing up the > Dom0 - I've seen it happen before locally using Linux. I think the > various Xen related groups out there would love to hear about any > issues which upset dom0 stability. > > >> It might be related to my dom0 being an amd64 (intel core2 quad E6600) >> whereas adrian's system is i386 ? >> > > Later versions of the Xen hypervisor should support 32-bit PVM on > 64-bit hypervisor/dom0. > > >> I cannot even try to build a new kernel because : >> - there is no xen in 7.2-RELEASE which I can isntall >> - updating via csup to current does not work (as mentioned) >> - I cannot find a way to install a current snapshot as I cannot boot from >> the downloaded iso images i have (no cdrom, Adrian's kernel only boots from >> root image) >> - I have no bare metal freebsd host I can use to build a different kernel >> >> Any ideas ? >> > > I've built a more recent -current image here to do tests with. I'll > upload it as a filesystem image for you to do testing with. > > I'd like whatever information you can provide about the domU panic. It > should dump you into the kernel debugger. Please type "bt" at the > (ddb) prompt and then provide me with a copy of the domU console > output. Don't kill the domain either; I may ask for further ddb > commands. > > My goal is to try and sort out the majority of stability issues in the > single vcpu DomU case before 8.0-RELEASE. I don't have any plans (ie, > I just can't dedicate any further unpaid time) to work on making 64 > bit support function or making the installation process easier. > Thanks for your quick reply ! Here is a summary of the process to install on a zvol kernel = "/boot/kernel/kernel" extra = "vfs.root.mountfrom=ufs:xbd0" extra += ",boot_verbose=yes,kern.hz=256" [...] disk = [ 'file:/tank/xvm/FreeBSD/root-head-r192577.img,0xCA00,w', 'phy:/dev/zvol/dsk/tank/dworkin.raw,0xCA20,w' ] # zfs create -V 15G tank/dworkin.raw # xm new dworkin.cfg # xm start dworkin -c # sysinstall < ->Index->Partition xbd2, auto, write ->Exit Install> # halt # xm start dworkin -c # sysinstall < ->Index->Label xbd1, auto, write (ignore errors) ->Exit Install> # halt # mkdir /mnt/freebsd # newfs /dev/xbd2s1a # mount -t ufs /dev/xbd2s1a /mnt/freebsd/ # mkdir /mnt/freebsd/var # newfs /dev/xbd2s1d # mount -t ufs /dev/xbd2s1d /mnt/freebsd/var/ # mkdir /mnt/freebsd/tmp # newfs /dev/xbd2s1e # mount -t ufs /dev/xbd2s1e /mnt/freebsd/tmp # mkdir /mnt/freebsd/usr # newfs /dev/xbd2s1f # mount -t ufs /dev/xbd2s1f /mnt/freebsd/usr # swapon /dev/xbd2s1b # ifconfig xn0 inet 192.168.0.196 && route add default 192.168.0.1 # echo domain ruomad.local >/etc/resolv.conf # echo nameserver 192.168.0.1 >>/etc/resolv.conf # cat /etc/resolv.conf # ping www.freebsd.org # cd /mnt/freebsd # sysinstall <->Standard-> sysinstall get all, install to /mnt/freebsd, tem /mnt/tmp, IPv6, > cd /mnt/freebsd tweak /etc/ttys (add xc0), /etc resolv.conf, /etc/fstab change dworkin.cfg with : extra = "vfs.root.mountfrom=ufs:xbd2s1a" it boots !!! ;-) but I cannot cvs And here is the panic. This one is directly after booting to your kernel and image and cd to a free space on the freshly mounted zvol (as above). csup /root/stable-supfile Connected to 64.74.207.33 Kernel page fault with the following non-sleepable locks held: exclusive sleep mutex xennetif_tx (network transmit lock) r = 0 (0xc39440a0) locked @ /home/adrian/work/freebsd/xen/svn/head/sys/dev/xen/netfront/netfront.c:1118 KDB: stack backtrace: X_db_sym_numargs(c0360308,c3527ab8,c0111ac5,c0383ef6,45e,...) at X_db_sym_numargs+0x146 kdb_backtrace(c0383ef6,45e,ffffffff,c0511ef4,c3527af0,...) at kdb_backtrace+0x29 witness_display_spinlock(c036278d,c3527b04,4,1,0,...) at witness_display_spinlock+0x75 witness_warn(5,0,c038c634,c3527b60,c,...) at witness_warn+0x1fd trap(c3527b8c) at trap+0x13e alltraps(c39440a0,0,c0383ef6,45e,6450ffff,...) at alltraps+0x1b xlvbd_add(c3944000,c3527cc8,c00c3814,c03d5d00,c3783738,...) at xlvbd_ad intr_event_execute_handlers(c37097ec,c3783700,c0358a72,4e9,c3783770,... _event_execute_handlers+0x125 intr_event_add_handler(c3708bf0,c3527d38,c03587a5,336,c37097ec,...) at t_add_handler+0x41f fork_exit(c00afcd0,c3708bf0,c3527d38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xc3527d70, ebp = 0 --- Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x3 fault code = supervisor read, page not present instruction pointer = 0x21:0xc0300ad9 stack pointer = 0x29:0xc3527bcc frame pointer = 0x29:0xc3527bfc code segment = base 0x0, limit 0xf9800, type 0x1b = DPL 1, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 12 (irq135: xn) [thread pid 12 tid 100024 ] Stopped at xlvbd_add+0x2039: cmpl $0,0(%edi) db> And here is the only message I have got about Dom0 crash Jun 5 01:43:57 amber xnb: [ID 703724 kern.warning] WARNING: xnb_from_peer: failed to map buffer: -3 I will try your knew image this evening (after work ;-) Thanks a lot Bruno From owner-freebsd-xen@FreeBSD.ORG Fri Jun 5 05:16: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 2C3621065675; Fri, 5 Jun 2009 05:16:13 +0000 (UTC) (envelope-from llama@ruomad.net) Received: from relay3-v.mail.gandi.net (relay3-v.mail.gandi.net [217.70.178.77]) by mx1.freebsd.org (Postfix) with ESMTP id 8403D8FC08; Fri, 5 Jun 2009 05:16:12 +0000 (UTC) (envelope-from llama@ruomad.net) Received: from localhost (mfilter2-v.gandi.net [217.70.178.36]) by relay3-v.mail.gandi.net (Postfix) with ESMTP id 6D96ABA19; Fri, 5 Jun 2009 07:16:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter2-v.mgt.gandi.net Received: from relay3-v.mail.gandi.net ([217.70.178.77]) by localhost (mfilter2-v.gandi.net [217.70.178.36]) (amavisd-new, port 10024) with ESMTP id By+OxeHL9A+h; Fri, 5 Jun 2009 07:16:10 +0200 (CEST) Received: from [192.168.0.104] (vln78-1-82-238-160-33.fbx.proxad.net [82.238.160.33]) by relay3-v.mail.gandi.net (Postfix) with ESMTP id 4A362BA14; Fri, 5 Jun 2009 07:16:08 +0200 (CEST) Message-ID: <4A28AA18.3010808@ruomad.net> Date: Fri, 05 Jun 2009 07:16:08 +0200 From: Bruno Damour User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: adrian@freebsd.org References: <4A2864E1.40208@ruomad.net> <4A28A674.6020809@ruomad.net> In-Reply-To: <4A28A674.6020809@ruomad.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: freebsd on opensolaris 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: Fri, 05 Jun 2009 05:16:13 -0000 >> I'd like whatever information you can provide about the domU panic. It >> should dump you into the kernel debugger. Please type "bt" at the >> (ddb) prompt and then provide me with a copy of the domU console >> output. Don't kill the domain either; I may ask for further ddb >> commands. Here is a full log and the output of bt : The fsck bit is because of previous crash :-( amber ~ # xm start -c dworkin 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 #0: Fri May 22 15:45:51 UTC 2009 adrian@agnus.home.cacheboy.net:/home/adrian/work/freebsd/xen/obj-head/home/adrian/work/freebsd/xen/svn/head/sys/XEN WARNING: WITNESS option enabled, expect reduced performance. Xen reported: 2404.110 MHz processor. Timecounter "ixen" frequency 1000000000 Hz quality 0 CPU: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (2404.11-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6fb Stepping = 11 Features=0xbfebfbff Features2=0xe3bd AMD Features=0x20000000 AMD Features2=0x1 TSC: P-state invariant Instruction TLB: 4 KB Pages, 4-way set associative, 128 entries 1st-level instruction cache: 32 KB, 8-way set associative, 64 byte line size 1st-level data cache: 32 KB, 8-way set associative, 64 byte line size L2 cache: 4096 kbytes, 16-way associative, 64 bytes/line real memory = 1073741824 (1024 MB) Physical memory chunk(s): 0x0000000000898000 - 0x000000003edb2fff, 1045540864 bytes (255259 pages) avail memory = 1041543168 (993 MB) APIC: Using the MPTable enumerator. SMP: Added CPU 0 (BSP) ULE: setup cpu 0 cpu=0 irq=0 vector=0 cpu=0 irq=0 vector=1 Event-channel device installed. random: kbd0 at kbdmux0 mem: Pentium Pro MTRR support enabled nfslock: pseudo-device null: io: Grant table initialized xenbus0: on motherboard xc0: on motherboard npx0: INT 16 interface Device configuration finished. procfs registered Timecounters tick every 3.906 msec lo0: bpf attached xbd0: 512MB at device/vbd/51712 on xenbus0 GEOM: new disk xbd0 xbd2: 15360MB at device/vbd/51744 on xenbus0 xn0: at device/vif/0 on xenbus0 xn0: bpf attached xn0: Ethernet address: 00:16:3e:1e:25:20 WARNING: WITNESS option enabled, expect reduced performance. flowtable cleaner started GEOM_LABEL: Label for provider xbd0 is ufsid/4a16ce286b8b4567. GEOM: new disk xbd2 GEOM_LABEL: Label for provider xbd2s1a is ufsid/4a16db167f8af2d3. GEOM_LABEL: Label for provider xbd2s1d is ufsid/4a16db25c19c561d. GEOM_LABEL: Label for provider xbd2s1e is ufsid/4a16db2ef57551da. GEOM_LABEL: Label for provider xbd2s1f is ufsid/4a16db38da6982fb. Trying to mount root from ufs:xbd0 WARNING: / was not properly dismounted warning: no time-of-day clock registered, system time will not be set accurately start_init: trying /sbin/init No suitable dump device was found. Entropy harvesting: interrupts ethernet point_to_point kickstart. swapon: /dev/xbd1: No such file or directory GEOM_LABEL: Label ufsid/4a16ce286b8b4567 removed. /dev/xbd0: 11109 files, 201951 used, 320640 free (264 frags, 40047 blocks, 0.1% fragmentation) GEOM_LABEL: Label for provider xbd0 is ufsid/4a16ce286b8b4567. GEOM_LABEL: Label ufsid/4a16ce286b8b4567 removed. /etc/rc: WARNING: $hostname is not set -- see rc.conf(5). Starting Network: lo0. /etc/rc: WARNING: Dump device does not exist. Savecore not run. Sat May 23 11:16:58 UTC 2009 FreeBSD/i386 (Amnesiac) (xc0) login: root Password: May 23 11:42:36 login: ROOT LOGIN (root) ON xc0 Last login: Sat May 23 11:14:14 on xc0 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 8.0-CURRENT (XEN) #0: Fri May 22 15:45:51 UTC 2009 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently. o The Handbook and FAQ documents are at http://www.FreeBSD.org/ and, along with the mailing lists, can be searched by going to http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. You have new mail. # pwd /root # ll total 28 -rw-r--r-- 2 root wheel 724 May 22 15:47 .cshrc -rw-r--r-- 1 root wheel 80 May 22 15:47 .k5login -rw-r--r-- 1 root wheel 229 May 22 15:47 .login -rw-r--r-- 2 root wheel 189 May 22 15:47 .profile -r--r--r-- 1 root wheel 3921 May 23 11:11 stable-supfile -rw-r--r-- 1 root wheel 19727 May 23 11:05 sysinstall.debug # uname -a FreeBSD 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Fri May 22 15:45:51 UTC 2009 adrian@agnus.home.cacheboy.net:/home/adrian/work/freebsd/xen/obj-head/home/adrian/work/freebsd/xen/svn/head/sys/XEN i386 # df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/xbd0 522591 201955 278829 42% / devfs 1 1 0 100% /dev # ls /mnt/freebsd/ # mount -t ufs /dev/xbd2s1a /mnt/freebsd/ GEOM_LABEL: Label ufsid/4a16db167f8af2d3 removed. WARNING: R/W mount of /mnt/freebsd denied. Filesystem is not clean - run fsck GEOM_LABEL: Label for provider xbd2s1a is ufsid/4a16db167f8af2d3. mount: /dev/xbd2s1a : Operation not permitted # fsck -t ufs /dev/xdb2s1a /dev/xdb2s1a (No such file or directory)Can't stat /dev/xdb2s1a Can't stat /dev/xdb2s1a: No such file or directory Can't stat /dev/xdb2s1a: No such file or directory # fsck -t ufs /dev/xbd2s1a GEOM_LABEL: Label ufsid/4a16db167f8af2d3 removed. ** /dev/xbd2s1a ** Last Mounted on /mnt/freebsd ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 6 files, 15 used, 253800 free (40 frags, 31720 blocks, 0.0% fragmentation) ***** FILE SYSTEM MARKED CLEAN ***** GEOM_LABEL: Label for provider xbd2s1a is ufsid/4a16db167f8af2d3. # fsck -t ufs /dev/xbd2s1d GEOM_LABEL: Label ufsid/4a16db25c19c561d removed. ** /dev/xbd2s1d ** Last Mounted on /mnt/freebsd/var ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 2 files, 2 used, 1008405 free (21 frags, 126048 blocks, 0.0% fragmentation) ***** FILE SYSTEM MARKED CLEAN ***** GEOM_LABEL: Label for provider xbd2s1d is ufsid/4a16db25c19c561d. # fsck -t ufs /dev/xbd2s1e GEOM_LABEL: Label ufsid/4a16db2ef57551da removed. ** /dev/xbd2s1e ** Last Mounted on /mnt/freebsd/tmp ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 2 files, 2 used, 253813 free (21 frags, 31724 blocks, 0.0% fragmentation) ***** FILE SYSTEM MARKED CLEAN ***** GEOM_LABEL: Label for provider xbd2s1e is ufsid/4a16db2ef57551da. # fsck -t ufs /dev/xbd2s1f GEOM_LABEL: Label ufsid/4a16db38da6982fb removed. ** /dev/xbd2s1f ** Last Mounted on /mnt/freebsd/usr ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 4 files, 475934 used, 4614034 free (18 frags, 576752 blocks, 0.0% fragmentation) ***** FILE SYSTEM MARKED CLEAN ***** GEOM_LABEL: Label for provider xbd2s1f is ufsid/4a16db38da6982fb. # mount -t ufs /dev/xbd2s1a /mnt/freebsd/ GEOM_LABEL: Label ufsid/4a16db167f8af2d3 removed. # mount -t ufs /dev/xbd2s1d /mnt/freebsd/var/ GEOM_LABEL: Label ufsid/4a16db25c19c561d removed. # mount -t ufs /dev/xbd2s1e /mnt/freebsd/tmp GEOM_LABEL: Label ufsid/4a16db2ef57551da removed. # mount -t ufs /dev/xbd2s1f /mnt/freebsd/usr GEOM_LABEL: Label ufsid/4a16db38da6982fb removed. # cat current-supfile *default host=ftp13.FreeBSD.org *default base=/mnt/freebsd/var/db *default prefix=/mnt/freebsd/usr *default release=cvs tag=. *default delete use-rel-suffix src-all # swapon /dev/xbd2s1b # ifconfig xn0 inet 192.168.0.196 && route add default 192.168.0.1 add net default: gateway 192.168.0.1 # cat /etc/resolv.conf domain ruomad.local nameserver 192.168.0.1 # ping www.freebsd.org PING www.freebsd.org (69.147.83.33): 56 data bytes 64 bytes from 69.147.83.33: icmp_seq=0 ttl=51 time=214.843 ms 64 bytes from 69.147.83.33: icmp_seq=1 ttl=52 time=199.219 ms 64 bytes from 69.147.83.33: icmp_seq=2 ttl=52 time=207.031 ms ^C --- www.freebsd.org ping statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 199.219/207.031/214.843/6.378 ms # csup current-supfile Connected to 64.74.207.33 Kernel page fault with the following non-sleepable locks held: exclusive sleep mutex xennetif_tx (network transmit lock) r = 0 (0xc39440a0) locked @ /home/adrian/work/freebsd/xen/svn/head/sys/dev/xen/netfront/netfront.c:1118 KDB: stack backtrace: X_db_sym_numargs(c0360308,c3527ab8,c0111ac5,c0383ef6,45e,...) at X_db_sym_numargs+0x146 kdb_backtrace(c0383ef6,45e,ffffffff,c0511c34,c3527af0,...) at kdb_backtrace+0x29 witness_display_spinlock(c036278d,c3527b04,4,1,0,...) at witness_display_spinlock+0x75 witness_warn(5,0,c038c634,c3527b60,c,...) at witness_warn+0x1fd trap(c3527b8c) at trap+0x13e alltraps(c39440a0,0,c0383ef6,45e,6450ffff,...) at alltraps+0x1b xlvbd_add(c3944000,c3527cc8,c00c3814,c03d5d00,c3783738,...) at xlvbd_add+0x32d0 intr_event_execute_handlers(c37097ec,c3783700,c0358a72,4e9,c3783770,...) at intr_event_execute_handlers+0x125 intr_event_add_handler(c3708c30,c3527d38,c03587a5,336,c37097ec,...) at intr_event_add_handler+0x41f fork_exit(c00afcd0,c3708c30,c3527d38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xc3527d70, ebp = 0 --- Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x2 fault code = supervisor read, page not present instruction pointer = 0x21:0xc0300ad9 stack pointer = 0x29:0xc3527bcc frame pointer = 0x29:0xc3527bfc code segment = base 0x0, limit 0xf9800, type 0x1b = DPL 1, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 12 (irq135: xn) [thread pid 12 tid 100024 ] Stopped at xlvbd_add+0x2039: cmpl $0,0(%edi) db> bt Tracing pid 12 tid 100024 td 0xc3757d80 xlvbd_add(c39440a0,0,c0383ef6,45e,6450ffff,...) at xlvbd_add+0x2039 xlvbd_add(c3944000,c3527cc8,c00c3814,c03d5d00,c3783738,...) at xlvbd_add+0x32d0 intr_event_execute_handlers(c37097ec,c3783700,c0358a72,4e9,c3783770,...) at intr_event_execute_handlers+0x125 intr_event_add_handler(c3708c30,c3527d38,c03587a5,336,c37097ec,...) at intr_event_add_handler+0x41f fork_exit(c00afcd0,c3708c30,c3527d38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xc3527d70, ebp = 0 --- db> From owner-freebsd-xen@FreeBSD.ORG Fri Jun 5 05:47:32 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 E16981065673 for ; Fri, 5 Jun 2009 05:47:32 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id 998288FC0C for ; Fri, 5 Jun 2009 05:47:32 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qyk3 with SMTP id 3so2015483qyk.3 for ; Thu, 04 Jun 2009 22:47:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=ZdSAX+e5bXppe5Fg9erfNyQ9BGpG5zDNk297dx/9E04=; b=doybK60g71ON4VW4eZKfZ+NwjdMWSqCDuBw/KZ1XtjVUE6AtiN8R3lH/LHAg/43j2P 018GF7a4vuof0GqBRD7h93FfuYSqjcjKzjxr15DGSSfZwf+UH75QQ9pjXwYjUt1D/kO6 95lN4rUQAG1UGQtx19YmR9XXWjDtOWhG8UC3k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=IQ8nLHSHEVDMt1fOap6Es4TehqeAA+5YsC6FqVJVeIDeGvVy9JWe++7B5nFtKpzK3H mP8NdMinCOSq/5H81ibQMWBnQ2DBbEYAf06/8kPvo8pR76WLCKmYJmY/ZtJMjJm3KDXr iIMKblOl4W2B4nR0p2Z5JY3r9TYKK0h8SWIVQ= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.100.4 with SMTP id w4mr764705qcn.53.1244180852119; Thu, 04 Jun 2009 22:47:32 -0700 (PDT) In-Reply-To: <4A2864E1.40208@ruomad.net> References: <4A2864E1.40208@ruomad.net> Date: Fri, 5 Jun 2009 13:47:32 +0800 X-Google-Sender-Auth: 31195a0c62548b00 Message-ID: From: Adrian Chadd To: Bruno Damour Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: freebsd on opensolaris 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: Fri, 05 Jun 2009 05:47:33 -0000 G'day, I've just uploaded another -current image. http://wiki.freebsd.org/AdrianChadd/XenImages will have a link to it. Pygrub will give you a boot menu list (just like normal GRUB) if you create the domain with "xm create -c". That attaches the console at startup, giving pygrub time to display the option(s). Please give that tree a similar whirl and let me know how you go. I'll keep the build and source around for a while longer so we can debug whatever issues creep up. Thanks, Adrian From owner-freebsd-xen@FreeBSD.ORG Sat Jun 6 16:16:01 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 AEF95106564A; Sat, 6 Jun 2009 16:16:01 +0000 (UTC) (envelope-from llama@ruomad.net) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by mx1.freebsd.org (Postfix) with ESMTP id 6CCA18FC12; Sat, 6 Jun 2009 16:16:00 +0000 (UTC) (envelope-from llama@ruomad.net) Received: from localhost (mfilter3-v.gandi.net [217.70.178.37]) by relay1-d.mail.gandi.net (Postfix) with ESMTP id 13D2A2552F4; Sat, 6 Jun 2009 18:16:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter3-v.mgt.gandi.net Received: from relay1-d.mail.gandi.net ([217.70.183.193]) by localhost (mfilter3-v.mgt.gandi.net [217.70.178.37]) (amavisd-new, port 10024) with ESMTP id Mkg4XoPg9F-w; Sat, 6 Jun 2009 18:15:59 +0200 (CEST) Received: from [192.168.0.100] (vln78-1-82-238-160-33.fbx.proxad.net [82.238.160.33]) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id F3A732552F3; Sat, 6 Jun 2009 18:15:58 +0200 (CEST) Message-ID: <4A2A962A.9050207@ruomad.net> Date: Sat, 06 Jun 2009 18:15:38 +0200 From: Bruno Damour User-Agent: Thunderbird 2.0.0.21 (X11/20090323) MIME-Version: 1.0 To: adrian@freebsd.org References: <4A2864E1.40208@ruomad.net> <4A28A674.6020809@ruomad.net> <4A28AA18.3010808@ruomad.net> In-Reply-To: <4A28AA18.3010808@ruomad.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: freebsd on opensolaris 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: Sat, 06 Jun 2009 16:16:01 -0000 Hello Adrian, Well, same pb w/ the new img : Cannot open "surrent-supfile": No such file or directory # csup current-supfile Connected to 130.94.149.166 Kernel page fault with the following non-sleepable locks held: exclusive sleep mutex xennetif_tx (network transmit lock) r = 0 (0xc39430a0) locked @ /home/adrian/work/freebsd/xen/svn/head/sys/dev/xen/netfront/netfront.c:1144 KDB: stack backtrace: X_db_sym_numargs(c03578d2,c3527ab4,c01166d5,c037b2c8,478,...) at X_db_sym_numargs+0x146 kdb_backtrace(c037b2c8,478,ffffffff,c050a974,c3527aec,...) at kdb_backtrace+0x29 witness_display_spinlock(c0359db5,c3527b00,4,1,0,...) at witness_display_spinlock+0x75 witness_warn(5,0,c0383c74,c3527b5c,c,...) at witness_warn+0x1fd trap(c3527b88) at trap+0x13e alltraps(c39430a0,0,c037b2c8,478,2,...) at alltraps+0x1b xlvbd_add(c3943000,c3527cc8,c00c6924,c03ce780,c3782538,...) at xlvbd_add+0x36b3 intr_event_execute_handlers(c37087ec,c3782500,c034fbb5,4e9,c3782570,...) at intr_event_execute_handlers+0x125 intr_event_add_handler(c3948130,c3527d38,c034f8e8,335,c37087ec,...) at intr_event_add_handler+0x41f fork_exit(c00afe50,c3948130,c3527d38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xc3527d70, ebp = 0 --- Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x2 fault code = supervisor read, page not present instruction pointer = 0x21:0xc02f719b stack pointer = 0x29:0xc3527bc8 frame pointer = 0x29:0xc3527bf8 code segment = base 0x0, limit 0xf9800, type 0x1b = DPL 1, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 12 (irq135: xn) [thread pid 12 tid 100024 ] Stopped at xlvbd_add+0x204b: cmpl $0,0(%edx) db> bt Tracing pid 12 tid 100024 td 0xc3756d80 xlvbd_add(c39430a0,0,c037b2c8,478,2,...) at xlvbd_add+0x204b xlvbd_add(c3943000,c3527cc8,c00c6924,c03ce780,c3782538,...) at xlvbd_add+0x36b3 intr_event_execute_handlers(c37087ec,c3782500,c034fbb5,4e9,c3782570,...) at intr_event_execute_handlers+0x125 intr_event_add_handler(c3948130,c3527d38,c034f8e8,335,c37087ec,...) at intr_event_add_handler+0x41f fork_exit(c00afe50,c3948130,c3527d38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xc3527d70, ebp = 0 --- db>