Gentoo Archives: gentoo-user

From: "Bo Ørsted Andresen" <bo.andresen@××××.dk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Chroot to new environment complains about kernel
Date: Sat, 16 Dec 2006 03:04:47
Message-Id: 200612160400.22228.bo.andresen@zlin.dk
In Reply to: [gentoo-user] Chroot to new environment complains about kernel by Bertram Scharpf
1 On Friday 15 December 2006 01:54, Bertram Scharpf wrote:
2 > Hi,
3 >
4 > I try to chroot to a brand new environment, freshly unpacked
5 > from stage 3:
6 >
7 > kyle # chroot /mnt/hdb/ /bin/bash
8 > FATAL: kernel too old
9 > kyle # uname -a
10 > Linux kyle 2.6.8-3-686 #1 Tue Dec 5 21:26:38 UTC 2006 i686 GNU/Linux
11 >
12 > After that, I unpacked stage 1. The boostrap worked fine until
13 > during compilation of glibc a command ".././scripts/mkinstalldirs"
14 > stoped with (yes!): "FATAL: kernel too old".
15 >
16 > An strace of the chroot command ends with the uname function
17 > call yielding the above results and returning 0. Then, the
18 > message is output and exit is called.
19 >
20 > Google did not give me any hints.
21
22 It means your running kernel is too old for the version of glibc in your
23 chroot. Either upgrade your kernel or downgrade glibc in the chroot. You can
24 probably do the latter by downloading an older stage3 e.g. 2006.0 (or
25 possibly 2005.x...).
26
27 --
28 Bo Andresen