From owner-freebsd-virtualization@FreeBSD.ORG Sun Sep 29 18:38:38 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 37C249EA for ; Sun, 29 Sep 2013 18:38:38 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pd0-x231.google.com (mail-pd0-x231.google.com [IPv6:2607:f8b0:400e:c02::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 145C62288 for ; Sun, 29 Sep 2013 18:38:38 +0000 (UTC) Received: by mail-pd0-f177.google.com with SMTP id y10so4655834pdj.8 for ; Sun, 29 Sep 2013 11:38:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=er8nptJOnVXzUgZNgenDsOzjJH9v8m9R9M1cNvflHOU=; b=Phi01xxb56tUU23pxrIKWXBQvk4aCpiynhu6Yb/g33/o8VLvaUfSE1M3XOxzfh5CRi ivroTqlbMjtTOAjr4eMCe89MzZWGjMe//W7kLW0kQOqGTTmu+zmlTcHxS+W1PLCDNQGx WFp0R+/HHJ7HSybw5cFc3+NBY7d3fM8ZmiFsEz0z3GKIm3mbGqC3BDLxQ0Dcv7S6/g4W Luqx2AgjQm/2I7tsYfN3XJwpF78ts+Jj3EydC+fEamGhOoVb3ZKMIklbur2D9IMuGjOi 2VcWr5BbCovrb6ca1l6snvoO+oYiG2bA4x8vWVqnvXDRa2Hh9W7LCv0dinEOVxmSMHMU 8C1g== MIME-Version: 1.0 X-Received: by 10.66.218.98 with SMTP id pf2mr24060712pac.120.1380479917771; Sun, 29 Sep 2013 11:38:37 -0700 (PDT) Received: by 10.68.253.162 with HTTP; Sun, 29 Sep 2013 11:38:37 -0700 (PDT) Date: Sun, 29 Sep 2013 14:38:37 -0400 Message-ID: Subject: maturity of hyperv From: Aryeh Friedman To: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2013 18:38:38 -0000 Is HyperV mature enough that we (the petitecloud developers) consider adding support for it in petitecloud? From owner-freebsd-virtualization@FreeBSD.ORG Sun Sep 29 19:14:21 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 52E601EA for ; Sun, 29 Sep 2013 19:14:21 +0000 (UTC) (envelope-from abgupta@microsoft.com) Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0238.outbound.protection.outlook.com [207.46.163.238]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 137F32418 for ; Sun, 29 Sep 2013 19:14:20 +0000 (UTC) Received: from BL2PR03MB210.namprd03.prod.outlook.com (10.255.230.144) by BL2PR03MB211.namprd03.prod.outlook.com (10.255.230.146) with Microsoft SMTP Server (TLS) id 15.0.775.9; Sun, 29 Sep 2013 19:14:12 +0000 Received: from BL2PR03MB210.namprd03.prod.outlook.com ([169.254.1.203]) by BL2PR03MB210.namprd03.prod.outlook.com ([169.254.1.203]) with mapi id 15.00.0775.005; Sun, 29 Sep 2013 19:14:12 +0000 From: "Abhishek Gupta (LIS)" To: Aryeh Friedman , "freebsd-virtualization@freebsd.org" Subject: RE: maturity of hyperv Thread-Topic: maturity of hyperv Thread-Index: AQHOvUMivl+P8E/3D0eKwly9Dv2xMZndFDK6 Date: Sun, 29 Sep 2013 19:14:12 +0000 Message-ID: <83abdace3e4d428a85e71cbd41f0d9c3@BL2PR03MB210.namprd03.prod.outlook.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [67.170.86.163] x-forefront-prvs: 09840A4839 x-forefront-antispam-report: SFV:NSPM; SFS:(199002)(189002)(164054003)(377454003)(74366001)(79102001)(63696002)(81542001)(31966008)(54356001)(83072001)(56816003)(81686001)(76482001)(53806001)(47446002)(74706001)(74502001)(15975445006)(81342001)(77096001)(76576001)(54316002)(81816001)(77982001)(74662001)(74316001)(59766001)(56776001)(51856001)(50986001)(47976001)(47736001)(49866001)(46102001)(19580405001)(80976001)(76786001)(76796001)(80022001)(74876001)(66066001)(65816001)(19580395003)(83322001)(69226001)(15202345003)(4396001)(33646001)(24736002); DIR:OUT; SFP:; SCL:1; SRVR:BL2PR03MB211; H:BL2PR03MB210.namprd03.prod.outlook.com; CLIP:67.170.86.163; FPR:; RD:InfoNoRecords; A:1; MX:1; LANG:en; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: DuplicateDomain-a84fc36a-4ed7-4e57-ab1c-3e967bcbad48.microsoft.com X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2013 19:14:21 -0000 Hi Aryeh,=0A= =0A= Do you mean to ask if Hyper-V is mature as a platform or if the Hyper-V dri= vers for FreeBSD are mature enough?=0A= =0A= If you meant the platform then I would encourage you to give it a try. My g= uess is that you will be pretty blown away with the stability, feature set,= usability and cost advantage. Furthermore, it is no secret that Hyper-V is= gaining significant share in enterprise virtualization deployments.=0A= =0A= If you were referencing the drivers then they are more or less ready. We ha= ve a few kinks to work out and are actively working on addressing them.=0A= =0A= Please let me know if you need more information.=0A= =0A= Thanks,=0A= Abhishek=0A= ________________________________________=0A= From: owner-freebsd-virtualization@freebsd.org on behalf of Aryeh Friedman =0A= Sent: Sunday, September 29, 2013 11:38 AM=0A= To: freebsd-virtualization@freebsd.org=0A= Subject: maturity of hyperv=0A= =0A= Is HyperV mature enough that we (the petitecloud developers) consider=0A= adding support for it in petitecloud?=0A= _______________________________________________=0A= freebsd-virtualization@freebsd.org mailing list=0A= http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization=0A= To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebs= d.org"=0A= From owner-freebsd-virtualization@FreeBSD.ORG Sun Sep 29 19:17:45 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 57A72269 for ; Sun, 29 Sep 2013 19:17:45 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pa0-x235.google.com (mail-pa0-x235.google.com [IPv6:2607:f8b0:400e:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 307D42430 for ; Sun, 29 Sep 2013 19:17:45 +0000 (UTC) Received: by mail-pa0-f53.google.com with SMTP id kq14so4892523pab.26 for ; Sun, 29 Sep 2013 12:17:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=hxZoU1by6AztILJL1f1JebJ+8UmNQ5YVfjW1KDyGYFU=; b=zrwBKUKkbVbWX/PRRjoXNvbQ0TUdq8oIBzYwrpR8MNNma09PkpofSaye7IWmVs6qPC Q/+BicEhoCnWKH3pTQg16BwcErN9tjRo1y2AfeUBC/0xtwQctBT5ZsvaN7QLFLsJf6k9 PU3styzMu3Hw4RsWb/MuibN10pHwMiGruHwBc2YnB6xcjdYj3i/61adGFmScSTcelP+a 5QCnuwJYjKurRTjzqW7dwbfRYw9f5lrMuStWhULfjMw2pNVk+2OqmJm+IOaK6IwJ6FUl lU6B5FxSQhFBmwitxUvtv+zI4Cx27RuilMjErfNsvszC02hfR0eicEXUXU5XFZCFr3PE WZsw== MIME-Version: 1.0 X-Received: by 10.66.250.47 with SMTP id yz15mr45590pac.154.1380482264874; Sun, 29 Sep 2013 12:17:44 -0700 (PDT) Received: by 10.68.253.162 with HTTP; Sun, 29 Sep 2013 12:17:44 -0700 (PDT) In-Reply-To: <83abdace3e4d428a85e71cbd41f0d9c3@BL2PR03MB210.namprd03.prod.outlook.com> References: <83abdace3e4d428a85e71cbd41f0d9c3@BL2PR03MB210.namprd03.prod.outlook.com> Date: Sun, 29 Sep 2013 15:17:44 -0400 Message-ID: Subject: Re: maturity of hyperv From: Aryeh Friedman To: "Abhishek Gupta (LIS)" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2013 19:17:45 -0000 > If you were referencing the drivers then they are more or less ready. We > have a few kinks to work out and are actively working on addressing them. > This is the one I meant... the most important thing for us can it run *ANY* x86 (32 and 64 bit) OS?... if not is such support planned and when will it be available? are there any libs or any interfacing it has to be from scratch?.... slightly OT how close to bhyve is it in actual command and such semantics? From owner-freebsd-virtualization@FreeBSD.ORG Sun Sep 29 19:41:31 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3A3CE5B4 for ; Sun, 29 Sep 2013 19:41:31 +0000 (UTC) (envelope-from abgupta@microsoft.com) Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0238.outbound.protection.outlook.com [207.46.163.238]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EA0C02570 for ; Sun, 29 Sep 2013 19:41:30 +0000 (UTC) Received: from BL2PR03MB210.namprd03.prod.outlook.com (10.255.230.144) by BL2PR03MB211.namprd03.prod.outlook.com (10.255.230.146) with Microsoft SMTP Server (TLS) id 15.0.775.9; Sun, 29 Sep 2013 19:26:15 +0000 Received: from BL2PR03MB210.namprd03.prod.outlook.com ([169.254.1.203]) by BL2PR03MB210.namprd03.prod.outlook.com ([169.254.1.203]) with mapi id 15.00.0775.005; Sun, 29 Sep 2013 19:26:15 +0000 From: "Abhishek Gupta (LIS)" To: Aryeh Friedman Subject: RE: maturity of hyperv Thread-Topic: maturity of hyperv Thread-Index: AQHOvUMivl+P8E/3D0eKwly9Dv2xMZndFDK6gAACbQCAAAFVyg== Date: Sun, 29 Sep 2013 19:26:14 +0000 Message-ID: <072936be662f41a79d8120f3f2755829@BL2PR03MB210.namprd03.prod.outlook.com> References: <83abdace3e4d428a85e71cbd41f0d9c3@BL2PR03MB210.namprd03.prod.outlook.com>, In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [67.170.86.163] x-forefront-prvs: 09840A4839 x-forefront-antispam-report: SFV:NSPM; SFS:(377454003)(199002)(189002)(164054003)(74876001)(66066001)(80022001)(16236675002)(46102001)(19580405001)(80976001)(50986001)(47976001)(47736001)(49866001)(51856001)(76786001)(76796001)(4396001)(33646001)(65816001)(19580395003)(83322001)(69226001)(81542001)(31966008)(74366001)(63696002)(79102001)(54316002)(76576001)(56776001)(77982001)(81816001)(59766001)(74662001)(74316001)(47446002)(74706001)(76482001)(53806001)(74502001)(83072001)(54356001)(81686001)(56816003)(77096001)(81342001)(24736002); DIR:OUT; SFP:; SCL:1; SRVR:BL2PR03MB211; H:BL2PR03MB210.namprd03.prod.outlook.com; CLIP:67.170.86.163; FPR:; RD:InfoNoRecords; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-OriginatorOrg: DuplicateDomain-a84fc36a-4ed7-4e57-ab1c-3e967bcbad48.microsoft.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2013 19:41:31 -0000 The drivers will work with both 32-bit and 64-bit systems. There are no kno= wn issues as of now. I am guessing that by libs you mean to ask if there is good user mode tool = integration. As of now we do not have much tool integration as the drivers = are pretty basic in nature and provide storage, networking, timesync, heart= beat, kvp, shutdown support only. However we intend to continue adding more= features and would love to hear any requirements that you may have. I haven't looked very closely at bhyve however I suspect that the differenc= es may be substantial. You will have to test this a bit on your own and we = would be very interested in hearing your feedback. Please let me know if you have further questions. Thanks, Abhishek ________________________________ From: Aryeh Friedman Sent: Sunday, September 29, 2013 12:17 PM To: Abhishek Gupta (LIS) Cc: freebsd-virtualization@freebsd.org Subject: Re: maturity of hyperv If you were referencing the drivers then they are more or less ready. We ha= ve a few kinks to work out and are actively working on addressing them. This is the one I meant... the most important thing for us can it run *ANY*= x86 (32 and 64 bit) OS?... if not is such support planned and when will it= be available? are there any libs or any interfacing it has to be from sc= ratch?.... slightly OT how close to bhyve is it in actual command and such = semantics? From owner-freebsd-virtualization@FreeBSD.ORG Sun Sep 29 18:18:10 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1BE7F597; Sun, 29 Sep 2013 18:18:10 +0000 (UTC) (envelope-from gosha-necr@yandex.ru) Received: from forward3h.mail.yandex.net (forward3h.mail.yandex.net [IPv6:2a02:6b8:0:f05::3]) by mx1.freebsd.org (Postfix) with ESMTP id 6482721CA; Sun, 29 Sep 2013 18:18:09 +0000 (UTC) Received: from web21h.yandex.ru (web21h.yandex.ru [84.201.187.155]) by forward3h.mail.yandex.net (Yandex) with ESMTP id E235E136035B; Sun, 29 Sep 2013 22:18:05 +0400 (MSK) Received: from 127.0.0.1 (localhost [127.0.0.1]) by web21h.yandex.ru (Yandex) with ESMTP id 7B99611214BD; Sun, 29 Sep 2013 22:18:05 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1380478685; bh=lpf/8zxzpA+8Ln0gskwI47cwJ/X+asofi6WoJpXtggM=; h=From:To:Subject:Date; b=mGH6xEFxEj36tXlmQV8bfRhorLYgEeQcGbomVSwZvSryi15F2MzafJzN4i8R4/N3V 9NmvoIlf7lwEEYsboDQtzKlhRAHDRU2UIq1an3976Diwjnwuoez+9zpTeDuT9L/nIH 63i0Z1W2DpsDspi2BCmx0B+fI3d412WuNjaunBdM= Received: from net245.234.188-30.ertelecom.ru (net245.234.188-30.ertelecom.ru [188.234.245.30]) by web21h.yandex.ru with HTTP; Sun, 29 Sep 2013 22:18:04 +0400 From: =?koi8-r?B?59XM0cXXIOfP28E=?= To: freebsd-current@freebsd.org, freebsd-virtualization@freebsd.org Subject: Hyperv driver related error on make buildkernel on -r255933 Message-Id: <13221380478684@web21h.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Mon, 30 Sep 2013 00:18:04 +0600 X-Mailman-Approved-At: Sun, 29 Sep 2013 20:06:36 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2013 18:18:10 -0000 I have an error when tryin to compile kernel with recent -CURRENT sources There is additional info uname -a, /etc/src.conf, error output and kernel config ======================================== uname -a FreeBSD MYBSD 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Mon Aug 12 22:31:24 MSK 2013 xlr@MYBSD:/usr/obj/usr/src/sys/MYBSD amd64 ======================================== /etc/src.conf WITHOUT_ACCT=YES #WITHOUT_AMD=YES WITHOUT_ASSERT_DEBUG=YES WITHOUT_ATM=YES WITHOUT_AUDIT=YES WITHOUT_AUTHPF=YES WITHOUT_BIND=YES #WITHOUT_BLUETOOTH=YES WITHOUT_BSNMP=YES WITHOUT_CLANG=YES WITHOUT_CTM=YES WITHOUT_FDT=YES WITHOUT_FLOPPY=YES WITHOUT_GDB=YES WITHOUT_HTML=YES WITH_GCC=YES WITH_GNUCXX=YES WITHOUT_ICONV=YES #WITH_LIBICONV_COMPAT=YES WITHOUT_INET6=YES WITHOUT_INFO=YES WITHOUT_IPFILTER=YES WITHOUT_IPX=YES WITHOUT_KERNEL_SYMBOLS=YES WITHOUT_KVM=YES WITHOUT_LPR=YES WITHOUT_MAIL=YES WITHOUT_NCP=YES #WITHOUT_NDIS=YES WITHOUT_OFED=YES WITHOUT_PF=YES WITHOUT_PMC=YES WITHOUT_QUOTAS=YES WITHOUT_RCMDS=YES WITHOUT_RCS=YES WITHOUT_SHAREDOCS=YES #WITHOUT_USB=YES #WITHOUT_WIRELESS=YES WITHOUT_ZFS=YES ======================================== ERROR OUTPUT awk -f /usr/src/sys/conf/kmod_syms.awk hwpmc.ko export_syms | xargs -J% objcopy % hwpmc.ko objcopy --strip-debug hwpmc.ko ===> hyperv (all) ===> hyperv/vmbus (all) cc -O2 -pipe -msse -msse2 -msse3 -mmmx -m3dnow -mtune=core2 -march=core2 -fno-strict-aliasing -Wno-error -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/include -I/usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus -I/usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/utilities -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/MYBSD/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/sys/MYBSD -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -c /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_channel. c In file included from /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_channel. c:40: /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus_pr iv.h:288: warning: declaration does not declare anything /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus_pr iv.h:396: warning: declaration does not declare anything /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus_pr iv.h:410: warning: declaration does not declare anything /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus_pr iv.h:418: warning: declaration does not declare anything /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus_pr iv.h:426: warning: declaration does not declare anything /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus_pr iv.h:502: warning: declaration does not declare anything /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus_pr iv.h:514: warning: declaration does not declare anything /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus_pr iv.h:528: warning: declaration does not declare anything /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus_pr iv.h:539: warning: declaration does not declare anything /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_channel. c: In function 'vmbus_channel_set_event': /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_channel. c:73: error: 'union ' has no member named 'pending' *** Error code 1 Stop. make: stopped in /usr/src/sys/modules/hyperv/vmbus *** Error code 1 Stop. make: stopped in /usr/src/sys/modules/hyperv *** Error code 1 Stop. make: stopped in /usr/src/sys/modules *** Error code 1 Stop. make: stopped in /usr/obj/usr/src/sys/MYBSD *** Error code 1 Stop. make: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src =============================================== Kernel config cpu HAMMER ident MYKERN device coretemp #device atapicam #device pccard #device ndis #options NDISAPI #makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols #makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking #options INET6 # IPv6 communications protocols options TCP_OFFLOAD # TCP offload #options SCTP # Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support #options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options UFS_GJOURNAL # Enable gjournal-based UFS journaling options MD_ROOT # MD is a potential root device #options NFSCL # New Network Filesystem Client #options NFSD # New Network Filesystem Server #options NFSLOCKD # Network Lock Manager #options NFS_ROOT # NFS usable as /, requires NFSCL options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. #options GEOM_RAID # Soft RAID functionality. options GEOM_LABEL # Provides labelization options COMPAT_FREEBSD32 # Compatible with i386 binaries options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options COMPAT_FREEBSD7 # Compatible with FreeBSD7 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI #options KTRACE # ktrace(1) support #options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. options KBD_INSTALL_CDEV # install a CDEV entry in /dev #options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) #options AUDIT # Security event auditing #options CAPABILITY_MODE # Capsicum capability mode #options CAPABILITIES # Capsicum capabilities #options MAC # TrustedBSD MAC Framework #options KDTRACE_FRAME # Ensure frames are compiled in #options KDTRACE_HOOKS # Kernel DTrace hooks #options DDB_CTF # Kernel ELF linker loads CTF data options INCLUDE_CONFIG_FILE # Include this file in kernel # Debugging support. Always need this: #######options KDB # Enable kernel debugger support. # For minimum debugger support (stable branch) use: #######options KDB_TRACE # Print a stack trace for a panic. # For full debugger support use this instead: #######options DDB # Support DDB. #options GDB # Support remote GDB. #options DEADLKRES # Enable the deadlock resolver #options INVARIANTS # Enable calls of extra sanity checking #options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS #options WITNESS # Enable checks to detect deadlocks and cycles #options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed #options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones # Make an SMP-capable kernel by default options SMP # Symmetric MultiProcessor Kernel # CPU frequency control device cpufreq # Bus support. device acpi device pci # Floppy drives #device fdc # ATA controllers device ahci # AHCI-compatible SATA controllers device ata # Legacy ATA/SATA controllers #options ATA_CAM # Handle legacy controllers with CAM options ATA_STATIC_ID # Static device numbering #device mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA #device siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA # SCSI Controllers #device ahc # AHA2940 and onboard AIC7xxx devices #options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. #device ahd # AHA39320/29320 and onboard AIC79xx devices #options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. #device esp # AMD Am53C974 (Tekram DC-390(T)) #device hptiop # Highpoint RocketRaid 3xxx series #device isp # Qlogic family #device ispfw # Firmware for QLogic HBAs- normally a module #device mpt # LSI-Logic MPT-Fusion #device mps # LSI-Logic MPT-Fusion 2 #device ncr # NCR/Symbios Logic #device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') #device trm # Tekram DC395U/UW/F DC315U adapters #device adv # Advansys SCSI adapters #device adw # Advansys wide SCSI adapters #device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60. #device bt # Buslogic/Mylex MultiMaster SCSI adapters #device isci # Intel C600 SAS controller # ATA/SCSI peripherals device scbus # SCSI bus (required for ATA/SCSI) #device ch # SCSI media changers device da # Direct Access (disks) #device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct ATA/SCSI access) #device ses # Enclosure Services (SES and SAF-TE) device ctl # CAM Target Layer # RAID controllers interfaced to the SCSI subsystem #device amr # AMI MegaRAID #device arcmsr # Areca SATA II RAID #XXX it is not 64-bit clean, -scottl #device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID #device ciss # Compaq Smart RAID 5* #device dpt # DPT Smartcache III, IV - See NOTES for options #device hptmv # Highpoint RocketRAID 182x #device hptrr # Highpoint RocketRAID 17xx, 22xx, 23xx, 25xx #device hpt27xx # Highpoint RocketRAID 27xx #device iir # Intel Integrated RAID #device ips # IBM (Adaptec) ServeRAID #device mly # Mylex AcceleRAID/eXtremeRAID #device twa # 3ware 9000 series PATA/SATA RAID #device tws # LSI 3ware 9750 SATA+SAS 6Gb/s RAID controller # RAID controllers #device aac # Adaptec FSA RAID #device aacp # SCSI passthrough for aac (requires CAM) #device ida # Compaq Smart RAID #device mfi # LSI MegaRAID SAS #device mlx # Mylex DAC960 family #XXX pointer/int warnings #device pst # Promise Supertrak SX6000 #device twe # 3ware ATA RAID # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device kbdmux # keyboard multiplexer device vga # VGA video card driver options VESA # Add support for VESA BIOS Extensions (VBE) device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc options SC_PIXEL_MODE # add support for the raster text mode #device agp # support several AGP chipsets # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support #device cbb # cardbus (yenta) bridge #device pccard # PC Card (16-bit) bus #device cardbus # CardBus (32-bit) bus # Serial (COM) ports #device uart # Generic UART driver # Parallel port #device ppc #device ppbus # Parallel port bus (required) #device lpt # Printer #device plip # TCP/IP over parallel #device ppi # Parallel port interface device #device vpo # Requires scbus and da #device puc # Multi I/O cards and multi-channel UARTs # PCI Ethernet NICs. #device bxe # Broadcom BCM57710/BCM57711/BCM57711E 10Gb Ethernet #device de # DEC/Intel DC21x4x (``Tulip'') #device em # Intel PRO/1000 Gigabit Ethernet Family #device igb # Intel PRO/1000 PCIE Server Gigabit Family #device ixgbe # Intel PRO/10GbE PCIE Ethernet Family #device le # AMD Am7900 LANCE and Am79C9xx PCnet #device ti # Alteon Networks Tigon I/II gigabit Ethernet #device txp # 3Com 3cR990 (``Typhoon'') #device vx # 3Com 3c590, 3c595 (``Vortex'') # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support #device ae # Attansic/Atheros L2 FastEthernet #device age # Attansic/Atheros L1 Gigabit Ethernet #device alc # Atheros AR8131/AR8132 Ethernet #device ale # Atheros AR8121/AR8113/AR8114 Ethernet #device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet #device bfe # Broadcom BCM440x 10/100 Ethernet #device bge # Broadcom BCM570xx Gigabit Ethernet #device cas # Sun Cassini/Cassini+ and NS DP83065 Saturn #device dc # DEC/Intel 21143 and various workalikes #device et # Agere ET1310 10/100/Gigabit Ethernet #device fxp # Intel EtherExpress PRO/100B (82557, 82558) #device gem # Sun GEM/Sun ERI/Apple GMAC #device hme # Sun HME (Happy Meal Ethernet) #device jme # JMicron JMC250 Gigabit/JMC260 Fast Ethernet #device lge # Level 1 LXT1001 gigabit Ethernet #device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet #device nfe # nVidia nForce MCP on-board Ethernet #device nge # NatSemi DP83820 gigabit Ethernet #device nve # nVidia nForce MCP on-board Ethernet Networking #device pcn # AMD Am79C97x PCI 10/100 (precedence over 'le') device re # RealTek 8139C+/8169/8169S/8110S #device rl # RealTek 8129/8139 #device sf # Adaptec AIC-6915 (``Starfire'') #device sge # Silicon Integrated Systems SiS190/191 #device sis # Silicon Integrated Systems SiS 900/SiS 7016 #device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet #device ste # Sundance ST201 (D-Link DFE-550TX) #device stge # Sundance/Tamarack TC9021 gigabit Ethernet #device tl # Texas Instruments ThunderLAN #device tx # SMC EtherPower II (83c170 ``EPIC'') #device vge # VIA VT612x gigabit Ethernet #device vr # VIA Rhine, Rhine II #device wb # Winbond W89C840F #device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # ISA Ethernet NICs. pccard NICs included. #device cs # Crystal Semiconductor CS89x0 NIC # 'device ed' requires 'device miibus' #device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards #device ex # Intel EtherExpress Pro/10 and Pro/10+ #device ep # Etherlink III based cards #device fe # Fujitsu MB8696x based cards #device sn # SMC's 9000 series of Ethernet chips #device xe # Xircom pccard Ethernet # Wireless NIC cards device wlan # 802.11 support options IEEE80211_DEBUG # enable debug msgs options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's options IEEE80211_SUPPORT_MESH # enable 802.11s draft support device wlan_wep # 802.11 WEP support device wlan_ccmp # 802.11 CCMP support device wlan_tkip # 802.11 TKIP support device wlan_amrr # AMRR transmit rate control algorithm #device an # Aironet 4500/4800 802.11 wireless NICs. device ath # Atheros NICs device ath_pci # Atheros pci/cardbus glue device ath_hal # pci/cardbus chip support options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors options AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation options ATH_ENABLE_11N # Enable 802.11n support for AR5416 and later device ath_rate_sample # SampleRate tx rate control for ath #device bwi # Broadcom BCM430x/BCM431x wireless NICs. #device bwn # Broadcom BCM43xx wireless NICs. #device ipw # Intel 2100 wireless NICs. #device iwi # Intel 2200BG/2225BG/2915ABG wireless NICs. #device iwn # Intel 4965/1000/5000/6000 wireless NICs. #device malo # Marvell Libertas wireless NICs. #device mwl # Marvell 88W8363 802.11n wireless NICs. #device ral # Ralink Technology RT2500 wireless NICs. #device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. #device wpi # Intel 3945ABG wireless NICs. # Pseudo devices. device loop # Network loopback device random # Entropy device #options PADLOCK_RNG # VIA Padlock RNG #options RDRAND_RNG # Intel Bull Mountain RNG device ether # Ethernet support device vlan # 802.1Q VLAN support device tun # Packet tunnel. device md # Memory "disks" #device gif # IPv6 and IPv4 tunneling #device faith # IPv6-to-IPv4 relaying (translation) device firmware # firmware assist module # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support #options USB_DEBUG # enable debug msgs #device uhci # UHCI PCI->USB interface #device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device xhci # XHCI PCI->USB interface (USB 3.0) device usb # USB Bus (required) device ukbd # Keyboard device umass # Disks/Mass storage - Requires scbus and da # FireWire support #device firewire # FireWire bus code # sbp(4) works for some systems but causes boot failure on others #device sbp # SCSI over FireWire (Requires scbus and da) #device fwe # Ethernet over FireWire (non-standard!) #device fwip # IP over FireWire (RFC 2734,3146) #device dcons # Dumb console driver #device dcons_crom # Configuration ROM for dcons # Sound support device sound # Generic sound driver (required) #device snd_cmi # CMedia CMI8338/CMI8738 #device snd_csa # Crystal Semiconductor CS461x/428x #device snd_emu10kx # Creative SoundBlaster Live! and Audigy #device snd_es137x # Ensoniq AudioPCI ES137x device snd_hda # Intel High Definition Audio device snd_ich # Intel, NVidia and other ICH AC'97 Audio #device snd_via8233 # VIA VT8233x Audio # MMC/SD device mmc # MMC/SD bus device mmcsd # MMC/SD memory card device sdhci # Generic PCI SD Host Controller From owner-freebsd-virtualization@FreeBSD.ORG Sun Sep 29 20:44:57 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C1FF97AE; Sun, 29 Sep 2013 20:44:57 +0000 (UTC) (envelope-from abgupta@microsoft.com) Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2lp0203.outbound.protection.outlook.com [207.46.163.203]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 523602815; Sun, 29 Sep 2013 20:44:56 +0000 (UTC) Received: from BL2PR03MB210.namprd03.prod.outlook.com (10.255.230.144) by BL2PR03MB210.namprd03.prod.outlook.com (10.255.230.144) with Microsoft SMTP Server (TLS) id 15.0.775.9; Sun, 29 Sep 2013 20:29:40 +0000 Received: from BL2PR03MB210.namprd03.prod.outlook.com ([169.254.1.203]) by BL2PR03MB210.namprd03.prod.outlook.com ([169.254.1.203]) with mapi id 15.00.0775.005; Sun, 29 Sep 2013 20:29:40 +0000 From: "Abhishek Gupta (LIS)" To: =?koi8-r?B?59XM0cXXIOfP28E=?= , "freebsd-current@freebsd.org" , "freebsd-virtualization@freebsd.org" Subject: RE: Hyperv driver related error on make buildkernel on -r255933 Thread-Topic: Hyperv driver related error on make buildkernel on -r255933 Thread-Index: AQHOvU9q5mlUi7Eca0i1Y7otZrUyU5ndKk66 Date: Sun, 29 Sep 2013 20:29:39 +0000 Message-ID: References: <13221380478684@web21h.yandex.ru> In-Reply-To: <13221380478684@web21h.yandex.ru> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [67.170.86.163] x-forefront-prvs: 09840A4839 x-forefront-antispam-report: SFV:NSPM; SFS:(377454003)(199002)(189002)(164054003)(79102001)(65816001)(80976001)(83072001)(81686001)(54316002)(81542001)(77982001)(59766001)(15975445006)(76482001)(47976001)(4396001)(69226001)(66066001)(80022001)(4477795002)(81816001)(50986001)(47736001)(49866001)(81342001)(56776001)(74316001)(74502001)(74366001)(74706001)(74662001)(31966008)(54356001)(74876001)(76576001)(76786001)(76796001)(47446002)(51856001)(15202345003)(53806001)(77096001)(56816003)(46102001)(33646001)(19580405001)(63696002)(19580395003)(83322001)(21314002)(24736002); DIR:OUT; SFP:; SCL:1; SRVR:BL2PR03MB210; H:BL2PR03MB210.namprd03.prod.outlook.com; CLIP:67.170.86.163; FPR:; RD:InfoNoRecords; A:1; MX:1; LANG:en; Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: DuplicateDomain-a84fc36a-4ed7-4e57-ab1c-3e967bcbad48.microsoft.com X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2013 20:44:57 -0000 Hi,=0A= =0A= Is it possible for you to compile with the clang compiler instead of gcc?= =0A= =0A= It seems that you are compiling with gcc and that is why the error is showi= ng up:=0A= =0A= WITHOUT_CLANG=3DYES=0A= WITH_GCC=3DYES=0A= =0A= Let me know if that is not acceptable and I will try to address this as soo= n as possible.=0A= =0A= Thanks,=0A= Abhishek=0A= ________________________________________=0A= From: owner-freebsd-virtualization@freebsd.org on behalf of =E7=D5=CC=D1=C5=D7 =E7=CF=DB=C1 =0A= Sent: Sunday, September 29, 2013 11:18 AM=0A= To: freebsd-current@freebsd.org; freebsd-virtualization@freebsd.org=0A= Subject: Hyperv driver related error on make buildkernel on -r255933=0A= =0A= I have an error when tryin to compile kernel with recent -CURRENT=0A= sources=0A= =0A= There is additional info uname -a, /etc/src.conf, error output and=0A= kernel config=0A= =0A= =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 uname -a=0A= =0A= FreeBSD MYBSD 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Mon Aug 12 22:31:24= =0A= MSK 2013 xlr@MYBSD:/usr/obj/usr/src/sys/MYBSD amd64=0A= =0A= =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 /etc/src.conf=0A= =0A= WITHOUT_ACCT=3DYES=0A= #WITHOUT_AMD=3DYES=0A= WITHOUT_ASSERT_DEBUG=3DYES=0A= WITHOUT_ATM=3DYES=0A= WITHOUT_AUDIT=3DYES=0A= WITHOUT_AUTHPF=3DYES=0A= WITHOUT_BIND=3DYES=0A= #WITHOUT_BLUETOOTH=3DYES=0A= WITHOUT_BSNMP=3DYES=0A= WITHOUT_CLANG=3DYES=0A= WITHOUT_CTM=3DYES=0A= WITHOUT_FDT=3DYES=0A= WITHOUT_FLOPPY=3DYES=0A= WITHOUT_GDB=3DYES=0A= WITHOUT_HTML=3DYES=0A= WITH_GCC=3DYES=0A= WITH_GNUCXX=3DYES=0A= WITHOUT_ICONV=3DYES=0A= #WITH_LIBICONV_COMPAT=3DYES=0A= WITHOUT_INET6=3DYES=0A= WITHOUT_INFO=3DYES=0A= WITHOUT_IPFILTER=3DYES=0A= WITHOUT_IPX=3DYES=0A= WITHOUT_KERNEL_SYMBOLS=3DYES=0A= WITHOUT_KVM=3DYES=0A= WITHOUT_LPR=3DYES=0A= WITHOUT_MAIL=3DYES=0A= WITHOUT_NCP=3DYES=0A= #WITHOUT_NDIS=3DYES=0A= WITHOUT_OFED=3DYES=0A= WITHOUT_PF=3DYES=0A= WITHOUT_PMC=3DYES=0A= WITHOUT_QUOTAS=3DYES=0A= WITHOUT_RCMDS=3DYES=0A= WITHOUT_RCS=3DYES=0A= WITHOUT_SHAREDOCS=3DYES=0A= #WITHOUT_USB=3DYES=0A= #WITHOUT_WIRELESS=3DYES=0A= WITHOUT_ZFS=3DYES=0A= =0A= =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 ERROR OUTPUT=0A= =0A= awk -f /usr/src/sys/conf/kmod_syms.awk hwpmc.ko export_syms | xargs -J%= =0A= objcopy % hwpmc.ko=0A= objcopy --strip-debug hwpmc.ko=0A= =3D=3D=3D> hyperv (all)=0A= =3D=3D=3D> hyperv/vmbus (all)=0A= cc -O2 -pipe -msse -msse2 -msse3 -mmmx -m3dnow -mtune=3Dcore2=0A= -march=3Dcore2 -fno-strict-aliasing -Wno-error -D_KERNEL -DKLD_MODULE=0A= -nostdinc=0A= -I/usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/include=0A= -I/usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus=0A= -I/usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/utilities=0A= -DHAVE_KERNEL_OPTION_HEADERS -include=0A= /usr/obj/usr/src/sys/MYBSD/opt_global.h -I. -I@ -I@/contrib/altq=0A= -finline-limit=3D8000 --param inline-unit-growth=3D100 --param=0A= large-function-growth=3D1000 -fno-common -fno-omit-frame-pointer=0A= -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/sys/MYBSD=0A= -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float=0A= -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector=0A= -std=3Diso9899:1999 -fstack-protector -Wall -Wredundant-decls=0A= -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes=0A= -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign=0A= -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -c= =0A= /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_channel.= =0A= c=0A= In file included from=0A= /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_channel.= =0A= c:40:=0A= /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus_pr= =0A= iv.h:288: warning: declaration does not declare anything=0A= /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus_pr= =0A= iv.h:396: warning: declaration does not declare anything=0A= /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus_pr= =0A= iv.h:410: warning: declaration does not declare anything=0A= /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus_pr= =0A= iv.h:418: warning: declaration does not declare anything=0A= /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus_pr= =0A= iv.h:426: warning: declaration does not declare anything=0A= /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus_pr= =0A= iv.h:502: warning: declaration does not declare anything=0A= /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus_pr= =0A= iv.h:514: warning: declaration does not declare anything=0A= /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus_pr= =0A= iv.h:528: warning: declaration does not declare anything=0A= /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus_pr= =0A= iv.h:539: warning: declaration does not declare anything=0A= /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_channel.= =0A= c: In function 'vmbus_channel_set_event':=0A= /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_channel.= =0A= c:73: error: 'union ' has no member named 'pending'=0A= *** Error code 1=0A= Stop.=0A= make: stopped in /usr/src/sys/modules/hyperv/vmbus=0A= *** Error code 1=0A= Stop.=0A= make: stopped in /usr/src/sys/modules/hyperv=0A= *** Error code 1=0A= Stop.=0A= make: stopped in /usr/src/sys/modules=0A= *** Error code 1=0A= Stop.=0A= make: stopped in /usr/obj/usr/src/sys/MYBSD=0A= *** Error code 1=0A= Stop.=0A= make: stopped in /usr/src=0A= *** Error code 1=0A= Stop.=0A= make: stopped in /usr/src=0A= =0A= =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 Kerne= l config=0A= =0A= cpu HAMMER=0A= ident MYKERN=0A= device coretemp=0A= #device atapicam=0A= #device pccard=0A= #device ndis=0A= #options NDISAPI=0A= #makeoptions DEBUG=3D-g # Build kernel with gdb(1) debug symbols=0A= #makeoptions WITH_CTF=3D1 # Run ctfconvert(1) for DTrace support=0A= options SCHED_ULE # ULE scheduler=0A= options PREEMPTION # Enable kernel thread preemption=0A= options INET # InterNETworking=0A= #options INET6 # IPv6 communications protocols=0A= options TCP_OFFLOAD # TCP offload=0A= #options SCTP # Stream Control Transmission Protocol=0A= options FFS # Berkeley Fast Filesystem=0A= options SOFTUPDATES # Enable FFS soft updates support=0A= #options UFS_ACL # Support for access control lists=0A= options UFS_DIRHASH # Improve performance on big directories=0A= options UFS_GJOURNAL # Enable gjournal-based UFS journaling=0A= options MD_ROOT # MD is a potential root device=0A= #options NFSCL # New Network Filesystem Client=0A= #options NFSD # New Network Filesystem Server=0A= #options NFSLOCKD # Network Lock Manager=0A= #options NFS_ROOT # NFS usable as /, requires NFSCL=0A= options MSDOSFS # MSDOS Filesystem=0A= options CD9660 # ISO 9660 Filesystem=0A= options PROCFS # Process filesystem (requires PSEUDOFS)=0A= options PSEUDOFS # Pseudo-filesystem framework=0A= options GEOM_PART_GPT # GUID Partition Tables.=0A= #options GEOM_RAID # Soft RAID functionality.=0A= options GEOM_LABEL # Provides labelization=0A= options COMPAT_FREEBSD32 # Compatible with i386 binaries=0A= options COMPAT_FREEBSD4 # Compatible with FreeBSD4=0A= options COMPAT_FREEBSD5 # Compatible with FreeBSD5=0A= options COMPAT_FREEBSD6 # Compatible with FreeBSD6=0A= options COMPAT_FREEBSD7 # Compatible with FreeBSD7=0A= options SCSI_DELAY=3D5000 # Delay (in ms) before probing SCSI=0A= #options KTRACE # ktrace(1) support=0A= #options STACK # stack(9) support=0A= options SYSVSHM # SYSV-style shared memory=0A= options SYSVMSG # SYSV-style message queues=0A= options SYSVSEM # SYSV-style semaphores=0A= options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time=0A= extensions=0A= options PRINTF_BUFR_SIZE=3D128 # Prevent printf output being=0A= interspersed.=0A= options KBD_INSTALL_CDEV # install a CDEV entry in /dev=0A= #options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)=0A= #options AUDIT # Security event auditing=0A= #options CAPABILITY_MODE # Capsicum capability mode=0A= #options CAPABILITIES # Capsicum capabilities=0A= #options MAC # TrustedBSD MAC Framework=0A= #options KDTRACE_FRAME # Ensure frames are compiled in=0A= #options KDTRACE_HOOKS # Kernel DTrace hooks=0A= #options DDB_CTF # Kernel ELF linker loads CTF data=0A= options INCLUDE_CONFIG_FILE # Include this file in kernel=0A= # Debugging support. Always need this:=0A= #######options KDB # Enable kernel debugger support.=0A= # For minimum debugger support (stable branch) use:=0A= #######options KDB_TRACE # Print a stack trace for a panic.=0A= # For full debugger support use this instead:=0A= #######options DDB # Support DDB.=0A= #options GDB # Support remote GDB.=0A= #options DEADLKRES # Enable the deadlock resolver=0A= #options INVARIANTS # Enable calls of extra sanity checking=0A= #options INVARIANT_SUPPORT # Extra sanity checks of internal=0A= structures, required by INVARIANTS=0A= #options WITNESS # Enable checks to detect deadlocks and cycles=0A= #options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed=0A= #options MALLOC_DEBUG_MAXZONES=3D8 # Separate malloc(9) zones=0A= # Make an SMP-capable kernel by default=0A= options SMP # Symmetric MultiProcessor Kernel=0A= # CPU frequency control=0A= device cpufreq=0A= # Bus support.=0A= device acpi=0A= device pci=0A= # Floppy drives=0A= #device fdc=0A= # ATA controllers=0A= device ahci # AHCI-compatible SATA controllers=0A= device ata # Legacy ATA/SATA controllers=0A= #options ATA_CAM # Handle legacy controllers with CAM=0A= options ATA_STATIC_ID # Static device numbering=0A= #device mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA=0A= #device siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA=0A= # SCSI Controllers=0A= #device ahc # AHA2940 and onboard AIC7xxx devices=0A= #options AHC_REG_PRETTY_PRINT # Print register bitfields in debug=0A= # output. Adds ~128k to driver.=0A= #device ahd # AHA39320/29320 and onboard AIC79xx devices=0A= #options AHD_REG_PRETTY_PRINT # Print register bitfields in debug=0A= # output. Adds ~215k to driver.=0A= #device esp # AMD Am53C974 (Tekram DC-390(T))=0A= #device hptiop # Highpoint RocketRaid 3xxx series=0A= #device isp # Qlogic family=0A= #device ispfw # Firmware for QLogic HBAs- normally a module=0A= #device mpt # LSI-Logic MPT-Fusion=0A= #device mps # LSI-Logic MPT-Fusion 2=0A= #device ncr # NCR/Symbios Logic=0A= #device sym # NCR/Symbios Logic (newer chipsets + those of `ncr')=0A= #device trm # Tekram DC395U/UW/F DC315U adapters=0A= #device adv # Advansys SCSI adapters=0A= #device adw # Advansys wide SCSI adapters=0A= #device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60.=0A= #device bt # Buslogic/Mylex MultiMaster SCSI adapters=0A= #device isci # Intel C600 SAS controller=0A= # ATA/SCSI peripherals=0A= device scbus # SCSI bus (required for ATA/SCSI)=0A= #device ch # SCSI media changers=0A= device da # Direct Access (disks)=0A= #device sa # Sequential Access (tape etc)=0A= device cd # CD=0A= device pass # Passthrough device (direct ATA/SCSI access)=0A= #device ses # Enclosure Services (SES and SAF-TE)=0A= device ctl # CAM Target Layer=0A= # RAID controllers interfaced to the SCSI subsystem=0A= #device amr # AMI MegaRAID=0A= #device arcmsr # Areca SATA II RAID=0A= #XXX it is not 64-bit clean, -scottl=0A= #device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID=0A= #device ciss # Compaq Smart RAID 5*=0A= #device dpt # DPT Smartcache III, IV - See NOTES for options=0A= #device hptmv # Highpoint RocketRAID 182x=0A= #device hptrr # Highpoint RocketRAID 17xx, 22xx, 23xx, 25xx=0A= #device hpt27xx # Highpoint RocketRAID 27xx=0A= #device iir # Intel Integrated RAID=0A= #device ips # IBM (Adaptec) ServeRAID=0A= #device mly # Mylex AcceleRAID/eXtremeRAID=0A= #device twa # 3ware 9000 series PATA/SATA RAID=0A= #device tws # LSI 3ware 9750 SATA+SAS 6Gb/s RAID controller=0A= # RAID controllers=0A= #device aac # Adaptec FSA RAID=0A= #device aacp # SCSI passthrough for aac (requires CAM)=0A= #device ida # Compaq Smart RAID=0A= #device mfi # LSI MegaRAID SAS=0A= #device mlx # Mylex DAC960 family=0A= #XXX pointer/int warnings=0A= #device pst # Promise Supertrak SX6000=0A= #device twe # 3ware ATA RAID=0A= # atkbdc0 controls both the keyboard and the PS/2 mouse=0A= device atkbdc # AT keyboard controller=0A= device atkbd # AT keyboard=0A= device psm # PS/2 mouse=0A= device kbdmux # keyboard multiplexer=0A= device vga # VGA video card driver=0A= options VESA # Add support for VESA BIOS Extensions (VBE)=0A= device splash # Splash screen and screen saver support=0A= # syscons is the default console driver, resembling an SCO console=0A= device sc=0A= options SC_PIXEL_MODE # add support for the raster text mode=0A= #device agp # support several AGP chipsets=0A= # PCCARD (PCMCIA) support=0A= # PCMCIA and cardbus bridge support=0A= #device cbb # cardbus (yenta) bridge=0A= #device pccard # PC Card (16-bit) bus=0A= #device cardbus # CardBus (32-bit) bus=0A= # Serial (COM) ports=0A= #device uart # Generic UART driver=0A= # Parallel port=0A= #device ppc=0A= #device ppbus # Parallel port bus (required)=0A= #device lpt # Printer=0A= #device plip # TCP/IP over parallel=0A= #device ppi # Parallel port interface device=0A= #device vpo # Requires scbus and da=0A= #device puc # Multi I/O cards and multi-channel UARTs=0A= # PCI Ethernet NICs.=0A= #device bxe # Broadcom BCM57710/BCM57711/BCM57711E 10Gb Ethernet=0A= #device de # DEC/Intel DC21x4x (``Tulip'')=0A= #device em # Intel PRO/1000 Gigabit Ethernet Family=0A= #device igb # Intel PRO/1000 PCIE Server Gigabit Family=0A= #device ixgbe # Intel PRO/10GbE PCIE Ethernet Family=0A= #device le # AMD Am7900 LANCE and Am79C9xx PCnet=0A= #device ti # Alteon Networks Tigon I/II gigabit Ethernet=0A= #device txp # 3Com 3cR990 (``Typhoon'')=0A= #device vx # 3Com 3c590, 3c595 (``Vortex'')=0A= # PCI Ethernet NICs that use the common MII bus controller code.=0A= # NOTE: Be sure to keep the 'device miibus' line in order to use these= =0A= NICs!=0A= device miibus # MII bus support=0A= #device ae # Attansic/Atheros L2 FastEthernet=0A= #device age # Attansic/Atheros L1 Gigabit Ethernet=0A= #device alc # Atheros AR8131/AR8132 Ethernet=0A= #device ale # Atheros AR8121/AR8113/AR8114 Ethernet=0A= #device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet=0A= #device bfe # Broadcom BCM440x 10/100 Ethernet=0A= #device bge # Broadcom BCM570xx Gigabit Ethernet=0A= #device cas # Sun Cassini/Cassini+ and NS DP83065 Saturn=0A= #device dc # DEC/Intel 21143 and various workalikes=0A= #device et # Agere ET1310 10/100/Gigabit Ethernet=0A= #device fxp # Intel EtherExpress PRO/100B (82557, 82558)=0A= #device gem # Sun GEM/Sun ERI/Apple GMAC=0A= #device hme # Sun HME (Happy Meal Ethernet)=0A= #device jme # JMicron JMC250 Gigabit/JMC260 Fast Ethernet=0A= #device lge # Level 1 LXT1001 gigabit Ethernet=0A= #device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet=0A= #device nfe # nVidia nForce MCP on-board Ethernet=0A= #device nge # NatSemi DP83820 gigabit Ethernet=0A= #device nve # nVidia nForce MCP on-board Ethernet Networking=0A= #device pcn # AMD Am79C97x PCI 10/100 (precedence over 'le')=0A= device re # RealTek 8139C+/8169/8169S/8110S=0A= #device rl # RealTek 8129/8139=0A= #device sf # Adaptec AIC-6915 (``Starfire'')=0A= #device sge # Silicon Integrated Systems SiS190/191=0A= #device sis # Silicon Integrated Systems SiS 900/SiS 7016=0A= #device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet=0A= #device ste # Sundance ST201 (D-Link DFE-550TX)=0A= #device stge # Sundance/Tamarack TC9021 gigabit Ethernet=0A= #device tl # Texas Instruments ThunderLAN=0A= #device tx # SMC EtherPower II (83c170 ``EPIC'')=0A= #device vge # VIA VT612x gigabit Ethernet=0A= #device vr # VIA Rhine, Rhine II=0A= #device wb # Winbond W89C840F=0A= #device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')=0A= # ISA Ethernet NICs. pccard NICs included.=0A= #device cs # Crystal Semiconductor CS89x0 NIC=0A= # 'device ed' requires 'device miibus'=0A= #device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards=0A= #device ex # Intel EtherExpress Pro/10 and Pro/10+=0A= #device ep # Etherlink III based cards=0A= #device fe # Fujitsu MB8696x based cards=0A= #device sn # SMC's 9000 series of Ethernet chips=0A= #device xe # Xircom pccard Ethernet=0A= # Wireless NIC cards=0A= device wlan # 802.11 support=0A= options IEEE80211_DEBUG # enable debug msgs=0A= options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's=0A= options IEEE80211_SUPPORT_MESH # enable 802.11s draft support=0A= device wlan_wep # 802.11 WEP support=0A= device wlan_ccmp # 802.11 CCMP support=0A= device wlan_tkip # 802.11 TKIP support=0A= device wlan_amrr # AMRR transmit rate control algorithm=0A= #device an # Aironet 4500/4800 802.11 wireless NICs.=0A= device ath # Atheros NICs=0A= device ath_pci # Atheros pci/cardbus glue=0A= device ath_hal # pci/cardbus chip support=0A= options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors=0A= options AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation=0A= options ATH_ENABLE_11N # Enable 802.11n support for AR5416 and later=0A= device ath_rate_sample # SampleRate tx rate control for ath=0A= #device bwi # Broadcom BCM430x/BCM431x wireless NICs.=0A= #device bwn # Broadcom BCM43xx wireless NICs.=0A= #device ipw # Intel 2100 wireless NICs.=0A= #device iwi # Intel 2200BG/2225BG/2915ABG wireless NICs.=0A= #device iwn # Intel 4965/1000/5000/6000 wireless NICs.=0A= #device malo # Marvell Libertas wireless NICs.=0A= #device mwl # Marvell 88W8363 802.11n wireless NICs.=0A= #device ral # Ralink Technology RT2500 wireless NICs.=0A= #device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs.=0A= #device wpi # Intel 3945ABG wireless NICs.=0A= # Pseudo devices.=0A= device loop # Network loopback=0A= device random # Entropy device=0A= #options PADLOCK_RNG # VIA Padlock RNG=0A= #options RDRAND_RNG # Intel Bull Mountain RNG=0A= device ether # Ethernet support=0A= device vlan # 802.1Q VLAN support=0A= device tun # Packet tunnel.=0A= device md # Memory "disks"=0A= #device gif # IPv6 and IPv4 tunneling=0A= #device faith # IPv6-to-IPv4 relaying (translation)=0A= device firmware # firmware assist module=0A= # The `bpf' device enables the Berkeley Packet Filter.=0A= # Be aware of the administrative consequences of enabling this!=0A= # Note that 'bpf' is required for DHCP.=0A= device bpf # Berkeley packet filter=0A= # USB support=0A= #options USB_DEBUG # enable debug msgs=0A= #device uhci # UHCI PCI->USB interface=0A= #device ohci # OHCI PCI->USB interface=0A= device ehci # EHCI PCI->USB interface (USB 2.0)=0A= device xhci # XHCI PCI->USB interface (USB 3.0)=0A= device usb # USB Bus (required)=0A= device ukbd # Keyboard=0A= device umass # Disks/Mass storage - Requires scbus and da=0A= # FireWire support=0A= #device firewire # FireWire bus code=0A= # sbp(4) works for some systems but causes boot failure on others=0A= #device sbp # SCSI over FireWire (Requires scbus and da)=0A= #device fwe # Ethernet over FireWire (non-standard!)=0A= #device fwip # IP over FireWire (RFC 2734,3146)=0A= #device dcons # Dumb console driver=0A= #device dcons_crom # Configuration ROM for dcons=0A= # Sound support=0A= device sound # Generic sound driver (required)=0A= #device snd_cmi # CMedia CMI8338/CMI8738=0A= #device snd_csa # Crystal Semiconductor CS461x/428x=0A= #device snd_emu10kx # Creative SoundBlaster Live! and Audigy=0A= #device snd_es137x # Ensoniq AudioPCI ES137x=0A= device snd_hda # Intel High Definition Audio=0A= device snd_ich # Intel, NVidia and other ICH AC'97 Audio=0A= #device snd_via8233 # VIA VT8233x Audio=0A= # MMC/SD=0A= device mmc # MMC/SD bus=0A= device mmcsd # MMC/SD memory card=0A= device sdhci # Generic PCI SD Host Controller=0A= _______________________________________________=0A= freebsd-virtualization@freebsd.org mailing list=0A= http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization=0A= To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebs= d.org"=0A= From owner-freebsd-virtualization@FreeBSD.ORG Mon Sep 30 11:06:54 2013 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 363F7EF2 for ; Mon, 30 Sep 2013 11:06:54 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 22B912C0A for ; Mon, 30 Sep 2013 11:06:54 +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 r8UB6rwo053652 for ; Mon, 30 Sep 2013 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8UB6rD6053650 for freebsd-virtualization@FreeBSD.org; Mon, 30 Sep 2013 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 30 Sep 2013 11:06:53 GMT Message-Id: <201309301106.r8UB6rD6053650@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-virtualization@FreeBSD.org Subject: Current problem reports assigned to freebsd-virtualization@FreeBSD.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2013 11:06:54 -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/165252 virtualization[vimage] [pf] [panic] kernel panics with VIMAGE and PF o kern/161094 virtualization[vimage] [pf] [panic] kernel panic with pf + VIMAGE wh o kern/160541 virtualization[vimage][pf][patch] panic: userret: Returning on td 0x o kern/160496 virtualization[vimage] [pf] [patch] kernel panic with pf + VIMAGE o kern/148155 virtualization[vimage] [pf] Kernel panic with PF + VIMAGE kernel opt a kern/147950 virtualization[vimage] [carp] VIMAGE + CARP = kernel crash s kern/143808 virtualization[pf] pf does not work inside jail 7 problems total. From owner-freebsd-virtualization@FreeBSD.ORG Mon Sep 30 20:41:25 2013 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2B47A161 for ; Mon, 30 Sep 2013 20:41:25 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1801A23C1 for ; Mon, 30 Sep 2013 20:41:25 +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 r8UKfOtV092129 for ; Mon, 30 Sep 2013 20:41:24 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from arundel@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8UKfO7O092127 for freebsd-virtualization@FreeBSD.org; Mon, 30 Sep 2013 20:41:24 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 30 Sep 2013 20:41:24 GMT Message-Id: <201309302041.r8UKfO7O092127@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: arundel set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-virtualization@FreeBSD.org Subject: Current problem reports assigned to freebsd-virtualization@FreeBSD.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2013 20:41:25 -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/165252 virtualization[vimage] [pf] [panic] kernel panics with VIMAGE and PF o kern/161094 virtualization[vimage] [pf] [panic] kernel panic with pf + VIMAGE wh o kern/160541 virtualization[vimage][pf][patch] panic: userret: Returning on td 0x o kern/160496 virtualization[vimage] [pf] [patch] kernel panic with pf + VIMAGE o kern/148155 virtualization[vimage] [pf] Kernel panic with PF + VIMAGE kernel opt a kern/147950 virtualization[vimage] [carp] VIMAGE + CARP = kernel crash s kern/143808 virtualization[pf] pf does not work inside jail 7 problems total. From owner-freebsd-virtualization@FreeBSD.ORG Mon Sep 30 21:03:07 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4CF77197 for ; Mon, 30 Sep 2013 21:03:07 +0000 (UTC) (envelope-from abgupta@microsoft.com) Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0244.outbound.protection.outlook.com [207.46.163.244]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0C7142560 for ; Mon, 30 Sep 2013 21:03:06 +0000 (UTC) Received: from BL2PR03MB210.namprd03.prod.outlook.com (10.255.230.144) by BL2PR03MB212.namprd03.prod.outlook.com (10.255.230.151) with Microsoft SMTP Server (TLS) id 15.0.785.10; Mon, 30 Sep 2013 21:02:59 +0000 Received: from BL2PR03MB210.namprd03.prod.outlook.com ([169.254.1.122]) by BL2PR03MB210.namprd03.prod.outlook.com ([169.254.1.122]) with mapi id 15.00.0785.001; Mon, 30 Sep 2013 21:02:59 +0000 From: "Abhishek Gupta (LIS)" To: "freebsd-virtualization@freebsd.org" Subject: Disabling ATA driver for IDE devices on Hyper-V Thread-Topic: Disabling ATA driver for IDE devices on Hyper-V Thread-Index: Ac6+IC1SIzkXAqfxQK27OEWB/yp/tw== Date: Mon, 30 Sep 2013 21:02:58 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2001:4898:80e8:ee31::2] x-forefront-prvs: 0985DA2459 x-forefront-antispam-report: SFV:NSPM; SFS:(164054003)(199002)(189002)(81542001)(81342001)(81816001)(51856001)(76482001)(81686001)(46102001)(79102001)(54316002)(56776001)(80022001)(65816001)(16236675002)(53806001)(19300405004)(74316001)(69226001)(4396001)(59766001)(77982001)(63696002)(50986001)(47736001)(47976001)(15975445006)(49866001)(74366001)(56816003)(77096001)(83322001)(19580395003)(33646001)(76786001)(76796001)(83072001)(76576001)(74706001)(31966008)(74662001)(80976001)(54356001)(15202345003)(76176001)(47446002)(74502001)(74876001)(3826001)(24736002); DIR:OUT; SFP:; SCL:1; SRVR:BL2PR03MB212; H:BL2PR03MB210.namprd03.prod.outlook.com; CLIP:2001:4898:80e8:ee31::2; FPR:; RD:InfoNoRecords; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-OriginatorOrg: DuplicateDomain-a84fc36a-4ed7-4e57-ab1c-3e967bcbad48.microsoft.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2013 21:03:07 -0000 Hi folks, This may have been asked before but the solution we have currently is less = than ideal. Please bear with me on the repetition and provide any suggestio= ns you may have. One of the issues with Hyper-V is that it does not virtualize the CD device= and therefore we rely on the ATA driver in the guest operating system to m= anage CDROMs. What we would like to do is disable the ATA driver for all de= vice types except the CDROM in the presence of Hyper-V. Can someone help us= in answering the following in this regard: a) What is the correct location in the FreeBSD ATA code where we can p= ut in selective disabling? b) Is this a good approach? Is there something cleaner you can think o= f? As of now we have implemented a disengage driver that disables ATA driver p= ermanently on Hyper-V. However this is less than desirable and we are looki= ng for a better solution. Please let us know if you have some thoughts. Thanks, Abhishek From owner-freebsd-virtualization@FreeBSD.ORG Mon Sep 30 22:16:38 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C4D26B0C for ; Mon, 30 Sep 2013 22:16:38 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pb0-x229.google.com (mail-pb0-x229.google.com [IPv6:2607:f8b0:400e:c01::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A1748299B for ; Mon, 30 Sep 2013 22:16:38 +0000 (UTC) Received: by mail-pb0-f41.google.com with SMTP id rp2so6181504pbb.14 for ; Mon, 30 Sep 2013 15:16:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=7013NNDb+i5BC/F7jyOBH5nHBiIld9vi1R3b+nxSGbM=; b=HTGbm2raghdRWp+JS2AbiwHZKMjpv2THOR46ZeVB3RspQo18acH2AwmJZdcfg04nUO T6+g3jIsmaI6pAkiifzqevATrhI/RkWmu/do3+4NjtO238i5hlBSmvdfTSKRamHaB66C 9e9/VJFuZxD58CvL6WMxPKiHI3uVNKwUCFh5rGbFboSwqYc8TcIY61NOpqxrNNrMyjNn Hxqe06kfEG5OVVeRmX4kXgiEnZqS+Iys13p+lPnRFNtc6bhnURwACU5FMedBWwaWPgO/ glN66ekk8Cu6Qwwu2pbpnhpTHfBkPGqylXoCmqcqt7wT3eyIc42VHnf/ew5RugOJ7hAk RfLg== MIME-Version: 1.0 X-Received: by 10.68.171.35 with SMTP id ar3mr25476742pbc.77.1380579398228; Mon, 30 Sep 2013 15:16:38 -0700 (PDT) Received: by 10.68.253.162 with HTTP; Mon, 30 Sep 2013 15:16:38 -0700 (PDT) Date: Mon, 30 Sep 2013 18:16:38 -0400 Message-ID: Subject: bhve bug report: attempting to physical DVD drive for install CD is unbootable From: Aryeh Friedman To: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2013 22:16:38 -0000 With the foillowing script: truncate -s 20G /a ifconfig tap0 destroy ifconfig tap0 create ifconfig tap0 up sleep 5 ifconfig bridge0 addm tap0 up /usr/sbin/bhyvectl --vm=a --destroy /usr/sbin/bhyveload -m 1024 -d /dev/cd0 a /usr/sbin/bhyve -c 1 -m 1024 -AI -H -P -g 0 -s 0:0,hostbridge -s 1:0,virtio-net,tap0 -s 2:0,virtio-blk,/a -s 3:0,virtio-blk,/dev/cd0 -S 31,uart,stdio a I get the following: FreeBSD/amd64 User boot, Revision 1.1 (aryeh@testcloud, Wed Sep 11 22:56:07 EDT 2013) can't load 'kernel' OK ls open '/' failed: device not configured From owner-freebsd-virtualization@FreeBSD.ORG Mon Sep 30 23:49:12 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1B5C1AEB for ; Mon, 30 Sep 2013 23:49:12 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: from mail-qc0-x231.google.com (mail-qc0-x231.google.com [IPv6:2607:f8b0:400d:c01::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D197D2D6E for ; Mon, 30 Sep 2013 23:49:11 +0000 (UTC) Received: by mail-qc0-f177.google.com with SMTP id x12so4131010qcv.8 for ; Mon, 30 Sep 2013 16:49:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=i3eEULR6d+tOWgX9917qvyTDn4lRDUKfXdWKWy800fE=; b=vMvqLkOEKV9qDkJzZ7oHCRbZh9JImG+vcYmZgjAWjUeoc6F8A7BIc/uOT1HaAIm1Y6 E0SEjWYsAtL97ipVYdAAUJiZstML1HePrjrCkIBLXlGKcdiLMQ8RVGr9TEIC0yUGiHFn i2F5ojQQSGZDzKH9eQQAV5vVUonf3ZxoxahQBb2ACtB6R7+qWPtrg5GhnEUcTVlLLRl8 GyKcwkP06lIvBs5sDk7lK9KxT+taQAXfsYk3u4Bjy2hXFG1wSJASyyLOmje29VP5z6Iw J+xHsnuU4XNej9jzvqmonVOdB/VHRQ7COWoi85ha19A6xosbxMiUvMIHVhGvSEVzP/06 h63A== MIME-Version: 1.0 X-Received: by 10.224.3.5 with SMTP id 5mr11716081qal.93.1380584950977; Mon, 30 Sep 2013 16:49:10 -0700 (PDT) Received: by 10.140.88.80 with HTTP; Mon, 30 Sep 2013 16:49:10 -0700 (PDT) In-Reply-To: References: Date: Mon, 30 Sep 2013 16:49:10 -0700 Message-ID: Subject: Re: bhve bug report: attempting to physical DVD drive for install CD is unbootable From: Neel Natu To: Aryeh Friedman Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2013 23:49:12 -0000 Hi Aryeh, The "-d" option was meant to specify the disk or the ISO file image so I am not surprised that it doesn't work with /dev/cd0. Is there any reason that you cannot use an ISO image file to boot the guest? best Neel On Mon, Sep 30, 2013 at 3:16 PM, Aryeh Friedman wrote: > With the foillowing script: > > truncate -s 20G /a > ifconfig tap0 destroy > ifconfig tap0 create > ifconfig tap0 up > sleep 5 > ifconfig bridge0 addm tap0 up > /usr/sbin/bhyvectl --vm=a --destroy > /usr/sbin/bhyveload -m 1024 -d /dev/cd0 a > /usr/sbin/bhyve -c 1 -m 1024 -AI -H -P -g 0 -s 0:0,hostbridge -s > 1:0,virtio-net,tap0 -s 2:0,virtio-blk,/a -s 3:0,virtio-blk,/dev/cd0 -S > 31,uart,stdio a > > I get the following: > > FreeBSD/amd64 User boot, Revision 1.1 > (aryeh@testcloud, Wed Sep 11 22:56:07 EDT 2013) > > can't load 'kernel' > OK ls > open '/' failed: device not configured > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" > From owner-freebsd-virtualization@FreeBSD.ORG Mon Sep 30 23:51:56 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C2C48B3E for ; Mon, 30 Sep 2013 23:51:56 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pa0-x22a.google.com (mail-pa0-x22a.google.com [IPv6:2607:f8b0:400e:c03::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9A68E2DA2 for ; Mon, 30 Sep 2013 23:51:56 +0000 (UTC) Received: by mail-pa0-f42.google.com with SMTP id lj1so6568026pab.15 for ; Mon, 30 Sep 2013 16:51:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=xucXrlX5q1Na62hc3h3KAbkiAEcZR0p0zd+rkzFkQp0=; b=NMsLXS+SLv/kZFh0mh2BiSRGPDdFnUVHT/HD8PObnHYFjZhmAi+k68G/ApMqfTvIhr lvyVGUxZ0akbaTKHPVEMYyAhSFzYtBjEL8KE/ks5tv8z5eUBWygOJ3mDAcpZxMCyZ/HY V5d0+rjfGxfq7/li0emH35KbXF1LdLsFFBnxldm8S5nsTOTsZA4N6qVCEFCANzFvgXvU I1bIepFwRxE00z91qk3lmF7CeMZdj+bGlTtwV5Yw51zfJ5dptpWqe6M9p/oZ24EPDytl 3yVFNXO2sil6tpfAA17tznPT3L8qO10Mf4HUxKI6T4AYAi3YQNY/bs8zlVCG00ciwSRw vVgw== MIME-Version: 1.0 X-Received: by 10.66.165.106 with SMTP id yx10mr5406012pab.159.1380585114064; Mon, 30 Sep 2013 16:51:54 -0700 (PDT) Received: by 10.68.253.162 with HTTP; Mon, 30 Sep 2013 16:51:53 -0700 (PDT) In-Reply-To: References: Date: Mon, 30 Sep 2013 19:51:53 -0400 Message-ID: Subject: Fwd: bhve bug report: attempting to physical DVD drive for install CD is unbootable From: Aryeh Friedman To: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2013 23:51:56 -0000 ---------- Forwarded message ---------- From: Aryeh Friedman Date: Mon, Sep 30, 2013 at 7:51 PM Subject: Re: bhve bug report: attempting to physical DVD drive for install CD is unbootable To: Neel Natu One of the features we want in petitecloud is to allow people to just pop in a CD and install an instance (see the new UI for 0.1.7 that will be released sometime tonight or tomorrow) On Mon, Sep 30, 2013 at 7:49 PM, Neel Natu wrote: > Hi Aryeh, > > The "-d" option was meant to specify the disk or the ISO file image so I > am not surprised that it doesn't work with /dev/cd0. > > Is there any reason that you cannot use an ISO image file to boot the > guest? > > best > Neel > > On Mon, Sep 30, 2013 at 3:16 PM, Aryeh Friedman wrote: > >> With the foillowing script: >> >> truncate -s 20G /a >> ifconfig tap0 destroy >> ifconfig tap0 create >> ifconfig tap0 up >> sleep 5 >> ifconfig bridge0 addm tap0 up >> /usr/sbin/bhyvectl --vm=a --destroy >> /usr/sbin/bhyveload -m 1024 -d /dev/cd0 a >> /usr/sbin/bhyve -c 1 -m 1024 -AI -H -P -g 0 -s 0:0,hostbridge -s >> 1:0,virtio-net,tap0 -s 2:0,virtio-blk,/a -s 3:0,virtio-blk,/dev/cd0 -S >> 31,uart,stdio a >> >> I get the following: >> >> FreeBSD/amd64 User boot, Revision 1.1 >> (aryeh@testcloud, Wed Sep 11 22:56:07 EDT 2013) >> >> can't load 'kernel' >> OK ls >> open '/' failed: device not configured >> _______________________________________________ >> freebsd-virtualization@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization >> To unsubscribe, send any mail to " >> freebsd-virtualization-unsubscribe@freebsd.org" >> > > From owner-freebsd-virtualization@FreeBSD.ORG Tue Oct 1 01:35:33 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 20A9ED32 for ; Tue, 1 Oct 2013 01:35:33 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-la0-x22f.google.com (mail-la0-x22f.google.com [IPv6:2a00:1450:4010:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9C58C226E for ; Tue, 1 Oct 2013 01:35:32 +0000 (UTC) Received: by mail-la0-f47.google.com with SMTP id eo20so5213980lab.34 for ; Mon, 30 Sep 2013 18:35:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=rHWfwvvMA82KMBJvs4wrHFOSN7MIuEmDP59eVxAiYZI=; b=QacL5iNI6F7ICEfM4AYKhRT2jWIv1OPucogVDZTu780/K1957BmmyCVV56WYc4/Q/m ziBHvyva9WkaccuFhhZLIMz0tzRSQgxXOEUwEflYN6ixcAE+y9HMUXqUVsA9eyJJ0w2N VyzWGT0YHNF0DAmtFeBK9e1Uki4LUv+x+LecrxaGVrNo+KiXitdYkRxx36M65RgVn7uF +w1ixLJSgpp6TeRaAR9UKnREQJbvWY36WokvwFGlq6RN6a/IS1N3QYwpQojtHI5w7miP 36rP5e0gGx8DX4B+csaLzM0+yo+ZrhSDNYb5PkQ+5hjkrHIl3+ktfGhBMKATqh+Ay71Z Klew== MIME-Version: 1.0 X-Received: by 10.112.146.33 with SMTP id sz1mr24496955lbb.14.1380591330555; Mon, 30 Sep 2013 18:35:30 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.168.136 with HTTP; Mon, 30 Sep 2013 18:35:30 -0700 (PDT) In-Reply-To: References: Date: Mon, 30 Sep 2013 18:35:30 -0700 X-Google-Sender-Auth: AKT9D8CaO9ejf0xFJGp2TuJ2ZMY Message-ID: Subject: Re: bhve bug report: attempting to physical DVD drive for install CD is unbootable From: Craig Rodrigues To: Aryeh Friedman Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Oct 2013 01:35:33 -0000 On Mon, Sep 30, 2013 at 4:51 PM, Aryeh Friedman wrote: > ---------- Forwarded message ---------- > From: Aryeh Friedman > Date: Mon, Sep 30, 2013 at 7:51 PM > Subject: Re: bhve bug report: attempting to physical DVD drive for install > CD is unbootable > To: Neel Natu > > > One of the features we want in petitecloud is to allow people to just pop > in a CD and install an instance (see the new UI for 0.1.7 that will be > released sometime tonight or tomorrow) > It's not the most elegant solution and can potentially use a lot of disk space, but you might want to consider something where in the petitecloud UI, if /dev/cd[n] or /dev/acd[n] is used as the input device, you rip the CD ( see: http://forums.freebsd.org/showthread.php?t=1195 ) and then pass the ripped ISO file as a parameter to bhyvectl. I ran into a related problem with FreeNAS: http://lists.freebsd.org/pipermail/freebsd-virtualization/2013-August/001484.html I'm actually fixing the FreeNAS installer so that it will work with BHyve. -- Craig From owner-freebsd-virtualization@FreeBSD.ORG Tue Oct 1 07:34:18 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 86E2EFFB for ; Tue, 1 Oct 2013 07:34:18 +0000 (UTC) (envelope-from vvm@tut.by) Received: from mail-ea0-x22a.google.com (mail-ea0-x22a.google.com [IPv6:2a00:1450:4013:c01::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0ED1824D4 for ; Tue, 1 Oct 2013 07:34:17 +0000 (UTC) Received: by mail-ea0-f170.google.com with SMTP id h14so3191057eak.15 for ; Tue, 01 Oct 2013 00:34:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tut.by; s=google; h=message-id:from:to:cc:references:subject:date:mime-version :content-type:content-transfer-encoding; bh=Rv+LXMZNhJwMwC8+JCBfEEGCxcDRXkxX4MYNHFcWLhU=; b=Wy54un1M2l41GemYsAOPTUQDAumqwt8LxZ9lL3u189JkHru60TrrexNK1YeGurRNlT Ts92mv+zTnhqDQSwuaYyjVzP7cDhzQ9A0FiCpo35xcHvRS5/bdFg2k+qi2z7VCvRGhfZ z2KvtRZ1FCkq0wjoFjDk1Bz3fQR9qTagWj6pc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:from:to:cc:references:subject:date :mime-version:content-type:content-transfer-encoding; bh=Rv+LXMZNhJwMwC8+JCBfEEGCxcDRXkxX4MYNHFcWLhU=; b=jh7JHN8ygxzM7bnYqK9YBqDmMWOpF2DtrgrpMasm+ivdRlA2cPwQlo2zxq8+zdDPMM seKWcxK/6mW0Z0Zo3hFtfzuhb4CM6oRkkssPA4NMpmdQaFnHXym5EA5CssTHwh4FU8c6 2zIMYcyKFDOPHztHvN5zFzOq96nocoKQLhe6Mtuimv6DT3xXwhQ7hECqJosKEGMQADOh r5YM4A6qvk/NyiEu7zKV3nDfKfzj85OtaxvATVB/D412sjrCedGUbANRbjc0hUoZTDVF WdwMfFq8NdzGTQJkz/lORCBBzk/1IY+b5oFst0B4k46EYLOSNxh8A0xnQhVISd9fQiel SveA== X-Gm-Message-State: ALoCoQnBpAtoOVN6jhhvEzo8ytGAR6gAt/0Qrl3Trn8akSN1TksR+wiPE9E6sd3MjGtEF6l7AGOv X-Received: by 10.15.75.73 with SMTP id k49mr43651211eey.36.1380612855963; Tue, 01 Oct 2013 00:34:15 -0700 (PDT) Received: from TSVVM2 (ns1.st.by. [217.23.123.90]) by mx.google.com with ESMTPSA id j7sm9885340eeo.15.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 01 Oct 2013 00:34:15 -0700 (PDT) Message-ID: From: "Victor Miasnikov" To: "Abhishek Gupta \(LIS\)" , References: Subject: Again: Tmp. disable BlkVSC (paravirtual IDE) functional? On ATA Channel N2 -- minimum Re: Disabling ATA driver for IDE devices on Hyper-V Re: ATA controller and Hyper-V "synthetic storage driver" handle the IDE disks devices ( but not for the CD-ROM) Date: Tue, 1 Oct 2013 10:34:04 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.3790.4548 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4913 Cc: Alexander Motin , KY Srinivasan X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Oct 2013 07:34:18 -0000 Hi! > This may have been asked before but the solution we have currently is less than ideal. Please bear with me on the > repetition and provide any suggestions you may have. > > One of the issues with Hyper-V is that it does not virtualize the CD device and therefore we rely on the ATA driver in > the guest operating system to manage CDROMs. > What we would like to do is disable the ATA driver for all device types except the CDROM in the presence of Hyper-V. Yes: "disable . . . except the CDROM" need for "LiveCD and (or) .ISO for setup FreeBSD" See P.P.P.S. == ----- Original Message ----- From: "Victor Miasnikov" To: "Alexander Motin" Cc: ; "Larry Melia" ( in fact to 3 e-mail address ) Sent: Tuesday, May 07, 2013 12:00 PM Subject: Re: ATA controller and Hyper-V "synthetic storage driver" handle the IDE disks devices ( but not for the CD-ROM) Re: Hyper-V on FreeBSD . . . > On 07.05.2013 10:40, Victor Miasnikov wrote: >>> prevent default OS driver from attaching to emulated ATA controller >>> when Hyper-V >> >> Disable both primary and secondary ATA controller prevent use CD-ROM >> device in VM ( guest) >> >> Because "synthetic storage driver" not handle CD-ROM devices >> ( IMHO, even more: Hyper-V host work with CD-ROM only as "PCI bus" device) > A.M.> Then may be possibility of blocking/hiding specific ATA channels or A.M.> devices could be investigated. IMHO, this ( or some like this) must be investigated In any case, need carefully testing work CD-ROM ( primary for LiveCD and (or) .ISO for setup FreeBSD) in Hyper-V enviroment == > As of now we have implemented a disengage driver that disables ATA driver permanently on Hyper-V. As _first_ step: temporary disable BlkVSC (paravirtual IDE) functional ( Or ( as best tmp. solution): "turn on" hw.ata.disk_enable by default i.e. implement hw.ata.disk_disable When Hyper-V sysadmin need syntetic/"Hyper-V specific" ATA driver functional, sysadmin use hw.ata.disk_disable When Hyper-V sysadmin need CD-ROM -- sysadmin skip/not use hw.ata.disk_disable ) See in P.P.S. == L.M.>>> Removing our ATA patches, on the other hand, results in a huge L.M.>>> performance loss. This is because the root file system is managed by the L.M.>>> ATA driver, which is emulated under Hyper-V. VVM>> Place on IDE disk only "\boot" ( and bootloader), other on SCSI . + VVM>> Disable both primary and secondary ATA controller prevent use CD-ROM device in VM ( guest) VVM>> Because "synthetic storage driver" not handle CD-ROM devices May be temporary disable BlkVSC (paravirtual IDE) functional? And enable [imm.]after implement work on Hyper-V both CD-ROM and ATA disks == ( And not forget about hv_ata_pci_disengage.c ) >However this is less than desirable and we are looking for a better solution. Please let us know if you have some >thoughts. On _second_ step, we can start inplement "better solution" > Can someone help us in answering the following in this regard: > > a) What is the correct location in the FreeBSD ATA code where we can put in selective disabling? > > b) Is this a good approach? Is there something cleaner you can think of? > Disable non-syntetic/"legacy" ATA driver on ATA channel N1 ( for HDD ) , but enable non-syntetic/"legacy" ATA driver on ATA channel N2 ( for CD-Rom devices) ( Of cource: Enable syntetic/"Hyper-V specific" ATA driver on ATA channel N1 ( for HDD ); Disable syntetic/"Hyper-V specific" ATA driver on ATA channel N2 ( for CD-Rom devices) ) See: ----- Original Message ----- From: "Alexander Motin" To: "Larry Melia" Cc: "Abhishek Gupta (LIS)" ; "KY Srinivasan" ; Sent: Tuesday, June 04, 2013 7:23 PM Subject: Re: more granular detection and control to disable/enable PCI-ATA devices . . . That is why you can't replace driver for a single disk in the same way as you replaced driver for the whole controller. The highest level present in "NewBus" is ATA channel. So if disk and CD-ROM are always live on different channels, you can create dummy driver not for the whole controller (atapciX), but for single hardcoded ATA channel (ataX). . . . -- Best regards, Victor Miasnikov Blog: http://vvm.blog.tut.by/ P.S. ----- Original Message ----- From: "Abhishek Gupta (LIS)" To: freebsd-virtualization (at) freebsd.org Sent: Tuesday, October 01, 2013 12:02 AM Subject: Disabling ATA driver for IDE devices on Hyper-V Hi folks, This may have been asked before but the solution we have currently is less than ideal. Please bear with me on the repetition and provide any suggestions you may have. One of the issues with Hyper-V is that it does not virtualize the CD device and therefore we rely on the ATA driver in the guest operating system to manage CDROMs. What we would like to do is disable the ATA driver for all device types except the CDROM in the presence of Hyper-V. Can someone help us in answering the following in this regard: a) What is the correct location in the FreeBSD ATA code where we can put in selective disabling? b) Is this a good approach? Is there something cleaner you can think of? As of now we have implemented a disengage driver that disables ATA driver permanently on Hyper-V. However this is less than desirable and we are looking for a better solution. Please let us know if you have some thoughts. Thanks, Abhishek -- ----- Original Message ----- From: "Alexander Motin" To: "Larry Melia" Cc: "Abhishek Gupta (LIS)" ;"KY Srinivasan" ; Sent: Tuesday, June 04, 2013 7:23 PM Subject: Re: more granular detection and control to disable/enable PCI-ATA devices Hi. On 04.06.2013 18:30, Larry Melia wrote: > With you suggestions, I finally was able to get the override driver > working-see > https://github.com/FreeBSDonHyper-V/freebsd-snapshot/blob/hyperv-dev-ata-override/sys/dev/hyperv/stordisengage/hv_ata_pci_disengage.c. > While it operates wonderfully, allowing our "enlightened" driver to > improve performance, some versions of Hyper-V still use the native > CD-ROM driver, because there is no "enlightened" support for it in the > hypervisor. From my limited knowledge of the ATA drivers, it seems > likely that the PCI-ATA driver be attached when a CD-ROM is detected, > but lower-level drivers disabled (during a probe) when a hard drive is > detected. On Hyper-V, therefore, a user would be able to configure a > PCI/IDE virtual controller with two devices, the first device a hard > disk and the second one a CD-ROM. The CD-ROM would operate via the > native driver, whereas the hard disk would use the "enlightened" driver > (to improve performance). Is there an easy way to add more granular > detection, disabling the native ATA driver(s) selectively for hard > drives, while allowing CD-ROM devices to be natively attached? Any > suggestions would be very much appreciated. Unfortunately, CAM subsystem used for both ATA and SCSI stacks in FreeBSD 9.x and above is mostly unaware of "NewBus" infrastructure used for driver probe and attachment. That is why you can't replace driver for a single disk in the same way as you replaced driver for the whole controller. The highest level present in "NewBus" is ATA channel. So if disk and CD-ROM are always live on different channels, you can create dummy driver not for the whole controller (atapciX), but for single hardcoded ATA channel (ataX). Another possible way is to make controller driver not dummy, making it mostly duplicating default one, but filtering out unwanted devices. That may look like overkill, but it is not necessary so, because ATA stack is quite modularized, and you probably don't need to implement all ATA functionality such as mode setting, etc. Only thing that should be different in your driver is a reset method -- never reporting ATA disks to upper layers, only ATAPI devices. You may find number of drivers for example in sys/dev/ata/chipsets. The later way is definitely more complicated then just a few lines hack blocking CAM ada driver (ATA disk driver), but it still can be made modular and non-invasive. -- Alexander Motin P.P.S. ----- Original Message ----- From: "Victor Miasnikov" To: ; "Alexander Motin" ; "Larry Melia" Cc: "Larry Melia" Sent: Saturday, May 18, 2013 9:06 AM Subject: Tmp. disable BlkVSC (paravirtual IDE) functional? Re: ATA controller and Hyper-V "synthetic storage driver" handle the IDE disks devices ( but not for the CD-ROM) Re: Hyper-V on FreeBSD Hi! Short: {{ L.M.>>> Removing our ATA patches, on the other hand, results in a huge L.M.>>> performance loss. This is because the root file system is managed by the L.M.>>> ATA driver, which is emulated under Hyper-V. VVM>> Place on IDE disk only "\boot" ( and bootloader), other on SCSI . + VVM>> Disable both primary and secondary ATA controller prevent use CD-ROM device in VM ( guest) VVM>> Because "synthetic storage driver" not handle CD-ROM devices May be temporary disable BlkVSC (paravirtual IDE) functional? And enable [imm.]after implement work on Hyper-V both CD-ROM and ATA disks == --- 000\hv_storvsc_drv_freebsd.c Wed Apr 10 06:18:58 2013 +++ hv_storvsc_drv_freebsd.c Wed May 08 11:59:06 2013 . . . * Using the type GUID, determine if this is a StorVSC (paravirtual * SCSI or BlkVSC (paravirtual IDE) device. . . . if (!memcmp(p, &gBlkVscDeviceType, sizeof(hv_guid))) { - return DRIVER_BLKVSC; + /* TODO: enable after implement work on Hyper-V both CD-ROM and ATA disks + * return DRIVER_BLKVSC; + */ + return (DRIVER_UNKNOWN); . . . == }} Full: > On Tue, May 7, 2013 at 12:40 AM, Victor Miasnikov wrote: L.M.>> == L.M.>> . . . L.M.>> On 23.04.2013 17:07, Larry Melia wrote: L.M.>> . . . L.M.>> L.M.>>> Removing our ATA patches, on the other hand, results in a huge L.M.>>> performance loss. This is because the root file system is managed by the L.M.>>> ATA driver, which is emulated under Hyper-V. L.M.>>> L.M.>> == VVM>> VVM>> Place on IDE disk only "\boot" ( and bootloader), other on SCSI . VVM>> >>> >>> prevent default OS driver from attaching to emulated ATA controller when Hyper-V >>> VVM>> VVM>> Disable both primary and secondary ATA controller prevent use CD-ROM device in VM ( guest) VVM>> VVM>> Because "synthetic storage driver" not handle CD-ROM devices VVM>> ( IMHO, even more: Hyper-V host work with CD-ROM only as "PCI bus" device) L.M.>Regarding the CD-ROM drive, there's a known problem with CD-ROM support and using our synthetic storage driver. L.M.>At the moment, it's not supported correctly on FreeBSD, L.M.>but . . . there's a workaround ( details skipped by VVM, {= not all simply , "long story" ) , L.M.>which we will try to get working on FreeBSD. L.M.>This will be addressed shortly, but . . . ( skipped by VVM ) . May be temporary disable BlkVSC (paravirtual IDE) functional? And enable after implement work on Hyper-V both CD-ROM and ATA disks == --- 000\hv_storvsc_drv_freebsd.c Wed Apr 10 06:18:58 2013 +++ hv_storvsc_drv_freebsd.c Wed May 08 11:59:06 2013 @@ -1449,22 +1449,25 @@ /** * @brief Determine type of storage device from GUID * * Using the type GUID, determine if this is a StorVSC (paravirtual * SCSI or BlkVSC (paravirtual IDE) device. * * @param dev a device * returns an enum */ static enum hv_storage_type storvsc_get_storage_type(device_t dev) { const char *p = vmbus_get_type(dev); if (!memcmp(p, &gBlkVscDeviceType, sizeof(hv_guid))) { - return DRIVER_BLKVSC; + /* TODO: enable after implement work on Hyper-V both CD-ROM and ATA disks + * return DRIVER_BLKVSC; + */ + return (DRIVER_UNKNOWN); } else if (!memcmp(p, &gStorVscDeviceType, sizeof(hv_guid))) { return DRIVER_STORVSC; } return (DRIVER_UNKNOWN); } == Best regards, Victor Miasnikov Blog: http://vvm.blog.tut.by/ P.S. Sorry, for code style -- is primary demo of _idea_ P.P.P.S. ----- Original Message ----- From: "Victor Miasnikov" To: "Alexander Motin" Cc: ; "Larry Melia" ( in fact to 3 e-mail address ) Sent: Tuesday, May 07, 2013 12:00 PM Subject: Re: ATA controller and Hyper-V "synthetic storage driver" handle the IDE disks devices ( but not for the CD-ROM) Re: Hyper-V on FreeBSD Hi! > On 07.05.2013 10:40, Victor Miasnikov wrote: >>> prevent default OS driver from attaching to emulated ATA controller >>> when Hyper-V >> >> Disable both primary and secondary ATA controller prevent use CD-ROM >> device in VM ( guest) >> >> Because "synthetic storage driver" not handle CD-ROM devices >> ( IMHO, even more: Hyper-V host work with CD-ROM only as "PCI bus" device) > A.M.> Then may be possibility of blocking/hiding specific ATA channels or A.M.> devices could be investigated. IMHO, this ( or some like this) must be investigated In any case, need carefully testing work CD-ROM ( primary for LiveCD and (or) .ISO for setup FreeBSD) in Hyper-V enviroment >> http://lists.freebsd.org/pipermail/freebsd-virtualization/2013-April/001180.html >> >> == >> . . . >> On 23.04.2013 17:07, Larry Melia wrote: >> . . . L.M.>>> Removing our ATA patches, on the other hand, results in a huge L.M.>>> performance loss. This is because the root file system is managed by the L.M.>>> ATA driver, which is emulated under Hyper-V. >> == VVM>> VVM>> Place on IDE disk only "\boot" ( and bootloader), other on SCSI . VVM>> A.M.> A.M.> May be instead of splitting filesystem it could be better to boot from A.M.> "SCSI" completely and forget about "ATA"? A.M.> Or there is no option ROM for SCSI boot in Hyper-V? A.M.> Yes, boot from SCSI disk in Hyper-V VM ( "guest") is impossible Best regards, Victor Miasnikov Blog: http://vvm.blog.tut.by/ == From owner-freebsd-virtualization@FreeBSD.ORG Tue Oct 1 10:01:11 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C0CE5E04; Tue, 1 Oct 2013 10:01:11 +0000 (UTC) (envelope-from gosha-necr@yandex.ru) Received: from forward12.mail.yandex.net (forward12.mail.yandex.net [IPv6:2a02:6b8:0:801::2]) by mx1.freebsd.org (Postfix) with ESMTP id F33D72D38; Tue, 1 Oct 2013 10:01:10 +0000 (UTC) Received: from web19j.yandex.ru (web19j.yandex.ru [5.45.198.60]) by forward12.mail.yandex.net (Yandex) with ESMTP id 87113C205F1; Tue, 1 Oct 2013 14:01:08 +0400 (MSK) Received: from 127.0.0.1 (localhost [127.0.0.1]) by web19j.yandex.ru (Yandex) with ESMTP id 03FE81941090; Tue, 1 Oct 2013 14:01:07 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1380621668; bh=JpIPnkOAUjayxUNDdCYwnm9JQRLCNkUBLXc+qO6e0HE=; h=From:To:In-Reply-To:References:Subject:Date; b=Wg25VtkU8loYd4HAkuABxbudBRCBE4qVZPA7AgvjQP+4AiRVoDJ2jc8TRTmN6JKEV mrJKoHMVZGN/m3GJmlhJFAwUg7PyBa5sKqBmBiK09/WqBOgfshbItEvDjkhDfKio7J nS2oQEUn1dyVHKLwdU5PcPonWYZ5+ZLtzJf/P7oo= Received: from ur.service-ng.ru (ur.service-ng.ru [62.168.254.222]) by web19j.yandex.ru with HTTP; Tue, 01 Oct 2013 14:01:07 +0400 From: =?koi8-r?B?59XM0cXXIOfP28E=?= To: "Abhishek Gupta (LIS)" , "freebsd-current@freebsd.org" , "freebsd-virtualization@freebsd.org" In-Reply-To: References: <13221380478684@web21h.yandex.ru> Subject: Re: Hyperv driver related error on make buildkernel on -r255933 Message-Id: <15971380621667@web19j.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Tue, 01 Oct 2013 16:01:07 +0600 X-Mailman-Approved-At: Tue, 01 Oct 2013 12:13:23 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Oct 2013 10:01:11 -0000 Good day! I don't know is it possible to build kernel with CLANG, because now my system builded without clang, so right now I can rebuild world only with gcc (because clang is not present in my system), or maybe I can install clang from ports and rebuild world with clang from ports? 30.09.2013, 02:29, "Abhishek Gupta (LIS)" : Hi, Is it possible for you to compile with the clang compiler instead of gcc? It seems that you are compiling with gcc and that is why the error is showing up: WITHOUT_CLANG=YES WITH_GCC=YES Let me know if that is not acceptable and I will try to address this as soon as possible. Thanks, Abhishek ________________________________________ From: [1]owner-freebsd-virtualization@freebsd.org <[2]owner-freebsd-virtualization@freebsd.org> on behalf of çÕÌÑÅ× çÏÛÁ <[3]gosha-necr@yandex.ru> Sent: Sunday, September 29, 2013 11:18 AM To: [4]freebsd-current@freebsd.org; [5]freebsd-virtualization@freebsd.org Subject: Hyperv driver related error on make buildkernel on -r255933 I have an error when tryin to compile kernel with recent -CURRENT sources There is additional info uname -a, /etc/src.conf, error output and kernel config ======================================== uname -a FreeBSD MYBSD 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Mon Aug 12 22:31:24 MSK 2013 xlr@MYBSD:/usr/obj/usr/src/sys/MYBSD amd64 ======================================== /etc/src.conf WITHOUT_ACCT=YES #WITHOUT_AMD=YES WITHOUT_ASSERT_DEBUG=YES WITHOUT_ATM=YES WITHOUT_AUDIT=YES WITHOUT_AUTHPF=YES WITHOUT_BIND=YES #WITHOUT_BLUETOOTH=YES WITHOUT_BSNMP=YES WITHOUT_CLANG=YES WITHOUT_CTM=YES WITHOUT_FDT=YES WITHOUT_FLOPPY=YES WITHOUT_GDB=YES WITHOUT_HTML=YES WITH_GCC=YES WITH_GNUCXX=YES WITHOUT_ICONV=YES #WITH_LIBICONV_COMPAT=YES WITHOUT_INET6=YES WITHOUT_INFO=YES WITHOUT_IPFILTER=YES WITHOUT_IPX=YES WITHOUT_KERNEL_SYMBOLS=YES WITHOUT_KVM=YES WITHOUT_LPR=YES WITHOUT_MAIL=YES WITHOUT_NCP=YES #WITHOUT_NDIS=YES WITHOUT_OFED=YES WITHOUT_PF=YES WITHOUT_PMC=YES WITHOUT_QUOTAS=YES WITHOUT_RCMDS=YES WITHOUT_RCS=YES WITHOUT_SHAREDOCS=YES #WITHOUT_USB=YES #WITHOUT_WIRELESS=YES WITHOUT_ZFS=YES ======================================== ERROR OUTPUT awk -f /usr/src/sys/conf/kmod_syms.awk hwpmc.ko export_syms | xargs -J% objcopy % hwpmc.ko objcopy --strip-debug hwpmc.ko ===> hyperv (all) ===> hyperv/vmbus (all) cc -O2 -pipe -msse -msse2 -msse3 -mmmx -m3dnow -mtune=core2 -march=core2 -fno-strict-aliasing -Wno-error -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/include -I/usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus -I/usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/utilities -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/MYBSD/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/sys/MYBSD -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -c /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_chann el. c In file included from /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_chann el. c:40: /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus _pr iv.h:288: warning: declaration does not declare anything /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus _pr iv.h:396: warning: declaration does not declare anything /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus _pr iv.h:410: warning: declaration does not declare anything /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus _pr iv.h:418: warning: declaration does not declare anything /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus _pr iv.h:426: warning: declaration does not declare anything /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus _pr iv.h:502: warning: declaration does not declare anything /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus _pr iv.h:514: warning: declaration does not declare anything /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus _pr iv.h:528: warning: declaration does not declare anything /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus _pr iv.h:539: warning: declaration does not declare anything /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_chann el. c: In function 'vmbus_channel_set_event': /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_chann el. c:73: error: 'union ' has no member named 'pending' *** Error code 1 Stop. make: stopped in /usr/src/sys/modules/hyperv/vmbus *** Error code 1 Stop. make: stopped in /usr/src/sys/modules/hyperv *** Error code 1 Stop. make: stopped in /usr/src/sys/modules *** Error code 1 Stop. make: stopped in /usr/obj/usr/src/sys/MYBSD *** Error code 1 Stop. make: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src =============================================== Kernel config cpu HAMMER ident MYKERN device coretemp #device atapicam #device pccard #device ndis #options NDISAPI #makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols #makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking #options INET6 # IPv6 communications protocols options TCP_OFFLOAD # TCP offload #options SCTP # Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support #options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options UFS_GJOURNAL # Enable gjournal-based UFS journaling options MD_ROOT # MD is a potential root device #options NFSCL # New Network Filesystem Client #options NFSD # New Network Filesystem Server #options NFSLOCKD # Network Lock Manager #options NFS_ROOT # NFS usable as /, requires NFSCL options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. #options GEOM_RAID # Soft RAID functionality. options GEOM_LABEL # Provides labelization options COMPAT_FREEBSD32 # Compatible with i386 binaries options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options COMPAT_FREEBSD7 # Compatible with FreeBSD7 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI #options KTRACE # ktrace(1) support #options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. options KBD_INSTALL_CDEV # install a CDEV entry in /dev #options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) #options AUDIT # Security event auditing #options CAPABILITY_MODE # Capsicum capability mode #options CAPABILITIES # Capsicum capabilities #options MAC # TrustedBSD MAC Framework #options KDTRACE_FRAME # Ensure frames are compiled in #options KDTRACE_HOOKS # Kernel DTrace hooks #options DDB_CTF # Kernel ELF linker loads CTF data options INCLUDE_CONFIG_FILE # Include this file in kernel # Debugging support. Always need this: #######options KDB # Enable kernel debugger support. # For minimum debugger support (stable branch) use: #######options KDB_TRACE # Print a stack trace for a panic. # For full debugger support use this instead: #######options DDB # Support DDB. #options GDB # Support remote GDB. #options DEADLKRES # Enable the deadlock resolver #options INVARIANTS # Enable calls of extra sanity checking #options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS #options WITNESS # Enable checks to detect deadlocks and cycles #options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed #options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones # Make an SMP-capable kernel by default options SMP # Symmetric MultiProcessor Kernel # CPU frequency control device cpufreq # Bus support. device acpi device pci # Floppy drives #device fdc # ATA controllers device ahci # AHCI-compatible SATA controllers device ata # Legacy ATA/SATA controllers #options ATA_CAM # Handle legacy controllers with CAM options ATA_STATIC_ID # Static device numbering #device mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA #device siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA # SCSI Controllers #device ahc # AHA2940 and onboard AIC7xxx devices #options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. #device ahd # AHA39320/29320 and onboard AIC79xx devices #options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. #device esp # AMD Am53C974 (Tekram DC-390(T)) #device hptiop # Highpoint RocketRaid 3xxx series #device isp # Qlogic family #device ispfw # Firmware for QLogic HBAs- normally a module #device mpt # LSI-Logic MPT-Fusion #device mps # LSI-Logic MPT-Fusion 2 #device ncr # NCR/Symbios Logic #device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') #device trm # Tekram DC395U/UW/F DC315U adapters #device adv # Advansys SCSI adapters #device adw # Advansys wide SCSI adapters #device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60. #device bt # Buslogic/Mylex MultiMaster SCSI adapters #device isci # Intel C600 SAS controller # ATA/SCSI peripherals device scbus # SCSI bus (required for ATA/SCSI) #device ch # SCSI media changers device da # Direct Access (disks) #device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct ATA/SCSI access) #device ses # Enclosure Services (SES and SAF-TE) device ctl # CAM Target Layer # RAID controllers interfaced to the SCSI subsystem #device amr # AMI MegaRAID #device arcmsr # Areca SATA II RAID #XXX it is not 64-bit clean, -scottl #device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID #device ciss # Compaq Smart RAID 5* #device dpt # DPT Smartcache III, IV - See NOTES for options #device hptmv # Highpoint RocketRAID 182x #device hptrr # Highpoint RocketRAID 17xx, 22xx, 23xx, 25xx #device hpt27xx # Highpoint RocketRAID 27xx #device iir # Intel Integrated RAID #device ips # IBM (Adaptec) ServeRAID #device mly # Mylex AcceleRAID/eXtremeRAID #device twa # 3ware 9000 series PATA/SATA RAID #device tws # LSI 3ware 9750 SATA+SAS 6Gb/s RAID controller # RAID controllers #device aac # Adaptec FSA RAID #device aacp # SCSI passthrough for aac (requires CAM) #device ida # Compaq Smart RAID #device mfi # LSI MegaRAID SAS #device mlx # Mylex DAC960 family #XXX pointer/int warnings #device pst # Promise Supertrak SX6000 #device twe # 3ware ATA RAID # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device kbdmux # keyboard multiplexer device vga # VGA video card driver options VESA # Add support for VESA BIOS Extensions (VBE) device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc options SC_PIXEL_MODE # add support for the raster text mode #device agp # support several AGP chipsets # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support #device cbb # cardbus (yenta) bridge #device pccard # PC Card (16-bit) bus #device cardbus # CardBus (32-bit) bus # Serial (COM) ports #device uart # Generic UART driver # Parallel port #device ppc #device ppbus # Parallel port bus (required) #device lpt # Printer #device plip # TCP/IP over parallel #device ppi # Parallel port interface device #device vpo # Requires scbus and da #device puc # Multi I/O cards and multi-channel UARTs # PCI Ethernet NICs. #device bxe # Broadcom BCM57710/BCM57711/BCM57711E 10Gb Ethernet #device de # DEC/Intel DC21x4x (``Tulip'') #device em # Intel PRO/1000 Gigabit Ethernet Family #device igb # Intel PRO/1000 PCIE Server Gigabit Family #device ixgbe # Intel PRO/10GbE PCIE Ethernet Family #device le # AMD Am7900 LANCE and Am79C9xx PCnet #device ti # Alteon Networks Tigon I/II gigabit Ethernet #device txp # 3Com 3cR990 (``Typhoon'') #device vx # 3Com 3c590, 3c595 (``Vortex'') # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support #device ae # Attansic/Atheros L2 FastEthernet #device age # Attansic/Atheros L1 Gigabit Ethernet #device alc # Atheros AR8131/AR8132 Ethernet #device ale # Atheros AR8121/AR8113/AR8114 Ethernet #device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet #device bfe # Broadcom BCM440x 10/100 Ethernet #device bge # Broadcom BCM570xx Gigabit Ethernet #device cas # Sun Cassini/Cassini+ and NS DP83065 Saturn #device dc # DEC/Intel 21143 and various workalikes #device et # Agere ET1310 10/100/Gigabit Ethernet #device fxp # Intel EtherExpress PRO/100B (82557, 82558) #device gem # Sun GEM/Sun ERI/Apple GMAC #device hme # Sun HME (Happy Meal Ethernet) #device jme # JMicron JMC250 Gigabit/JMC260 Fast Ethernet #device lge # Level 1 LXT1001 gigabit Ethernet #device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet #device nfe # nVidia nForce MCP on-board Ethernet #device nge # NatSemi DP83820 gigabit Ethernet #device nve # nVidia nForce MCP on-board Ethernet Networking #device pcn # AMD Am79C97x PCI 10/100 (precedence over 'le') device re # RealTek 8139C+/8169/8169S/8110S #device rl # RealTek 8129/8139 #device sf # Adaptec AIC-6915 (``Starfire'') #device sge # Silicon Integrated Systems SiS190/191 #device sis # Silicon Integrated Systems SiS 900/SiS 7016 #device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet #device ste # Sundance ST201 (D-Link DFE-550TX) #device stge # Sundance/Tamarack TC9021 gigabit Ethernet #device tl # Texas Instruments ThunderLAN #device tx # SMC EtherPower II (83c170 ``EPIC'') #device vge # VIA VT612x gigabit Ethernet #device vr # VIA Rhine, Rhine II #device wb # Winbond W89C840F #device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # ISA Ethernet NICs. pccard NICs included. #device cs # Crystal Semiconductor CS89x0 NIC # 'device ed' requires 'device miibus' #device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards #device ex # Intel EtherExpress Pro/10 and Pro/10+ #device ep # Etherlink III based cards #device fe # Fujitsu MB8696x based cards #device sn # SMC's 9000 series of Ethernet chips #device xe # Xircom pccard Ethernet # Wireless NIC cards device wlan # 802.11 support options IEEE80211_DEBUG # enable debug msgs options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's options IEEE80211_SUPPORT_MESH # enable 802.11s draft support device wlan_wep # 802.11 WEP support device wlan_ccmp # 802.11 CCMP support device wlan_tkip # 802.11 TKIP support device wlan_amrr # AMRR transmit rate control algorithm #device an # Aironet 4500/4800 802.11 wireless NICs. device ath # Atheros NICs device ath_pci # Atheros pci/cardbus glue device ath_hal # pci/cardbus chip support options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors options AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation options ATH_ENABLE_11N # Enable 802.11n support for AR5416 and later device ath_rate_sample # SampleRate tx rate control for ath #device bwi # Broadcom BCM430x/BCM431x wireless NICs. #device bwn # Broadcom BCM43xx wireless NICs. #device ipw # Intel 2100 wireless NICs. #device iwi # Intel 2200BG/2225BG/2915ABG wireless NICs. #device iwn # Intel 4965/1000/5000/6000 wireless NICs. #device malo # Marvell Libertas wireless NICs. #device mwl # Marvell 88W8363 802.11n wireless NICs. #device ral # Ralink Technology RT2500 wireless NICs. #device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. #device wpi # Intel 3945ABG wireless NICs. # Pseudo devices. device loop # Network loopback device random # Entropy device #options PADLOCK_RNG # VIA Padlock RNG #options RDRAND_RNG # Intel Bull Mountain RNG device ether # Ethernet support device vlan # 802.1Q VLAN support device tun # Packet tunnel. device md # Memory "disks" #device gif # IPv6 and IPv4 tunneling #device faith # IPv6-to-IPv4 relaying (translation) device firmware # firmware assist module # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support #options USB_DEBUG # enable debug msgs #device uhci # UHCI PCI->USB interface #device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device xhci # XHCI PCI->USB interface (USB 3.0) device usb # USB Bus (required) device ukbd # Keyboard device umass # Disks/Mass storage - Requires scbus and da # FireWire support #device firewire # FireWire bus code # sbp(4) works for some systems but causes boot failure on others #device sbp # SCSI over FireWire (Requires scbus and da) #device fwe # Ethernet over FireWire (non-standard!) #device fwip # IP over FireWire (RFC 2734,3146) #device dcons # Dumb console driver #device dcons_crom # Configuration ROM for dcons # Sound support device sound # Generic sound driver (required) #device snd_cmi # CMedia CMI8338/CMI8738 #device snd_csa # Crystal Semiconductor CS461x/428x #device snd_emu10kx # Creative SoundBlaster Live! and Audigy #device snd_es137x # Ensoniq AudioPCI ES137x device snd_hda # Intel High Definition Audio device snd_ich # Intel, NVidia and other ICH AC'97 Audio #device snd_via8233 # VIA VT8233x Audio # MMC/SD device mmc # MMC/SD bus device mmcsd # MMC/SD memory card device sdhci # Generic PCI SD Host Controller _______________________________________________ [6]freebsd-virtualization@freebsd.org mailing list [7]http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "[8]freebsd-virtualization-unsubscribe@freebsd.org" -------------------------------------------- ó Õ×ÁÖÅÎÉÅÍ, çÕÌÑÅ× çÏÛÁ. References 1. mailto:owner-freebsd-virtualization@freebsd.org 2. mailto:owner-freebsd-virtualization@freebsd.org 3. mailto:gosha-necr@yandex.ru 4. mailto:freebsd-current@freebsd.org 5. mailto:freebsd-virtualization@freebsd.org 6. mailto:freebsd-virtualization@freebsd.org 7. http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization 8. mailto:freebsd-virtualization-unsubscribe@freebsd.org From owner-freebsd-virtualization@FreeBSD.ORG Tue Oct 1 16:38:54 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 80FCFE14; Tue, 1 Oct 2013 16:38:54 +0000 (UTC) (envelope-from jmg@h2.funkthat.com) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4B965288B; Tue, 1 Oct 2013 16:38:54 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id r91Gcra9075272 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 Oct 2013 09:38:53 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id r91GcqE3075271; Tue, 1 Oct 2013 09:38:52 -0700 (PDT) (envelope-from jmg) Date: Tue, 1 Oct 2013 09:38:52 -0700 From: John-Mark Gurney To: ?????? ???? Subject: Re: Hyperv driver related error on make buildkernel on -r255933 Message-ID: <20131001163852.GT56872@funkthat.com> Mail-Followup-To: ?????? ???? , "Abhishek Gupta (LIS)" , "freebsd-current@freebsd.org" , "freebsd-virtualization@freebsd.org" References: <13221380478684@web21h.yandex.ru> <15971380621667@web19j.yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15971380621667@web19j.yandex.ru> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Tue, 01 Oct 2013 09:38:53 -0700 (PDT) Cc: "freebsd-current@freebsd.org" , "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Oct 2013 16:38:54 -0000 ?????? ???? wrote this message on Tue, Oct 01, 2013 at 16:01 +0600: > Good day! > > I don't know is it possible to build kernel with CLANG, because now my > system builded without clang, so right now I can rebuild world only > with gcc (because clang is not present in my system), or maybe I can > install clang from ports and rebuild world with clang from ports? If you use the normal way to build a kernel, then yes, you can build a kernel w/ clang... Do: make kernel-toolchain WITH_CLANG_IS_CC=YES WITH_CLANG=YES make buildkernel KERNCONF= See src/UPDATING for more info/help. > 30.09.2013, 02:29, "Abhishek Gupta (LIS)" : > > Hi, > Is it possible for you to compile with the clang compiler instead of > gcc? > It seems that you are compiling with gcc and that is why the error > is showing up: > WITHOUT_CLANG=YES > WITH_GCC=YES > Let me know if that is not acceptable and I will try to address this > as soon as possible. > Thanks, > Abhishek > ________________________________________ > From: [1]owner-freebsd-virtualization@freebsd.org > <[2]owner-freebsd-virtualization@freebsd.org> on behalf of ?????? > ???? <[3]gosha-necr@yandex.ru> > Sent: Sunday, September 29, 2013 11:18 AM > To: [4]freebsd-current@freebsd.org; > [5]freebsd-virtualization@freebsd.org > Subject: Hyperv driver related error on make buildkernel on -r255933 > I have an error when tryin to compile kernel with recent -CURRENT > sources > There is additional info uname -a, /etc/src.conf, error output and > kernel config > ======================================== uname -a > FreeBSD MYBSD 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Mon Aug 12 > 22:31:24 > MSK 2013 xlr@MYBSD:/usr/obj/usr/src/sys/MYBSD amd64 > ======================================== /etc/src.conf > WITHOUT_ACCT=YES > #WITHOUT_AMD=YES > WITHOUT_ASSERT_DEBUG=YES > WITHOUT_ATM=YES > WITHOUT_AUDIT=YES > WITHOUT_AUTHPF=YES > WITHOUT_BIND=YES > #WITHOUT_BLUETOOTH=YES > WITHOUT_BSNMP=YES > WITHOUT_CLANG=YES > WITHOUT_CTM=YES > WITHOUT_FDT=YES > WITHOUT_FLOPPY=YES > WITHOUT_GDB=YES > WITHOUT_HTML=YES > WITH_GCC=YES > WITH_GNUCXX=YES > WITHOUT_ICONV=YES > #WITH_LIBICONV_COMPAT=YES > WITHOUT_INET6=YES > WITHOUT_INFO=YES > WITHOUT_IPFILTER=YES > WITHOUT_IPX=YES > WITHOUT_KERNEL_SYMBOLS=YES > WITHOUT_KVM=YES > WITHOUT_LPR=YES > WITHOUT_MAIL=YES > WITHOUT_NCP=YES > #WITHOUT_NDIS=YES > WITHOUT_OFED=YES > WITHOUT_PF=YES > WITHOUT_PMC=YES > WITHOUT_QUOTAS=YES > WITHOUT_RCMDS=YES > WITHOUT_RCS=YES > WITHOUT_SHAREDOCS=YES > #WITHOUT_USB=YES > #WITHOUT_WIRELESS=YES > WITHOUT_ZFS=YES > ======================================== ERROR OUTPUT > awk -f /usr/src/sys/conf/kmod_syms.awk hwpmc.ko export_syms | xargs > -J% > objcopy % hwpmc.ko > objcopy --strip-debug hwpmc.ko > ===> hyperv (all) > ===> hyperv/vmbus (all) > cc -O2 -pipe -msse -msse2 -msse3 -mmmx -m3dnow -mtune=core2 > -march=core2 -fno-strict-aliasing -Wno-error -D_KERNEL -DKLD_MODULE > -nostdinc > -I/usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/include > -I/usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus > -I/usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/utilities > -DHAVE_KERNEL_OPTION_HEADERS -include > /usr/obj/usr/src/sys/MYBSD/opt_global.h -I. -I@ -I@/contrib/altq > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-common -fno-omit-frame-pointer > -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/sys/MYBSD > -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float > -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector > -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign > -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option > -c > /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_chann > el. > c > In file included from > /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_chann > el. > c:40: > /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus > _pr > iv.h:288: warning: declaration does not declare anything > /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus > _pr > iv.h:396: warning: declaration does not declare anything > /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus > _pr > iv.h:410: warning: declaration does not declare anything > /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus > _pr > iv.h:418: warning: declaration does not declare anything > /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus > _pr > iv.h:426: warning: declaration does not declare anything > /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus > _pr > iv.h:502: warning: declaration does not declare anything > /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus > _pr > iv.h:514: warning: declaration does not declare anything > /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus > _pr > iv.h:528: warning: declaration does not declare anything > /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_vmbus > _pr > iv.h:539: warning: declaration does not declare anything > /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_chann > el. > c: In function 'vmbus_channel_set_event': > /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/hv_chann > el. > c:73: error: 'union ' has no member named 'pending' > *** Error code 1 > Stop. > make: stopped in /usr/src/sys/modules/hyperv/vmbus > *** Error code 1 > Stop. > make: stopped in /usr/src/sys/modules/hyperv > *** Error code 1 > Stop. > make: stopped in /usr/src/sys/modules > *** Error code 1 > Stop. > make: stopped in /usr/obj/usr/src/sys/MYBSD > *** Error code 1 > Stop. > make: stopped in /usr/src > *** Error code 1 > Stop. > make: stopped in /usr/src > =============================================== Kernel config > cpu HAMMER > ident MYKERN > device coretemp > #device atapicam > #device pccard > #device ndis > #options NDISAPI > #makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols > #makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support > options SCHED_ULE # ULE scheduler > options PREEMPTION # Enable kernel thread preemption > options INET # InterNETworking > #options INET6 # IPv6 communications protocols > options TCP_OFFLOAD # TCP offload > #options SCTP # Stream Control Transmission Protocol > options FFS # Berkeley Fast Filesystem > options SOFTUPDATES # Enable FFS soft updates support > #options UFS_ACL # Support for access control lists > options UFS_DIRHASH # Improve performance on big directories > options UFS_GJOURNAL # Enable gjournal-based UFS journaling > options MD_ROOT # MD is a potential root device > #options NFSCL # New Network Filesystem Client > #options NFSD # New Network Filesystem Server > #options NFSLOCKD # Network Lock Manager > #options NFS_ROOT # NFS usable as /, requires NFSCL > options MSDOSFS # MSDOS Filesystem > options CD9660 # ISO 9660 Filesystem > options PROCFS # Process filesystem (requires PSEUDOFS) > options PSEUDOFS # Pseudo-filesystem framework > options GEOM_PART_GPT # GUID Partition Tables. > #options GEOM_RAID # Soft RAID functionality. > options GEOM_LABEL # Provides labelization > options COMPAT_FREEBSD32 # Compatible with i386 binaries > options COMPAT_FREEBSD4 # Compatible with FreeBSD4 > options COMPAT_FREEBSD5 # Compatible with FreeBSD5 > options COMPAT_FREEBSD6 # Compatible with FreeBSD6 > options COMPAT_FREEBSD7 # Compatible with FreeBSD7 > options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI > #options KTRACE # ktrace(1) support > #options STACK # stack(9) support > options SYSVSHM # SYSV-style shared memory > options SYSVMSG # SYSV-style message queues > options SYSVSEM # SYSV-style semaphores > options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time > extensions > options PRINTF_BUFR_SIZE=128 # Prevent printf output being > interspersed. > options KBD_INSTALL_CDEV # install a CDEV entry in /dev > #options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) > #options AUDIT # Security event auditing > #options CAPABILITY_MODE # Capsicum capability mode > #options CAPABILITIES # Capsicum capabilities > #options MAC # TrustedBSD MAC Framework > #options KDTRACE_FRAME # Ensure frames are compiled in > #options KDTRACE_HOOKS # Kernel DTrace hooks > #options DDB_CTF # Kernel ELF linker loads CTF data > options INCLUDE_CONFIG_FILE # Include this file in kernel > # Debugging support. Always need this: > #######options KDB # Enable kernel debugger support. > # For minimum debugger support (stable branch) use: > #######options KDB_TRACE # Print a stack trace for a panic. > # For full debugger support use this instead: > #######options DDB # Support DDB. > #options GDB # Support remote GDB. > #options DEADLKRES # Enable the deadlock resolver > #options INVARIANTS # Enable calls of extra sanity checking > #options INVARIANT_SUPPORT # Extra sanity checks of internal > structures, required by INVARIANTS > #options WITNESS # Enable checks to detect deadlocks and cycles > #options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed > #options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones > # Make an SMP-capable kernel by default > options SMP # Symmetric MultiProcessor Kernel > # CPU frequency control > device cpufreq > # Bus support. > device acpi > device pci > # Floppy drives > #device fdc > # ATA controllers > device ahci # AHCI-compatible SATA controllers > device ata # Legacy ATA/SATA controllers > #options ATA_CAM # Handle legacy controllers with CAM > options ATA_STATIC_ID # Static device numbering > #device mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA > #device siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA > # SCSI Controllers > #device ahc # AHA2940 and onboard AIC7xxx devices > #options AHC_REG_PRETTY_PRINT # Print register bitfields in debug > # output. Adds ~128k to driver. > #device ahd # AHA39320/29320 and onboard AIC79xx devices > #options AHD_REG_PRETTY_PRINT # Print register bitfields in debug > # output. Adds ~215k to driver. > #device esp # AMD Am53C974 (Tekram DC-390(T)) > #device hptiop # Highpoint RocketRaid 3xxx series > #device isp # Qlogic family > #device ispfw # Firmware for QLogic HBAs- normally a module > #device mpt # LSI-Logic MPT-Fusion > #device mps # LSI-Logic MPT-Fusion 2 > #device ncr # NCR/Symbios Logic > #device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') > #device trm # Tekram DC395U/UW/F DC315U adapters > #device adv # Advansys SCSI adapters > #device adw # Advansys wide SCSI adapters > #device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60. > #device bt # Buslogic/Mylex MultiMaster SCSI adapters > #device isci # Intel C600 SAS controller > # ATA/SCSI peripherals > device scbus # SCSI bus (required for ATA/SCSI) > #device ch # SCSI media changers > device da # Direct Access (disks) > #device sa # Sequential Access (tape etc) > device cd # CD > device pass # Passthrough device (direct ATA/SCSI access) > #device ses # Enclosure Services (SES and SAF-TE) > device ctl # CAM Target Layer > # RAID controllers interfaced to the SCSI subsystem > #device amr # AMI MegaRAID > #device arcmsr # Areca SATA II RAID > #XXX it is not 64-bit clean, -scottl > #device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID > #device ciss # Compaq Smart RAID 5* > #device dpt # DPT Smartcache III, IV - See NOTES for options > #device hptmv # Highpoint RocketRAID 182x > #device hptrr # Highpoint RocketRAID 17xx, 22xx, 23xx, 25xx > #device hpt27xx # Highpoint RocketRAID 27xx > #device iir # Intel Integrated RAID > #device ips # IBM (Adaptec) ServeRAID > #device mly # Mylex AcceleRAID/eXtremeRAID > #device twa # 3ware 9000 series PATA/SATA RAID > #device tws # LSI 3ware 9750 SATA+SAS 6Gb/s RAID controller > # RAID controllers > #device aac # Adaptec FSA RAID > #device aacp # SCSI passthrough for aac (requires CAM) > #device ida # Compaq Smart RAID > #device mfi # LSI MegaRAID SAS > #device mlx # Mylex DAC960 family > #XXX pointer/int warnings > #device pst # Promise Supertrak SX6000 > #device twe # 3ware ATA RAID > # atkbdc0 controls both the keyboard and the PS/2 mouse > device atkbdc # AT keyboard controller > device atkbd # AT keyboard > device psm # PS/2 mouse > device kbdmux # keyboard multiplexer > device vga # VGA video card driver > options VESA # Add support for VESA BIOS Extensions (VBE) > device splash # Splash screen and screen saver support > # syscons is the default console driver, resembling an SCO console > device sc > options SC_PIXEL_MODE # add support for the raster text mode > #device agp # support several AGP chipsets > # PCCARD (PCMCIA) support > # PCMCIA and cardbus bridge support > #device cbb # cardbus (yenta) bridge > #device pccard # PC Card (16-bit) bus > #device cardbus # CardBus (32-bit) bus > # Serial (COM) ports > #device uart # Generic UART driver > # Parallel port > #device ppc > #device ppbus # Parallel port bus (required) > #device lpt # Printer > #device plip # TCP/IP over parallel > #device ppi # Parallel port interface device > #device vpo # Requires scbus and da > #device puc # Multi I/O cards and multi-channel UARTs > # PCI Ethernet NICs. > #device bxe # Broadcom BCM57710/BCM57711/BCM57711E 10Gb Ethernet > #device de # DEC/Intel DC21x4x (``Tulip'') > #device em # Intel PRO/1000 Gigabit Ethernet Family > #device igb # Intel PRO/1000 PCIE Server Gigabit Family > #device ixgbe # Intel PRO/10GbE PCIE Ethernet Family > #device le # AMD Am7900 LANCE and Am79C9xx PCnet > #device ti # Alteon Networks Tigon I/II gigabit Ethernet > #device txp # 3Com 3cR990 (``Typhoon'') > #device vx # 3Com 3c590, 3c595 (``Vortex'') > # PCI Ethernet NICs that use the common MII bus controller code. > # NOTE: Be sure to keep the 'device miibus' line in order to use > these > NICs! > device miibus # MII bus support > #device ae # Attansic/Atheros L2 FastEthernet > #device age # Attansic/Atheros L1 Gigabit Ethernet > #device alc # Atheros AR8131/AR8132 Ethernet > #device ale # Atheros AR8121/AR8113/AR8114 Ethernet > #device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet > #device bfe # Broadcom BCM440x 10/100 Ethernet > #device bge # Broadcom BCM570xx Gigabit Ethernet > #device cas # Sun Cassini/Cassini+ and NS DP83065 Saturn > #device dc # DEC/Intel 21143 and various workalikes > #device et # Agere ET1310 10/100/Gigabit Ethernet > #device fxp # Intel EtherExpress PRO/100B (82557, 82558) > #device gem # Sun GEM/Sun ERI/Apple GMAC > #device hme # Sun HME (Happy Meal Ethernet) > #device jme # JMicron JMC250 Gigabit/JMC260 Fast Ethernet > #device lge # Level 1 LXT1001 gigabit Ethernet > #device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet > #device nfe # nVidia nForce MCP on-board Ethernet > #device nge # NatSemi DP83820 gigabit Ethernet > #device nve # nVidia nForce MCP on-board Ethernet Networking > #device pcn # AMD Am79C97x PCI 10/100 (precedence over 'le') > device re # RealTek 8139C+/8169/8169S/8110S > #device rl # RealTek 8129/8139 > #device sf # Adaptec AIC-6915 (``Starfire'') > #device sge # Silicon Integrated Systems SiS190/191 > #device sis # Silicon Integrated Systems SiS 900/SiS 7016 > #device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet > #device ste # Sundance ST201 (D-Link DFE-550TX) > #device stge # Sundance/Tamarack TC9021 gigabit Ethernet > #device tl # Texas Instruments ThunderLAN > #device tx # SMC EtherPower II (83c170 ``EPIC'') > #device vge # VIA VT612x gigabit Ethernet > #device vr # VIA Rhine, Rhine II > #device wb # Winbond W89C840F > #device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') > # ISA Ethernet NICs. pccard NICs included. > #device cs # Crystal Semiconductor CS89x0 NIC > # 'device ed' requires 'device miibus' > #device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards > #device ex # Intel EtherExpress Pro/10 and Pro/10+ > #device ep # Etherlink III based cards > #device fe # Fujitsu MB8696x based cards > #device sn # SMC's 9000 series of Ethernet chips > #device xe # Xircom pccard Ethernet > # Wireless NIC cards > device wlan # 802.11 support > options IEEE80211_DEBUG # enable debug msgs > options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's > options IEEE80211_SUPPORT_MESH # enable 802.11s draft support > device wlan_wep # 802.11 WEP support > device wlan_ccmp # 802.11 CCMP support > device wlan_tkip # 802.11 TKIP support > device wlan_amrr # AMRR transmit rate control algorithm > #device an # Aironet 4500/4800 802.11 wireless NICs. > device ath # Atheros NICs > device ath_pci # Atheros pci/cardbus glue > device ath_hal # pci/cardbus chip support > options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors > options AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation > options ATH_ENABLE_11N # Enable 802.11n support for AR5416 and later > device ath_rate_sample # SampleRate tx rate control for ath > #device bwi # Broadcom BCM430x/BCM431x wireless NICs. > #device bwn # Broadcom BCM43xx wireless NICs. > #device ipw # Intel 2100 wireless NICs. > #device iwi # Intel 2200BG/2225BG/2915ABG wireless NICs. > #device iwn # Intel 4965/1000/5000/6000 wireless NICs. > #device malo # Marvell Libertas wireless NICs. > #device mwl # Marvell 88W8363 802.11n wireless NICs. > #device ral # Ralink Technology RT2500 wireless NICs. > #device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. > #device wpi # Intel 3945ABG wireless NICs. > # Pseudo devices. > device loop # Network loopback > device random # Entropy device > #options PADLOCK_RNG # VIA Padlock RNG > #options RDRAND_RNG # Intel Bull Mountain RNG > device ether # Ethernet support > device vlan # 802.1Q VLAN support > device tun # Packet tunnel. > device md # Memory "disks" > #device gif # IPv6 and IPv4 tunneling > #device faith # IPv6-to-IPv4 relaying (translation) > device firmware # firmware assist module > # The `bpf' device enables the Berkeley Packet Filter. > # Be aware of the administrative consequences of enabling this! > # Note that 'bpf' is required for DHCP. > device bpf # Berkeley packet filter > # USB support > #options USB_DEBUG # enable debug msgs > #device uhci # UHCI PCI->USB interface > #device ohci # OHCI PCI->USB interface > device ehci # EHCI PCI->USB interface (USB 2.0) > device xhci # XHCI PCI->USB interface (USB 3.0) > device usb # USB Bus (required) > device ukbd # Keyboard > device umass # Disks/Mass storage - Requires scbus and da > # FireWire support > #device firewire # FireWire bus code > # sbp(4) works for some systems but causes boot failure on others > #device sbp # SCSI over FireWire (Requires scbus and da) > #device fwe # Ethernet over FireWire (non-standard!) > #device fwip # IP over FireWire (RFC 2734,3146) > #device dcons # Dumb console driver > #device dcons_crom # Configuration ROM for dcons > # Sound support > device sound # Generic sound driver (required) > #device snd_cmi # CMedia CMI8338/CMI8738 > #device snd_csa # Crystal Semiconductor CS461x/428x > #device snd_emu10kx # Creative SoundBlaster Live! and Audigy > #device snd_es137x # Ensoniq AudioPCI ES137x > device snd_hda # Intel High Definition Audio > device snd_ich # Intel, NVidia and other ICH AC'97 Audio > #device snd_via8233 # VIA VT8233x Audio > # MMC/SD > device mmc # MMC/SD bus > device mmcsd # MMC/SD memory card > device sdhci # Generic PCI SD Host Controller > _______________________________________________ > [6]freebsd-virtualization@freebsd.org mailing list > [7]http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to > "[8]freebsd-virtualization-unsubscribe@freebsd.org" > > -------------------------------------------- > ? ?????????, ?????? ????. > > References > > 1. mailto:owner-freebsd-virtualization@freebsd.org > 2. mailto:owner-freebsd-virtualization@freebsd.org > 3. mailto:gosha-necr@yandex.ru > 4. mailto:freebsd-current@freebsd.org > 5. mailto:freebsd-virtualization@freebsd.org > 6. mailto:freebsd-virtualization@freebsd.org > 7. http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > 8. mailto:freebsd-virtualization-unsubscribe@freebsd.org > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-virtualization@FreeBSD.ORG Wed Oct 2 00:57:14 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5050E49C for ; Wed, 2 Oct 2013 00:57:14 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pd0-x22b.google.com (mail-pd0-x22b.google.com [IPv6:2607:f8b0:400e:c02::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2D2FE2875 for ; Wed, 2 Oct 2013 00:57:14 +0000 (UTC) Received: by mail-pd0-f171.google.com with SMTP id g10so136419pdj.2 for ; Tue, 01 Oct 2013 17:57:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=mFkiO8wJJAMQDviGdOn0LxFfd3tkdu13PSnOuCVp9u0=; b=q3O+NuH02S/V26eZUSE+HojCsy0F8SZKUnCYIwrirbFiioQx99KZF6W98V1P9SNJ2n biXvo1iGyL39CxpNKwAVlCOQ3F69zxwNk0xAIZcD4msRpAhqB6RnJwXuhavlI6VpJ7tA Pv+/jdfERWVZf/L1m7I3RyWeIK6yl7W5f/mf6ZZ4uaGa0aYyl/343VvGnN7qSxmAeYQU 7xXJdC2hLjK24XnD58un8FSI5Vx1TRGjTOVwnvz5RcURL6bx7lxjdJxaPzJ1+MjNWdr2 Yl5MmqxHC4czyqiP8vXDJC1KPt22uscgOKd++oog4Ldwk8cgSEsomi2/jEYEGDQTgZs/ UqAA== MIME-Version: 1.0 X-Received: by 10.68.129.40 with SMTP id nt8mr32576993pbb.108.1380675433765; Tue, 01 Oct 2013 17:57:13 -0700 (PDT) Received: by 10.68.253.162 with HTTP; Tue, 1 Oct 2013 17:57:13 -0700 (PDT) Date: Tue, 1 Oct 2013 20:57:13 -0400 Message-ID: Subject: CFT: petitecloud 0.1.7 From: Aryeh Friedman To: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Oct 2013 00:57:14 -0000 Whats new: * Type and amount of information displayed on instance listing of web UI has been simplified to be more user-friendly. For each guest instance, the web UI now displays only a name, cpu count, RAM and disk space. All values that have been "hidden" (such as "network interface") are now autoassigned by petitecloud. * It is now physically impossible to enter incorrect data when creating instances. All resource limits are enforced passively by constraining pull-down values. * Prefered disk location and prefered install cd location are now on the settings panel. NOTE: The old /usr/local/etc/petitecloud/settings and /usr/local/etc/petitecloud/instances are incompatible with 0.1.7. It is recommended you remake any instances to reflect this fact. From owner-freebsd-virtualization@FreeBSD.ORG Wed Oct 2 01:08:18 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 29046693 for ; Wed, 2 Oct 2013 01:08:18 +0000 (UTC) (envelope-from dnixon-fnre@nyclocal.net) Received: from homiemail-a74.g.dreamhost.com (caiajhbdcbbj.dreamhost.com [208.97.132.119]) by mx1.freebsd.org (Postfix) with ESMTP id 0C5AB2920 for ; Wed, 2 Oct 2013 01:08:17 +0000 (UTC) Received: from homiemail-a74.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTP id E65CA67C06E; Tue, 1 Oct 2013 18:08:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=nyclocal.net; h=message-id :in-reply-to:references:date:subject:from:to:cc:mime-version :content-type:content-transfer-encoding; s=nyclocal.net; bh=3pYG UpkNSk+y0Sy8Q0pWGbSXsl0=; b=U7Mx0SXFdyGKn3VtI0hud7N99knfNlyCXn3G XYxlVFj9XnVTwO0Z2MjTNdzM2aG5aJiUxgAfMbbEInQVDGaSwQgasvNaf0P40gQf UpWim+QaXPDeiydpB/afT1utu43p7DRsVHcYTCCO3HaB25aFmELwf/s+Rsftljlt VHT9kfE= Received: from webmail.nyclocal.net (caiajhbihbdd.dreamhost.com [208.97.187.133]) (Authenticated sender: dnixon-fnre@nyclocal.net) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTPA id 970CD67C069; Tue, 1 Oct 2013 18:08:10 -0700 (PDT) Received: from 50.14.66.127 (proxying for 50.14.66.127) (SquirrelMail authenticated user dnixon-fnre@nyclocal.net) by webmail.nyclocal.net with HTTP; Tue, 1 Oct 2013 21:08:12 -0400 Message-ID: <85ec9e6c5d4f34d754632c37c053eed3.squirrel@webmail.nyclocal.net> In-Reply-To: References: Date: Tue, 1 Oct 2013 21:08:12 -0400 Subject: Re: CFT: petitecloud 0.1.7 From: "Dee Nixon" To: "Aryeh Friedman" User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD virtualization X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Oct 2013 01:08:18 -0000 Aryeh forgot to include the URL where you can download it: http://10.0.10.3/petitecloudorg/download.jsp On Tue, October 1, 2013 9:04 pm, Aryeh Friedman wrote: > ---------- Forwarded message ---------- > From: Aryeh Friedman > Date: Tue, Oct 1, 2013 at 8:57 PM > Subject: CFT: petitecloud 0.1.7 > To: "freebsd-virtualization@freebsd.org" > > > > > Whats new: > > * Type and amount of information displayed on instance > listing of web UI has been simplified to be more user-friendly. > For each guest instance, the web UI now displays only a name, > cpu count, RAM and disk space. All values that have been > "hidden" (such as "network interface") are now autoassigned by > petitecloud. > > * It is now physically impossible to enter incorrect data > when creating instances. All resource limits are enforced > passively by constraining pull-down values. > > * Prefered disk location and prefered install cd location > are now on the settings panel. > > NOTE: The old /usr/local/etc/petitecloud/settings and > /usr/local/etc/petitecloud/instances are incompatible with 0.1.7. > It is recommended you remake any instances to reflect this fact. > From owner-freebsd-virtualization@FreeBSD.ORG Wed Oct 2 01:21:22 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 12A1C912 for ; Wed, 2 Oct 2013 01:21:22 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pb0-x235.google.com (mail-pb0-x235.google.com [IPv6:2607:f8b0:400e:c01::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DFE4529EE for ; Wed, 2 Oct 2013 01:21:21 +0000 (UTC) Received: by mail-pb0-f53.google.com with SMTP id up15so156074pbc.26 for ; Tue, 01 Oct 2013 18:21:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=tZx5XUzBXkQDI6SnXrkZt+TBZ87YGi3w1O1sSBWDnbE=; b=e4YwwGYpxdgUuQf4UO24FXqS200N6CAF7OJQio7pae5mKhMij+R4wInhJa+ehcf8LV Pq7wNkTeCMk5PrdAbv9eGxlWwUZD3fQW7FsP/dpJZfpcDXcHqXS6bTXJ+oVnTJKqeU7T ruHZQ0SZoli2TSnKA5vzChwnpAMyS+ouNKhuAHuInCHEp77Tkl5tb4VBdKZAlIkqzuY5 E3fmEtEX8D7LkLeNwo1FfsgdTEWq/wJC08xJtx8qhv/Htn/X/uNlsc4Ja/BUamnyPv8f urdPKWrwwMCTw12b1ZpEVttYwDD1CDrW0OcBav7EHRKBW8Ylsu793LctJO1Tat5V9jMH 4gAw== MIME-Version: 1.0 X-Received: by 10.68.212.37 with SMTP id nh5mr32649723pbc.16.1380676881613; Tue, 01 Oct 2013 18:21:21 -0700 (PDT) Received: by 10.68.253.162 with HTTP; Tue, 1 Oct 2013 18:21:21 -0700 (PDT) In-Reply-To: <85ec9e6c5d4f34d754632c37c053eed3.squirrel@webmail.nyclocal.net> References: <85ec9e6c5d4f34d754632c37c053eed3.squirrel@webmail.nyclocal.net> Date: Tue, 1 Oct 2013 21:21:21 -0400 Message-ID: Subject: Re: CFT: petitecloud 0.1.7 From: Aryeh Friedman To: Dee Nixon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD virtualization X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Oct 2013 01:21:22 -0000 Sorry the correct url is http://petitecloud.org/download.jsp On Tue, Oct 1, 2013 at 9:08 PM, Dee Nixon wrote: > Aryeh forgot to include the URL where you can download it: > > http://10.0.10.3/petitecloudorg/download.jsp > > On Tue, October 1, 2013 9:04 pm, Aryeh Friedman wrote: > > ---------- Forwarded message ---------- > > From: Aryeh Friedman > > Date: Tue, Oct 1, 2013 at 8:57 PM > > Subject: CFT: petitecloud 0.1.7 > > To: "freebsd-virtualization@freebsd.org" > > >> > > > > > > Whats new: > > > > * Type and amount of information displayed on instance > > listing of web UI has been simplified to be more user-friendly. > > For each guest instance, the web UI now displays only a name, > > cpu count, RAM and disk space. All values that have been > > "hidden" (such as "network interface") are now autoassigned by > > petitecloud. > > > > * It is now physically impossible to enter incorrect data > > when creating instances. All resource limits are enforced > > passively by constraining pull-down values. > > > > * Prefered disk location and prefered install cd location > > are now on the settings panel. > > > > NOTE: The old /usr/local/etc/petitecloud/settings and > > /usr/local/etc/petitecloud/instances are incompatible with 0.1.7. > > It is recommended you remake any instances to reflect this fact. > > > > > > > From owner-freebsd-virtualization@FreeBSD.ORG Wed Oct 2 16:17:19 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 14A25F91 for ; Wed, 2 Oct 2013 16:17:19 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-lb0-x22a.google.com (mail-lb0-x22a.google.com [IPv6:2a00:1450:4010:c04::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 79F08256E for ; Wed, 2 Oct 2013 16:17:18 +0000 (UTC) Received: by mail-lb0-f170.google.com with SMTP id w7so965418lbi.29 for ; Wed, 02 Oct 2013 09:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=WFTTqntvGg+5en6R8Gh+O9nhD0rjWdRGWoG/1Dq4rDY=; b=eDR688zs7bseiQaEXFh1CRJgiKmSXv397mU+I9BR84eEizNcIx4eoHDl+Py741wewq ZfrpEGRbNGblNA0p+LMzgZVn42MYgkHNyWIZe3KjQhROB7Pw0ddDjFHWIQMKHtXFIiZ1 72JKTeidFeizYHM+vHeKHswBKyc9VVX+C9ovW6KyaLkeTcUyyNa9iXR/R3elhO4EpPlc HnHR6e3BXSPhDNRnpVb47PfPne3T2W3Z+0LbH4bmLkqoD+BWfV1rPsuyKFqvLs/v1XjK IRIOrjAD5cq82KlB+NYhlc8xsdjNNHm9SaptZ0kz3EmBj4gIVqcB8ZqO/Yt9stJlLXug b55g== MIME-Version: 1.0 X-Received: by 10.152.22.35 with SMTP id a3mr1814513laf.45.1380730636421; Wed, 02 Oct 2013 09:17:16 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.168.136 with HTTP; Wed, 2 Oct 2013 09:17:16 -0700 (PDT) In-Reply-To: References: Date: Wed, 2 Oct 2013 09:17:16 -0700 X-Google-Sender-Auth: dojP8Mym10ZEcIRW-tlgkw2yieI Message-ID: Subject: Re: Disabling ATA driver for IDE devices on Hyper-V From: Craig Rodrigues To: "Abhishek Gupta (LIS)" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Oct 2013 16:17:19 -0000 Hi, There was some discussion between Larry Melia and Alexander Motin on this and related topics a few months ago. Here are some relevant threads: http://lists.freebsd.org/pipermail/freebsd-virtualization/2013-April/001180.html http://lists.freebsd.org/pipermail/freebsd-virtualization/2013-May/001281.html http://lists.freebsd.org/pipermail/freebsd-virtualization/2013-June/001297.html If you are continuing Larry's work, and can get feedback from Alexander, that would be great. -- Craig On Mon, Sep 30, 2013 at 2:02 PM, Abhishek Gupta (LIS) wrote: > Hi folks, > > This may have been asked before but the solution we have currently is less > than ideal. Please bear with me on the repetition and provide any > suggestions you may have. > > One of the issues with Hyper-V is that it does not virtualize the CD > device and therefore we rely on the ATA driver in the guest operating > system to manage CDROMs. What we would like to do is disable the ATA driver > for all device types except the CDROM in the presence of Hyper-V. Can > someone help us in answering the following in this regard: > > > a) What is the correct location in the FreeBSD ATA code where we can > put in selective disabling? > > b) Is this a good approach? Is there something cleaner you can think > of? > > As of now we have implemented a disengage driver that disables ATA driver > permanently on Hyper-V. However this is less than desirable and we are > looking for a better solution. Please let us know if you have some thoughts. > > Thanks, > Abhishek > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" > From owner-freebsd-virtualization@FreeBSD.ORG Wed Oct 2 23:52:38 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BFC1272E for ; Wed, 2 Oct 2013 23:52:38 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pd0-x22c.google.com (mail-pd0-x22c.google.com [IPv6:2607:f8b0:400e:c02::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 95CAA23D5 for ; Wed, 2 Oct 2013 23:52:38 +0000 (UTC) Received: by mail-pd0-f172.google.com with SMTP id z10so1616079pdj.31 for ; Wed, 02 Oct 2013 16:52:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=pP3ybNiYg9hNmULdgW8OuYDtsjnaG/+5N07yr7gnYu4=; b=B9YKD2yX3kdR4qq9HYcIkK3bSZGfaylXS9VRuyy6fzx4vEED1+hz8KkbDZfoGUxwqJ 7AA7xVnKvYMcBAix0NTFYXBKybQ9fPv+m+Qwso9VgOZUm4Zr6f0tdmkUvgfVIJXWogRX xAKSpsA/KiDiWB/2LtMySWKiuoHIUvjtCaa63q776S+5Djm7nvC568jdKu8IuOXQMV5m zFDMx0zp/Qh13fbJYZcUiWncuKR3ENSrmEsnWqGDgqo1k+yKE3g8+DQxygoZnO7+jUTx cd+AenbKQUwORiyvvQXbe8HmMtmwEjOmVqV3JAUdjMmhQL0kL+T878Bf98zeYwTkVhvo Y1Rg== MIME-Version: 1.0 X-Received: by 10.68.196.227 with SMTP id ip3mr5142598pbc.163.1380757958236; Wed, 02 Oct 2013 16:52:38 -0700 (PDT) Received: by 10.68.253.162 with HTTP; Wed, 2 Oct 2013 16:52:38 -0700 (PDT) In-Reply-To: <1054682566.12051.1380753946187.JavaMail.zimbra@lethalnetworks.com> References: <85ec9e6c5d4f34d754632c37c053eed3.squirrel@webmail.nyclocal.net> <1054682566.12051.1380753946187.JavaMail.zimbra@lethalnetworks.com> Date: Wed, 2 Oct 2013 19:52:38 -0400 Message-ID: Subject: Re: CFT: petitecloud 0.1.7 From: Aryeh Friedman To: reza , Dee Nixon , "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Oct 2013 23:52:38 -0000 On Wed, Oct 2, 2013 at 6:45 PM, reza wrote: > FYI your image 404's, http://petitecloud.org/screenshots/install_form.png. That is a non-current link. If you can conveniently do so, could you please tell us where you got that link from? In our web server logs, we see a lot of requests for that page and other out of date files/pages too and are attempting to track down all the links to update them. If that is not possible I guess we will just put the old files back in (in the case of people attempting to download 0.1.1 we will make it download 0.1.7+ instead) From owner-freebsd-virtualization@FreeBSD.ORG Thu Oct 3 10:15:29 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E5C08122 for ; Thu, 3 Oct 2013 10:15:29 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pd0-x22f.google.com (mail-pd0-x22f.google.com [IPv6:2607:f8b0:400e:c02::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C305A2524 for ; Thu, 3 Oct 2013 10:15:29 +0000 (UTC) Received: by mail-pd0-f175.google.com with SMTP id q10so2231681pdj.20 for ; Thu, 03 Oct 2013 03:15:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=YbXliTIaew1DbUJYdqpE20BiodPClGzvxu5uoGoUNNA=; b=IAza0+8abkTl7Aq+yolapZquTI5TDEo981+MRAJxk9srz6rviL6DF6IzBCT716dqPA SFu3DYaAfh0wh2bk/SMnmaTr9+dOsXMD4FfXfZIG2FG7jfUT0XKJGDa49+qfPbJEyiTA mOnGkHbYiIGZOE03FMsue96Lhq16GdxRTn+00LhzO8q27fkAVsirygc3xRgZ6kXTyMBw AKW/+MTI4kaX1iNBnJFyBDifPf0Uv6Yi5Jw8XB76CZMgtxeuU4wP4xVPP4ZQteKptkya t7ZMdRGRFp4PdpznOSxdY9o5ErCPcKl0Ma9JykIqERjcMeVeF3k75QUf0ulrnq3221aI RfmA== MIME-Version: 1.0 X-Received: by 10.68.88.161 with SMTP id bh1mr7672805pbb.49.1380795329440; Thu, 03 Oct 2013 03:15:29 -0700 (PDT) Received: by 10.68.253.162 with HTTP; Thu, 3 Oct 2013 03:15:29 -0700 (PDT) Date: Thu, 3 Oct 2013 06:15:29 -0400 Message-ID: Subject: Petitecloud bug fix: unable to find install media From: Aryeh Friedman To: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Oct 2013 10:15:30 -0000 We have released 0.1.8 to fix a bug that made guest instances uninstallable. 0.1.8 also contains a new -- but half done -- feature that will be fully done in 0.1.9. For now, ignore the "Start at boot" column (unless you feel like hacking /usr/local/etc/petitcloud/instances). It should also be noted that the file /usr/local/etc/petitcloud/instances has a new format as of 0.1.8, making it incompatible with 0.1.7. (Note that we intend to freeze the file format sometime before 0.2.0 is released.) From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 4 02:00:30 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B9A30681; Fri, 4 Oct 2013 02:00:30 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-we0-x22a.google.com (mail-we0-x22a.google.com [IPv6:2a00:1450:400c:c03::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 329C72D67; Fri, 4 Oct 2013 02:00:30 +0000 (UTC) Received: by mail-we0-f170.google.com with SMTP id u57so2453168wes.15 for ; Thu, 03 Oct 2013 19:00:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=3Imzepr12kh9+Lr9h/RCeaFo2ohWabBngUPHK8haAUo=; b=xyjl6K7N2tYw1Ovo58Z+2G8NWbe4tCTG7Cb/NBcCjR2IxV/y7un1tsamLk6K81OG1e Q9y5hUwVnADBfaluzjPFZi8FLNfm44B2/4lRQp9QE5KGkpHVoYjWY8FKCh0/7rLonPu2 X5evDPPIjfu2L7/ngh4dCLUE+ch94Zv2BIwm7fLJBFyZ5vritIH735Ea1w3lhDvOBW+w wunUjg0Tp7zQTpd2NZ+uB1e2Tn90hgItsWKIrFFiWMLXab0XT3JYBaexW2XI76t6mQ4+ 5LUOnsoYgeIGTJ0V7wExp2/jo7hfRSCTjdWMWX2NLqJFmIZU5HutJmf4VlH1s93nxq+3 I/Hw== MIME-Version: 1.0 X-Received: by 10.194.110.138 with SMTP id ia10mr10174134wjb.3.1380852028545; Thu, 03 Oct 2013 19:00:28 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.216.84.208 with HTTP; Thu, 3 Oct 2013 19:00:28 -0700 (PDT) In-Reply-To: <522B5010.1080105@freebsd.org> References: <522B5010.1080105@freebsd.org> Date: Thu, 3 Oct 2013 19:00:28 -0700 X-Google-Sender-Auth: w-Lz9L4lQxiPobpMCazSVKWmCzQ Message-ID: Subject: Re: Problems with missing ttyv devices in BHyve? From: Craig Rodrigues To: Peter Grehan Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Oct 2013 02:00:30 -0000 On Sat, Sep 7, 2013 at 9:10 AM, Peter Grehan wrote: > Hi Craig, > > > Does anyone have any ideas what the fix for this should be? >> > > You'll have to edit the /etc/ttys file and > > -ttyu2 "/usr/libexec/getty std.9600" dialup off secure > +ttyu2 "/usr/libexec/getty std.9600" vt100 on secure > > bhyve is ttyu2 rather than ttyu0 since it emulates a PCI serial port. > > Maybe this could go into the FreeNAS repo - I've never really understood > the aversion to having logins open on the serial ports by default. Seems a > relic of 1980's Unix dialup modems. > > Thanks Peter, thats worked. With some other changes that I have done, I have been able to successfully install and boot the latest FreeNAS code inside BHyve. It's very cool, and extremely useful for testing FreeNAS. A few questions for you. (1) I want to get the same FreeNAS image working inside Bhyve and on real hardware. In the source code for /sbin/init, when it parses /etc/ttys, if the entry does not exist, it prints out an error message about not being able to find the tty entry to open it. Do you know if there is a way to specify an entry for /dev/ttyu2, only if it exists, and not print out an error message otherwise? That way, I can get the same image to boot on real hardware, which has ttyv console devices, but does not have /dev/ttyu2, and also in BHyve, and /sbin/init won't print any errors. (2) Is it possible to connect to the console of the BHyve VM via /dev/ttyu2 or some other mechanism? I would like to be able to connect to the BHyve VM and use something like Expect or py-expect to execute console commands in the VM, for automated testing. Thanks. -- Craig From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 4 05:38:59 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 62E7B32A; Fri, 4 Oct 2013 05:38:59 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 2474425CE; Fri, 4 Oct 2013 05:38:58 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id C9FB212192; Fri, 4 Oct 2013 15:38:56 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local ([64.245.0.210]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BPA25812 (AUTH peterg@ptree32.com.au); Fri, 4 Oct 2013 15:38:55 +1000 Message-ID: <524E546D.9000008@freebsd.org> Date: Thu, 03 Oct 2013 22:38:53 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Craig Rodrigues Subject: Re: Problems with missing ttyv devices in BHyve? References: <522B5010.1080105@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Oct 2013 05:38:59 -0000 Hi Craig, > A few questions for you. > > (1) I want to get the same FreeNAS image working inside Bhyve and on > real hardware. > In the source code for /sbin/init, when it parses /etc/ttys, > if the entry does not exist, it prints out an error message about > not being able to find > the tty entry to open it. > Do you know if there is a way to specify an entry for /dev/ttyu2, > only if it > exists, and not print out an error message otherwise? Not without modifying init :( This seems a very old Unix limitation. > (2) Is it possible to connect to the console of the BHyve VM via /dev/ttyu2 > or some other mechanism? I would like to be able to connect to > the BHyve VM > and use something like Expect or py-expect to execute console > commands in the VM, > for automated testing. Not currently - the only options you have are to run bhyve under expect, or set up a network port and log in and run expect on commands. I have what I think is a plan to fix this: maybe for 10.1. later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 4 06:12:44 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 643F197B; Fri, 4 Oct 2013 06:12:44 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pd0-x22a.google.com (mail-pd0-x22a.google.com [IPv6:2607:f8b0:400e:c02::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 32CB42761; Fri, 4 Oct 2013 06:12:44 +0000 (UTC) Received: by mail-pd0-f170.google.com with SMTP id x10so3573854pdj.29 for ; Thu, 03 Oct 2013 23:12:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8rV/VTEHGavDSLJpMFRZoM46itH5aBhtZlB14jgo41Q=; b=jwnIRpnQ60xd/KmCGSMmUJhJ+f5Sqv1m5uiXeYVMF+3KU2yPP7ZQtY8quPvPl1KgHJ O7fgUhfqAfu5EyMjntUWGvUP5+a68wSkLLm9MyZA2xTbPQvHenJpBOy2lrsKg1zWFljq NpseYwli807AvXsmIUMD+fUup/ZrJYUr7jMAMYMdXWuqATheKNukZrsUbXESfaEmRLG8 7uaHfre/GLHiPhbzEx3lsaZUA+QquAjo2SJju1El9w2nTWlPWeA6/8x82rwAHMxr2NcW 2YIwIizird8tCwVatwX7N6PEifUU9Q+S7wotfIx8TxPsoX1SegkImLqFo+h3/n3G0jXR baOQ== MIME-Version: 1.0 X-Received: by 10.68.98.2 with SMTP id ee2mr282063pbb.186.1380867163710; Thu, 03 Oct 2013 23:12:43 -0700 (PDT) Received: by 10.68.253.162 with HTTP; Thu, 3 Oct 2013 23:12:43 -0700 (PDT) In-Reply-To: <524E546D.9000008@freebsd.org> References: <522B5010.1080105@freebsd.org> <524E546D.9000008@freebsd.org> Date: Fri, 4 Oct 2013 02:12:43 -0400 Message-ID: Subject: Re: Problems with missing ttyv devices in BHyve? From: Aryeh Friedman To: Peter Grehan Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Oct 2013 06:12:44 -0000 petitecloud uses the second approach to how to connect but one of the minor tweaks we have planned between 0.1.9 and 0.2 (0.1.9 is the last 0.1.X version and will be released later today) is to mount the drive via mdconfig and do a sed of /etc/ttys to the recommended fix that way when you reboot after install it will allow at least one console session via petitecloud alone (we have some ideas on the general issue but that's down the road) On Fri, Oct 4, 2013 at 1:38 AM, Peter Grehan wrote: > Hi Craig, > > > A few questions for you. >> >> (1) I want to get the same FreeNAS image working inside Bhyve and on >> real hardware. >> In the source code for /sbin/init, when it parses /etc/ttys, >> if the entry does not exist, it prints out an error message about >> not being able to find >> the tty entry to open it. >> Do you know if there is a way to specify an entry for /dev/ttyu2, >> only if it >> exists, and not print out an error message otherwise? >> > > Not without modifying init :( This seems a very old Unix limitation. > > > (2) Is it possible to connect to the console of the BHyve VM via >> /dev/ttyu2 >> or some other mechanism? I would like to be able to connect to >> the BHyve VM >> and use something like Expect or py-expect to execute console >> commands in the VM, >> for automated testing. >> > > Not currently - the only options you have are to run bhyve under expect, > or set up a network port and log in and run expect on commands. > > I have what I think is a plan to fix this: maybe for 10.1. > > later, > > Peter. > > > ______________________________**_________________ > freebsd-virtualization@**freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**virtualization > To unsubscribe, send any mail to "freebsd-virtualization-** > unsubscribe@freebsd.org " > From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 4 15:58:59 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 86748398; Fri, 4 Oct 2013 15:58:59 +0000 (UTC) (envelope-from Stephane.DAlu@insa-lyon.fr) Received: from smtp.insa-lyon.fr (criges14.insa-lyon.fr [134.214.76.242]) by mx1.freebsd.org (Postfix) with ESMTP id 11A7025BF; Fri, 4 Oct 2013 15:58:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.insa-lyon.fr (Postfix) with ESMTP id 8965EF125B; Fri, 4 Oct 2013 17:58:59 +0200 (CEST) X-Virus-Scanned: SMTP at INSA-LYON Received: from smtp.insa-lyon.fr ([127.0.0.1]) by localhost (criges14.insa-lyon.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M8UQEhoceubj; Fri, 4 Oct 2013 17:58:59 +0200 (CEST) Received: from hyperion.home.sdalu.com (hyperion.citi.insa-lyon.fr [134.214.146.249]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: sdalu) by smtp.insa-lyon.fr (Postfix) with ESMTPSA id EDDBEF125A; Fri, 4 Oct 2013 17:58:58 +0200 (CEST) Message-ID: <524EE5C1.6070508@insa-lyon.fr> Date: Fri, 04 Oct 2013 17:58:57 +0200 From: Stephane D'Alu Organization: CITI / INSA-Lyon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: sven falempin , freebsd-pf@freebsd.org, freebsd-virtualization@freebsd.org Subject: Re: virtio problems (was: pf deadly slow) References: <524EBFDD.7090604@insa-lyon.fr> <524EDE9E.2010109@insa-lyon.fr> In-Reply-To: <524EDE9E.2010109@insa-lyon.fr> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Oct 2013 15:58:59 -0000 Now that I switched from virtio to 82545EM all my networking problems disappeared. Appart from pf, I had also some other small networking problems that I thought were apache/php related, but were in fact due to virtio. virtio is clearly the culprit, but I can't say if it is FreeBSD or VirtualBox related Guest: FreeBSD 9.2 amd64 Host : FreeBSD 9.2 amd64 VM : VirtualBox 4.2.18 I can provide more information, if you tell me what to look for. On 10/04/13 17:28, Stephane D'Alu wrote: > On 10/04/13 16:48, sven falempin wrote: >> configure ALTQ (maybe the absence of configurating is not nicely working), >> i think freebsd has virtio support , > > Yes, since 9.2 virtio drivers are included in base distribution > >> >> i am interested in the result :-) > > I switched from virtio to 82545EM (with em driver), and performance are > back to normal. > > Look like a bug / bad interraction between virtio and pf. > (I don't know if VirtualBox as also a part in it) > >> >> >> OpenBSD is currently completly rewriting the queing system >> and improving performance. >> >> >> >> >> On Fri, Oct 4, 2013 at 9:17 AM, Stephane D'Alu >> > wrote: >> >> I'm running FreeBSD 9.2 inside VirtualBox with virtio for the nework >> card. pf is compiled with ALTQ support. >> >> My pf.conf file is as follow, which do nearly nothing: >> set skip on lo0 >> set skip on vnet0 >> >> If pf is enabled, bandwith drop by a 1000 factor! >> From 10Mb/s to 4Kb/s >> >> Any idea, what's going on? >> >> >> PS: >> - I have the same kind of configuration FreeBSD 9.2, pf + ALTQ >> and real firewall rules on a non virtualized server and everything >> is fine. >> - I will try to remove ALTQ and use em driver instead, to see if there >> is a performance improvement >> >> Sincerly >> -- >> Stephane D'Alu -- Ingenieur Recherche >> Laboratoire CITI / INSA-Lyon >> Tel: +33 47243 6483 >> _______________________________________________ >> freebsd-pf@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-pf >> To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org >> " >> >> >> >> >> -- >> --------------------------------------------------------------------------------------------------------------------- >> () ascii ribbon campaign - against html e-mail >> /\ > > -- Stephane D'Alu -- Ingenieur Recherche Laboratoire CITI / INSA-Lyon Tel: +33 47243 6483 From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 4 17:34:25 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A3844FD9; Fri, 4 Oct 2013 17:34:25 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-la0-x233.google.com (mail-la0-x233.google.com [IPv6:2a00:1450:4010:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 023242B79; Fri, 4 Oct 2013 17:34:24 +0000 (UTC) Received: by mail-la0-f51.google.com with SMTP id es20so3577425lab.10 for ; Fri, 04 Oct 2013 10:34:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=gxozzRGkw2ErIH2PXKHJ23UY9QWmTmgD7NyNJaUhrlA=; b=WwfWmaZXu5qNxAjCx312thuh1Tr2o+4i3QRwlG3NPcDKdP7VGJwWaaLeQsM3zMoszC H3E3AcE2VkxvcfyCBQhVFIuSVmm9PcIRp5iYtk+xgtr1dr5hHwEov7Mtcf4yg/BO6m+2 4IR2UW37gT0cTw0OvNwAXz6OOmOmM0+7Uk1BOZUh+p3OueYOHrPBXHrQTDJjOOsYjzd8 vhf7C3DAnCrHR/0VkAloJHU4PH+Hg5ZqztQJ6j/wz+fLFLG+f8fAPSpZLj1MX7w7eXbs 84HAuQgpqSuHKcGdHkP2K3p2rcJBMC2VJxgVjf5DqgN1szGvfGmsSJQZhmRyAQg6gLYY Hh5Q== MIME-Version: 1.0 X-Received: by 10.152.9.37 with SMTP id w5mr12741690laa.23.1380908062912; Fri, 04 Oct 2013 10:34:22 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.139.132 with HTTP; Fri, 4 Oct 2013 10:34:22 -0700 (PDT) In-Reply-To: <524E546D.9000008@freebsd.org> References: <522B5010.1080105@freebsd.org> <524E546D.9000008@freebsd.org> Date: Fri, 4 Oct 2013 10:34:22 -0700 X-Google-Sender-Auth: 2jrMOAZI7rQQNm47XQBI5Gw9_Bo Message-ID: Subject: Re: Problems with missing ttyv devices in BHyve? From: Craig Rodrigues To: Peter Grehan Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Oct 2013 17:34:25 -0000 On Thu, Oct 3, 2013 at 10:38 PM, Peter Grehan wrote: > > > (2) Is it possible to connect to the console of the BHyve VM via >> /dev/ttyu2 >> or some other mechanism? I would like to be able to connect to >> the BHyve VM >> and use something like Expect or py-expect to execute console >> commands in the VM, >> for automated testing. >> > > Not currently - the only options you have are to run bhyve under expect, > or set up a network port and log in and run expect on commands. > > I have what I think is a plan to fix this: maybe for 10.1. > OK. Once FreeNAS is fully set up, networking via the tap device works great, and I have been able to access the web GUI and ssh into FreeNAS inside BHyve with no problems. However, what I am trying to test is the early stage bootup of our installation CD, before FreeNAS is installed on the disk. When our CD boots up, it presents a text-based dialog menu where the user can select certain items and choose which disk to install on. If I could access the console in BHyve at this point via expect to drive the install menu, that would be very useful. -- Craig From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 4 18:20:34 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5C05B202; Fri, 4 Oct 2013 18:20:34 +0000 (UTC) (envelope-from bryanv@daemoninthecloset.org) Received: from torment.daemoninthecloset.org (torment.daemoninthecloset.org [94.242.209.234]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E25652DE8; Fri, 4 Oct 2013 18:20:33 +0000 (UTC) Received: from sage.daemoninthecloset.org (unknown [70.114.209.60]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "sage.daemoninthecloset.org", Issuer "daemoninthecloset.org" (verified OK)) by torment.daemoninthecloset.org (Postfix) with ESMTPS id 8EE5442C0908; Fri, 4 Oct 2013 20:19:15 +0200 (CEST) X-Virus-Scanned: amavisd-new at daemoninthecloset.org X-Virus-Scanned: amavisd-new at daemoninthecloset.org Date: Fri, 4 Oct 2013 13:12:01 -0500 (CDT) From: Bryan Venteicher To: Stephane D'Alu Message-ID: <2036273502.48911.1380910321146.JavaMail.root@daemoninthecloset.org> In-Reply-To: <524EE5C1.6070508@insa-lyon.fr> References: <524EBFDD.7090604@insa-lyon.fr> <524EDE9E.2010109@insa-lyon.fr> <524EE5C1.6070508@insa-lyon.fr> Subject: Re: virtio problems (was: pf deadly slow) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.51.1.6] X-Mailer: Zimbra 8.0.2_GA_5569 (ZimbraWebClient - GC30 (Mac)/8.0.2_GA_5569) Thread-Topic: virtio problems (was: pf deadly slow) Thread-Index: Gn0sT4j2mTppfvAqt6BsYLDdbeh5Hw== Cc: sven falempin , freebsd-virtualization@freebsd.org, freebsd-pf@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Oct 2013 18:20:34 -0000 ----- Original Message ----- > Now that I switched from virtio to 82545EM all my networking problems > disappeared. > > Appart from pf, I had also some other small networking problems that I > thought were apache/php related, but were in fact due to virtio. > > virtio is clearly the culprit, but I can't say if it is FreeBSD or > VirtualBox related > > Guest: FreeBSD 9.2 amd64 > Host : FreeBSD 9.2 amd64 > VM : VirtualBox 4.2.18 > > I can provide more information, if you tell me what to look for. > > Disable Tx/Rx checksum offload. The current state of the network stack doesn't work well with forwarding offloaded VirtIO frames. > > On 10/04/13 17:28, Stephane D'Alu wrote: > > On 10/04/13 16:48, sven falempin wrote: > >> configure ALTQ (maybe the absence of configurating is not nicely working), > >> i think freebsd has virtio support , > > > > Yes, since 9.2 virtio drivers are included in base distribution > > > >> > >> i am interested in the result :-) > > > > I switched from virtio to 82545EM (with em driver), and performance are > > back to normal. > > > > Look like a bug / bad interraction between virtio and pf. > > (I don't know if VirtualBox as also a part in it) > > > >> > >> > >> OpenBSD is currently completly rewriting the queing system > >> and improving performance. > >> > >> > >> > >> > >> On Fri, Oct 4, 2013 at 9:17 AM, Stephane D'Alu > >> > wrote: > >> > >> I'm running FreeBSD 9.2 inside VirtualBox with virtio for the nework > >> card. pf is compiled with ALTQ support. > >> > >> My pf.conf file is as follow, which do nearly nothing: > >> set skip on lo0 > >> set skip on vnet0 > >> > >> If pf is enabled, bandwith drop by a 1000 factor! > >> From 10Mb/s to 4Kb/s > >> > >> Any idea, what's going on? > >> > >> > >> PS: > >> - I have the same kind of configuration FreeBSD 9.2, pf + ALTQ > >> and real firewall rules on a non virtualized server and everything > >> is fine. > >> - I will try to remove ALTQ and use em driver instead, to see if there > >> is a performance improvement > >> > >> Sincerly > >> -- > >> Stephane D'Alu -- Ingenieur Recherche > >> Laboratoire CITI / INSA-Lyon > >> Tel: +33 47243 6483 > >> _______________________________________________ > >> freebsd-pf@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-pf > >> To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org > >> " > >> > >> > >> > >> > >> -- > >> --------------------------------------------------------------------------------------------------------------------- > >> () ascii ribbon campaign - against html e-mail > >> /\ > > > > > > > -- > Stephane D'Alu -- Ingenieur Recherche > Laboratoire CITI / INSA-Lyon > Tel: +33 47243 6483 > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to > "freebsd-virtualization-unsubscribe@freebsd.org" > From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 4 19:00:14 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 092A32C0; Fri, 4 Oct 2013 19:00:14 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id BC9E62022; Fri, 4 Oct 2013 19:00:13 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 5BCDC12302; Sat, 5 Oct 2013 05:00:12 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local ([64.245.0.210]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BPA43130 (AUTH peterg@ptree32.com.au); Sat, 5 Oct 2013 05:00:11 +1000 Message-ID: <524F1039.2020605@freebsd.org> Date: Fri, 04 Oct 2013 12:00:09 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Craig Rodrigues Subject: Re: Problems with missing ttyv devices in BHyve? References: <522B5010.1080105@freebsd.org> <524E546D.9000008@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Oct 2013 19:00:14 -0000 Hi Craig, > However, what I am trying to test is the early stage bootup of our > installation CD, > before FreeNAS is installed on the disk. When our CD boots up, it presents > a text-based dialog menu where the user can select certain items and > choose which > disk to install on. If I could access the console in BHyve at this > point via expect > to drive the install menu, that would be very useful. The only way to do that at the moment is to exec bhyve under expect/empty/etc. davide@ had a pyexpect script that did this to sanity-test the bsdinstall dialogs for a release. later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 4 19:35:56 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 33544466 for ; Fri, 4 Oct 2013 19:35:56 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-la0-x230.google.com (mail-la0-x230.google.com [IPv6:2a00:1450:4010:c03::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9A4E42253 for ; Fri, 4 Oct 2013 19:35:55 +0000 (UTC) Received: by mail-la0-f48.google.com with SMTP id er20so3576971lab.21 for ; Fri, 04 Oct 2013 12:35:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=341/Z76fEGxdUMicXwJCuji/4IogSg8pkrhamm5eeXw=; b=FoxuyeJrmyIIhIWLRsYblXb3BQaq8GReVj64y1jqAs1eIN7KaV0kxOUZRxhqoTgYnN ejoav/ACM2bvrCG4QqohJc8qYLtYCUftst+w6qiuZ9Cl1kNik2v/G+f7adT+5ADUD2E3 uuOwRGYJprYf4v4+Wm3zOs6wnr+o2xquzteTxWBVHh48T9zVwucsKqgCFa60MBI/7L5I Tbentniq/ntTba7DbIStylbrHIPMu+Y5ntcqx33oTW5AU7pAzeIfkPv6TazcCpvJ3Wle 1etS75YhXzZ4a7eZBZw5Z2THZOdp48XbeqcLrJvM8jwxwriZZreFGuc5d/aTBKKAG1Qy RP0g== MIME-Version: 1.0 X-Received: by 10.152.170.166 with SMTP id an6mr13211995lac.20.1380915353632; Fri, 04 Oct 2013 12:35:53 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.139.132 with HTTP; Fri, 4 Oct 2013 12:35:53 -0700 (PDT) Date: Fri, 4 Oct 2013 12:35:53 -0700 X-Google-Sender-Auth: ZAj10zkSUbts7Sbh5vdhROPucIE Message-ID: Subject: Use humanize_number() inside bhyveload? From: Craig Rodrigues To: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Oct 2013 19:35:56 -0000 Hi, In /usr/src/usr.bin/truncate/truncate.c , you can see that the '-s' parameter to the truncate utility is parsed with the expand_number() utility. Can we use expand_number() in bhyve_load? That will allow people to enter parameters like: -m 2G This is handy and consistent with other FreeBSD utilities. Index: usr.sbin/bhyveload/Makefile =================================================================== --- usr.sbin/bhyveload/Makefile (revision 256057) +++ usr.sbin/bhyveload/Makefile (working copy) @@ -4,8 +4,8 @@ SRCS= bhyveload.c MAN= bhyveload.8 -DPADD+= ${LIBVMMAPI} -LDADD+= -lvmmapi +DPADD+= ${LIBVMMAPI} ${LIBUTIL} +LDADD+= -lvmmapi -lutil WARNS?= 3 Index: usr.sbin/bhyveload/bhyveload.8 =================================================================== --- usr.sbin/bhyveload/bhyveload.8 (revision 256057) +++ usr.sbin/bhyveload/bhyveload.8 (working copy) @@ -62,11 +62,11 @@ .Bl -tag -width indent .It Fl m Ar mem-size .Ar mem-size -is the amount of memory allocated to the guest in units of megabytes. +is the amount of memory allocated to the guest. .Pp The default value of .Ar mem-size -is 256. +is 256 MB. .It Fl d Ar disk-path The .Ar disk-path @@ -83,7 +83,7 @@ .Pa /freebsd/release.iso and has 1GB memory allocated to it: .Pp -.Dl "bhyveload -m 1024 -d /freebsd/release.iso freebsd-vm" +.Dl "bhyveload -m 1G -d /freebsd/release.iso freebsd-vm" .Sh SEE ALSO .Xr bhyve 4 , .Xr bhyve 8 , Index: usr.sbin/bhyveload/bhyveload.c =================================================================== --- usr.sbin/bhyveload/bhyveload.c (revision 256057) +++ usr.sbin/bhyveload/bhyveload.c (working copy) @@ -67,9 +67,11 @@ #include #include #include +#include #include #include #include +#include #include #include #include @@ -581,7 +583,9 @@ break; case 'm': - mem_size = strtoul(optarg, NULL, 0) * MB; + if (expand_number(optarg, &mem_size) == -1) + errx(EXIT_FAILURE, + "invalid size argument `%s'", optarg); break; case '?': -- Craig From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 4 20:40:10 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D211BC7; Fri, 4 Oct 2013 20:40:10 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 946392597; Fri, 4 Oct 2013 20:40:10 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 51CC6121F5; Sat, 5 Oct 2013 06:40:08 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local ([64.245.0.210]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BPA44452 (AUTH peterg@ptree32.com.au); Sat, 5 Oct 2013 06:40:07 +1000 Message-ID: <524F27A5.5010307@freebsd.org> Date: Fri, 04 Oct 2013 13:40:05 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Craig Rodrigues Subject: Re: Use humanize_number() inside bhyveload? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Oct 2013 20:40:10 -0000 Hi Craig, > Can we use expand_number() in bhyve_load? Please commit this change :) later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Sat Oct 5 02:24:21 2013 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B32B6247 for ; Sat, 5 Oct 2013 02:24:21 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 737CB2366 for ; Sat, 5 Oct 2013 02:24:21 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id B4CD611F4E; Sat, 5 Oct 2013 12:24:13 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local (c-67-161-27-37.hsd1.ca.comcast.net [67.161.27.37]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BPA50744 (AUTH peterg@ptree32.com.au); Sat, 5 Oct 2013 12:24:12 +1000 Message-ID: <524F7849.4040607@freebsd.org> Date: Fri, 04 Oct 2013 19:24:09 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Aryeh Friedman Subject: Re: svn commit: r256056 - head/usr.sbin/bhyve References: <201310041831.r94IVcLJ067283@svn.freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@FreeBSD.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Oct 2013 02:24:21 -0000 Hi Aryeh, > Does this mean it will now take /dev/cdX as a parameter? Not yet: there's some other issues to resolve with that. AHCI/ATAPI drives will show up as /dev/cdX in the guest, though. later, Peter.