From owner-freebsd-stable@FreeBSD.ORG Mon May 25 02:56:54 2015 Return-Path: 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 72489361 for ; Mon, 25 May 2015 02:56:54 +0000 (UTC) (envelope-from brandon.wandersee@zoho.com) Received: from sender1.zohomail.com (sender1.zohomail.com [74.201.84.158]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5EF251E0 for ; Mon, 25 May 2015 02:56:54 +0000 (UTC) (envelope-from brandon.wandersee@zoho.com) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:subject:message-id:mime-version:content-type:user-agent; b=kQTh7FJDCnKNXOyV2AU5k1iprTQ8uOchIioA4MWpbuArnPZCO2RMg+LthD/DJlgkxVSD1Zf3E/c+ Jdx6Z143Na2HkhfL334vqfEoTY9x6mNtxCmilTkFjVkjRC+vuKO6 Received: from WorkBox.Home (184-100-107-74.mpls.qwest.net [184.100.107.74]) by mx.zohomail.com with SMTPS id 14325225715399.527037990154668; Sun, 24 May 2015 19:56:11 -0700 (PDT) Date: Sun, 24 May 2015 21:56:07 -0500 From: Brandon Wandersee To: freebsd-stable@freebsd.org Subject: Kernel fails to boot after update Message-ID: <20150525025607.GA1071@WorkBox.Home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2015 02:56:54 -0000 After updating my system to r283501 today, my system fails to boot from the new GENERIC kernel, either in single- or multi-user mode. The old kernel still boots fine, though, indicating that the base system itself is fine. The old kernel was built from r281528, and the only things that have changed in the configuration since then are the inclusion of nvme, nvd and hyperv, none of which I've ever used. I tried trimming all of those from the latest GENERIC configuration, with no luck. I can't say at exactly which point in the boot process the failure lands, other than that it happens prior to the filesystems being mounted (hence the lack of logged information). It simply gets less than halfway through the boot sequence and then abruptly reboots. Is there any way to prevent this reboot from happeneing so I can see any applicable error messages, or any other advice on debugging this? Thanks in advance. - Brandon -- =========================================== :: Brandon Wandersee :: :: brandon.wandersee@zoho.com :: =========================================== "A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools." - Douglas Adams =========================================== From owner-freebsd-stable@FreeBSD.ORG Mon May 25 17:40:18 2015 Return-Path: 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 3FE3031A for ; Mon, 25 May 2015 17:40:18 +0000 (UTC) (envelope-from brandon.wandersee@zoho.com) Received: from sender1.zohomail.com (sender1.zohomail.com [74.201.84.153]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2A23E9D for ; Mon, 25 May 2015 17:40:17 +0000 (UTC) (envelope-from brandon.wandersee@zoho.com) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:cc:subject:message-id:references:mime-version:content-type:in-reply-to:user-agent; b=gWWutMRjEnXB+uGoeeskYy3APXXbB5/NozLKazPeoMiL2Rb5Bk/e0jN9m9kbrfoPmR/ggnDefLyJ PSpReF+cMTQq0o+K8smnvjLocYHsc0HN8Ii05xZi7a154Z/ov2/P Received: from WorkBox.Home (184-100-70-168.mpls.qwest.net [184.100.70.168]) by mx.zohomail.com with SMTPS id 1432575610999385.778543521757; Mon, 25 May 2015 10:40:10 -0700 (PDT) Date: Mon, 25 May 2015 12:40:07 -0500 From: Brandon Wandersee To: Trevor Roydhouse Cc: freebsd-stable@freebsd.org Subject: Re: Kernel fails to boot after update Message-ID: <20150525174007.GA6272@WorkBox.Home> References: <20150525025607.GA1071@WorkBox.Home> <5562AC10.8040702@sentry.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5562AC10.8040702@sentry.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2015 17:40:18 -0000 On 05/25, Trevor Roydhouse wrote: > > https://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-options.html > > Cheers, > TREV. > Thanks for the link, Trevor. I enabled DDB in the kernel ("options DDB") in order to prevent the reboot and learned that the VirtualBox kernel module was causing the hold-up (I use VirtualBox very often, so I load the module at start-up). I'd forgotten to *rebuild the module after updating the kernel.* I feel foolish for having forgotten that---I've been using VirtualBox for years---but all is well now. Thanks for the pointers, and sorry for cluttering the list with such an inane issue. The quote in my signature seems fitting in this case. Anyway, take care, all. - Brandon -- =========================================== :: Brandon Wandersee :: :: brandon.wandersee@zoho.com :: =========================================== "A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools." - Douglas Adams =========================================== From owner-freebsd-stable@FreeBSD.ORG Mon May 25 18:42:35 2015 Return-Path: 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 8B18FB9E for ; Mon, 25 May 2015 18:42:35 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ie0-x236.google.com (mail-ie0-x236.google.com [IPv6:2607:f8b0:4001:c03::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 531F621D for ; Mon, 25 May 2015 18:42:35 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by iesa3 with SMTP id a3so77191971ies.2 for ; Mon, 25 May 2015 11:42:34 -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=w66GA8wEXbC7TWV945x4CfnsRimHFIED6xGK9X7b+zE=; b=bihfJ9whzoLYcg892VL+c4smZa2/ppbIuUOwFQwhAtN1I7shDedtXdgg9Rw6FFYkqQ 2Jcl2nzYPmj5GQuNwaePt5baX9XipCgB1uF0nxhLiGbVwuJsUq61GJKP+eK1e35wK/28 weLzD2PL2l4CPSD828b1C+LkD3p/T2jJxjFxMn6VI0DOmunqr6KE47hMxZOoFBpBSJFo Vwi0lxWmB54NOR49MfB5f9COQr5mHksYaE5wwkn+nSHILdJD+q6JI9QdZUrIJAN1ICVt EvB2f/iwH8epqcfGdTvRGPaK97Wwdd1UCtv2d8mq17RR3hdLuSM8Kcm+NHuzgFp1Yt4R IYoA== MIME-Version: 1.0 X-Received: by 10.43.34.205 with SMTP id st13mr25776853icb.4.1432579354538; Mon, 25 May 2015 11:42:34 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.107.174.22 with HTTP; Mon, 25 May 2015 11:42:34 -0700 (PDT) In-Reply-To: <20150525174007.GA6272@WorkBox.Home> References: <20150525025607.GA1071@WorkBox.Home> <5562AC10.8040702@sentry.org> <20150525174007.GA6272@WorkBox.Home> Date: Mon, 25 May 2015 11:42:34 -0700 X-Google-Sender-Auth: jgPECJo4eelwk0PcDTNLwNCBtLA Message-ID: Subject: Re: Kernel fails to boot after update From: Kevin Oberman To: Brandon Wandersee Cc: Trevor Roydhouse , FreeBSD-STABLE Mailing List Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2015 18:42:35 -0000 On Mon, May 25, 2015 at 10:40 AM, Brandon Wandersee < brandon.wandersee@zoho.com> wrote: > On 05/25, Trevor Roydhouse wrote: > > > > > https://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-options.html > > > > Cheers, > > TREV. > > > > Thanks for the link, Trevor. I enabled DDB in the kernel ("options DDB") in > order to prevent the reboot and learned that the VirtualBox kernel module > was > causing the hold-up (I use VirtualBox very often, so I load the module at > start-up). I'd forgotten to *rebuild the module after updating the > kernel.* I > feel foolish for having forgotten that---I've been using VirtualBox for > years---but all is well now. Thanks for the pointers, and sorry for > cluttering > the list with such an inane issue. The quote in my signature seems fitting > in > this case. Anyway, take care, all. > > - Brandon > Put "PORTS_MODULES=emulators/virtualbox-ose-kmod" into /etc/src.conf and it will be rebuilt when the kernel is built. Add others ports that install kernel modules as well. Space delimit multiple modules. (The documentation is not too clear about multiple modules. -- Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com From owner-freebsd-stable@FreeBSD.ORG Mon May 25 18:48:37 2015 Return-Path: Delivered-To: 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 7F4F0D27 for ; Mon, 25 May 2015 18:48:37 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2C64926A for ; Mon, 25 May 2015 18:48:35 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.9/8.14.9) with ESMTP id t4PImSRN011639 for ; Mon, 25 May 2015 11:48:28 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.9/8.14.9/Submit) id t4PImSmW011638 for stable@freebsd.org; Mon, 25 May 2015 11:48:28 -0700 (PDT) (envelope-from david) Date: Mon, 25 May 2015 11:48:28 -0700 From: David Wolfskill To: stable@freebsd.org Subject: Re: Kernel fails to boot after update Message-ID: <20150525184828.GJ1214@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , stable@freebsd.org References: <20150525025607.GA1071@WorkBox.Home> <5562AC10.8040702@sentry.org> <20150525174007.GA6272@WorkBox.Home> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Tu8ztk+XgTAiG9Id" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2015 18:48:37 -0000 --Tu8ztk+XgTAiG9Id Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 25, 2015 at 11:42:34AM -0700, Kevin Oberman wrote: > ... > Put "PORTS_MODULES=3Demulators/virtualbox-ose-kmod" into /etc/src.conf a= nd > it will be rebuilt when the kernel is built. Add others ports that install > kernel modules as well. Space delimit multiple modules. (The documentation > is not too clear about multiple modules. > .... For documentation, see the "VARIABLE ASSIGNMENTS" section of make(1). For an example, here's what I do: g1-254(10.1-S)[1] cat /etc/src.conf=20 KERNCONF=3DCANARY PORTS_MODULES=3Dx11/nvidia-driver PORTS_MODULES+=3Dmultimedia/cuse4bsd-kmod PORTS_MODULES+=3Demulators/virtualbox-ose-kmod g1-254(10.1-S)[2]=20 (I find that placing each module on a separate line makes it easier to read & update.) Peace, david --=20 David H. Wolfskill david@catwhisker.org Those who murder in the name of God or prophet are blasphemous cowards. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --Tu8ztk+XgTAiG9Id Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJVY258XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4 QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7jqcP/3Jw3O7jTmZ1cAawIqj1nhPX swtcR+SeJz/3eBe/FWp6XgMudELhLK+QqF4xkqb1zhcsuMPyDf/8bJklvuWGf2SV iQizsXxL2BfJMx9uIUmtehgMn5zygIOr3Zfb5lP4rfuns+qgx+OoBCyav5MkZXfV ujqFjs24u28s/LvNINptquaq5BU0D74Jowo/SHEHXeT9i0cHWykwSeqflGrEB6F2 GizTG8WLqVqPw8SQImbLlanZJMkROLqX255/tlVXkSDKnhybW9RAhuQg7MlrvTuP OltiyzEIABPtWn2k2JDZF8tDlUYMRPzO96oKH5+2HJKaPwql7q4jPuOIyI1qzgse l04XidmIiKaFixnW+3ANaqo/FKinKlWSrJedRrmr2F5X7jhuPamnNBZVSxtY49nM 2LgmFGi0X5+LfWqL3CtNMCnfWetsLLDoNg3r2aFWohP9rfX1kb0myoqv/DhA+CaE YR/RKWiegvi3ml00R0w0iTXhXTqbgcF7Nlj/qF0wWRD4xwd5UK+pyb5oCw8nZLlU t1eoy8KvgeHXTIqSr77Dw+qv2eDVDOri/ExEFbyqKzdy92jWUxO0rqzFnOqHkR8g LY+uwnaqbQ68CwDhIYr5IpY8S2x7JfG3OQd5kBWXCOr7eM5cmyEfMW3m5PLAMYJh cd22nErCyeR44cVyXyAb =fBWm -----END PGP SIGNATURE----- --Tu8ztk+XgTAiG9Id-- From owner-freebsd-stable@FreeBSD.ORG Tue May 26 03:14:40 2015 Return-Path: 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 DA1F43EB for ; Tue, 26 May 2015 03:14:39 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: from mail-qk0-x233.google.com (mail-qk0-x233.google.com [IPv6:2607:f8b0:400d:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 93848AEB for ; Tue, 26 May 2015 03:14:39 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: by qkdn188 with SMTP id n188so78628355qkd.2 for ; Mon, 25 May 2015 20:14:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-type; bh=yw+CL4e37FmFwupc2AGoV1xc62aAJOgGJ7fJpMWsz9c=; b=Ncs2+UHFV+dckESveNxMCY/YXo4FxXcOyhnCSZRjCFqV8R3j9BQCaosAU8jZedbb/j +nT5wuySuP3PtWLC+w1MqTmW1DmdwIE9GRnOPUxlZeQ4pWiBuGOSSWN+xXFuuG1oM5SM NVcOtjIif8wqumWkL550W2RwKBVmjwxrc/ycvV+ywxybBohocxgNMnbc5GyYgHAuqV4R 1F4d2AIBX+G2YOh/MqvLW0HCesd0WaIS2qoRDDjfvVG9kAFqlxUWem7ZJrzf2FwOjUgV 2n0ddUlbXJb/6mJV89f/gAAVY/6ntQsvri9xwRioB3fra+92geSIZMpY3aSzezq/+Giz /gVA== X-Received: by 10.140.236.147 with SMTP id h141mr32586738qhc.77.1432610078799; Mon, 25 May 2015 20:14:38 -0700 (PDT) MIME-Version: 1.0 References: <20150525025607.GA1071@WorkBox.Home> <5562AC10.8040702@sentry.org> <20150525174007.GA6272@WorkBox.Home> In-Reply-To: From: Henry Hu Date: Tue, 26 May 2015 03:14:37 +0000 Message-ID: Subject: Re: Kernel fails to boot after update To: Kevin Oberman , Brandon Wandersee Cc: Trevor Roydhouse , FreeBSD-STABLE Mailing List Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2015 03:14:40 -0000 On Mon, May 25, 2015 at 2:42 PM Kevin Oberman wrote: > On Mon, May 25, 2015 at 10:40 AM, Brandon Wandersee < > brandon.wandersee@zoho.com> wrote: > > > On 05/25, Trevor Roydhouse wrote: > > > > > > > > > https://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-options.html > > > > > > Cheers, > > > TREV. > > > > > > > Thanks for the link, Trevor. I enabled DDB in the kernel ("options DDB") > in > > order to prevent the reboot and learned that the VirtualBox kernel module > > was > > causing the hold-up (I use VirtualBox very often, so I load the module at > > start-up). I'd forgotten to *rebuild the module after updating the > > kernel.* I > > feel foolish for having forgotten that---I've been using VirtualBox for > > years---but all is well now. Thanks for the pointers, and sorry for > > cluttering > > the list with such an inane issue. The quote in my signature seems > fitting > > in > > this case. Anyway, take care, all. > > > > - Brandon > > > > Put "PORTS_MODULES=emulators/virtualbox-ose-kmod" into /etc/src.conf and > it will be rebuilt when the kernel is built. Add others ports that install > kernel modules as well. Space delimit multiple modules. (The documentation > is not too clear about multiple modules. > Unfortunately, this does not work for locked ports. However, the kmod ports must be locked, or else they would be upgraded by 'pkg upgrade' to some unusable version. Maybe PORTS_MODULES should handle locked ports. -- > Kevin Oberman, Network Engineer, Retired > E-mail: rkoberman@gmail.com > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Tue May 26 14:37:11 2015 Return-Path: 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 F005B2A3 for ; Tue, 26 May 2015 14:37:11 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A2E489EB for ; Tue, 26 May 2015 14:37:11 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id t4QEb2Ij029724 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 26 May 2015 08:37:02 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id t4QEb2m3029721; Tue, 26 May 2015 08:37:02 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 26 May 2015 08:37:02 -0600 (MDT) From: Warren Block To: Brandon Wandersee cc: Trevor Roydhouse , freebsd-stable@freebsd.org Subject: Re: Kernel fails to boot after update In-Reply-To: <20150525174007.GA6272@WorkBox.Home> Message-ID: References: <20150525025607.GA1071@WorkBox.Home> <5562AC10.8040702@sentry.org> <20150525174007.GA6272@WorkBox.Home> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 26 May 2015 08:37:02 -0600 (MDT) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2015 14:37:12 -0000 On Mon, 25 May 2015, Brandon Wandersee wrote: > On 05/25, Trevor Roydhouse wrote: >> >> https://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-options.html >> >> Cheers, >> TREV. >> > > Thanks for the link, Trevor. I enabled DDB in the kernel ("options DDB") in > order to prevent the reboot and learned that the VirtualBox kernel module was > causing the hold-up (I use VirtualBox very often, so I load the module at > start-up). I'd forgotten to *rebuild the module after updating the kernel.* I > feel foolish for having forgotten that---I've been using VirtualBox for > years---but all is well now. Thanks for the pointers, and sorry for cluttering > the list with such an inane issue. The quote in my signature seems fitting in > this case. Anyway, take care, all. This bit me also. I usually do not rebuild port kernel modules until after a reboot in the new system, and this is the first time that there was a problem with that. A boot from mfsBSD and temporarily commenting out vboxdrv_load="YES" in /boot/loader.conf was the workaround. From owner-freebsd-stable@FreeBSD.ORG Tue May 26 18:06:54 2015 Return-Path: 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 2D90847E for ; Tue, 26 May 2015 18:06:54 +0000 (UTC) (envelope-from torfinn.ingolfsen@getmail.no) Received: from bouvier.getmail.no (bouvier.getmail.no [84.210.184.8]) by mx1.freebsd.org (Postfix) with ESMTP id D9EDB89E for ; Tue, 26 May 2015 18:06:53 +0000 (UTC) (envelope-from torfinn.ingolfsen@getmail.no) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id 3CEEB40E0E for ; Tue, 26 May 2015 20:00:08 +0200 (CEST) Received: from bouvier.getmail.no ([127.0.0.1]) by localhost (bouvier.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id xSVj6SO7quKB for ; Tue, 26 May 2015 20:00:07 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id C81BC40D1A for ; Tue, 26 May 2015 20:00:07 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.8.4 bouvier.getmail.no C81BC40D1A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1432663207; bh=hdcbyJc1XvZ62yw4CrK7HKHjGjJ5RSiWc3xf4LkWz3A=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=JW7Z1Wsl2poWu274WIwtp0bgrmMwY4GI4BnH3WadX8pd5uTcN8Tfpz/xOR54WJ8K0 azkrqlNGFNlULkAN5fedNhxnd7aEoUxK3ccYIm4r+4BJQHnQTb9SimOQPBYZ8jcmSB vaaSoKdMaLGWHvPbDyb5McUMWcTEVCtYxY7l1Ymo= X-Virus-Scanned: amavisd-new at bouvier.get.c.bitbit.net Received: from bouvier.getmail.no ([127.0.0.1]) by localhost (bouvier.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id lQF2jBC6CFY3 for ; Tue, 26 May 2015 20:00:07 +0200 (CEST) Received: from kg-core1.kg4.no (cm-84.215.180.206.getinternet.no [84.215.180.206]) by bouvier.getmail.no (Postfix) with ESMTPSA id 972BE40E91 for ; Tue, 26 May 2015 20:00:07 +0200 (CEST) Date: Tue, 26 May 2015 20:00:07 +0200 From: Torfinn Ingolfsen To: freebsd-stable@freebsd.org Subject: FreeBSD 10.1-stable: repeatable panic when trying to copy files from an ext3 filesystem mounted read-only Message-Id: <20150526200007.39c4ba599cd4cd83f3c779df@getmail.no> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.27; amd64-portbld-freebsd9.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2015 18:06:54 -0000 Hello, I get a repeatable panic when trying to cpy files from an ext3 filesystewm which is mounted read-only. Listing files works ok. Details: root@kg-u35jc# uname -a FreeBSD kg-u35jc.kg4.no 10.1-STABLE FreeBSD 10.1-STABLE #0 r283269: Fri May 22 09:14:57 CEST 2015 root@kg-u35jc.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 Steps to reproduce: # kldload ext2fs # mount -r -t ext2fs /dev/ada0s5 /mnt # cp /mnt/whatever-file Results in a nice panic: root@kg-u35jc# cat /var/crash/info.0 Dump header from device /dev/ada0s3b Architecture: amd64 Architecture Version: 2 Dump Length: 1075154944B (1025 MB) Blocksize: 512 Dumptime: Mon May 25 20:07:55 2015 Hostname: kg-u35jc.kg4.no Magic: FreeBSD Kernel Dump Version String: FreeBSD 10.1-STABLE #0 r283269: Fri May 22 09:14:57 CEST 2015 root@kg-u35jc.kg4.no:/usr/obj/usr/src/sys/GENERIC Panic String: __lockmgr_args: recursing on non recursive lockmgr getblk @ (null):0 Dump Parity: 3531684913 Bounds: 0 Dump Status: good which is easy to reproduce: root@kg-u35jc# cat /var/crash/info.1 Dump header from device /dev/ada0s3b Architecture: amd64 Architecture Version: 2 Dump Length: 478572544B (456 MB) Blocksize: 512 Dumptime: Mon May 25 20:24:29 2015 Hostname: kg-u35jc.kg4.no Magic: FreeBSD Kernel Dump Version String: FreeBSD 10.1-STABLE #0 r283269: Fri May 22 09:14:57 CEST 2015 root@kg-u35jc.kg4.no:/usr/obj/usr/src/sys/GENERIC Panic String: __lockmgr_args: recursing on non recursive lockmgr getblk @ (null):0 Dump Parity: 4100829037 Bounds: 1 Dump Status: good Is this a known problem ( I tried searching, but didn't find anything), or should I put it into Bugzilla? (core.txt.[01] are available, but largish at over 200K each, so I didn't try to get the mailing list to accept them) -- Torfinn Ingolfsen From owner-freebsd-stable@FreeBSD.ORG Wed May 27 02:22:18 2015 Return-Path: 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 99893A76 for ; Wed, 27 May 2015 02:22:18 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery6.ore.mailhop.org (pmta2.delivery6.ore.mailhop.org [54.200.129.228]) by mx1.freebsd.org (Postfix) with SMTP id 7A0A1D44 for ; Wed, 27 May 2015 02:22:18 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from ilsoft.org (unknown [73.34.117.227]) by outbound2.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Wed, 27 May 2015 02:22:37 +0000 (UTC) Received: from revolution.hippie.lan (revolution.hippie.lan [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t4R2MF2K014502; Tue, 26 May 2015 20:22:15 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1432693335.1200.63.camel@freebsd.org> Subject: Re: How do I build a brand new /etc? From: Ian Lepore To: kpneal@pobox.com Cc: freebsd-stable@freebsd.org Date: Tue, 26 May 2015 20:22:15 -0600 In-Reply-To: <20150527022015.GA19633@neutralgood.org> References: <20150527022015.GA19633@neutralgood.org> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.12.10 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2015 02:22:18 -0000 On Tue, 2015-05-26 at 22:20 -0400, kpneal@pobox.com wrote: > So, I built a new 9.3-p14 with these commands: > > #! /bin/sh > > set -x > export DESTDIR=/ROOT/in_progress/ > export MAKEOBJDIRPREFIX=$DESTDIR/usr/obj > > cd $DESTDIR/usr/src > > make buildworld && > make buildkernel > > > Then as root I: > make installkernel && > make installworld > > ... with DESTDIR and MAKEOBJDIRPREFIX set in the environment. > > This gave me a nearly full install. The only thing lacking is the new > /etc. The /etc in the $DESTDIR contains the usual 20+ subdirectories, > but no files. > > How do I populate an empty /etc? > make distribution -- Ian From owner-freebsd-stable@FreeBSD.ORG Thu May 28 11:41:15 2015 Return-Path: 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 93AA5156 for ; Thu, 28 May 2015 11:41:15 +0000 (UTC) (envelope-from support@greydot.me) Received: from mail.riotus.net (mail.riotus.net [188.226.193.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3EE841DA for ; Thu, 28 May 2015 11:41:13 +0000 (UTC) (envelope-from support@greydot.me) Received: by mail.riotus.net (Postfix, from userid 0) id 92C99217FA; Thu, 28 May 2015 11:41:11 +0000 (UTC) To: freebsd-stable@freebsd.org Subject: New Telecoms Company Launched in South Africa X-PHP-Originating-Script: 0:camp6.php Date: Thu, 28 May 2015 13:41:11 +0200 From: "support@riotus.net" Reply-To: "support@riotus.net" Message-ID: <4ded1b268bb410b3620a0ac99c306ed1@localhost.localdomain> X-Priority: 3 X-Mailer: PHPMailer 5.2.2-rc2 (http://code.google.com/a/apache-extras.org/p/phpmailer/) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2015 11:41:15 -0000 Good day, Allow me a moment to introduce a new way of making phone calls. It will save you a lot of money and I promise it will be worth it in many ways. It's called Greydot Mobile Greydot Mobile's concept is so simple, anyone can use it: You open our web site on your phone, tablet or PC. You enter the number where you want to receive the call. This could be your home, office, landline, mobile phone, payphone or hotel room, in fact anywhere where we can call you directly. You provide the number you want to call.(Optionally you may decide to record the call, which you can freely download as an mp3 later). You press the Call button on the web site. Your phone rings! You answer it, you hear ringing. The other person answers the call. You're connected! It's that simple and beautifully elegant. Try it now, call.greydot.me But wait a freaky minute, you're now paying Greydot Mobile's rates for this call, which are much,much less than your current network overcharges you. As neither you nor the caller pays to receive calls your only cost for the call is now charged by Greydot Mobile: Greydot Mobile bills per second, from the first second with no minimum call charge, all from your prepaid wallet. Greydot Mobile is free to join, there are no contracts or subscriptions and you only pay for the calls you make. With Greydot Mobile there is no need to change your SIM card or switch networks or stand in line filling in forms. Signup is online and is as easy as 1-2-3. Greydot Mobile works on any phone on any network in any country. Greydot Mobile is not Voip and so there are no expensive data transfers, just perfect quality. Greydot Mobile believes in its service and quality, so much so, we'll give you your first call absolutely and entirely free. Try it now, call.greydot.me But wait read on, you haven't heard the best part yet: Greydot Mobile pays you a portion of the profit on the call back in the form of a Rewards Program. Not only on your calls but on the calls of others that you've referred to Greydot Mobile forever and ever. Use your rewards to buy more airtime or cash it in for money. It literary pays to use Greydot Mobile, so try it and let your friends know. But why are Greydot Mobile's rates so phenomenally low? Simple, we're a genuine, fully registered Telecoms Company. This makes us part of the exclusive telecoms club where we buy minutes at wholesale from other networks. We don't own glass buildings next to freeways or advertise on TV or rename stadiums so our costs are much lower than your current network. In turn we pass these cost savings onto you. Although different, it's perfectly legal everywhere on the planet. We pay your current network to deliver the call to you, so they might earn less, but won't be going out of business anytime soon. Try it now, call.greydot.me If you have any questions, simply reply to this email and I'll try and answer them quickly. Thanks again for your time. To be removed from this mailing list use this link : http://mail.riotus.net/noMore.php From owner-freebsd-stable@FreeBSD.ORG Thu May 28 23:01:25 2015 Return-Path: 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 3196E82F for ; Thu, 28 May 2015 23:01:25 +0000 (UTC) (envelope-from jenkins-admin@freebsd.org) Received: from jenkins-9.freebsd.org (jenkins-9.freebsd.org [8.8.178.209]) by mx1.freebsd.org (Postfix) with ESMTP id 1CF5033A for ; Thu, 28 May 2015 23:01:25 +0000 (UTC) (envelope-from jenkins-admin@freebsd.org) Received: from jenkins-9.freebsd.org (localhost [127.0.0.1]) by jenkins-9.freebsd.org (Postfix) with ESMTP id 431B8537 for ; Thu, 28 May 2015 23:01:23 +0000 (UTC) Date: Thu, 28 May 2015 23:01:21 +0000 (GMT) From: jenkins-admin@freebsd.org To: freebsd-stable@freebsd.org Message-ID: <2065849970.8.1432854083050.JavaMail.jenkins@jenkins-9.freebsd.org> Subject: Build failed in Jenkins: Build-UFS-image #1732 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Instance-Identity: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkKKb2VAfYQKfu1t7qk4nR5qzUBEI+UqT4BPec4qHVhqUy0FFdq50sMH+3y9bCDNOufctov6VqTNffZ3YXArnZK95YF0OX97fh+E9txYOUX1adc+TikcKjuYpHmL5dE62eaZTI+4A5jnRonskQ1PaoIFz0Kbu4mWzkFsmdiXTraGzomXq4cHUCATA2+K4eDYgjXEQI30z3GOMmmZ4t/+6QGk1cMb/BqMWHbn80AsRCb4tU7Hpd72XLDpsuO7YRP1Q0CjmNAuBOTj+sFiiOe6U9HpqOlQN+iFUvBdZo/ybuy5Kh71cAaYQNL68cYdZJ6binH/DkG3KY/fS7DFYAeuwjwIDAQAB X-Jenkins-Job: Build-UFS-image X-Jenkins-Result: FAILURE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2015 23:01:25 -0000 See ------------------------------------------ [...truncated 16087 lines...] Australia/Broken_Hill Australia/Perth Australia/Adelaide Australia/Currie Australia/Lord_Howe Australia/Hobart Australia/Lindeman CET CST6CDT EET EST EST5EDT Etc/GMT+5 Etc/GMT-1 Etc/GMT-6 Etc/GMT-12 Etc/GMT Etc/GMT+8 Etc/GMT+2 Etc/GMT+6 Etc/GMT-8 Etc/GMT+10 Etc/GMT-2 Etc/Universal Etc/GMT-5 Etc/GMT0 Etc/GMT-11 Etc/GMT+1 Etc/GMT+3 Etc/GMT+9 Etc/GMT-7 Etc/GMT-13 Etc/UTC Etc/GMT-14 Etc/GMT+12 Etc/GMT-0 Etc/GMT+4 Etc/GMT+0 Etc/GMT-4 Etc/GMT-10 Etc/GMT+11 Etc/GMT-3 Etc/GMT-9 Etc/Greenwich Etc/Zulu Etc/GMT+7 Etc/UCT Europe/Zurich Europe/Bucharest Europe/Amsterdam Europe/Paris Europe/Dublin Europe/Prague Europe/Oslo Europe/Chisinau Europe/Berlin Europe/Monaco Europe/Copenhagen Europe/Mariehamn Europe/Tirane Europe/Simferopol Europe/Vienna Europe/Brussels Europe/Isle_of_Man Europe/Malta Europe/Ljubljana Europe/Volgograd Europe/Vilnius Europe/Stockholm Europe/Madrid Europe/Bratislava Europe/Belgrade Europe/Luxembourg Europe/Vatican Europe/Helsinki Europe/Zaporozhye Europe/Gibraltar Europe/Busingen Europe/Riga Europe/Tallinn Europe/Uzhgorod Europe/Budapest Europe/Andorra Europe/Jersey Europe/Podgorica Europe/Samara Europe/Nicosia Europe/Sarajevo Europe/Vaduz Europe/Rome Europe/Athens Europe/San_Marino Europe/Moscow Europe/Warsaw Europe/Kiev Europe/Skopje Europe/Istanbul Europe/Sofia Europe/Kaliningrad Europe/London Europe/Guernsey Europe/Lisbon Europe/Zagreb Europe/Minsk Factory HST Indian/Antananarivo Indian/Christmas Indian/Maldives Indian/Chagos Indian/Kerguelen Indian/Mahe Indian/Reunion Indian/Mauritius Indian/Cocos Indian/Mayotte Indian/Comoro MET MST MST7MDT PST8PDT Pacific/Johnston Pacific/Kwajalein Pacific/Kiritimati Pacific/Midway Pacific/Port_Moresby Pacific/Bougainville Pacific/Noumea Pacific/Tahiti Pacific/Pohnpei Pacific/Niue Pacific/Easter Pacific/Efate Pacific/Galapagos Pacific/Fiji Pacific/Honolulu Pacific/Tongatapu Pacific/Palau Pacific/Rarotonga Pacific/Apia Pacific/Saipan Pacific/Nauru Pacific/Marquesas Pacific/Guam Pacific/Enderbury Pacific/Kosrae Pacific/Fakaofo Pacific/Auckland Pacific/Majuro Pacific/Wake Pacific/Chuuk Pacific/Pago_Pago Pacific/Tarawa Pacific/Gambier Pacific/Guadalcanal Pacific/Chatham Pacific/Funafuti Pacific/Pitcairn Pacific/Norfolk Pacific/Wallis UTC WET posixrules install -o root -g wheel -m 444 /builds/FreeBSD_stable_10/share/zoneinfo/../../contrib/tzdata//zone.tab Run tzsetup(8) manually to update /etc/localtime. ===> sys (install) ===> sys/boot (install) ===> sys/boot/efi (install) ===> sys/boot/efi/libefi (install) ===> sys/boot/libstand32 (install) ===> sys/boot/zfs (install) ===> sys/boot/userboot (install) ===> sys/boot/userboot/ficl (install) ===> sys/boot/userboot/libstand (install) ===> sys/boot/userboot/test (install) ===> sys/boot/userboot/zfs (install) ===> sys/boot/userboot/userboot (install) install -o root -g wheel -m 444 userboot.so install -o root -g wheel -m 444 loader.8.gz install -o root -g wheel -m 444 zfsloader.8.gz ===> sys/boot/ficl32 (install) ===> sys/boot/ficl (install) ===> sys/boot/forth (install) install -o root -g wheel -m 444 beastie.4th.8.gz install -o root -g wheel -m 444 brand.4th.8.gz install -o root -g wheel -m 444 check-password.4th.8.gz install -o root -g wheel -m 444 color.4th.8.gz install -o root -g wheel -m 444 delay.4th.8.gz install -o root -g wheel -m 444 loader.conf.5.gz install -o root -g wheel -m 444 loader.4th.8.gz install -o root -g wheel -m 444 menu.4th.8.gz install -o root -g wheel -m 444 menusets.4th.8.gz ===> sys/boot/amd64 (install) ===> sys/boot/amd64/efi (install) install -o root -g wheel -m 555 loader.efi install -o root -g wheel -m 444 loader.8.gz install -o root -g wheel -m 444 zfsloader.8.gz ===> sys/boot/amd64/boot1.efi (install) install -o root -g wheel -m 555 boot1.efi install -o root -g wheel -m 444 boot1.efifat ===> sys/boot/i386 (install) ===> sys/boot/i386/mbr (install) install -o root -g wheel -m 444 mbr ===> sys/boot/i386/pmbr (install) install -o root -g wheel -m 444 pmbr ===> sys/boot/i386/boot0 (install) install -o root -g wheel -m 444 boot0 ===> sys/boot/i386/boot0sio (install) install -o root -g wheel -m 444 boot0 ===> sys/boot/i386/btx (install) ===> sys/boot/i386/btx/btx (install) ===> sys/boot/i386/btx/btxldr (install) ===> sys/boot/i386/btx/lib (install) ===> sys/boot/i386/boot2 (install) ls: not found arithmetic expression: expecting primary: "7680-" *** Error code 2 Stop. make[7]: stopped in /builds/FreeBSD_stable_10/sys/boot/i386/boot2 *** Error code 1 Stop. make[6]: stopped in /builds/FreeBSD_stable_10/sys/boot/i386 *** Error code 1 Stop. make[5]: stopped in /builds/FreeBSD_stable_10/sys/boot *** Error code 1 Stop. make[4]: stopped in /builds/FreeBSD_stable_10/sys *** Error code 1 Stop. make[3]: stopped in /builds/FreeBSD_stable_10 *** Error code 1 Stop. make[2]: stopped in /builds/FreeBSD_stable_10 *** Error code 1 Stop. make[1]: stopped in /builds/FreeBSD_stable_10 *** Error code 1 Stop. make: stopped in /builds/FreeBSD_stable_10 Build step 'Execute shell' marked build as failure From owner-freebsd-stable@FreeBSD.ORG Fri May 29 17:17:42 2015 Return-Path: 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 63C67731 for ; Fri, 29 May 2015 17:17:42 +0000 (UTC) (envelope-from clan@wheel.dk) Received: from freesbee.wheel.dk (freesbee.wheel.dk [IPv6:2001:6c8:130::97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freesbee.wheel.dk", Issuer "RapidSSL SHA256 CA - G3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2445A173C for ; Fri, 29 May 2015 17:17:41 +0000 (UTC) (envelope-from clan@wheel.dk) Received: by freesbee.wheel.dk (Postfix, from userid 1023) id 6FF19371C82; Fri, 29 May 2015 19:17:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wheel.dk; s=20131204; t=1432919851; bh=qaKYexxfYqFSP/dvhm5RwpXyOXF4cDrD8jIUhmvQIfs=; h=Date:From:To:Subject:In-Reply-To:References; b=aA9UNm3vvT5BcaokbdvVUah3daQEJvDCr/AS5Zb19nPXo33IWAiCLhouTF5oRYRFZ Frkk3aqADhq/SigWKGvzutgISDWDvVdxG+DAOzvfFuBBr0Ya9Y8td+O/USXEooFz1+ siWLRDoi+5lW/k1be55m3+s9r9xeVNb9zUWAMwPdviSBTLRehr+yrsplVqPvc3/1W/ t6mMnJO3hyTFY1npR4qBthWCyKdtvXqYIf0tYCgjz42eUKuQsV1ml8dPoNa5Zjv93G 9NQNnxR2vLXSM1TzL2mOHelB9rHQwo1FpduxivixX8LLjrP/23RsZ+4CjY+HImVfRG XgSnrk/uY7dpQ== Received: from localhost (localhost [127.0.0.1]) by freesbee.wheel.dk (Postfix) with ESMTP id 6E891371C81 for ; Fri, 29 May 2015 19:17:31 +0200 (CEST) Date: Fri, 29 May 2015 19:17:31 +0200 (CEST) From: Claus Andersen To: freebsd-stable@freebsd.org Subject: [SOLVED][BUG??] Re: Unattended install using bsdinstall and ZFS In-Reply-To: <555B141A.3000901@quip.cz> Message-ID: References: <555B141A.3000901@quip.cz> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 17:17:42 -0000 Hi! A quick re-cap: Want to do an unattended FreeBSD install using bsdinstall and ZFS. I now have a workaround and consider crying wol^H^H^Hbug. The following minimal install script works as expected for UFS: install-ufs.txt DISTRIBUTIONS="kernel.txz base.txz" RELEASE="10.1" PARTITIONS="da0" #!/bin/sh echo "Ready for post installation damage..." Invoke with: bsdinstall script install-ufs.txt Now switching to ZFS I would expect the following to work: install-zfs1.txt DISTRIBUTIONS="kernel.txz base.txz" RELEASE="10.1" ZFSBOOT_DISKS="da0 da1" ZFSBOOT_VDEV_TYPE="mirror" #!/bin/sh echo "Ready for post installation damage..." Invoke with: bsdinstall script install-zfs1.txt Failure: - ZFSBOOT_DISKS, ZFSBOOT_VDEV_TYPE not picked up - Asks for ZFS configuration interactively Miroslav Lachman hinted that from looking at the source I should set NONINTERACTIVE. This does not work. Hours later I have figure out the following which works(tm): install-zfs2.txt DISTRIBUTIONS="kernel.txz base.txz" RELEASE="10.1" export ZFSBOOT_DISKS="da0 da1" export ZFSBOOT_VDEV_TYPE="mirror" export nonInteractive="YES" #!/bin/sh echo "Ready for post installation damage..." Invoke with: bsdinstall script install-zfs2.txt This works as expected but it does not sit nice with me. But I am no guru so I would be very very happy if anyone can confirm if my findings are bogus or not? There is a huge number of indirect variables which really confuses me! It seems that either someone is putting in a lot of indirections but is not done yet - or vice versa. So "proper" usage is up in the air. Findings: - CAPITAL letters are used for "input" variables - CamelCase is used for "internal" variables. - NONINTERACTIVE should be set by default when using "bsdinstall script" - Setting NONINTERACTIVE manually is not picked up - Setting nonInteractive works but is bad practice and not intended by design - Doing export as part of the bsdinstall script is not what was intended by design Does these findings sound reasonable? If so - would it be fair to consider the current functionality a bug? Or am I too stupid to get the feature? I can file a PR and help out with test and documentation. But the current incarnation of bsdinstall is too convoluted for my low level of script-fu. Kind Regards, Claus Andersen