Re: [gentoo-user] Chroot to new environment complains about kernel

2006-12-15 Thread Benno Schulenberg
Bertram Scharpf wrote:
 I try to chroot to a brand new environment, freshly unpacked
 from stage 3:

   kyle # chroot /mnt/hdb/ /bin/bash
   FATAL: kernel too old
   kyle # uname -a
   Linux kyle 2.6.8-3-686 #1 Tue Dec 5 21:26:38 UTC 2006 i686

2.6.8?  That's old.  Why not upgrade the kernel to 2.6.16-r13?  
You're trying to chroot from another Gentoo system, right?

Benno
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Chroot to new environment complains about kernel

2006-12-15 Thread Mark Shields

On 12/14/06, Bertram Scharpf [EMAIL PROTECTED] wrote:


Hi,

I try to chroot to a brand new environment, freshly unpacked
from stage 3:

  kyle # chroot /mnt/hdb/ /bin/bash
  FATAL: kernel too old
  kyle # uname -a
  Linux kyle 2.6.8-3-686 #1 Tue Dec 5 21:26:38 UTC 2006 i686 GNU/Linux

After that, I unpacked stage 1. The boostrap worked fine until
during compilation of glibc a command .././scripts/mkinstalldirs
stoped with (yes!): FATAL: kernel too old.

An strace of the chroot command ends with the uname function
call yielding the above results and returning 0. Then, the
message is output and exit is called.

Google did not give me any hints.

Thanks in advance for any hints.

Bertram


--
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
--
gentoo-user@gentoo.org mailing list



This happens when you try to chroot to a system that has a much newer kernel
than the one you're running.  The solution is to use a newer gentoo boot cd.

--
- Mark Shields


Re: [gentoo-user] Chroot to new environment complains about kernel

2006-12-15 Thread Bo Ørsted Andresen
On Friday 15 December 2006 01:54, Bertram Scharpf wrote:
 Hi,

 I try to chroot to a brand new environment, freshly unpacked
 from stage 3:

   kyle # chroot /mnt/hdb/ /bin/bash
   FATAL: kernel too old
   kyle # uname -a
   Linux kyle 2.6.8-3-686 #1 Tue Dec 5 21:26:38 UTC 2006 i686 GNU/Linux

 After that, I unpacked stage 1. The boostrap worked fine until
 during compilation of glibc a command .././scripts/mkinstalldirs
 stoped with (yes!): FATAL: kernel too old.

 An strace of the chroot command ends with the uname function
 call yielding the above results and returning 0. Then, the
 message is output and exit is called.

 Google did not give me any hints.

It means your running kernel is too old for the version of glibc in your 
chroot. Either upgrade your kernel or downgrade glibc in the chroot. You can 
probably do the latter by downloading an older stage3 e.g. 2006.0 (or 
possibly 2005.x...).

-- 
Bo Andresen


pgpd2fzBKzxCy.pgp
Description: PGP signature