Solved Arduino exits with "kernel too old"

Fresh pkg(8) install of arduino on:

Code:
[CMD=%]uname -a[/cmd]
FreeBSD odin 10.1-RELEASE-p5 FreeBSD 10.1-RELEASE-p5 #0: Tue Jan 27 08:55:07 UTC 2015  root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

Code:
[CMD=%]arduino[/cmd]
FATAL: kernel too old
FATAL: kernel too old
Error: Could not find or load main class processing.app.Base

That's a new one on me! Forum/bugzilla search doesn't turn up anything.
 
Last edited by a moderator:
Maybe a Linux compat thing? Try sysctl compat.linux.oslrelease=2.6.18 and if that works you can keep it with echo compat.linux.oslrelease=2.6.18 >> [FILE]/etc/sysctl.conf[/FILE]

This is the default now by the way, see less -p 20141209 [FILE]/usr/ports/UPDATING[/FILE]
 
Maybe a Linux compat thing? Try sysctl compat.linux.oslrelease=2.6.18 and if that works you can keep it with echo compat.linux.oslrelease=2.6.18 >> [FILE]/etc/sysctl.conf[/FILE]

This is the default now by the way, see less -p 20141209 [FILE]/usr/ports/UPDATING[/FILE]

That was it! Thank you junovitch. I got:

Code:
[CMD]# sysctl compat.linux.osrelease=2.6.18[/cmd]
compat.linux.osrelease: 2.6.16 -> 2.6.18

Arduino started just fine after that. I'll make this permanent.
 
Back
Top