From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MOZ3L-0007zy-TW for garchives@archives.gentoo.org; Wed, 08 Jul 2009 15:27:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 134E3E083B; Wed, 8 Jul 2009 15:26:43 +0000 (UTC) Received: from mail-ew0-f207.google.com (mail-ew0-f207.google.com [209.85.219.207]) by pigeon.gentoo.org (Postfix) with ESMTP id C9813E083B for ; Wed, 8 Jul 2009 15:26:42 +0000 (UTC) Received: by ewy3 with SMTP id 3so1305641ewy.34 for ; Wed, 08 Jul 2009 08:26:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=XtoWjFGBRtrmKhx9SLBZzbK4OD1T04Dd3HKQInhO8b0=; b=C1bnIO3dvwTzME6mSaUvJXYKUaM4p6ti2JCjqmcP05BV0vUjk86eyLAgCQQksdm6Zh l5W163uxA7WZgl94RtzOtlRmp2QvJlxLzaGJEzp72NeB2fgotOyjplx5vLyZIIy3aXEy 5QVvjXhFKu4mARm8KQZ1CEffFW4jWIvJXPbzg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=NE2gEvSUEHlYhIkvLGwrPnI3evzX/qeq01XmMUnHZlGacr89/X70eyw71SkorL6Lu6 UzHgxvx9c4sfsFVstKkwVGB4egm197v0AT6qKouPm++zJzCitpwYPM0XOh5uDlIU/m8Y vY1qgOIC9aZAq+J5Ve/HIeJg7H4xGY0kqM02g= Received: by 10.210.144.8 with SMTP id r8mr341576ebd.53.1247066802090; Wed, 08 Jul 2009 08:26:42 -0700 (PDT) Received: from nazgul.localnet ([196.210.202.145]) by mx.google.com with ESMTPS id 10sm2446642eyz.11.2009.07.08.08.26.40 (version=SSLv3 cipher=RC4-MD5); Wed, 08 Jul 2009 08:26:41 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Booting a Kernel-2.4 with glibc-2.9? Date: Wed, 8 Jul 2009 17:24:58 +0200 User-Agent: KMail/1.11.4 (Linux/2.6.30-gentoo-r2; KDE/4.2.4; x86_64; ; ) Cc: daid kahl References: <3ac129340907080813s45ff907eq207bcbe2649f73c@mail.gmail.com> In-Reply-To: <3ac129340907080813s45ff907eq207bcbe2649f73c@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907081724.58478.alan.mckinnon@gmail.com> X-Archives-Salt: 145304c0-a814-4401-b204-d4e67a4536d6 X-Archives-Hash: 7ed5891600f5cbe4d52f0e0b2923fcd0 On Wednesday 08 July 2009 17:13:16 daid kahl wrote: > Hello, > > I'm working on upgrading a very old Gentoo system for my work. > > Some software is only running well in 2.4.x kernels, and when doing other > updates I inadvertently updated past glibc-2.3.5, and so now the 2.4 kernel > does not boot (Fatal error, kernel too old). Fortunately there is a 2.6 > kernel on the system so I can still boot. I should have been operating on > a no-nptl profile. > > Although I stopped the upgrade not longer after upgrading glibc, attempting > to downgrading glibc is just about the worst thing I could do. But I don't > really know what other options there are, and I've been Googling for hours > and hours and no solutions. > > Is there any known workaround for booting a 2.4 kernel on a system with > glibc-2.9 installed? I thought perhaps if there is a way to re-install > glibc without nptl (assuming linuxthreads are still around in glibc-2.9) > then it might work, but not sure how to do that. > > I'm very sad right now. In the time it takes you to sort that mess out (including doing the necessary research), I reckon you could do the following: 1. Backup all user data, configs and critical files 2. Download a recent stage that suits your needs 3. Rebuild world plus add all the extra packages you use and do the whole lot three times. If you want a working system, this is the route of least resistance. If you want a learning experience more than a working box, attempt to fix it. To downgrade glibc, search the ebuild for the word "destruction" and comment out the lines providing the no-downgrade safeguard. However, this is indeed a sure path to destruction and you will likely rebuild world several times over to sort it out. [Now you know where the stats in the first part of this mail come from :-)] -- alan dot mckinnon at gmail dot com