From owner-freebsd-stable@FreeBSD.ORG Wed Nov 14 20:39:42 2007 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 CE89C16A41B for ; Wed, 14 Nov 2007 20:39:42 +0000 (UTC) (envelope-from me@janh.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.179]) by mx1.freebsd.org (Postfix) with ESMTP id 67F4913C474 for ; Wed, 14 Nov 2007 20:39:41 +0000 (UTC) (envelope-from me@janh.de) Received: from janh.freebsd (d187105.adsl.hansenet.de [80.171.187.105]) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis) id 0ML31I-1IsP1Q2vvC-0003m9; Wed, 14 Nov 2007 21:39:41 +0100 Message-ID: <473B5D10.1070109@janh.de> Date: Wed, 14 Nov 2007 21:39:44 +0100 From: Jan Henrik Sylvester User-Agent: Thunderbird 2.0.0.6 (X11/20071031) MIME-Version: 1.0 To: stable-list freebsd Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1/aaqenyROamFIVLmZyzS3I0+mEPmEsuCCk/rt V3cNTrJ8oC+w/va62QU+F5STifbKuh+CLMfNpGB7bPO6+RNPJ8 6ofHehcqKeRR2YLePj3dg== Subject: freebsd-update 6.2-R -> 6.3-B1 rollback failed 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, 14 Nov 2007 20:39:42 -0000 I tried to rollback the freebsd-update 6.2-R -> 6.3-B1. (The reason was to freebsd-update to 6.3-B2 with the possibility of doing a rollback to 6.2-R.) It printed quite a few lines of /libexec/ld-elf.so.1: grep: Undefined symbol "__sbmaskrune" and /libexec/ld-elf.so.1: sort: Undefined symbol "__sbmaskrune" but finished with a 'done.' Thus I did a reboot. It rebooted into 6.3-B1 and because of the missing symbol nothing but the stuff in /rescue works. I guess it was my fault, because on some of my 6.2 machines I had a patch for libexec/rtld-elf/rtld.c adding the symbol _dlsym that was needed for linux-flashplugin-7 at some time. This was probably one of these machines that had a GENERIC/SMP kernel but modified elf loader. Anyhow, if that really is the cause, IMHO the update should have complained about the incorrect file and not have the rollback fail. (6.3-B1 was running fine.) Now, how do I get this machine running again? I tried to replace ld-elf.so.1 with a copy from a GENERIC 6.2-R, but this obviously cannot work, since the kernel booting is still 6.3-B1. I guess I need the file from that version, but I do not have another 6.3-B* here. Could anybody send me ld-elf.so.1 from 6.3-B* via email? Or do I have it in some temporary directory from freebsd-update? In case I get the machine to boot again, how should I proceed? Is the machine now a mixture of 6.2-R and 6.3-B1? Can I get it into a sane state without recompiling the kernel? (The machine is _really_ slow.) If my modified 6.2-R version of ld-elf.so.1 was the cause of all this, freebsd-update should print a warning asking the user if really all of the kernel is GENERIC/SMP or better check for it. Otherwise, this really is a bug. At least now I do know what /rescue is for... Thanks, Jan Henrik