From owner-freebsd-stable@FreeBSD.ORG Wed Mar 17 15:11:42 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBFEE106567B for ; Wed, 17 Mar 2010 15:11:42 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 5E9BA8FC17 for ; Wed, 17 Mar 2010 15:11:42 +0000 (UTC) Received: by ewy26 with SMTP id 26so468907ewy.3 for ; Wed, 17 Mar 2010 08:11:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=UydrcbjG9Viq8tJTHoUfkopFWpizG3MGz6KG2Y0gM/c=; b=TGWZ8B8obaD51LGk3AaUvGBQ8SlA/FORPAJqLtk4Dm6HGTwJHLNAZQ5m81TAqrdOda FJziPxrtbELSBPBFgB1jg7Ttj3qu6HqMSEWogRLLy+Ew5LQG4gmmxJlo9xP2LJYT2Ezm iOuWdcIyDOSd6OhlJxJxVl07tcyAUOBhldojI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=aLVt3MHnji/YEHbNYv87NGtRFT7JgFZp5ln5nAEGen1X/hH+XVH6tlkrfN6oU3UYVj s4rU/BX5ZYa446tbQGYBaVSMwzlALvFQfOJpJIa1BnCZ6bhnrRkjeyGyHCHi8YXlNPLB Nd+o8cVlHITuayf6ytrEhtNhSrtsnttroG21E= MIME-Version: 1.0 Received: by 10.213.37.14 with SMTP id v14mr6684900ebd.28.1268838700266; Wed, 17 Mar 2010 08:11:40 -0700 (PDT) In-Reply-To: References: <2e027be01003170732y4ae4312fof9bf64e3574c964a@mail.gmail.com> Date: Wed, 17 Mar 2010 15:11:40 +0000 Message-ID: <2e027be01003170811p9499dcax89a78820c08740ea@mail.gmail.com> From: Tom Evans To: Cristiano Deana Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Stable Mailing List Subject: Re: 7.2-p7 -> 8-STABLE mergemaster core dump X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 17 Mar 2010 15:11:42 -0000 On Wed, Mar 17, 2010 at 2:37 PM, Cristiano Deana wrote: > On Wed, Mar 17, 2010 at 3:32 PM, Tom Evans wrote: > >>> make update >>> make buildworld && make kernel && make installworld >>> mergemaster >>> and i got a "bad system call (core dumped)". > >> You can't always run new userland on an old kernel, but you can always >> run old userland on a new kernel, which is why the process you went >> through is not the canonical way. See the handbook or >> /usr/src/UPDATING: > > yes, i knew. > but i was updating via ssh, so forget "run in single user". i also > know the exact procedure, but i upgrade hundreds of times before today > making this procedure and always went fine. > > i was just wondering if was a "one at a time" upgrade failure OR if > THIS upgrade (7.2 -> 8) have this problem. > > thanks all. > > btw, reboot without mergmaster and system was on again. mergemaster, > reboot and it's ready. > lucky me and thanks to freebsd > It will happen whenever you upgrade incorrectly and the newly installed userland requires syscalls that aren't present in your kernel. You need to be running your new kernel when you install your new world. What can go wrong if you don't do this order? Well, as you can see, you couldn't run mergemaster (and probably many other programs) until running your new kernel. If your new kernel did not boot successfully, you would be left with a kernel.old that boots but cant run the userland and a kernel that does not boot that can run the userland - in other words, you would be screwed. When switching major versions, there is always the chance that something major changes, so I'd try to avoid risky behaviour. YMMV. Cheers Tom