[yocto] Kernel too old?

Khem Raj raj.khem at gmail.com
Wed Nov 16 10:06:30 PST 2016



On 11/16/16 4:08 AM, Gary Thomas wrote:
> On 2016-11-16 12:55, Jussi Kukkonen wrote:
>> On 16 November 2016 at 13:29, Gary Thomas <gary at mlbassoc.com
>> <mailto:gary at mlbassoc.com>> wrote:
>>
>>     I'm trying to run some user code on a [closed] box that it's
>>     difficult (maybe impossible) to update the kernel.  To date,
>>     I've been able to create my own user environment using Yocto
>>     and then just 'chroot XXX'.  That came to an end today with
>>     the latest (version 2.2) like this:
>>
>>       DiskStation> chroot /volume1/MY.test/
>>       FATAL: kernel too old
>>       DiskStation> cat /proc/version
>>       Linux version 2.6.32.12 (root at build5) (gcc version 4.3.2 (GCC) ) #3202
>> SMP Fri Mar 1 01:04:06 CST 2013
>>
>>     Where '/volume1/MY.test' is my Yocto-built root file system.
>>
>>     Is there any way around this if I can't update the running kernel?
>>
>>
>> Modern glibc needs linux 3.2, see
>> http://repo.or.cz/glibc.git/commit/5b4ecd3f95695ef593e4474b4ab5a117291ba5fc
>> (apparently on x86* you could still get away with setting OLDEST_KERNEL to
>> 2.6.32).
> 
> Given that my code was running fine as recently as mid-summer with
> a version of glibc that was called 2.24-r0, do you think I can get
> away with this?  Can I just set that variable in local.conf?

You could try setting OLDEST_KERNEL = "x.yy", while you wont get
your system dead in water, you will have issues using older kernels
so that you know, you are treading your own path here and will have to
support issues arising out of this combination

> 
> (I know it's only speculation...)
> 
> Thanks
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: OpenPGP digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161116/42ee3e65/attachment.pgp>


More information about the yocto mailing list