------ Original Message ------ From: "Gerhard Pircher" <gerhard_pirc...@gmx.net> To: "Marius Liebenberg" <mar...@mastercut.co.za>; "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> Sent: 2015-03-12 10:19:29 Subject: Re: [Emc-users] Best way to get Debian
>Am 2015-03-12 um 07:10 schrieb Marius Liebenberg: >> >>> BTW heres approximately whats needed to make a current preemt-rt >>>kernel >>> >>> cd ~ >>> mkdir rtlinux >>> cd rtlinux >>> wget ftp://ftp.kernel.org/pub/linux/kernel/v3.x/linux-3.18.9.tar.xz >>> wget >>> >>>https://www.kernel.org/pub/linux/kernel/projects/rt/3.18/patch-3.18.9-rt4.patch.gz >>> tar -xpf linux-3.18.9.tar.xz >>> gunzip patch-3.18.9-rt4.patch.gz >>> cp patch-3.18.9-rt4.patch linux-3.18.9 >>> cd linux-3.18.9 >>> cat patch-3.18.9-rt4.patch | patch -p1 >>> make menuconfig >>> make >>> sudo make modules_install >>> sudo make install >>> >>> >>> If you accept menuconfigs defaults you should get a working >>>preemt-rt >>> kernel >>> (this will however make a kernel that supports every hardware device >>>in >>> the world and its brothers) >> >> Peter I followed this to the letter and all worked until the >>menuconfig. >> It complains about a file missing - >> scripts/kconfig/lxdialog/dialog.h fatal error . curses.h: no such >>file >> or directory. >Installing libncurses5-dev may help in this case. > >BTW: with the "deb-pkg" make target (instead of make; make >modules_install; >make install) one can create a handy Debian kernel package that can >easily >be installed with "dpkg --install linux-image-*" or removed later on >with >apt-get. > >$ fakeroot make deb-pkg > >You can also add a your own version string to the kernel image/package >with e.g. 'KDEB_PKGVERSION="3.18" EXTRAVERSION=".9-rt4"' to >differentiate >it from other installed kernels of the same release version (3.18 in >this >case). This seems to be a good idea especially if you config many machines. Let me first get the thing going and then I will look at making a package. I am learning a whole lot of new stuff here :) > >Gerhard > >> It would seem that I need some dependencies. Any idea what to >>install? >> It is a new install of Ubuntu 12.04 from a CD and I have done nothing >> but the above instruction to the machine at this time. >> >> >> >>> >>>> >>>> >>>>------------------------------------------------------------------------------ >>>> Dive into the World of Parallel Programming The Go Parallel >>>>Website, >>>> sponsored >>>> by Intel and developed in partnership with Slashdot Media, is your >>>>hub >>>> for all >>>> things parallel software development, from weekly thought >>>>leadership >>>> blogs to >>>> news, videos, case studies, tutorials and more. Take a look and >>>>join >>>> the >>>> conversation now. http://goparallel.sourceforge.net/ >>>> _______________________________________________ >>>> Emc-users mailing list >>>> Emc-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/emc-users >>>> >>> >>> Peter Wallace >>> Mesa Electronics >>> >>> (\__/) >>> (='.'=) This is Bunny. Copy and paste bunny into your >>> (")_(") signature to help him gain world domination. >>> >> >> >> >>------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >>sponsored >> by Intel and developed in partnership with Slashdot Media, is your >>hub for all >> things parallel software development, from weekly thought leadership >>blogs to >> news, videos, case studies, tutorials and more. Take a look and join >>the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users >> > ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users