From owner-freebsd-current@FreeBSD.ORG Tue Apr 6 08:37:13 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82779106564A for ; Tue, 6 Apr 2010 08:37:13 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id 0FE928FC0A for ; Tue, 6 Apr 2010 08:37:12 +0000 (UTC) Received: by bwz8 with SMTP id 8so3595306bwz.3 for ; Tue, 06 Apr 2010 01:37:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=r7W7eWgf+RlRY0b/BcriI7Y/oTOn4HUKb+JBC0b/ZDc=; b=L4UR/e59aX9yld4mxp4OqWKhzHfs077yDm9GxEsyk/sF8CS5/TzNCCFmRof88096FP STnnFr5e4/pNVcDHpr855LqC2R3FigTiivHZ5FN+JPnSw7iz2tsazahejm5ghFwc9BNp 1YOJ8o07t8oCoxY5FhMfa1jQyH8YA68AGL28k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=X4W/QKTn7QQtfoBRauMKZqvTanHNIsjCVfmUAGSJU4AoyUhxUrjGrliFm0CS2IsCA6 D2kZFb6M3Jn8gYvF9a2jMt4jJENCrgW3hwL5CZykYXpeBe9dRYjOiqVmYMnkqw+pxhLp wPiBLGdp6DcvcReMWoV1ktFhEm/9Qqexljq7w= MIME-Version: 1.0 Received: by 10.204.47.232 with HTTP; Tue, 6 Apr 2010 01:37:11 -0700 (PDT) In-Reply-To: <20091108143348.GQ2331@deviant.kiev.zoral.com.ua> References: <8f82c35c0911080555x6a0721fem7bc01d3e3ff30bcf@mail.gmail.com> <20091108143348.GQ2331@deviant.kiev.zoral.com.ua> Date: Tue, 6 Apr 2010 12:37:11 +0400 Received: by 10.204.162.199 with SMTP id w7mr7271282bkx.211.1270543031769; Tue, 06 Apr 2010 01:37:11 -0700 (PDT) Message-ID: From: pluknet To: Kostik Belousov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: Samba problems on 8.0-RC2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2010 08:37:13 -0000 On 8 November 2009 17:33, Kostik Belousov wrote: > On Sun, Nov 08, 2009 at 02:55:49PM +0100, Jon Theil Nielsen wrote: >> Hi >> >> After running the latest upgrade for samba33, I cannot start it anymore.= The >> error message is: >> *Starting smbd. >> /libexec/ld-elf.so.1: /usr/local/sbin/smbd: invalid PT_PHDR >> /usr/local/etc/rc.d/samba: WARNING: failed to start smbd* >> uname -a says: >> *mflserver2.mydomain.dk 8.0-RC2 FreeBSD 8.0-RC2 #0: Sun Nov =A08 02:37:4= 5 CET >> 2009 =A0 =A0 root@mydomain.dk:/usr/obj/usr/src/sys/SERVER2 =A0i386* >> I'm not sure if this problem is related to the system or to samba itself= . > > I think you have old rtld, i.e. it misses r197931, but new kernel. > Kernel maps PIE binaries at non-zero base address, that cannot be > properly handled by old rtld. > Hi. I faced this problem today on 7.3 kernel & 7.2 world. quagga refused to start bgpd with error: /libexec/ld-elf.so.1: /usr/local/sbin/bgpd: invalid PT_PHDR. Issue fixed after cp'ing /libexec/ld-elf.so.1 from 7.3 world. So I think the next entry probably needs to be (belatedly) added to 7'th UPDATING and/or errata as (as far as I know) that brakes "newer kernel usually works= with older world" users expectation. 20100119: PIE support has been improved. Kernel maps PIE binaries at non-zero base address. Users need to rebuild rtld(1) to hook up with a new kernel. --=20 wbr, pluknet