fatal error: failed to parse kernel version from uname

Currently running v2.0.14, linux 32bit. When I upgrade to 2.1.x

I get an error to parse kernel version from uname.

fatal error: failed to parse kernel version from uname runtime: panic before malloc heap initialized runtime stack: runtime stack: runtime.throwruntime.throw(({{0x2463680x246368, , 0x290x29}}) ) runtime/panic.goruntime/panic.go::12291229 + +0x350x35 fp= fp=0xbfab9b0c0xbfab9b0c sp= sp=0xbfab9af80xbfab9af8 pc= pc=0xd45eb50xd45eb5 runtime.getKernelVersionruntime.getKernelVersion(() ) runtime/os_linux.goruntime/os_linux.go::956956 + +0xe40xe4 fp= fp=0xbfab9cc40xbfab9cc4 sp= sp=0xbfab9b0c0xbfab9b0c pc= pc=0xd087040xd08704 runtime.configure64bitsTimeOn32BitsArchitecturesruntime.configure64bitsTimeOn32BitsArchitectures((…) ) runtime/os_linux32.goruntime/os_linux32.go::1414 runtime.osinitruntime.osinit(() ) runtime/os_linux.goruntime/os_linux.go::357357 + +0x370x37 fp= fp=0xbfab9cd00xbfab9cd0 sp= sp=0xbfab9cc40xbfab9cc4 pc= pc=0xd079e70xd079e7 runtime.rt0_goruntime.rt0_go(() ) runtime/asm_386.sruntime/asm_386.s::242242 + +0x15c0x15c fp= fp=0xbfab9cd40xbfab9cd4 sp= sp=0xbfab9cd00xbfab9cd0 pc= pc=0xd4b74c0xd4b74c

uname -a Linux N7700 2.6.33N7700 #5 SMP Tue May 3 17:37:03 CST 2011 i686 unknown

Looks like this Go bug, so presumably fixed in a future Syncthing release built by a future Go.

If all those reports have thaught me anything: I won’t recommend or buy Synology devices. Those frankenstein Kernels are something else.

I don’t disagree, though in this specific case it seems the problem is naiveté in the Go kernel version parser. (Which is only needed because the problems you allude to, though.)