There seems to be RTAI support for 3.x kernels now. Any plans to update this?
Search Criteria
Package Details: rtai-kernel 2.6.35.7-4
Package Actions
- View PKGBUILD
- Download tarball
- Search wiki
- Flagged out-of-date (2013-09-28)
| Package Base: | rtai-kernel |
|---|---|
| Description: | Kernel 2.6.35.7 with RTAI |
| Upstream URL: | https://www.rtai.org |
| Category: | kernels |
| Licenses: | |
| Submitter: | None |
| Maintainer: | None |
| Last Packager: | None |
| Votes: | 3 |
| First Submitted: | 2010-08-23 02:58 |
| Last Updated: | 2011-10-13 14:07 |
Required by (2)
Sources
- fix-gcc-4.6-errors.patch
- hal-linux-2.6.35.7-x86-2.8-01.patch
- http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.35.7.tar.bz2
- rtai-kernel.config
- rtai-kernel.preset
- rtai-kernel64.config
Latest Comments
Comment by mindbound
Anonymous comment
I have updated the PKGBUILD:
* Added a patch that fixes gcc 4.6 errors.
* Use option=(!strip) to avoid stripping of binaries and preventing
rtai-userspace to be build correctly
* remove lib/firmware directory from the package as it conflicts with the
dedicated firmware package
* Install sources to /usr/src/linux-${pkgver} instead of /usr/src/linux.
Makes the handling of more than one kernel src directory easier.
Anonymous comment
This issue is fixed in my PKGBUILD for rtai-kernel on my google code page.
Comment by ivanovp
I think only the links are missing to the sources. The source files are exist. I downloaded them yesterday.
Anonymous comment
Please stay away from this package, and use my PKGBUILDs and such from my google code svn server:
svn checkout http://neo-technical.googlecode.com/svn/trunk/ neo-technical-read-only
They are in the trunk/x86/PKGBUILDS folder.
The archlinux developers decided to remove certain parts of this aur package for no reason, therefor I do not support this package anymore on this page.
Comment by ivanovp
I could download the sources with makepkg!
However I also get the error message of missing modules.order.
Anonymous comment
Excuse me Arch Linux people.. why the hell was my kernel config removed and patch? What the hell is your guys's problem? I am NEVER doing development for Arch Linux ever again, you can all kiss my ass. Thank you.
Anonymous comment
If anybody knows a work around for this, feel free to submit patches! I can easily be reached via email at neotheuser@ymail.com (not gmail)
Anonymous comment
Use the -f flag along with U. sudo pacman -Uf rtai-kernel etc
You have to do the same with rtai userspace as well
Comment by gatonero
Just changing to
make -j$(cat /proc/cpuinfo | grep processor | wc -l) all || return 1
has been successful for makepkg.
sudo pacman -U /home/cs/abs/rtai-kernel/rtai-kernel-2.6.35.7-2-i686.pkg.tar.xz
ended with an error:
Fehler: Konnte den Vorgang (In Konflikt stehende Dateien) nicht durchführen
Error. Couldn't finish that task (conflict with existing files)
for example
rtai-kernel: /lib/firmware/3com/typhoon.bin existiert im Dateisystem
rtai-kernel: /lib/firmware/acenic/tg1.bin existiert im Dateisystem
rtai-kernel: /lib/firmware/acenic/tg2.bin existiert im Dateisystem
etc. etc.
Anonymous comment
Also if that still doesn't work, after keeping your changes, add this line right before the modules_install command
make INSTALL_MOD_PATH=$pkgdir modules || return 1
so its like this
make -j$(cat /proc/cpuinfo | grep processor | wc -l) all || return 1
make INSTALL_MOD_PATH=$pkgdir modules || return 1
make INSTALL_MOD_PATH=$pkgdir modules_install || return 1
Anonymous comment
Also I'm throwing back in 64-bit support, it works now, and yeah. It's been working for awhile now but I never got around to it.
Anonymous comment
That's very odd. Try changing:
make -j$(cat /proc/cpuinfo | grep processor | wc -l) bzImage || return 1
to
make -j$(cat /proc/cpuinfo | grep processor | wc -l) all || return 1
Comment by gatonero
Extracting the tarball and runnig makepkg in the extracted directory produces this message:
Root device is (8, 5)
Setup is 12876 bytes (padded to 13312 bytes).
System is 2823 kB
CRC 4e8f01af
Kernel: arch/x86/boot/bzImage is ready (#1)
cp: Aufruf von stat für „/home/cs/abs/rtai-kernel/src/linux-2.6.35.7/modules.order“ nicht möglich: Datei oder Verzeichnis nicht gefunden
make: *** [_modinst_] Fehler 1
=> ...modules.order“ not possible: file or directory not found
Anonymous comment
I have not tried building this package with yaourt and maybe thats why it is not working, I have used this very build on several PCs and it works fine, so I am not sure.
Comment by gatonero
In the very end of installing I get this error message:
Kernel: arch/x86/boot/bzImage is ready (#1)
cp: Aufruf von stat für „/tmp/yaourt-tmp-cs/aur-rtai-kernel/src/linux-2.6.35.7/modules.order“ nicht möglich: Datei oder Verzeichnis nicht gefunden
make: *** [_modinst_] Fehler 1
Breche ab ...
==> ERROR: Makepkg was unable to build rtai-kernel.
Translation:
cp: call from stat for „/tmp/yaourt-tmp-cs/aur-rtai-kernel/src/linux-2.6.35.7/modules.order“ not possible: file or directory not found
The directory exists, but not the file "modules.order"
Anonymous comment
Tested, fixed, and bumped. Thanks!
Anonymous comment
I'm updating the RTAI kernel patch now from hal-linux-2.6.35.7-x86-2.7-04.patch to hal-linux-2.6.35.7-x86-2.8-00.patch. I need to test it though first. Also firmware will be removed in next pkgrel :)
Comment by cgo
Hi, you should remove the lib/firmware directory, and maybe skip their build, since it conflics with linux-firmware. See the official kernel PKGBUILD for a way to do so. thanks
Anonymous comment
oh also rtai userspace doesnt compile yet on 64 bit so im waiting for a fix from that.
Anonymous comment
because I need to re-run make oldconfig and repost a new one. also i need to test 64-bit on 2.6.35.7
Comment by nickoe
Why haven't you put it in the 'arch' line?
Anonymous comment
64-bit needs a new updated kernel config file...
Anonymous comment
nickoe: It does now.
Comment by nickoe
Can this be used on x86_64?
Anonymous comment
OK, rtai-userspace and emc2 packages are done and have been uploaded!
rtai-userspace:
http://aur.archlinux.org/packages.php?ID=40144
emc2:
http://aur.archlinux.org/packages.php?ID=40145