Date: Mon, 5 Jan 2015 08:23:32 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no> To: Kevin Oberman <rkoberman@gmail.com> Cc: FreeBSD stable <freebsd-stable@freebsd.org> Subject: Re: Upgrading from stable/8 to stable/9 blocked by file 5.21 (r276416) Message-ID: <alpine.BSF.2.11.1501050805221.1551@mail.fig.ol.no> In-Reply-To: <CAN6yY1veFSCVGYp5xqSG%2BksJQ_5w0US3HDG3M=hqdn1KaKAk5Q@mail.gmail.com> References: <alpine.BSF.2.11.1501041830030.1551@mail.fig.ol.no> <CAN6yY1veFSCVGYp5xqSG%2BksJQ_5w0US3HDG3M=hqdn1KaKAk5Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 4 Jan 2015 12:45-0800, Kevin Oberman wrote: > On Sun, Jan 4, 2015 at 9:41 AM, Trond Endrestøl < > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > Hi, > > > > I'm investigating how to convert my stable/8 systems to stable/9, and > > subsequently to stable/10. > > > > The test subject was installed with 8.4-RELEASE, I then upgraded to > > the latest stable/8, r276471, with no contents in /etc/make.conf nor > > /etc/src.conf. So far, so good. > > > > Next, I tried to compile stable/9 r276623 on the stable/8 system, > > still no contents in /etc/make.conf nor /etc/src.conf, and nothing > > mentioned in /usr/src/UPDATING, only to receive this error message: > > > > > > ===> lib/libmagic (obj,build-tools) > > cc -O2 -pipe -DMAGIC='"/usr/share/misc/magic"' -DHAVE_CONFIG_H > > -I/usr/src/lib/libmagic -I/usr/src/lib/libmagic/../../contrib/file/src > > -std=gnu99 -I/usr/obj/usr/src/tmp/legacy/usr/include -DCOMPILE_ONLY > > -L/usr/obj/usr/src/tmp/legacy/usr/lib -o mkmagic > > /usr/src/lib/libmagic/../../contrib/file/src/apprentice.c > > /usr/src/lib/libmagic/../../contrib/file/src/cdf_time.c > > /usr/src/lib/libmagic/../../contrib/file/src/encoding.c > > /usr/src/lib/libmagic/../../contrib/file/src/funcs.c > > /usr/src/lib/libmagic/../../contrib/file/src/magic.c > > /usr/src/lib/libmagic/../../contrib/file/src/print.c -lz -legacy > > In file included from > > /usr/src/lib/libmagic/../../contrib/file/src/apprentice.c:32: > > /usr/src/lib/libmagic/../../contrib/file/src/file.h:488:21: error: > > xlocale.h: No such file or directory > > > > > > [...] > > > > I reverted the stable/9 tree to r276385 to get rid of file 5.21 > > (r276416), and now the system is able to build world and kernel. > > > > Once I get stable/9 r276385 installed, I might be able to build the > > latest stable/9 source tree. > > > > This is very odd. /usr/include/xlocale.h has been in the source tree for > over three years. In the buildworld process, header files are moved to > /usr/obj very early in the make and used for building world. Do you have > /usr/src/include/xlocale.h? If so, it should be found when building file. > Do you have /usr/include/xlocale.h? (This file should NOT be used in > buildworld, but it is a data point.) > > Are you running the "official" system update process? Not that there is > much there at this point. > # cd /usr/src > # make buildworld Yup. I renamed the existing /usr/obj containing the stable/8 object tree to /usr/obj-8 and created a new /usr/obj directory for the stable/9 object tree. I then ran: make buildworld buildkernel The pit stop at r276385 helped building stable/9 while still running the latest stable/8. The test subject now runs the latest stable/9, r276664, and is currently regenerating the 40 ports I installed after upgrading 8.4-RELEASE to stable/8. I tested the transition from stable/9 to stable/10 on my laptop in the time between Christmas and New Year. That went well. The only snag I noticed is that a separate root fs should be larger than 1 GiB, and anything less than 1 GiB will not necessary accommodate two kernels and the minimalistic userland unless you delete the old kernel's *.symbols files prior to installing the new kernel. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-stable@FreeBSD.ORG Mon Jan 5 07:27:49 2015 Return-Path: <owner-freebsd-stable@FreeBSD.ORG> Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F4017D70 for <freebsd-stable@freebsd.org>; Mon, 5 Jan 2015 07:27:48 +0000 (UTC) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 50E42640CC for <freebsd-stable@freebsd.org>; Mon, 5 Jan 2015 07:27:47 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.9/8.14.9) with ESMTP id t057RYmN003184 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 5 Jan 2015 08:27:34 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.9/8.14.9/Submit) with ESMTP id t057RYU1003181; Mon, 5 Jan 2015 08:27:34 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Mon, 5 Jan 2015 08:27:34 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no> Sender: Trond.Endrestol@fagskolen.gjovik.no To: Xin Li <delphij@delphij.net> Subject: Re: Upgrading from stable/8 to stable/9 blocked by file 5.21 (r276416) In-Reply-To: <54A9A853.2000208@delphij.net> Message-ID: <alpine.BSF.2.11.1501050824270.1551@mail.fig.ol.no> References: <alpine.BSF.2.11.1501041830030.1551@mail.fig.ol.no> <54A9A853.2000208@delphij.net> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.fig.ol.no Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD stable <freebsd-stable@freebsd.org> X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-stable>, <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable/> List-Post: <mailto:freebsd-stable@freebsd.org> List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>, <mailto:freebsd-stable-request@freebsd.org?subject=subscribe> X-List-Received-Date: Mon, 05 Jan 2015 07:27:49 -0000 On Sun, 4 Jan 2015 12:53-0800, Xin Li wrote: > On 1/4/15 09:41, Trond Endrestøl wrote: > > Hi, > > > > I'm investigating how to convert my stable/8 systems to stable/9, > > and subsequently to stable/10. > > > [...] > > In file included from > > /usr/src/lib/libmagic/../../contrib/file/src/print.c:32: > > /usr/src/lib/libmagic/../../contrib/file/src/file.h:495: error: > > expected specifier-qualifier-list before 'locale_t' *** Error code > > 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** > > Error code 2 1 error > > Looks like you are using -j -- have you tried building without -j? Yes to your assumption, and no to your question. As in all good scientific endeavor, I should repeat what I did, and I will try to remember to compile the latest stable/9 without -j 2 while running the latest stable/8. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-stable@FreeBSD.ORG Mon Jan 5 07:59:05 2015 Return-Path: <owner-freebsd-stable@FreeBSD.ORG> Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 587E2340; Mon, 5 Jan 2015 07:59:05 +0000 (UTC) Received: from smtpo.poczta.interia.pl (smtpo.poczta.interia.pl [217.74.65.158]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0FC3834FE; Mon, 5 Jan 2015 07:59:04 +0000 (UTC) X-Interia-R: Interia X-Interia-R-IP: 82.177.252.131 X-Interia-R-Helo: <w530.domain.com> Received: from w530.domain.com (unknown [82.177.252.131]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by poczta.interia.pl (INTERIA.PL) with ESMTPSA; Mon, 5 Jan 2015 08:43:07 +0100 (CET) Message-ID: <54AA410D.9090704@interia.pl> Date: Mon, 05 Jan 2015 08:45:17 +0100 From: vermaden <vermaden@interia.pl> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org, freebsd-emulation@freebsd.org, freebsd-stable@freebsd.org Subject: Virtualbox USB Passthrough X-Interia-Antivirus: OK DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1420443788; bh=ugNLvzN5ntPfb9uRmMnf8M2qS/TVwLfCp9iyV2zQ8yo=; h=X-Interia-R:X-Interia-R-IP:X-Interia-R-Helo:Message-ID:Date:From: User-Agent:MIME-Version:To:Subject:Content-Type: X-Interia-Antivirus; b=FDDWed7FPbA0hEXHi0RfUItYZI8ZGylLdnPHaImuSFQHWjhBKLPlnPGLJ3h3syLeb b1U7kbITJ1MQC/n8kqDr8VT5UHWFs73eYIu5FtnPuR6IEkqdgajcW2BX/ehTCha31Z ZlBXRa5izkaIkSvM5FNhIU6UhvSRurdhVi8aDr8U= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-stable>, <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable/> List-Post: <mailto:freebsd-stable@freebsd.org> List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>, <mailto:freebsd-stable-request@freebsd.org?subject=subscribe> X-List-Received-Date: Mon, 05 Jan 2015 07:59:05 -0000 Hi, I havent used USB passthrough for some time on FreeBSD with Virtualbox, now with FreeBSD 10.1-STABLE (2014/12/14) and Virtualbox 4.3.20 I am not able to make it work, I have found some workarounds with 'sysctl hw.usb.ehci.no_hs=1' but that also does not work. What is proper setup to use USB passthrough with Virtualbox on FreeBSD currently? Thanks, vermaden
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.11.1501050805221.1551>