From owner-freebsd-stable@freebsd.org Sat Jul 30 23:20:54 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F351BA91C6 for ; Sat, 30 Jul 2016 23:20:54 +0000 (UTC) (envelope-from cowbert@gmail.com) Received: from mail-oi0-x231.google.com (mail-oi0-x231.google.com [IPv6:2607:f8b0:4003:c06::231]) (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 77DB21861 for ; Sat, 30 Jul 2016 23:20:54 +0000 (UTC) (envelope-from cowbert@gmail.com) Received: by mail-oi0-x231.google.com with SMTP id l65so150618854oib.1 for ; Sat, 30 Jul 2016 16:20:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=3Pg8XLjif9i9bC6anLLvTWYGh7QVpp82Kf1e7rzCDH8=; b=vR7qE6nG+5EHUwmqWFotZJ9BQ3GaRIfwQvEuAd0l5RHuWxvxeJMTyKCKSzGSi2jItG gIZYyoAmMbOl/YvWnbXuHu+976uk+ahEMfXQwP95hXTrtv9LMIh/gaeXGQvuxMT/Hqgy pFw2YHokBO5MFF+Om2gWwahgX8u7/Icgjo8IAHklI7+zwbGL6FhYrLWLoe556o4jJB6z pv6/t+yKhutkHs4P/bUlNR1KSfJB56p8rqWbcR0Q/VBIbYxxlDyhCmiQaUGhDYiTko3K 9Qh1Uop8Scg1E9SBWyvofKua3CDXQ1uFLFawncUrPPGJZr65/a6fwvr9D5V/VKtDmiwu 9Fcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=3Pg8XLjif9i9bC6anLLvTWYGh7QVpp82Kf1e7rzCDH8=; b=hd0AYZ8zJICtPEU1R9rkrB8XRvDB3Olk3DlVesae4/l0Kgk9+a/e1WkWwyCAefZvDi XUkdno/WERWgfk27K0u4viQP4/BFfsL5e5U3IHC7LoVgzGjfdktajVOaJb6t0SEvkUw1 QklzvSxlETMyDsvuLrSMsgz6Bn5d76oQpqrEaY5PayWnEg3Z4CcmQCbbzRazo0HnGUG5 YWMWDEIaqC39pF+4cw5GGOLkWPv9Hj4PdAr9glItdTPC7P7WiJE1R7ShcXVdC5H1BC+B Kx65TEcpi2uQnc/JU8IwkXFdhi/G/om48M0t+USHjyKh7OWawGdUuLbFmvMORbG8pofO KgFg== X-Gm-Message-State: AEkoous2Yk/m+QwTDNqYbI8pxPAXZKCtlkXMfYJuo65mIWJ8HNDUKVvf5sfWfXe+V0GiApy5hEyPtcJCfrnL5Q== X-Received: by 10.157.12.207 with SMTP id o15mr218180otd.0.1469920853516; Sat, 30 Jul 2016 16:20:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.37.193 with HTTP; Sat, 30 Jul 2016 16:20:52 -0700 (PDT) From: Peter Lai Date: Sat, 30 Jul 2016 19:20:52 -0400 Message-ID: Subject: freebsd-update 10.0 -> 10.3 segmentation fault To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jul 2016 23:20:54 -0000 I wanted to updating an old 10.0-R-? system to 10.3 and tried to see if I could go from 10.0 to 10.3 using freebsd-update. I got segfaults during the freebsd-update install portion and the base binaries got trashed. Is going up multiple minor versions unsupported with freebsd-update or something? (I haven't played with freebsd-update in a long long time but a 9.x -> 10.0 worked fine the last time I did it several years ago.) I also tried this foolishly on a remote machine, fortunately my ssh session stayed intact, so I was able to use /rescue/nc to retrieve a copy of 10.3/base.txz and a backup of /etc (which freebsd-update also destroyed, even though the merge looked fine to me). I restored the ability to ssh back into the machine. Based on sha256 I think by now, after restoring /bin, /lib, /libexec, /sbin, /usr from base.txz I have Percival's 10.3-R-p4 kernel running with a 10.3-R userland (I retrieved base.txz from ftp.freebsd.org/pub/FreeBSD/releases/amd64/10.3-RELEASE), so I'm not sure if I want to pull down sources and track -RELEASE using svn/buildworld or if I should try to backup this kernel (which is working) and reinstall the 10.3-R kernel from base.txz and see if I freebsd-update will work in the future 10.3 -> 11.