From owner-freebsd-amd64@FreeBSD.ORG Wed Dec 15 10:49:23 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DCB616A4CE for ; Wed, 15 Dec 2004 10:49:23 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B7AA43D49 for ; Wed, 15 Dec 2004 10:49:22 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iBFAnKHF002098; Wed, 15 Dec 2004 12:49:20 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 79314-14; Wed, 15 Dec 2004 12:49:20 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iBFAnJ3F002094 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 15 Dec 2004 12:49:20 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id iBFAnNQv027445; Wed, 15 Dec 2004 12:49:23 +0200 (EET) (envelope-from ru) Date: Wed, 15 Dec 2004 12:49:22 +0200 From: Ruslan Ermilov To: Sean McNeil Message-ID: <20041215104922.GN25967@ip.net.ua> References: <1103059661.47262.6.camel@server.mcneil.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9v2bTOXBzuB5Piju" Content-Disposition: inline In-Reply-To: <1103059661.47262.6.camel@server.mcneil.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: amd64@FreeBSD.org Subject: Re: linux proc, rpm and glibc_post_upgrade X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2004 10:49:23 -0000 --9v2bTOXBzuB5Piju Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 14, 2004 at 01:27:41PM -0800, Sean McNeil wrote: > I decided to take a look at why linux_base is failing to install without > --noscripts. So far, I've found that glibc will not install because >=20 > /compat/linux/usr/sbin/glibc_post_upgrade >=20 > returns 1 when it is executed. Does anyone know where I can get the > source code to this for examination. A quick google got me nowhere. >=20 > Looking at strings output, I see a few things of interest: >=20 > /lib/i686/libc-2.2.4.so > /lib/i686/libm-2.2.4.so > /lib/i686/libpthread-0.9.so > /lib/i686/libc.so.6 > /lib/i686/libm.so.6 > /lib/i686/libpthread.so.0 > /sbin/ldconfig > /usr/sbin/iconvconfig > /sbin/telinit > /dev/initctl > /proc/1/exe > /proc/1/root >=20 > I do not see a /compat/linux/lib/i686 dir. > /compat/linux/proc is unmounted during install. > when mounted, /compat/linux/proc/1/root points to the system root, not > the linux compat root and there is not /compat/linux/proc/1/exe. >=20 I already mentioned that in another thread: sendmsg and recvmsg are known to be broken on amd64, hence exit(1) from glibc_post_upgrade. Installing only glibc-2.2.*.rpm with --noscripts exhibits another problem (from dmesg(8)): linux: pid 24134 (glidelink): sysctl {1,23} is not implemented linux: pid 24134 (glidelink): syscall syslog not implemented pid 24134 (glidelink), uid 0: exited on signal 12 (core dumped) Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --9v2bTOXBzuB5Piju Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBwBayqRfpzJluFF4RArtCAJ9L5p+XNHYZGmb0Ylf7i6twuLYseACfZqSe 0DtWtnhzB10NxT9OqvbHz18= =Z6bL -----END PGP SIGNATURE----- --9v2bTOXBzuB5Piju--