Tiny Core Linux
General TC => Remasters / Remixes - Unofficial => Topic started by: Bams on July 17, 2014, 05:02:02 PM
-
Hi all,
I'm an old newbie atempting to compile tinycore on a box dedicated to electronics DiY (with RTAI)
sources : linux-3.8.13-patched + config-3.8.13-tinycore (further mv to ".config")
how to : http://wiki.tinycorelinux.net/wiki:custom_kernel
I began to verify if things works without any modification.
make bzImage works well and I was able to use this it with core.gz "like a charm"
But when compiling modules, i'm stuck with error in ipt_ECN.c: 'XT_DSCP_MASK' undeclared
and then make install error: can't stat '/work_directory/modules.builtin': No such file or directory
Where to dig ??
Box : IBM lenovo _ Intel Pentium E2200 (2x 2.2GHz / 1MB / 800MHz FSB)
tools : kmaps.tcz, compiletc.tcz, perl5.tcz, ncurses-dev.tcz, bash.tcz
Thanks for help.
-
Are you running out of memory?
Remember that the root filesystem resides in RAM.
Unless your build tree is on a persistent drive, you will not have enough RAM to do the compile.
-
device used for build tree :
Filesystem Size Used Available Use% Mounted on
/dev/sda3 23.6G 2.7G 20.8G 12% /mnt/sda3
Memory free :
total used free shared buffers
Mem: 1032900 171848 861052 0 15396
-/+ buffers: 156452 876448
Swap: 1334976 0 1334976
is'nt it sufficient ?
-
Your sda3 is a linux partition, correct? Google says that error could be caused by trying to compile on fat32.
-
YES curaga, you'r right ... fat32 !
shame on me : I didn't ask Google the good way (or may be didn't understand itsreplys, as it don't speaks the way my mother taught to me).
so move to EXP3 part. and it works.
Thanks to be patient.
-
Finally, I got it! Tiny core patched real time (RTAI) works well.
I had trials with many kernel config options and figures obtained for latency are pretty good, compared with these published on CNC site and these obtained with knoppix RTAI live CD (may be better).
I tested it on 5 box and 2 laptops (most of it saved from waste, I'm not so rich), UP or SMP, with or without local APIC, "recent" or very old ones.
I had a dream ... Tiny Core seams to be such a good candidate for building a live CD useful for DIY electronics : RT features (thanks RTAI) + tiny C Compiler, (+ may be CNC package) = very light package, quick busy or quick installed and efficient.
If of some interest for somebody , I can join my kernel and RTAI config files.
-
Hi Bams,
I'm interested on patching tinycore with RTAI, now i'm using an old CNC Linux distro, can you share infos on how to produce the patched kernel and RTAI config files ?
Thank you in advance,
Andrea.
teseosw'AT'yahoo.it