From owner-freebsd-xen@FreeBSD.ORG Mon Jun 17 11:06:56 2013 Return-Path: Delivered-To: freebsd-xen@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 760E7222 for ; Mon, 17 Jun 2013 11:06:56 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 55E4D1C2E for ; Mon, 17 Jun 2013 11:06:56 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5HB6u8M012956 for ; Mon, 17 Jun 2013 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5HB6tAl012954 for freebsd-xen@FreeBSD.org; Mon, 17 Jun 2013 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 17 Jun 2013 11:06:55 GMT Message-Id: <201306171106.r5HB6tAl012954@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 Subject: Current problem reports assigned to freebsd-xen@FreeBSD.org X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 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, 17 Jun 2013 11:06:56 -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/176471 xen [xen] xn driver crash on detach o kern/176053 xen [xen] [patch] i386: Correct wrong usage of vsnprintf() o kern/175954 xen [xen] XENHVM xn network driver extreme packet loss dur o kern/175822 xen [xen] FreeBSD 9.1 does not work with Xen 4.0 o kern/175757 xen [xen] [patch] xen pvhvm looses keyboard input from VNC o kern/171873 xen [xen] xn network device floods warning in dmesg o kern/171118 xen [xen] FreeBSD XENHVM guest doesn't shutdown cleanly o kern/166174 xen [xen] Problems ROOT MOUNT ERROR o kern/165418 xen [xen] Problems mounting root filesystem from XENHVM o kern/164630 xen [xen] XEN HVM kernel: run_interrupt_driven_hooks: stil o kern/164450 xen [xen] Failed to install FreeeBSD 9.0-RELEASE from CD i o kern/162677 xen [xen] FreeBSD not compatible with "Current Stable Xen" o kern/161318 xen [xen] sysinstall crashes with floating point exception o kern/155468 xen [xen] Xen PV i386 multi-kernel CPU system is not worki o kern/155353 xen [xen] [patch] put "nudging TOD" message under boot_ver o kern/154833 xen [xen]: xen 4.0 - DomU freebsd8.2RC3 i386, XEN kernel. o kern/154473 xen [xen] xen 4.0 - DomU freebsd8.1 i386, XEN kernel. Not o kern/154472 xen [xen] xen 4.0 - DomU freebsd8.1 i386 xen kernel reboot o kern/154428 xen [xen] xn0 network interface and PF - Massive performan o kern/153674 xen [xen] i386/XEN idle thread shows wrong percentages o kern/153672 xen [xen] [panic] i386/XEN panics under heavy fork load o kern/153620 xen [xen] Xen guest system clock drifts in AWS EC2 (FreeBS o kern/153477 xen [xen] XEN pmap code abuses vm page queue lock o kern/153150 xen [xen] xen/ec2: disable checksum offloading on interfac 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 f kern/143069 xen [xen] [panic] Xen Kernel Panic - Memory modified after f kern/135667 xen ufs filesystem corruption on XEN DomU system f 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 p 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 o kern/118734 xen [xen] FreeBSD 6.3-RC1 and FreeBSD 7.0-BETA 4 fail to b 35 problems total. From owner-freebsd-xen@FreeBSD.ORG Tue Jun 18 13:47:45 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A3E42F01 for ; Tue, 18 Jun 2013 13:47:45 +0000 (UTC) (envelope-from egoitz@sarenet.es) Received: from proxypop04.sare.net (proxypop04.sare.net [194.30.0.65]) by mx1.freebsd.org (Postfix) with ESMTP id 6BC1F1AC5 for ; Tue, 18 Jun 2013 13:47:45 +0000 (UTC) Received: from [172.16.2.46] (izaro.sarenet.es [192.148.167.11]) by proxypop04.sare.net (Postfix) with ESMTPSA id 905F19DC806 for ; Tue, 18 Jun 2013 15:47:37 +0200 (CEST) Message-ID: <51C064FD.7000506@sarenet.es> Date: Tue, 18 Jun 2013 15:47:41 +0200 From: Egoitz Aurrekoetxea User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130427 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-xen@freebsd.org Subject: FreeBSD instructions for XCP in BSDMag :) X-Enigmail-Version: 1.6a1pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 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, 18 Jun 2013 13:47:45 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Good afternoon, In this issue, BSDMagazine has given me the opportunity to share with the community the blog entry written some time ago (http://wiki.xen.org/wiki/FreeBSD_64-bit_HVM_on_XCP) about how to run FreeBSD in XCP... Let's encourage between all of us to Citrix in order to they support it officially :) :) Best regards, (FreeBSD Rules!) - -- ================================ Egoitz Aurrekoetxea Aurre Sarenet Departamento de sistemas 94 420 94 70 Parque tecnológico edificio 103 48170 Zamudio (Bizkaia) housing@sarenet.es www.sarenet.es ================================ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQEcBAEBAgAGBQJRwGT9AAoJEKIF8K6X0AkJEqEH/0HMIglxRcSj/VrjqZmQFfkP 32k9WQ4/YqbCYl/85fcZ+S96dxYMWkbphXzW8dgdf7pn/r19VwVzfKiqX9vl5DO5 ad4Yk+0aaSVeiEDV5mgGzEkBWSG7mwx3qjBAlKy5mDJJKsFeWwjoncLWtoOXh18L 6QwVZTbWHWiOazyG6j2rMk5pQAsnM2DqtI6re9jDfbYF9SalS7DXpPm4mavCZ5fR t2Rkrkdo0+0oF6CCTINaI6HweaT8xF0czRHOZljKYmx9X6f+PaaEduLTVtSzOskH 55fu9gD8uocEzEYXIul87f/t471W+oLcBc/bry/GSEVicA3m4EQIPZjL+NR5i+0= =Zgnq -----END PGP SIGNATURE----- From owner-freebsd-xen@FreeBSD.ORG Tue Jun 18 23:20:02 2013 Return-Path: Delivered-To: freebsd-xen@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 202A72A7 for ; Tue, 18 Jun 2013 23:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 12E3C1A2B for ; Tue, 18 Jun 2013 23:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5INK1DU040969 for ; Tue, 18 Jun 2013 23:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5INK1xY040968; Tue, 18 Jun 2013 23:20:01 GMT (envelope-from gnats) Date: Tue, 18 Jun 2013 23:20:01 GMT Message-Id: <201306182320.r5INK1xY040968@freefall.freebsd.org> To: freebsd-xen@FreeBSD.org Cc: From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: kern/176471: commit references a PR X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dfilter service 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, 18 Jun 2013 23:20:02 -0000 The following reply was made to PR kern/176471; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/176471: commit references a PR Date: Tue, 18 Jun 2013 23:14:35 +0000 (UTC) Author: gibbs Date: Tue Jun 18 23:14:21 2013 New Revision: 251973 URL: http://svnweb.freebsd.org/changeset/base/251973 Log: MFC Xen fixes: svn rev 250081 Author:gibbs Date:2013-04-29T23:08:13.552620Z ============== xenstore/xenstore.c: Prevent access to invalid memory region when listing an empty directory in the XenStore. Reported by: Bei Guan svn rev 250913 Author:gibbs Date:2013-05-22T17:13:03.545339Z ============== Correct panic on detach of Xen PV network interfaces. dev/xen/netfront: In netif_free(), properly stop the interface and drain any pending timers prior to disconnecting from the backend device. Remove all media and detach our interface object from the system prior to deleting it. PR: kern/176471 Submitted by: Roger Pau Monne Reviewed by: gibbs svn rev 250917 Author:gibbs Date:2013-05-22T19:22:44.923351Z ============== Fix loss of the emulated keyboard on Xen PV HVM domains. xen/xenbus/xenbusb.c: In xenbusb_probe_children(), do not modify the XenBus state of devices for which we have no PV driver support. An emulated device we do support may share this backend. Hide the node from XenBus instead. This prevents closing the vkbd device, which Qemu's emulated keyboard device is using as the source for keyboard events. Tested with qemu-xen-traditional, qemu-xen and qemu stubdomains, all working as expected. Submitted by: Roger Pau Monne Reviewed by: gibbs MFC after: 1 week svn rev 251175 Author:gibbs Date:2013-05-31T04:43:19.944993Z ============== Apply the ad* => ada* IDE device name transition to the Xen block front driver. Submitted by: Bei Guan Reviewed by: gibbs MFC after: 1 week svn rev 251176 Author:gibbs Date:2013-05-31T04:45:59.563195Z ============== Make netif_free() safe to call on a partially initialized softc. Sponsored by: Spectra Logic Corporation MFC after: 1 week svn rev 251729 Author:gibbs Date:2013-06-14T03:31:11.033200Z ============== sys/dev/xen/netfront/netfront.c: In netif_free(), call ifmedia_removeall() after ether_ifdetach() so that bpf listeners are detached, any link state processing is completed, and there is no chance for external reference to media information. Suggested by: yongari Modified: stable/9/sys/dev/xen/blkfront/blkfront.c stable/9/sys/dev/xen/netfront/netfront.c stable/9/sys/xen/xenbus/xenbusb.c stable/9/sys/xen/xenstore/xenstore.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/dev/ (props changed) Modified: stable/9/sys/dev/xen/blkfront/blkfront.c ============================================================================== --- stable/9/sys/dev/xen/blkfront/blkfront.c Tue Jun 18 23:11:36 2013 (r251972) +++ stable/9/sys/dev/xen/blkfront/blkfront.c Tue Jun 18 23:14:21 2013 (r251973) @@ -148,16 +148,16 @@ blkfront_vdevice_to_unit(uint32_t vdevic int base; const char *name; } info[] = { - {3, 6, 0, "ad"}, /* ide0 */ - {22, 6, 2, "ad"}, /* ide1 */ - {33, 6, 4, "ad"}, /* ide2 */ - {34, 6, 6, "ad"}, /* ide3 */ - {56, 6, 8, "ad"}, /* ide4 */ - {57, 6, 10, "ad"}, /* ide5 */ - {88, 6, 12, "ad"}, /* ide6 */ - {89, 6, 14, "ad"}, /* ide7 */ - {90, 6, 16, "ad"}, /* ide8 */ - {91, 6, 18, "ad"}, /* ide9 */ + {3, 6, 0, "ada"}, /* ide0 */ + {22, 6, 2, "ada"}, /* ide1 */ + {33, 6, 4, "ada"}, /* ide2 */ + {34, 6, 6, "ada"}, /* ide3 */ + {56, 6, 8, "ada"}, /* ide4 */ + {57, 6, 10, "ada"}, /* ide5 */ + {88, 6, 12, "ada"}, /* ide6 */ + {89, 6, 14, "ada"}, /* ide7 */ + {90, 6, 16, "ada"}, /* ide8 */ + {91, 6, 18, "ada"}, /* ide9 */ {8, 4, 0, "da"}, /* scsi disk0 */ {65, 4, 16, "da"}, /* scsi disk1 */ Modified: stable/9/sys/dev/xen/netfront/netfront.c ============================================================================== --- stable/9/sys/dev/xen/netfront/netfront.c Tue Jun 18 23:11:36 2013 (r251972) +++ stable/9/sys/dev/xen/netfront/netfront.c Tue Jun 18 23:14:21 2013 (r251973) @@ -2172,10 +2172,17 @@ netfront_detach(device_t dev) static void netif_free(struct netfront_info *info) { + XN_LOCK(info); + xn_stop(info); + XN_UNLOCK(info); + callout_drain(&info->xn_stat_ch); netif_disconnect_backend(info); -#if 0 - close_netdev(info); -#endif + if (info->xn_ifp != NULL) { + ether_ifdetach(info->xn_ifp); + if_free(info->xn_ifp); + info->xn_ifp = NULL; + } + ifmedia_removeall(&info->sc_media); } static void Modified: stable/9/sys/xen/xenbus/xenbusb.c ============================================================================== --- stable/9/sys/xen/xenbus/xenbusb.c Tue Jun 18 23:11:36 2013 (r251972) +++ stable/9/sys/xen/xenbus/xenbusb.c Tue Jun 18 23:14:21 2013 (r251973) @@ -404,6 +404,31 @@ xenbusb_device_sysctl_init(device_t dev) } /** + * \brief Decrement the number of XenBus child devices in the + * connecting state by one and release the xbs_attch_ch + * interrupt configuration hook if the connecting count + * drops to zero. + * + * \param xbs XenBus Bus device softc of the owner of the bus to enumerate. + */ +static void +xenbusb_release_confighook(struct xenbusb_softc *xbs) +{ + mtx_lock(&xbs->xbs_lock); + KASSERT(xbs->xbs_connecting_children > 0, + ("Connecting device count error\n")); + xbs->xbs_connecting_children--; + if (xbs->xbs_connecting_children == 0 + && (xbs->xbs_flags & XBS_ATTACH_CH_ACTIVE) != 0) { + xbs->xbs_flags &= ~XBS_ATTACH_CH_ACTIVE; + mtx_unlock(&xbs->xbs_lock); + config_intrhook_disestablish(&xbs->xbs_attach_ch); + } else { + mtx_unlock(&xbs->xbs_lock); + } +} + +/** * \brief Verify the existance of attached device instances and perform * probe/attach processing for newly arrived devices. * @@ -417,7 +442,7 @@ xenbusb_probe_children(device_t dev) { device_t *kids; struct xenbus_device_ivars *ivars; - int i, count; + int i, count, error; if (device_get_children(dev, &kids, &count) == 0) { for (i = 0; i < count; i++) { @@ -430,7 +455,30 @@ xenbusb_probe_children(device_t dev) continue; } - if (device_probe_and_attach(kids[i])) { + error = device_probe_and_attach(kids[i]); + if (error == ENXIO) { + struct xenbusb_softc *xbs; + + /* + * We don't have a PV driver for this device. + * However, an emulated device we do support + * may share this backend. Hide the node from + * XenBus until the next rescan, but leave it's + * state unchanged so we don't inadvertently + * prevent attachment of any emulated device. + */ + xenbusb_delete_child(dev, kids[i]); + + /* + * Since the XenStore state of this device + * still indicates a pending attach, manually + * release it's hold on the boot process. + */ + xbs = device_get_softc(dev); + xenbusb_release_confighook(xbs); + + continue; + } else if (error) { /* * Transition device to the closed state * so the world knows that attachment will @@ -579,31 +627,6 @@ xenbusb_nop_confighook_cb(void *arg __un { } -/** - * \brief Decrement the number of XenBus child devices in the - * connecting state by one and release the xbs_attch_ch - * interrupt configuration hook if the connecting count - * drops to zero. - * - * \param xbs XenBus Bus device softc of the owner of the bus to enumerate. - */ -static void -xenbusb_release_confighook(struct xenbusb_softc *xbs) -{ - mtx_lock(&xbs->xbs_lock); - KASSERT(xbs->xbs_connecting_children > 0, - ("Connecting device count error\n")); - xbs->xbs_connecting_children--; - if (xbs->xbs_connecting_children == 0 - && (xbs->xbs_flags & XBS_ATTACH_CH_ACTIVE) != 0) { - xbs->xbs_flags &= ~XBS_ATTACH_CH_ACTIVE; - mtx_unlock(&xbs->xbs_lock); - config_intrhook_disestablish(&xbs->xbs_attach_ch); - } else { - mtx_unlock(&xbs->xbs_lock); - } -} - /*--------------------------- Public Functions -------------------------------*/ /*--------- API comments for these methods can be found in xenbusb.h ---------*/ void Modified: stable/9/sys/xen/xenstore/xenstore.c ============================================================================== --- stable/9/sys/xen/xenstore/xenstore.c Tue Jun 18 23:11:36 2013 (r251972) +++ stable/9/sys/xen/xenstore/xenstore.c Tue Jun 18 23:14:21 2013 (r251973) @@ -307,7 +307,8 @@ split(char *strings, u_int len, u_int *n const char **ret; /* Protect against unterminated buffers. */ - strings[len - 1] = '\0'; + if (len > 0) + strings[len - 1] = '\0'; /* Count the strings. */ *num = extract_strings(strings, /*dest*/NULL, len); _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-xen@FreeBSD.ORG Wed Jun 19 11:13:31 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D050A5DB; Wed, 19 Jun 2013 11:13:31 +0000 (UTC) (envelope-from jeroen@dckd.nl) Received: from positron.dckd.nl (positron.dckd.nl [IPv6:2a02:898:62:f6::63]) by mx1.freebsd.org (Postfix) with ESMTP id 976F719A7; Wed, 19 Jun 2013 11:13:31 +0000 (UTC) Received: from wcw-staff-214-39.wireless.uva.nl (wcw-staff-214-39.wireless.uva.nl [145.18.214.39]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by positron.dckd.nl (Postfix) with ESMTPSA id 2DF7AF8012; Wed, 19 Jun 2013 13:13:21 +0200 (CEST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: FreeBSD PVHVM call for testing From: Jeroen van der Ham In-Reply-To: <51B9FF53.2020901@citrix.com> Date: Wed, 19 Jun 2013 13:13:20 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <2C70BC9B-5964-498F-AAE2-E5024160E3E5@dckd.nl> References: <519131D8.9010307@citrix.com> <519E54DE.5090304@citrix.com> <51B5E730.6070007@citrix.com> <51B9FF53.2020901@citrix.com> To: =?iso-8859-1?Q?Roger_Pau_Monn=E9?= X-Mailer: Apple Mail (2.1508) Cc: freebsd-xen@freebsd.org, "Justin T. Gibbs" , xen-devel , freebsd-virtualization@freebsd.org, xen-users@lists.xen.org X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jun 2013 11:13:31 -0000 Hi, I've just built a new kernel based on pvhvm_v17, but it panicked on = boot. I still have a xen console attached, so I can provide additional = information if someone gives me the right commands. Jeroen. From owner-freebsd-xen@FreeBSD.ORG Wed Jun 19 11:34:13 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5F1AEBDE; Wed, 19 Jun 2013 11:34:13 +0000 (UTC) (envelope-from roger.pau@citrix.com) Received: from SMTP.EU.CITRIX.COM (smtp.eu.citrix.com [46.33.159.39]) by mx1.freebsd.org (Postfix) with ESMTP id AF60C1A73; Wed, 19 Jun 2013 11:34:12 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.87,896,1363132800"; d="scan'208";a="5821509" Received: from lonpex01cl01.citrite.net ([10.30.203.101]) by LONPIPO01.EU.CITRIX.COM with ESMTP/TLS/AES128-SHA; 19 Jun 2013 11:34:05 +0000 Received: from [192.168.1.30] (10.30.203.1) by LONPEX01CL01.citrite.net (10.30.203.101) with Microsoft SMTP Server id 14.2.342.4; Wed, 19 Jun 2013 12:34:04 +0100 Message-ID: <51C1972B.50703@citrix.com> Date: Wed, 19 Jun 2013 13:34:03 +0200 From: =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Jeroen van der Ham Subject: Re: FreeBSD PVHVM call for testing References: <519131D8.9010307@citrix.com> <519E54DE.5090304@citrix.com> <51B5E730.6070007@citrix.com> <51B9FF53.2020901@citrix.com> <2C70BC9B-5964-498F-AAE2-E5024160E3E5@dckd.nl> In-Reply-To: <2C70BC9B-5964-498F-AAE2-E5024160E3E5@dckd.nl> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.30.203.1] Cc: freebsd-xen@freebsd.org, "Justin T. Gibbs" , xen-devel , freebsd-virtualization@freebsd.org, xen-users@lists.xen.org X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jun 2013 11:34:13 -0000 On 19/06/13 13:13, Jeroen van der Ham wrote: > Hi, > > I've just built a new kernel based on pvhvm_v17, but it panicked on boot. > > I still have a xen console attached, so I can provide additional information if someone gives me the right commands. > > Jeroen. > Could you provide the boot log of the DomU, backtrace, Xen version and Dom0 kernel version? From owner-freebsd-xen@FreeBSD.ORG Wed Jun 19 12:16:19 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EF9849E6; Wed, 19 Jun 2013 12:16:19 +0000 (UTC) (envelope-from jeroen@dckd.nl) Received: from positron.dckd.nl (positron.dckd.nl [94.142.246.99]) by mx1.freebsd.org (Postfix) with ESMTP id 965031CBB; Wed, 19 Jun 2013 12:16:19 +0000 (UTC) Received: from nb-vdham.science.uva.nl (nb-vdham.science.uva.nl [146.50.52.179]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by positron.dckd.nl (Postfix) with ESMTPSA id 0BC17F8012; Wed, 19 Jun 2013 14:16:17 +0200 (CEST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: FreeBSD PVHVM call for testing From: Jeroen van der Ham In-Reply-To: <51C1972B.50703@citrix.com> Date: Wed, 19 Jun 2013 14:16:16 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <519131D8.9010307@citrix.com> <519E54DE.5090304@citrix.com> <51B5E730.6070007@citrix.com> <51B9FF53.2020901@citrix.com> <2C70BC9B-5964-498F-AAE2-E5024160E3E5@dckd.nl> <51C1972B.50703@citrix.com> To: =?iso-8859-1?Q?Roger_Pau_Monn=E9?= X-Mailer: Apple Mail (2.1508) Cc: freebsd-xen@freebsd.org, "Justin T. Gibbs" , xen-devel , freebsd-virtualization@freebsd.org, xen-users@lists.xen.org X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jun 2013 12:16:20 -0000 On 19 Jun 2013, at 13:34, Roger Pau Monn=E9 = wrote: >=20 > Could you provide the boot log of the DomU, backtrace, Xen version and > Dom0 kernel version? I did not have a console attached when it rebooted, so I did not have a = log of the initial boot. Now that I did, I see that it fails to mount = its root volume. It had been running previously on pvhvm_v10 for about two weeks without = problems. I updated my local git, and recompiled the kernel and = rebooted. Then this happened. In order: Booting... GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2013 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 10.0-CURRENT #2 r+6ff8d00-dirty: Tue Jun 18 12:55:16 CEST 2013 root@image01:/usr/obj/root/freebsd/sys/XENHVM amd64 FreeBSD clang version 3.3 (trunk 178860) 20130405 WARNING: WITNESS option enabled, expect reduced performance. XEN: Hypervisor version 4.0 detected. CPU: Quad-Core AMD Opteron(tm) Processor 2374 HE (2200.07-MHz K8-class = CPU) Origin =3D "AuthenticAMD" Id =3D 0x100f42 Family =3D 0x10 Model =3D = 0x4 Stepping =3D 2 = Features=3D0x1781fbff Features2=3D0x80802001 AMD Features=3D0xe2500800 AMD Features2=3D0x1f3 real memory =3D 536870912 (512 MB) avail memory =3D 472260608 (450 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 2 random device not loaded; using insecure entropy ioapic0: Changing APIC ID to 1 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-47 on motherboard kbd1 at kbdmux0 xen_et0: on motherboard Event timer "XENTIMER" frequency 1000000000 Hz quality 950 Timecounter "XENTIMER" frequency 1000000000 Hz quality 950 acpi0: on motherboard acpi0: Power Button (fixed) acpi0: Sleep Button (fixed) acpi0: reservation of 0, a0000 (3) failed cpu0: on acpi0 cpu1: on acpi0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: port 0x70-0x71 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x1f48-0x1f4b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 isab0: at device 1.0 on pci0 isa0: on isab0 atapci0: port = 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc300-0xc30f at device 1.1 on pci0 ata0: at channel 0 on atapci0 ata1: at channel 1 on atapci0 pci0: at device 1.3 (no driver attached) vgapci0: mem = 0xf0000000-0xf1ffffff,0xf3000000-0xf3000fff at device 2.0 on pci0 xenpci0: port 0xc000-0xc0ff mem = 0xf2000000-0xf2ffffff irq 28 at device 3.0 on pci0 xenstore0: on xenpci0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on = acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: console (9600,n,8,1) ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 orm0: at iomem 0xc9000-0xc97ff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on = isa0 fdc0: No FDOUT register! Timecounters tick every 10.000 msec xenbusb_front0: on xenstore0 cd0 at ata1 bus 0 scbus1 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: cd present [360385 x 2048 byte records] xn0: at device/vif/0 on xenbusb_front0 xn0: Ethernet address: 00:16:3e:2f:b7:22 xn1: at device/vif/1 on xenbusb_front0 xn1: Ethernet address: 00:16:3e:3e:64:c5 xenbusb_back0: on xenstore0 xctrl0: on xenstore0 xn0: backend features: feature-sg feature-gso-tcp4 xn1: backend features: feature-sg feature-gso-tcp4 xbd0: 20480MB at device/vbd/768 on xenbusb_front0 xbd0: attaching as ada0 xbd0: disk supports cache flush using: barriers xbd1: 703MB at device/vbd/5632 on xenbusb_front0 xbd1: attaching as ada2 xbd1: disk supports cache flush using: barriers SMP: AP CPU #1 Launched! WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from ufs:/dev/ad0p2 [rw]... mountroot: waiting for device /dev/ad0p2 ... Mounting from ufs:/dev/ad0p2 failed with error 19. Loader variables: vfs.root.mountfrom=3Dufs:/dev/ad0p2 vfs.root.mountfrom.options=3Drw Manual root filesystem specification: : [options] Mount using filesystem and with the specified (optional) option list. eg. ufs:/dev/da0s1a zfs:tank cd9660:/dev/acd0 ro (which is equivalent to: mount -t cd9660 -o ro /dev/acd0 /) ? List valid disk boot devices . Yield 1 second (for background tasks) Abort manual input mountroot> panic: mountroot: unable to (re-)mount root. cpuid =3D 1 KDB: enter: panic [ thread pid 1 tid 100002 ] Stopped at kdb_enter+0x3e: movq $0,kdb_why db> trace Tracing pid 1 tid 100002 td 0xfffffe0003384920 kdb_enter() at kdb_enter+0x3e/frame 0xffffff80002347d0 vpanic() at vpanic+0x146/frame 0xffffff8000234810 panic() at panic+0x43/frame 0xffffff8000234870 vfs_mountroot() at vfs_mountroot+0x1dc7/frame 0xffffff8000234b20 start_init() at start_init+0x62/frame 0xffffff8000234bb0 fork_exit() at fork_exit+0x84/frame 0xffffff8000234bf0 fork_trampoline() at fork_trampoline+0xe/frame 0xffffff8000234bf0 --- trap 0, rip =3D 0, rsp =3D 0xffffff8000234cb0, rbp =3D 0 --- jeroen@soleus01 ~]$ sudo xm info host : soleus01.soleus.nu release : 2.6.32-5-xen-amd64 version : #1 SMP Mon Oct 3 07:53:54 UTC 2011 machine : x86_64 nr_cpus : 8 nr_nodes : 2 cores_per_socket : 4 threads_per_core : 1 cpu_mhz : 2200 hw_caps : = 178bf3ff:efd3fbff:00000000:00001310:00802001:00000000:000037ff:00000000 virt_caps : hvm total_memory : 65534 free_memory : 6865 node_to_cpu : node0:0-3 node1:4-7 node_to_memory : node0:3134 node1:3731 node_to_dma32_mem : node0:3128 node1:0 max_node_id : 1 xen_major : 4 xen_minor : 0 xen_extra : .1 xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 = hvm-3.0-x86_32p hvm-3.0-x86_64 xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=3D0xffff800000000000 xen_changeset : unavailable xen_commandline : placeholder dom0_mem=3D1852M cc_compiler : gcc version 4.4.5 (Debian 4.4.5-10) cc_compile_by : waldi cc_compile_domain : debian.org cc_compile_date : Wed Jan 12 14:04:06 UTC 2011 xend_config_format : 4 [jeroen@soleus01 ~]$ uname -a Linux soleus01.soleus.nu 2.6.32-5-xen-amd64 #1 SMP Mon Oct 3 07:53:54 = UTC 2011 x86_64 GNU/Linux= From owner-freebsd-xen@FreeBSD.ORG Wed Jun 19 12:21:06 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 11EB6D02; Wed, 19 Jun 2013 12:21:06 +0000 (UTC) (envelope-from roger.pau@citrix.com) Received: from SMTP.EU.CITRIX.COM (smtp.eu.citrix.com [46.33.159.39]) by mx1.freebsd.org (Postfix) with ESMTP id D11271D30; Wed, 19 Jun 2013 12:21:04 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.87,896,1363132800"; d="scan'208";a="5824075" Received: from lonpex01cl03.citrite.net ([10.30.203.103]) by LONPIPO01.EU.CITRIX.COM with ESMTP/TLS/AES128-SHA; 19 Jun 2013 12:20:52 +0000 Received: from [192.168.1.30] (10.30.203.1) by LONPEX01CL03.citrite.net (10.30.203.103) with Microsoft SMTP Server id 14.2.342.4; Wed, 19 Jun 2013 13:20:51 +0100 Message-ID: <51C1A223.6030305@citrix.com> Date: Wed, 19 Jun 2013 14:20:51 +0200 From: =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Jeroen van der Ham Subject: Re: FreeBSD PVHVM call for testing References: <519131D8.9010307@citrix.com> <519E54DE.5090304@citrix.com> <51B5E730.6070007@citrix.com> <51B9FF53.2020901@citrix.com> <2C70BC9B-5964-498F-AAE2-E5024160E3E5@dckd.nl> <51C1972B.50703@citrix.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.30.203.1] Cc: freebsd-xen@freebsd.org, "Justin T. Gibbs" , xen-devel , freebsd-virtualization@freebsd.org, xen-users@lists.xen.org X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jun 2013 12:21:06 -0000 On 19/06/13 14:16, Jeroen van der Ham wrote: > > On 19 Jun 2013, at 13:34, Roger Pau Monn wrote: >> >> Could you provide the boot log of the DomU, backtrace, Xen version and >> Dom0 kernel version? > > I did not have a console attached when it rebooted, so I did not have a log of the initial boot. Now that I did, I see that it fails to mount its root volume. > > It had been running previously on pvhvm_v10 for about two weeks without problems. I updated my local git, and recompiled the kernel and rebooted. Then this happened. > > > In order: > > Booting... > GDB: no debug ports present > KDB: debugger backends: ddb > KDB: current backend: ddb > Copyright (c) 1992-2013 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 10.0-CURRENT #2 r+6ff8d00-dirty: Tue Jun 18 12:55:16 CEST 2013 > root@image01:/usr/obj/root/freebsd/sys/XENHVM amd64 > FreeBSD clang version 3.3 (trunk 178860) 20130405 > WARNING: WITNESS option enabled, expect reduced performance. > XEN: Hypervisor version 4.0 detected. > CPU: Quad-Core AMD Opteron(tm) Processor 2374 HE (2200.07-MHz K8-class CPU) > Origin = "AuthenticAMD" Id = 0x100f42 Family = 0x10 Model = 0x4 Stepping = 2 > Features=0x1781fbff > Features2=0x80802001 > AMD Features=0xe2500800 > AMD Features2=0x1f3 > real memory = 536870912 (512 MB) > avail memory = 472260608 (450 MB) > Event timer "LAPIC" quality 400 > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > FreeBSD/SMP: 1 package(s) x 2 core(s) > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 2 > random device not loaded; using insecure entropy > ioapic0: Changing APIC ID to 1 > MADT: Forcing active-low polarity and level trigger for SCI > ioapic0 irqs 0-47 on motherboard > kbd1 at kbdmux0 > xen_et0: on motherboard > Event timer "XENTIMER" frequency 1000000000 Hz quality 950 > Timecounter "XENTIMER" frequency 1000000000 Hz quality 950 > acpi0: on motherboard > acpi0: Power Button (fixed) > acpi0: Sleep Button (fixed) > acpi0: reservation of 0, a0000 (3) failed > cpu0: on acpi0 > cpu1: on acpi0 > attimer0: port 0x40-0x43 irq 0 on acpi0 > Timecounter "i8254" frequency 1193182 Hz quality 0 > Event timer "i8254" frequency 1193182 Hz quality 100 > atrtc0: port 0x70-0x71 irq 8 on acpi0 > Event timer "RTC" frequency 32768 Hz quality 0 > Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 > acpi_timer0: <32-bit timer at 3.579545MHz> port 0x1f48-0x1f4b on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > isab0: at device 1.0 on pci0 > isa0: on isab0 > atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc300-0xc30f at device 1.1 on pci0 > ata0: at channel 0 on atapci0 > ata1: at channel 1 on atapci0 > pci0: at device 1.3 (no driver attached) > vgapci0: mem 0xf0000000-0xf1ffffff,0xf3000000-0xf3000fff at device 2.0 on pci0 > xenpci0: port 0xc000-0xc0ff mem 0xf2000000-0xf2ffffff irq 28 at device 3.0 on pci0 > xenstore0: on xenpci0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: model IntelliMouse Explorer, device ID 4 > fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 > fdc0: does not respond > device_attach: fdc0 attach returned 6 > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > uart0: console (9600,n,8,1) > ppc0: port 0x378-0x37f irq 7 on acpi0 > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode > ppbus0: on ppc0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > orm0: at iomem 0xc9000-0xc97ff on isa0 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > fdc0: No FDOUT register! > Timecounters tick every 10.000 msec > xenbusb_front0: on xenstore0 > cd0 at ata1 bus 0 scbus1 target 0 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes) > cd0: cd present [360385 x 2048 byte records] > xn0: at device/vif/0 on xenbusb_front0 > xn0: Ethernet address: 00:16:3e:2f:b7:22 > xn1: at device/vif/1 on xenbusb_front0 > xn1: Ethernet address: 00:16:3e:3e:64:c5 > xenbusb_back0: on xenstore0 > xctrl0: on xenstore0 > xn0: backend features: feature-sg feature-gso-tcp4 > xn1: backend features: feature-sg feature-gso-tcp4 > xbd0: 20480MB at device/vbd/768 on xenbusb_front0 > xbd0: attaching as ada0 > xbd0: disk supports cache flush using: barriers > xbd1: 703MB at device/vbd/5632 on xenbusb_front0 > xbd1: attaching as ada2 > xbd1: disk supports cache flush using: barriers > SMP: AP CPU #1 Launched! > WARNING: WITNESS option enabled, expect reduced performance. > Trying to mount root from ufs:/dev/ad0p2 [rw]... > mountroot: waiting for device /dev/ad0p2 ... > Mounting from ufs:/dev/ad0p2 failed with error 19. > Loader variables: > vfs.root.mountfrom=ufs:/dev/ad0p2 > vfs.root.mountfrom.options=rw > > Manual root filesystem specification: > : [options] > Mount using filesystem > and with the specified (optional) option list. > > eg. ufs:/dev/da0s1a > zfs:tank > cd9660:/dev/acd0 ro > (which is equivalent to: mount -t cd9660 -o ro /dev/acd0 /) > > ? List valid disk boot devices > . Yield 1 second (for background tasks) > Abort manual input > > mountroot> > panic: mountroot: unable to (re-)mount root. > cpuid = 1 > KDB: enter: panic > [ thread pid 1 tid 100002 ] > Stopped at kdb_enter+0x3e: movq $0,kdb_why > db> trace > Tracing pid 1 tid 100002 td 0xfffffe0003384920 > kdb_enter() at kdb_enter+0x3e/frame 0xffffff80002347d0 > vpanic() at vpanic+0x146/frame 0xffffff8000234810 > panic() at panic+0x43/frame 0xffffff8000234870 > vfs_mountroot() at vfs_mountroot+0x1dc7/frame 0xffffff8000234b20 > start_init() at start_init+0x62/frame 0xffffff8000234bb0 > fork_exit() at fork_exit+0x84/frame 0xffffff8000234bf0 > fork_trampoline() at fork_trampoline+0xe/frame 0xffffff8000234bf0 > --- trap 0, rip = 0, rsp = 0xffffff8000234cb0, rbp = 0 --- > > jeroen@soleus01 ~]$ sudo xm info > host : soleus01.soleus.nu > release : 2.6.32-5-xen-amd64 > version : #1 SMP Mon Oct 3 07:53:54 UTC 2011 > machine : x86_64 > nr_cpus : 8 > nr_nodes : 2 > cores_per_socket : 4 > threads_per_core : 1 > cpu_mhz : 2200 > hw_caps : 178bf3ff:efd3fbff:00000000:00001310:00802001:00000000:000037ff:00000000 > virt_caps : hvm > total_memory : 65534 > free_memory : 6865 > node_to_cpu : node0:0-3 > node1:4-7 > node_to_memory : node0:3134 > node1:3731 > node_to_dma32_mem : node0:3128 > node1:0 > max_node_id : 1 > xen_major : 4 > xen_minor : 0 > xen_extra : .1 > xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 > xen_scheduler : credit > xen_pagesize : 4096 > platform_params : virt_start=0xffff800000000000 > xen_changeset : unavailable > xen_commandline : placeholder dom0_mem=1852M > cc_compiler : gcc version 4.4.5 (Debian 4.4.5-10) > cc_compile_by : waldi > cc_compile_domain : debian.org > cc_compile_date : Wed Jan 12 14:04:06 UTC 2011 > xend_config_format : 4 > > > [jeroen@soleus01 ~]$ uname -a > Linux soleus01.soleus.nu 2.6.32-5-xen-amd64 #1 SMP Mon Oct 3 07:53:54 UTC 2011 x86_64 GNU/Linux > That's because Justin recently pushed a commit that changed the ad translation to ada, you should change your /etc/fstab to ada0p2. It's commit 526f3ad11acb296481215d7c2915b3f30f1844f6. From owner-freebsd-xen@FreeBSD.ORG Wed Jun 19 12:33:23 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 227F6354; Wed, 19 Jun 2013 12:33:23 +0000 (UTC) (envelope-from jeroen@dckd.nl) Received: from positron.dckd.nl (positron.dckd.nl [94.142.246.99]) by mx1.freebsd.org (Postfix) with ESMTP id DAF241DF5; Wed, 19 Jun 2013 12:33:22 +0000 (UTC) Received: from nb-vdham.science.uva.nl (nb-vdham.science.uva.nl [146.50.52.179]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by positron.dckd.nl (Postfix) with ESMTPSA id B7E85F8012; Wed, 19 Jun 2013 14:33:21 +0200 (CEST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: FreeBSD PVHVM call for testing From: Jeroen van der Ham In-Reply-To: <51C1A223.6030305@citrix.com> Date: Wed, 19 Jun 2013 14:33:21 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <6E99C9B2-E28D-4793-81C2-97440AC5AD0E@dckd.nl> References: <519131D8.9010307@citrix.com> <519E54DE.5090304@citrix.com> <51B5E730.6070007@citrix.com> <51B9FF53.2020901@citrix.com> <2C70BC9B-5964-498F-AAE2-E5024160E3E5@dckd.nl> <51C1972B.50703@citrix.com> <51C1A223.6030305@citrix.com> To: =?iso-8859-1?Q?Roger_Pau_Monn=E9?= X-Mailer: Apple Mail (2.1508) Cc: freebsd-xen@freebsd.org, "Justin T. Gibbs" , xen-devel , freebsd-virtualization@freebsd.org, xen-users@lists.xen.org X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jun 2013 12:33:23 -0000 On 19 Jun 2013, at 14:20, Roger Pau Monn=E9 = wrote: > That's because Justin recently pushed a commit that changed the ad > translation to ada, you should change your /etc/fstab to ada0p2. It's > commit 526f3ad11acb296481215d7c2915b3f30f1844f6. Ah, you may want to update the wiki page also to warn for that. :) Jeroen. From owner-freebsd-xen@FreeBSD.ORG Wed Jun 19 12:44:30 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6E53B5F9; Wed, 19 Jun 2013 12:44:30 +0000 (UTC) (envelope-from roger.pau@citrix.com) Received: from SMTP.EU.CITRIX.COM (smtp.eu.citrix.com [46.33.159.39]) by mx1.freebsd.org (Postfix) with ESMTP id BD1471E9B; Wed, 19 Jun 2013 12:44:29 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.87,896,1363132800"; d="scan'208";a="5825245" Received: from lonpex01cl02.citrite.net ([10.30.203.102]) by LONPIPO01.EU.CITRIX.COM with ESMTP/TLS/AES128-SHA; 19 Jun 2013 12:44:28 +0000 Received: from [192.168.1.30] (10.30.203.1) by LONPEX01CL02.citrite.net (10.30.203.102) with Microsoft SMTP Server id 14.2.342.4; Wed, 19 Jun 2013 13:44:27 +0100 Message-ID: <51C1A7AA.2010307@citrix.com> Date: Wed, 19 Jun 2013 14:44:26 +0200 From: =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Jeroen van der Ham Subject: Re: FreeBSD PVHVM call for testing References: <519131D8.9010307@citrix.com> <519E54DE.5090304@citrix.com> <51B5E730.6070007@citrix.com> <51B9FF53.2020901@citrix.com> <2C70BC9B-5964-498F-AAE2-E5024160E3E5@dckd.nl> <51C1972B.50703@citrix.com> <51C1A223.6030305@citrix.com> <6E99C9B2-E28D-4793-81C2-97440AC5AD0E@dckd.nl> In-Reply-To: <6E99C9B2-E28D-4793-81C2-97440AC5AD0E@dckd.nl> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.30.203.1] Cc: freebsd-xen@freebsd.org, "Justin T. Gibbs" , xen-devel , freebsd-virtualization@freebsd.org, xen-users@lists.xen.org X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jun 2013 12:44:30 -0000 On 19/06/13 14:33, Jeroen van der Ham wrote: > > On 19 Jun 2013, at 14:20, Roger Pau Monn wrote: >> That's because Justin recently pushed a commit that changed the ad >> translation to ada, you should change your /etc/fstab to ada0p2. It's >> commit 526f3ad11acb296481215d7c2915b3f30f1844f6. > > > Ah, you may want to update the wiki page also to warn for that. :) D'oh, I've completely forgot about the wiki page, it's updated now, thanks for the pointer. From owner-freebsd-xen@FreeBSD.ORG Wed Jun 19 16:07:42 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2FD788B7; Wed, 19 Jun 2013 16:07:42 +0000 (UTC) (envelope-from jeroen@dckd.nl) Received: from positron.dckd.nl (positron.dckd.nl [IPv6:2a02:898:62:f6::63]) by mx1.freebsd.org (Postfix) with ESMTP id E7C371C65; Wed, 19 Jun 2013 16:07:41 +0000 (UTC) Received: from [IPv6:2001:610:6a1::9c87:e105:ef6f:ff9d] (unknown [IPv6:2001:610:6a1:0:9c87:e105:ef6f:ff9d]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by positron.dckd.nl (Postfix) with ESMTPSA id 64953F841F; Wed, 19 Jun 2013 18:07:39 +0200 (CEST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: FreeBSD PVHVM call for testing From: Jeroen van der Ham In-Reply-To: <51C1A7AA.2010307@citrix.com> Date: Wed, 19 Jun 2013 18:07:38 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <519131D8.9010307@citrix.com> <519E54DE.5090304@citrix.com> <51B5E730.6070007@citrix.com> <51B9FF53.2020901@citrix.com> <2C70BC9B-5964-498F-AAE2-E5024160E3E5@dckd.nl> <51C1972B.50703@citrix.com> <51C1A223.6030305@citrix.com> <6E99C9B2-E28D-4793-81C2-97440AC5AD0E@dckd.nl> <51C1A7AA.2010307@citrix.com> To: =?iso-8859-1?Q?Roger_Pau_Monn=E9?= X-Mailer: Apple Mail (2.1508) Cc: freebsd-xen@freebsd.org, "Justin T. Gibbs" , xen-devel , freebsd-virtualization@freebsd.org, xen-users@lists.xen.org X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jun 2013 16:07:42 -0000 Hi, On 19 Jun 2013, at 14:44, Roger Pau Monn=E9 = wrote: > On 19/06/13 14:33, Jeroen van der Ham wrote: >>=20 >> On 19 Jun 2013, at 14:20, Roger Pau Monn=E9 = wrote: >>> That's because Justin recently pushed a commit that changed the ad >>> translation to ada, you should change your /etc/fstab to ada0p2. = It's >>> commit 526f3ad11acb296481215d7c2915b3f30f1844f6. >>=20 >>=20 >> Ah, you may want to update the wiki page also to warn for that. :) >=20 > D'oh, I've completely forgot about the wiki page, it's updated now, > thanks for the pointer. Okay, everything works again now. Additionally, I've applied the patches from FreeBSD-SA-13:06.mmap, = rebuilt the kernel and rebooted, and the system now works fine. I did note however that rebuilding the kernel takes an awful lot more = time than on a FreeBSD9 system. As in it took about 2 hours longer. Jeroen. From owner-freebsd-xen@FreeBSD.ORG Wed Jun 19 16:15:17 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E8673C0A; Wed, 19 Jun 2013 16:15:17 +0000 (UTC) (envelope-from gibbs@freebsd.org) Received: from aslan.scsiguy.com (mail.scsiguy.com [70.89.174.89]) by mx1.freebsd.org (Postfix) with ESMTP id A4A121CCF; Wed, 19 Jun 2013 16:15:17 +0000 (UTC) Received: from [192.168.6.155] (207-225-98-3.dia.static.qwest.net [207.225.98.3]) (authenticated bits=0) by aslan.scsiguy.com (8.14.7/8.14.5) with ESMTP id r5JGF9pZ018518 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 19 Jun 2013 16:15:10 GMT (envelope-from gibbs@freebsd.org) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: FreeBSD PVHVM call for testing From: "Justin T. Gibbs" In-Reply-To: Date: Wed, 19 Jun 2013 10:15:06 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <519131D8.9010307@citrix.com> <519E54DE.5090304@citrix.com> <51B5E730.6070007@citrix.com> <51B9FF53.2020901@citrix.com> <2C70BC9B-5964-498F-AAE2-E5024160E3E5@dckd.nl> <51C1972B.50703@citrix.com> <51C1A223.6030305@citrix.com> <6E99C9B2-E28D-4793-81C2-97440AC5AD0E@dckd.nl> <51C1A7AA.2010307@citrix.com> To: Jeroen van der Ham X-Mailer: Apple Mail (2.1508) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (aslan.scsiguy.com [70.89.174.89]); Wed, 19 Jun 2013 16:15:10 +0000 (UTC) Cc: freebsd-xen@freebsd.org, xen-users@lists.xen.org, xen-devel , freebsd-virtualization@freebsd.org X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jun 2013 16:15:18 -0000 On Jun 19, 2013, at 10:07 AM, Jeroen van der Ham wrote: > Hi, >=20 > On 19 Jun 2013, at 14:44, Roger Pau Monn=E9 = wrote: >=20 >> On 19/06/13 14:33, Jeroen van der Ham wrote: >>>=20 >>> On 19 Jun 2013, at 14:20, Roger Pau Monn=E9 = wrote: >>>> That's because Justin recently pushed a commit that changed the ad >>>> translation to ada, you should change your /etc/fstab to ada0p2. = It's >>>> commit 526f3ad11acb296481215d7c2915b3f30f1844f6. >>>=20 >>>=20 >>> Ah, you may want to update the wiki page also to warn for that. :) >>=20 >> D'oh, I've completely forgot about the wiki page, it's updated now, >> thanks for the pointer. >=20 > Okay, everything works again now. Should we encourage folks to just configure their VMs to use xbd? I = hope some day that the system will just report "da" devices, so the ada = name may change again. We could also suggest specifying SCSI disks in = the VM config since I don't think "da" will ever change. > Additionally, I've applied the patches from FreeBSD-SA-13:06.mmap, = rebuilt the kernel and rebooted, and the system now works fine. >=20 > I did note however that rebuilding the kernel takes an awful lot more = time than on a FreeBSD9 system. As in it took about 2 hours longer. >=20 > Jeroen. I've never seen a kernel build take 2 hours, much less 2 hours *longer*. = Are you talking about buildworld? It would be interesting to know your = results building stable/9 sources in your 10 environment to see if this = is just due to "build bloat" or a true performance regression. -- Justin= From owner-freebsd-xen@FreeBSD.ORG Wed Jun 19 16:50:09 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6A18CBF9; Wed, 19 Jun 2013 16:50:09 +0000 (UTC) (envelope-from jeroen@dckd.nl) Received: from positron.dckd.nl (positron.dckd.nl [94.142.246.99]) by mx1.freebsd.org (Postfix) with ESMTP id 2D9AF1F76; Wed, 19 Jun 2013 16:50:08 +0000 (UTC) Received: from doc.dckd.nl (doc.dckd.nl [145.99.178.214]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by positron.dckd.nl (Postfix) with ESMTPSA id 053B0F841F; Wed, 19 Jun 2013 18:50:06 +0200 (CEST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: FreeBSD PVHVM call for testing From: Jeroen van der Ham In-Reply-To: Date: Wed, 19 Jun 2013 18:50:06 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <546D0358-4F92-4E8C-AED0-94FC5D36086F@dckd.nl> References: <519131D8.9010307@citrix.com> <519E54DE.5090304@citrix.com> <51B5E730.6070007@citrix.com> <51B9FF53.2020901@citrix.com> <2C70BC9B-5964-498F-AAE2-E5024160E3E5@dckd.nl> <51C1972B.50703@citrix.com> <51C1A223.6030305@citrix.com> <6E99C9B2-E28D-4793-81C2-97440AC5AD0E@dckd.nl> <51C1A7AA.2010307@citrix.com> To: Justin T. Gibbs X-Mailer: Apple Mail (2.1508) Cc: freebsd-xen@freebsd.org, xen-users@lists.xen.org, xen-devel , freebsd-virtualization@freebsd.org X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jun 2013 16:50:09 -0000 Hi, On 19 Jun 2013, at 18:15, Justin T. Gibbs wrote: >=20 > I've never seen a kernel build take 2 hours, much less 2 hours = *longer*. Are you talking about buildworld? It would be interesting to = know your results building stable/9 sources in your 10 environment to = see if this is just due to "build bloat" or a true performance = regression. >=20 I copy/pasted the command from the wiki: > # make kernel-toolchain && make buildkernel KERNCONF=3DXENHVM && make = installkernel KERNCONF=3DXENHVM On the stable/9 I only did=20 > make buildkernel KERNCONF=3DXENHVM && make installkernel = KERNCONF=3DXENHVM I guess the kernel-toolchain takes a long time to build=85and from what = I can see it does a clean before rebuilding also. I'm doing the kernel-toolchain step only now and will report how long it = took. Jeroen. From owner-freebsd-xen@FreeBSD.ORG Wed Jun 19 16:52:14 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id ABF04CAF; Wed, 19 Jun 2013 16:52:14 +0000 (UTC) (envelope-from gibbs@FreeBSD.org) Received: from aslan.scsiguy.com (mail.scsiguy.com [70.89.174.89]) by mx1.freebsd.org (Postfix) with ESMTP id 670731FA4; Wed, 19 Jun 2013 16:52:14 +0000 (UTC) Received: from [192.168.6.155] (207-225-98-3.dia.static.qwest.net [207.225.98.3]) (authenticated bits=0) by aslan.scsiguy.com (8.14.7/8.14.5) with ESMTP id r5JGq9XQ018695 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 19 Jun 2013 16:52:09 GMT (envelope-from gibbs@FreeBSD.org) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: FreeBSD PVHVM call for testing From: "Justin T. Gibbs" In-Reply-To: <546D0358-4F92-4E8C-AED0-94FC5D36086F@dckd.nl> Date: Wed, 19 Jun 2013 10:52:06 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <519131D8.9010307@citrix.com> <519E54DE.5090304@citrix.com> <51B5E730.6070007@citrix.com> <51B9FF53.2020901@citrix.com> <2C70BC9B-5964-498F-AAE2-E5024160E3E5@dckd.nl> <51C1972B.50703@citrix.com> <51C1A223.6030305@citrix.com> <6E99C9B2-E28D-4793-81C2-97440AC5AD0E@dckd.nl> <51C1A7AA.2010307@citrix.com> <546D0358-4F92-4E8C-AED0-94FC5D36086F@dckd.nl> To: Jeroen van der Ham X-Mailer: Apple Mail (2.1508) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (aslan.scsiguy.com [70.89.174.89]); Wed, 19 Jun 2013 16:52:09 +0000 (UTC) Cc: freebsd-xen@freebsd.org, xen-users@lists.xen.org, xen-devel , freebsd-virtualization@freebsd.org X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jun 2013 16:52:14 -0000 On Jun 19, 2013, at 10:50 AM, Jeroen van der Ham wrote: > Hi, >=20 > On 19 Jun 2013, at 18:15, Justin T. Gibbs wrote: >>=20 >> I've never seen a kernel build take 2 hours, much less 2 hours = *longer*. Are you talking about buildworld? It would be interesting to = know your results building stable/9 sources in your 10 environment to = see if this is just due to "build bloat" or a true performance = regression. >>=20 >=20 > I copy/pasted the command from the wiki: >=20 >> # make kernel-toolchain && make buildkernel KERNCONF=3DXENHVM && make = installkernel KERNCONF=3DXENHVM >=20 > On the stable/9 I only did=20 >=20 >> make buildkernel KERNCONF=3DXENHVM && make installkernel = KERNCONF=3DXENHVM >=20 >=20 > I guess the kernel-toolchain takes a long time to build=85and from = what I can see it does a clean before rebuilding also. >=20 > I'm doing the kernel-toolchain step only now and will report how long = it took. >=20 > Jeroen. Oh. Without any parallelism (-j X), the build will take a really long = time. Even with only one core, you'll get a large speedup by performing = a parallel build since many steps of the build are I/O bound. -- Justin= From owner-freebsd-xen@FreeBSD.ORG Wed Jun 19 20:03:30 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 223BF7CD; Wed, 19 Jun 2013 20:03:30 +0000 (UTC) (envelope-from jeroen@dckd.nl) Received: from positron.dckd.nl (positron.dckd.nl [94.142.246.99]) by mx1.freebsd.org (Postfix) with ESMTP id D74311C33; Wed, 19 Jun 2013 20:03:29 +0000 (UTC) Received: from doc.dckd.nl (doc.dckd.nl [145.99.178.214]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by positron.dckd.nl (Postfix) with ESMTPSA id 2877EF841F; Wed, 19 Jun 2013 22:03:28 +0200 (CEST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: FreeBSD PVHVM call for testing From: Jeroen van der Ham In-Reply-To: Date: Wed, 19 Jun 2013 22:03:27 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <405F53E2-C9E3-4AA8-8BC1-935E500D3DD9@dckd.nl> References: <519131D8.9010307@citrix.com> <519E54DE.5090304@citrix.com> <51B5E730.6070007@citrix.com> <51B9FF53.2020901@citrix.com> <2C70BC9B-5964-498F-AAE2-E5024160E3E5@dckd.nl> <51C1972B.50703@citrix.com> <51C1A223.6030305@citrix.com> <6E99C9B2-E28D-4793-81C2-97440AC5AD0E@dckd.nl> <51C1A7AA.2010307@citrix.com> <546D0358-4F92-4E8C-AED0-94FC5D36086F@dckd.nl> To: Justin T. Gibbs X-Mailer: Apple Mail (2.1508) Cc: freebsd-xen@freebsd.org, xen-users@lists.xen.org, xen-devel , freebsd-virtualization@freebsd.org X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jun 2013 20:03:30 -0000 Hi, On 19 Jun 2013, at 18:52, Justin T. Gibbs wrote: >> I guess the kernel-toolchain takes a long time to build=85and from = what I can see it does a clean before rebuilding also. >>=20 >> I'm doing the kernel-toolchain step only now and will report how long = it took. This seems to be it, that took roughly 2 hours to build. The actual = kernel is probably pretty fast in building. > Oh. Without any parallelism (-j X), the build will take a really long = time. Even with only one core, you'll get a large speedup by performing = a parallel build since many steps of the build are I/O bound. Neither of the systems actually had parallelism defined, either as flag = or in /etc/make.conf Jeroen. From owner-freebsd-xen@FreeBSD.ORG Thu Jun 20 09:20:15 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3590843B; Thu, 20 Jun 2013 09:20:15 +0000 (UTC) (envelope-from jeroen@dckd.nl) Received: from positron.dckd.nl (positron.dckd.nl [IPv6:2a02:898:62:f6::63]) by mx1.freebsd.org (Postfix) with ESMTP id EEF9E1717; Thu, 20 Jun 2013 09:20:14 +0000 (UTC) Received: from nb-vdham.science.uva.nl (nb-vdham.science.uva.nl [146.50.52.179]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by positron.dckd.nl (Postfix) with ESMTPSA id EC496F841F; Thu, 20 Jun 2013 11:20:12 +0200 (CEST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: FreeBSD PVHVM call for testing From: Jeroen van der Ham In-Reply-To: <51B9FF53.2020901@citrix.com> Date: Thu, 20 Jun 2013 11:20:12 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <54560214-F170-426E-BDF9-2295D8B8E982@dckd.nl> References: <519131D8.9010307@citrix.com> <519E54DE.5090304@citrix.com> <51B5E730.6070007@citrix.com> <51B9FF53.2020901@citrix.com> To: =?iso-8859-1?Q?Roger_Pau_Monn=E9?= X-Mailer: Apple Mail (2.1508) Cc: "freebsd-xen@freebsd.org" , "Justin T. Gibbs" , xen-devel , "freebsd-virtualization@freebsd.org" , "xen-users@lists.xen.org" X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 20 Jun 2013 09:20:15 -0000 Hi, I have this running for a day or so now, but I'm noticing that the load = averages seem a bit off: $ uptime 11:17AM up 17:14, 1 user, load averages: 0.31, 0.27, 0.21 This is for a clean install, with just enough installed to compile this = kernel. In top I'm seeing that the machine is idling >98% of the time. = But this does not correlate to the load displayed above. Jeroen. From owner-freebsd-xen@FreeBSD.ORG Thu Jun 20 09:33:28 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D5B5C93F; Thu, 20 Jun 2013 09:33:28 +0000 (UTC) (envelope-from roger.pau@citrix.com) Received: from SMTP.EU.CITRIX.COM (smtp.eu.citrix.com [46.33.159.39]) by mx1.freebsd.org (Postfix) with ESMTP id 28C2417F3; Thu, 20 Jun 2013 09:33:26 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.87,903,1363132800"; d="scan'208";a="5871147" Received: from lonpex01cl02.citrite.net ([10.30.203.102]) by LONPIPO01.EU.CITRIX.COM with ESMTP/TLS/AES128-SHA; 20 Jun 2013 09:33:25 +0000 Received: from [192.168.1.30] (10.30.203.1) by LONPEX01CL02.citrite.net (10.30.203.102) with Microsoft SMTP Server id 14.2.342.4; Thu, 20 Jun 2013 10:33:24 +0100 Message-ID: <51C2CC63.9070505@citrix.com> Date: Thu, 20 Jun 2013 11:33:23 +0200 From: =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Jeroen van der Ham Subject: Re: FreeBSD PVHVM call for testing References: <519131D8.9010307@citrix.com> <519E54DE.5090304@citrix.com> <51B5E730.6070007@citrix.com> <51B9FF53.2020901@citrix.com> <54560214-F170-426E-BDF9-2295D8B8E982@dckd.nl> In-Reply-To: <54560214-F170-426E-BDF9-2295D8B8E982@dckd.nl> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.30.203.1] Cc: "freebsd-xen@freebsd.org" , "Justin T. Gibbs" , xen-devel , "freebsd-virtualization@freebsd.org" , "xen-users@lists.xen.org" X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 20 Jun 2013 09:33:28 -0000 On 20/06/13 11:20, Jeroen van der Ham wrote: > Hi, > > I have this running for a day or so now, but I'm noticing that the load averages seem a bit off: > > $ uptime > 11:17AM up 17:14, 1 user, load averages: 0.31, 0.27, 0.21 > > This is for a clean install, with just enough installed to compile this kernel. In top I'm seeing that the machine is idling >98% of the time. But this does not correlate to the load displayed above. This is probably due to the fact that we are not properly accounting for blocked/runnable/offline time. Did you see the same when running the XENHVM kernel without my patches? Roger. From owner-freebsd-xen@FreeBSD.ORG Thu Jun 20 09:38:02 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A89759EF; Thu, 20 Jun 2013 09:38:02 +0000 (UTC) (envelope-from jeroen@dckd.nl) Received: from positron.dckd.nl (positron.dckd.nl [94.142.246.99]) by mx1.freebsd.org (Postfix) with ESMTP id 6CF32181F; Thu, 20 Jun 2013 09:38:01 +0000 (UTC) Received: from nb-vdham.science.uva.nl (nb-vdham.science.uva.nl [146.50.52.179]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by positron.dckd.nl (Postfix) with ESMTPSA id 63C3EF841F; Thu, 20 Jun 2013 11:37:59 +0200 (CEST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: FreeBSD PVHVM call for testing From: Jeroen van der Ham In-Reply-To: <51C2CC63.9070505@citrix.com> Date: Thu, 20 Jun 2013 11:37:59 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <1F66A530-BBE6-4D6D-9557-E11BE8B7C4B7@dckd.nl> References: <519131D8.9010307@citrix.com> <519E54DE.5090304@citrix.com> <51B5E730.6070007@citrix.com> <51B9FF53.2020901@citrix.com> <54560214-F170-426E-BDF9-2295D8B8E982@dckd.nl> <51C2CC63.9070505@citrix.com> To: =?iso-8859-1?Q?Roger_Pau_Monn=E9?= X-Mailer: Apple Mail (2.1508) Cc: "freebsd-xen@freebsd.org" , "Justin T. Gibbs" , xen-devel , "freebsd-virtualization@freebsd.org" , "xen-users@lists.xen.org" X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 20 Jun 2013 09:38:02 -0000 Hi, On 20 Jun 2013, at 11:33, Roger Pau Monn=E9 = wrote: >=20 > This is probably due to the fact that we are not properly accounting = for > blocked/runnable/offline time. Did you see the same when running the > XENHVM kernel without my patches? >=20 I have a different system on the same platform running FreeBSD9 with = XENHVM. This server is running (web)mail, smokeping and irssi. That gives: 11:35AM up 20:07, 1 user, load averages: 0.06, 0.06, 0.07 Jeroen. From owner-freebsd-xen@FreeBSD.ORG Fri Jun 21 07:22:47 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 44A2589E for ; Fri, 21 Jun 2013 07:22:47 +0000 (UTC) (envelope-from iphonein@ejobsitesoftware.webserversystems.com) Received: from ejobsitesoftware.webserversystems.com (50.22.7.205-static.reverse.softlayer.com [50.22.7.205]) by mx1.freebsd.org (Postfix) with ESMTP id 2B62E1E58 for ; Fri, 21 Jun 2013 07:22:47 +0000 (UTC) Received: from iphonein by ejobsitesoftware.webserversystems.com with local (Exim 4.80) (envelope-from ) id 1Upvg9-0007Lo-Pv for freebsd-xen@freebsd.org; Fri, 21 Jun 2013 02:22:41 -0500 To: freebsd-xen@freebsd.org Subject: =?utf-8?B?0J/QvtGH0YLQvtCy0LDRjyDRgNCw0YHRgdGL0LvQutCwINC/0YDQtdC00LvQvtC20LXQvdC40Lk=?= X-PHP-Script: iphoneindia.com/wp-content/plugins/mains.php for 10.103.156.232, 124.160.194.71 From: =?utf-8?B?0JrQvtC90YHRgtCw0L3RgtC40L0=?= Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Date: Fri, 21 Jun 2013 02:22:41 -0500 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ejobsitesoftware.webserversystems.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [571 571] / [47 12] X-AntiAbuse: Sender Address Domain - ejobsitesoftware.webserversystems.com X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 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, 21 Jun 2013 07:22:47 -0000 Дoбрый день! Это Константин. Наша компания занимается распространением электронным писем по почтовым ящикам. Предлагаем скомпоновать базу компаний по Вашим критериям и сделать рассылку по этой базе. Стоимость рассылки - совсем невысокая.Если Вам интересно - я вышлю прайс-лист по всем базам Есть ли у Вас составленное коммерческое предложение? Если его нет - мы сделаем его по Вашему сайту. С уважением Константин.