Suse 9.1 kernel 2.6.5-7.95 & RTAI rtai-3.1-test3
Giovanni Racciu
gracciu at xystum.it
Wed Jul 14 15:14:54 CEST 2004
The standard procedure is:
a) To patch and build a vanilla Linux kernel tree with the RTAI support
locate the patches (for x86 they are available from
RTAI-DIR/rtai-core/arch/i386/patches/.)
b) Apply only one of them that matches the Linux kernel version ("hal"
selects Adeos, "legacy" selects the old RTHAL), like this:
$ cd $linux-src-dir
$ patch -p1 < rtai-core/arch/$arch/patches/patchfile
Specifically, if you want to use the hal5-2.6.6.patch simply download
the 2.6.6 kernel source tree.
Regarding the Suse distro I'm running rtai on the 8.2. I've not tested
on the 9.1 series yet, but I do not see why it should not work.
Just remeber to activate all the necessary features in the kernel. And
if necessary run the mkinitrd script.
Giovanni
> OK.
> Can you tell me which kernel version i have use and which rtai version ?
> Which version of Suse is tested, or you are trying ?
> The important thing is that i need Suse 9.1.
>
>
>
> --- original Nachricht Ende ----
>
>
> Do not use the original Suse kernel source tree, it's already patched,
> download a vanilla one instead.
>
> Giovanni
>
> userdar at freenet.de wrote:
>
> > Hi,
> >
> > i want to patch my original suse kernel with the latest patch of rtai
> > (hal5-2.6.6.patch).
> > Patching is no problem.
> >
> > Then i´ve do
> > make dep --> is ok
> > make clean --> is ok
> > make bzImage -->> see log message (ERROR !!!)
> >
> > I change gcc from version gcc-3.3.3 to gcc.2.95.3
> > This is the error message with version 2.95.3
> > With gcc-3.3.3 i had an error message look like this
> >
> > In file included from arch/i386/kernel/doublefault.c:4:
> > include/linux/init_task.h:1:1: unterminated #ifndef
> > make[1]: *** [arch/i386/kernel/doublefault.o] Error 1
> > make: *** [arch/i386/kernel] Error 2
> >
> > THEREFORE:
> > WITH WHICH SUSE KERNEL AND RTAI PATCH CAN I GET A STABLE RT-LINUX UNDER SUSE 9.1
> > ??? .
> >
> > THANKS FOR HELP,
> > SERDAR :-)
> >
> >
> >
> >
> >
> >
> >
> >
> > log message (gcc 2.95.3)
> > ==================
> > CHK include/linux/version.h
> > HOSTCC scripts/basic/fixdep
> > HOSTCC scripts/basic/split-include
> > HOSTCC scripts/basic/docproc
> > HOSTCC scripts/genksyms/genksyms.o
> > HOSTCC scripts/genksyms/lex.o
> > HOSTCC scripts/genksyms/parse.o
> > HOSTLD scripts/genksyms/genksyms
> > HOSTCC scripts/conmakehash
> > HOSTCC scripts/kallsyms
> > CC scripts/empty.o
> > HOSTCC scripts/mk_elfconfig
> > MKELF scripts/elfconfig.h
> > HOSTCC scripts/file2alias.o
> > HOSTCC scripts/modpost.o
> > HOSTCC scripts/sumversion.o
> > HOSTLD scripts/modpost
> > HOSTCC scripts/pnmtologo
> > HOSTCC scripts/bin2c
> > CC arch/i386/kernel/asm-offsets.s
> > CHK include/asm-i386/asm_offsets.h
> > UPD include/asm-i386/asm_offsets.h
> > CC init/main.o
> > CHK include/linux/compile.h
> > UPD include/linux/compile.h
> > CC init/version.o
> > CC init/do_mounts.o
> > CC init/do_mounts_rd.o
> > CC init/do_mounts_initrd.o
> > CC init/do_mounts_md.o
> > LD init/mounts.o
> > CC init/initramfs.o
> > init/initramfs.c: In function `populate_rootfs':
> > init/initramfs.c:498: parse error before `unsigned'
> > init/initramfs.c:507: `initrd_end_tmp' undeclared (first use in this function)
> > init/initramfs.c:507: (Each undeclared identifier is reported only once
> > init/initramfs.c:507: for each function it appears in.)
> > init/initramfs.c:507: `end_signature' undeclared (first use in this function)
> > init/initramfs.c:510: `data' undeclared (first use in this function)
> > init/initramfs.c:513: `start_signature' undeclared (first use in this function)
> > init/initramfs.c:518: `dsdt_start_tmp' undeclared (first use in this function)
> > make[1]: *** [init/initramfs.o] Error 1
> > make: *** [init] Error 2
> > =====================================================
> >
> >
> >
> > --
> >
> <_http://adserver.freenet.de/click.ng/site=fn∏=chetools&kat=rub&tbl=webmail&ppos=1&TransactionID=1089805599819341&rgtg=256_
> <http://adserver.freenet.de/click.ng/site=fn&prod=chetools&kat=rub&tbl=webmail&ppos=1&TransactionID=1089805599819341&rgtg=256>>
>
> > _______________________________________________ RTAI mailing list RTAI at rtai.org
> > _https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai_
>
>
> --
> <http://adserver.freenet.de/click.ng/site=fn&prod=chetools&kat=rub&tbl=webmail&ppos=1&TransactionID=1089809981656905&rgtg=256>
>
More information about the Rtai
mailing list