This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: chroot kernel too old error with glibc 2.24
- From: RAJESH DASARI <raajeshdasari at gmail dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: "Carlos O'Donell" <carlos at redhat dot com>, "libc-help at sourceware dot org" <libc-help at sourceware dot org>
- Date: Wed, 11 Jan 2017 20:36:41 +0530
- Subject: Re: chroot kernel too old error with glibc 2.24
- Authentication-results: sourceware.org; auth=none
- References: <CAPXMrf_tdrrXf56oozEi70oW8oEKh=0NaS5QASQNJwqS5i6APQ@mail.gmail.com> <5f5e19b1-82f9-db46-9c13-d507a6ce393c@redhat.com> <49696495-c281-cd7a-0a3d-1d803c2534ce@redhat.com>
Hi ,
Thanks for the response , I am using mips architecture.
In this file "sysdeps/unix/sysv/linux/configure" minimum linux kernel
is set as 3.2.0 , can i change it 2.6.32 and compile the glibc 2-24
again to avoid this kernel too old issue ?
Did you see any issue here ? Does support for 2.6.32 syscalls also
removed for mips architecture , please provide your inputs on this.
Thanks,
Rajesh Dasari.
On Tue, Jan 10, 2017 at 5:15 PM, Florian Weimer <fweimer@redhat.com> wrote:
> On 01/10/2017 07:31 AM, Carlos O'Donell wrote:
>>
>> On 01/09/2017 09:49 AM, RAJESH DASARI wrote:
>>>
>>> I am getting the kernel too old error when trying to install the
>>> 4.4.20 kernel image (with glibc2.24) .
>>> My machine which is mips based and has 2.6.34 kernel installed , i am
>>> trying to install the new kernel(4.4.20) which has 2.24 glibc version
>>>
>>> 1 . I mounted the latest kernel image on /mnt/latest
>>> 2. Executed chroot to that image path
>>> # chroot /mnt/latest
>>> FATAL: kernel too old
>>>
>>> I see that in 2.24 release notes, it is mentioned that the minimum
>>> Linux kernel version that this version of the GNU C Library can be
>>> used with is 3.2.
>>>
>>> I am sure this is not a bug in glibc , but could some one help me how
>>> to get rid of this problem ,
>>> I have compiled glibc with --enable-kernel=2.6.32 option but still no
>>> help.
>>
>>
>> To use glibc 2.24 you must first boot with a kernel > 3.2 e.g. your 4.4.20
>> kernel.
>>
>> You cannot configure glibc 2.24 to run with a 2.6.32 kernel.
>
>
> It's supposedly support on i386 and x86_64, I think.
>
> Rajesh, which architecture are you targeting?
>
> Thanks,
> Florian
>