[Xenomai-help] question about task migrating to primary mode

2006-01-11 Thread Stefan Kisdaroczi
Hi, I have a question about migrating a task to primary mode. Following code is from Captain's Hard Real Time Serial Port (RS232) Example [1]: ... while (1) { /* switch to primary mode */ ret = rt_task_set_mode(0, T_PRIMARY, NULL); if (ret) { printf(WTASK_PREFIX error while

Re: [Xenomai-help] rt_task_bind() and timeout values

2008-07-14 Thread Stefan Kisdaroczi
Hi Philippe, the attached patch fixed the problem for me. However, i think that in the break case still EACCES is returned. Can the break be replaced with a return ETIMEDOUT ? kisda Philippe Gerum schrieb: Stefan Kisdaroczi wrote: Hi Philippe, Philippe Gerum schrieb: Stefan Kisdaroczi

Re: [Xenomai-help] rt_task_bind() and timeout values

2008-07-15 Thread Stefan Kisdaroczi
Hi, Stefan Kisdaroczi schrieb: Hi Philippe, the attached patch fixed the problem for me. However, i think that in the break case still EACCES is returned. Can the break be replaced with a return ETIMEDOUT ? [...] I have tried it. A new patch is attached. I tested it first without changing

Re: [Xenomai-help] rt_task_bind() and timeout values

2008-07-17 Thread Stefan Kisdaroczi
your new patch works with TM_NONBLOCK und user timeouts, but bind now fails for TM_INFINITE: it returns immediately with ETIMEDOUT... Philippe Gerum schrieb: Stefan Kisdaroczi wrote: Hi, your patch didnt work. The bind_calls are now blocking infinite (at least much too long, still waiting

[Xenomai-help] Debian package building fails with 2.5-rc1

2009-05-05 Thread Stefan Kisdaroczi
Hi, there is no ChangeLog file in the project root anymore, so debian package building fails. Following patch fixed it for me. kisda --- xenomai-2.5.orig/debian/rules +++ xenomai-2.5/debian/rules @@ -108,7 +108,7 @@ dh_testdir -i dh_testroot -i dh_installdocs -i -A

[Xenomai-help] IXXAT-PCI-CAN driver hijacks my pci board

2009-05-05 Thread Stefan Kisdaroczi
Hi, my pci board has the same pci-interface-chip as the IXXAT-PCI board. The vendor and device id's are identical, but the subsys id is different. The documentation for my board says that it is essential to check all ID values, because vendor and device id are standard values for the

Re: [Xenomai-help] IXXAT-PCI-CAN driver hijacks my pci board

2009-05-20 Thread Stefan Kisdaroczi
Hi Wolfgang, Wolfgang Grandegger schrieb: [...] dmesg output, there is no IXXAT-PCI-CAN board installed: RT-Socket-CAN 0.90.2 - (C) 2006 RT-Socket-CAN Development Team RTCAN SJA1000 driver initialized PCI: setting IRQ 12 as level-triggered IXXAT-PCI-CAN :00:11.0: found PCI INT A - IRQ

Re: [Xenomai-help] Interrupt service routine problem

2009-05-25 Thread Stefan Kisdaroczi
Hi, the rt_intr_* functions are disabled by default in the kernel configuration [1]. You can enable them here: Real-time subsystem - Interfaces - Native API - Interrupts For device drivers its suggested that you use the RTDM skin and not the rt_intr_* calls from the native API. kisda [1]

Re: [Xenomai-help] RT Task as a kernel module halts the whole system

2009-05-25 Thread Stefan Kisdaroczi
Hi, Shashank Bhatia schrieb: Dear All, I wrote a simple RT task to be run as kernel module and tried to run it. As soon as i issue the insmod command, it halts the whole system. Please help me out, The code is as follows: [...] err =

Re: [Xenomai-help] Interrupt service routine problem

2009-05-26 Thread Stefan Kisdaroczi
Shashank Bhatia schrieb: Thanks a lot, i got my ISR working. I was also looking for some tutorial on RTDM, do you have any source for it ? this helped me to implement a rtdm driver: 1) captain.at: Hard Real Time Driver Example Tutorial with MMAP using the RTDM [1] - simple examples 2)

Re: [Xenomai-help] Debian package building fails with 2.5-rc1

2009-05-28 Thread Stefan Kisdaroczi
Hi Philippe, thx for commiting to xenomai-head. Please merge to 2.4.x, you removed the Changelog file one week ago. Thank you Stefan Stefan Kisdaroczi schrieb: Hi, there is no ChangeLog file in the project root anymore, so debian package building fails. Following patch fixed it for me

Re: [Xenomai-help] Debian package building fails with 2.5-rc1

2009-05-28 Thread Stefan Kisdaroczi
Philippe Gerum schrieb: On Thu, 2009-05-28 at 11:10 +0200, Stefan Kisdaroczi wrote: Hi Philippe, thx for commiting to xenomai-head. Please merge to 2.4.x, you removed the Changelog file one week ago. Should be ok now. Thanks, http://git.xenomai.org/?p=xenomai-head.git;a=commit;h

Re: [Xenomai-help] Debian package building fails with 2.5-rc1

2009-05-28 Thread Stefan Kisdaroczi
Philippe Gerum schrieb: On Thu, 2009-05-28 at 15:22 +0200, Stefan Kisdaroczi wrote: Philippe Gerum schrieb: On Thu, 2009-05-28 at 11:10 +0200, Stefan Kisdaroczi wrote: Hi Philippe, thx for commiting to xenomai-head. Please merge to 2.4.x, you removed the Changelog file one week ago

[Xenomai-help] debian specific kernel patching/unpatching problems with 2.6.29

2009-06-20 Thread Stefan Kisdaroczi
Hi, applying the xenomai kernelpatch created during debian package building results to a corrupt init/Kconfig file and 'make menuconfig' fails. The problem starts with linux-2.6.29. reason: growing init/Kconfig file, see [1]. This patch [2] fixed it (tested with 2.6.28 and 2.6.29). The second

Re: [Xenomai-help] Error during applying a patch created with --outpatch option of prepare-kernel.sh

2009-06-20 Thread Stefan Kisdaroczi
Hi, x...@gmx.eu schrieb: Hi, I am creating a patch using the the --outpatch option of the prepare-kernel.sh script. During patching the created patch to the linux kernel I get the following messages: patching file include/xenomai/psos+/queue.h patching file include/xenomai/psos+/sem.h

Re: [Xenomai-help] debian specific kernel patching/unpatching problems with 2.6.29

2009-06-20 Thread Stefan Kisdaroczi
Gilles Chanteperdrix schrieb: Stefan Kisdaroczi wrote: config LOCALVERSION string Local version - append to kernel release +default -ipipe help Hi, why is this hunk needed ? this hunk is in the adeos patch, see adeos-ipipe-2.6.29.5-x86-2.4-01.patch

Re: [Xenomai-help] debian specific kernel patching/unpatching problems with 2.6.29

2009-06-20 Thread Stefan Kisdaroczi
Philippe Gerum schrieb: On Sat, 2009-06-20 at 13:25 +0200, Stefan Kisdaroczi wrote: Hi, applying the xenomai kernelpatch created during debian package building results to a corrupt init/Kconfig file and 'make menuconfig' fails. The problem starts with linux-2.6.29. reason: growing init

Re: [Xenomai-help] debian specific kernel patching/unpatching problems with 2.6.29

2009-06-20 Thread Stefan Kisdaroczi
Gilles Chanteperdrix schrieb: Stefan Kisdaroczi wrote: Gilles Chanteperdrix schrieb: Stefan Kisdaroczi wrote: config LOCALVERSION string Local version - append to kernel release +default -ipipe help Hi, why is this hunk needed

[Xenomai-help] kernel build fails with CONFIG_X86_MCE_P4THERMAL=y

2009-06-21 Thread Stefan Kisdaroczi
hi, if 'check for P4 thermal throttling interrupt.' ( CONFIG_X86_MCE_P4THERMAL ) is enabled, kernel builds ok with 2.6.28, but fails with adeos-ipipe-2.6.29.5-x86-2.4-02.patch: arch/x86/kernel/ipipe.c: In function ‘__ipipe_enable_pipeline’: arch/x86/kernel/ipipe.c:210: error:

Re: [Xenomai-help] kernel build fails with CONFIG_X86_MCE_P4THERMAL=y

2009-06-22 Thread Stefan Kisdaroczi
Philippe Gerum schrieb: On Sun, 2009-06-21 at 22:54 +0200, Stefan Kisdaroczi wrote: hi, if 'check for P4 thermal throttling interrupt.' ( CONFIG_X86_MCE_P4THERMAL ) is enabled, kernel builds ok with 2.6.28, but fails with adeos-ipipe-2.6.29.5-x86-2.4-02.patch: arch/x86/kernel/ipipe.c

Re: [Xenomai-help] RE : RE : problem with gtk

2009-06-25 Thread Stefan Kisdaroczi
Gilles Chanteperdrix schrieb: [...] Besides, I am having SATA controller problems with the latest 2.6.26 kernel from debian (unpatched I mean), so I would recommend to stay away from it. 2.6.26-16 or 2.6.26-17 ? debian changelog linux 2.6.26-17 (stable, 2009-06-21): linux-2.6

Re: [Xenomai-help] RE : RE : problem with gtk

2009-06-25 Thread Stefan Kisdaroczi
Gilles Chanteperdrix schrieb: Stefan Kisdaroczi wrote: Gilles Chanteperdrix schrieb: [...] Besides, I am having SATA controller problems with the latest 2.6.26 kernel from debian (unpatched I mean), so I would recommend to stay away from it. 2.6.26-16 or 2.6.26-17

[Xenomai-help] comedi rtdm_interface.c build fails

2009-06-29 Thread Stefan Kisdaroczi
Hi, comedi rtdm_interface.c build fails (typo), patch attached. breaking commit: Fri, 12 Jun 2009 08:03:39 + (10:03 +0200) e20bd3f2613a052b93c1a4ecada6623a5332f54c Made conditional inclusion of owner field in struct proc_dir_entry due to changes in 2.6.30. Error: CC [M]

Re: [Xenomai-help] Problems with instalation of xenomai in ubuntu

2009-09-17 Thread Stefan Kisdaroczi
Hi, Gilles Chanteperdrix schrieb: Flavio de Castro Alves Filho wrote: Hello, Sorry for the delay in the response. In fact, I believe it is not really a kernel panic, And you believe wrong. The keyboard leds blinking are the sign of a kernel panic. Without any doubt. True, but Flavio

Re: [Xenomai-help] Xenomai patches

2009-10-28 Thread Stefan Kisdaroczi
Hi, Leopold Palomo-Avellaneda schrieb: Hi, I'm having a trouble installing xenomai in a debian machines. Actually the official debian package is not useful. You cannot use it because there's no kernel package that could be patched. Anyway, I would like to ask about if, for example, a

Re: [Xenomai-help] Xenomai patches

2009-10-29 Thread Stefan Kisdaroczi
Leopold Palomo-Avellaneda schrieb: A Dijous 29 Octubre 2009, Gilles Chanteperdrix va escriure: Leopold Palomo-Avellaneda wrote: A Dijous 29 Octubre 2009, Gilles Chanteperdrix va escriure: Gilles Chanteperdrix wrote: Leopold Palomo-Avellaneda wrote: OTOH, the debian package has a bug. I

Re: [Xenomai-help] unable to open serial port from a kernel module

2009-11-11 Thread Stefan Kisdaroczi
Hi, int main () { mlockall (MCL_CURRENT|MCL_FUTURE); you need to call rt_task_shadow(...) here (see docs), which turns the current Linux task into a native Xenomai task. rt_heap_bind (heap_desc, MyHeap, TM_NONBLOCK); rt_heap_alloc (heap_desc, 1, TM_NONBLOCK, shmem); check all

[Xenomai-help] native skin 2.5.0: rt_task_create() segfaults if stacksize parameter too small

2010-01-07 Thread Stefan Kisdaroczi
hi, i have upgraded xenomai to 2.5.0 (x86,32bit). My application segfaults when I try to create a task with stacksize 2048, this worked with 2.4.10. Because my app is written in pascal i have reproduced the problem with the xenomai trivial-periodic.c example: - rt_task_create(demo_task,

Re: [Xenomai-help] native skin 2.5.0: rt_task_create() segfaults if stacksize parameter too small

2010-01-07 Thread Stefan Kisdaroczi
Am 07.01.2010 15:36, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: hi, i have upgraded xenomai to 2.5.0 (x86,32bit). My application segfaults when I try to create a task with stacksize 2048, this worked with 2.4.10. Because my app is written in pascal i have reproduced the problem

Re: [Xenomai-help] native skin 2.5.0: rt_task_create() segfaults if stacksize parameter too small

2010-01-07 Thread Stefan Kisdaroczi
Am 07.01.2010 15:36, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: hi, i have upgraded xenomai to 2.5.0 (x86,32bit). My application segfaults when I try to create a task with stacksize 2048, this worked with 2.4.10. Because my app is written in pascal i have reproduced the problem

Re: [Xenomai-help] Xenomai v2.5.0 -- Important Notice

2010-01-07 Thread Stefan Kisdaroczi
Am 07.01.2010 16:39, schrieb Peter Soetens: On Friday 01 January 2010 12:00:52 Philippe Gerum wrote: Here is Xenomai 2.5.0. ... http://download.gna.org/xenomai/stable/xenomai-2.5.0.tar.bz2 Happy new year, btw. A Big Thank You from the user community to all contributors, Philippe, Gilles

Re: [Xenomai-help] native skin 2.5.0: rt_task_create() segfaults if stacksize parameter too small

2010-01-07 Thread Stefan Kisdaroczi
Am 07.01.2010 17:57, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: Am 07.01.2010 15:36, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: hi, i have upgraded xenomai to 2.5.0 (x86,32bit). My application segfaults when I try to create a task with stacksize 2048, this worked

Re: [Xenomai-help] native skin 2.5.0: rt_task_create() segfaults if stacksize parameter too small

2010-01-08 Thread Stefan Kisdaroczi
Am 07.01.2010 17:57, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: Am 07.01.2010 15:36, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: hi, i have upgraded xenomai to 2.5.0 (x86,32bit). My application segfaults when I try to create a task with stacksize 2048, this worked

Re: [Xenomai-help] native skin 2.5.0: rt_task_create() segfaults if stacksize parameter too small

2010-01-08 Thread Stefan Kisdaroczi
Am 08.01.2010 12:57, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: Am 07.01.2010 17:57, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: Am 07.01.2010 15:36, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: hi, i have upgraded xenomai to 2.5.0 (x86,32bit). My

Re: [Xenomai-help] native skin 2.5.0: rt_task_create() segfaults if stacksize parameter too small

2010-01-08 Thread Stefan Kisdaroczi
Am 08.01.2010 14:30, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: Am 08.01.2010 12:57, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: Am 07.01.2010 17:57, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: Am 07.01.2010 15:36, schrieb Gilles Chanteperdrix: Stefan

Re: [Xenomai-help] native skin 2.5.0: rt_task_create() segfaults if stacksize parameter too small

2010-01-08 Thread Stefan Kisdaroczi
Am 08.01.2010 14:54, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: Am 08.01.2010 14:30, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: Am 08.01.2010 12:57, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: Am 07.01.2010 17:57, schrieb Gilles Chanteperdrix: Stefan

Re: [Xenomai-help] native skin 2.5.0: rt_task_create() segfaults if stacksize parameter too small

2010-01-08 Thread Stefan Kisdaroczi
Am 08.01.2010 14:52, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: Am 08.01.2010 14:30, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: Am 08.01.2010 12:57, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: Am 07.01.2010 17:57, schrieb Gilles Chanteperdrix: Stefan

Re: [Xenomai-help] native skin 2.5.0: rt_task_create() segfaults if stacksize parameter too small

2010-01-08 Thread Stefan Kisdaroczi
Am 08.01.2010 14:59, schrieb Stefan Kisdaroczi: Am 08.01.2010 14:54, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: Am 08.01.2010 14:30, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: Am 08.01.2010 12:57, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: Am 07.01.2010

Re: [Xenomai-help] native skin 2.5.0: rt_task_create() segfaults if stacksize parameter too small

2010-01-11 Thread Stefan Kisdaroczi
Am 08.01.2010 23:37, schrieb Gilles Chanteperdrix: Gilles Chanteperdrix wrote: No. I think you are right, we will make the minimum PTHREAD_STACK_MIN + getpagesize() to account for differences between architectures. Patch will come soon. Here it comes. Works fine, thank you. Stefan diff

[Xenomai-help] howto build debion packages from a Xenomai Git repository

2010-02-03 Thread Stefan Kisdaroczi
Hi all, below a howto which works for me on a Debian Lenny system. Regards, Stefan Building debian packages from a Xenomai Git repository: This example shows how to build Xenomai 2.5.1, feel free to adapt to your needs. Prerequisites: Install the following packages: # apt-get install

[Xenomai-help] unofficial Xenomai 2.5.x apt archive for Debian and Ubuntu

2010-02-03 Thread Stefan Kisdaroczi
Hi, i've put a apt repository online with binary xenomai packages (private, unofficial). There is a tree for Debian 5.0 'Lenny' and another for Ubuntu 9.10 'Karmic Koala' (amd64,i386). I'm tracking the Xenomai branch 2.5 and have just uploaded the Xenomai 2.5.1 deb's. Give it a try. First,

Re: [Xenomai-help] howto build debion packages from a Xenomai Git repository

2010-02-03 Thread Stefan Kisdaroczi
Am 03.02.2010 20:48, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: Hi all, below a howto which works for me on a Debian Lenny system. Regards, Stefan That is nice. Would you mind putting it in the wiki, including the kernel build? If you agree, please tell me what your login

Re: [Xenomai-help] howto build debion packages from a Xenomai Git repository

2010-02-04 Thread Stefan Kisdaroczi
Am 03.02.2010 21:37, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: Am 03.02.2010 20:48, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: Hi all, below a howto which works for me on a Debian Lenny system. Regards, Stefan That is nice. Would you mind putting it in the wiki

Re: [Xenomai-help] User interrupt handling in Xenomai running into probs

2010-02-04 Thread Stefan Kisdaroczi
Hi, Am 04.02.2010 16:51, schrieb Saravanan S: Hi, I tried to implement the hardware interrupt handling feature of xenomai in user space.I read the native-api document and ran the user_irq.c program with one change ,i tried to intercept the eth0 interrupt on my system(using interrupt

Re: [Xenomai-help] User interrupt handling in Xenomai running into probs

2010-02-05 Thread Stefan Kisdaroczi
Saravanan S schrieb: On Thu, Feb 4, 2010 at 9:46 PM, Stefan Kisdaroczi ki...@hispeed.ch mailto:ki...@hispeed.ch wrote: Hi, Am 04.02.2010 16:51, schrieb Saravanan S: Hi, I tried to implement the hardware interrupt handling feature of xenomai in user

Re: [Xenomai-help] Problems when cross-compiling Xenomai

2010-02-12 Thread Stefan Kisdaroczi
Am 12.02.2010 19:29, schrieb Gilles Chanteperdrix: Felipe Brandão Cavalcanti wrote: Pardon my ignorance, but how do you apply the kernel patch? Ive tried using the patch -p0 /home/jdoe/Desktop/vanilla-igep-initial.diff command in the directory of the vanilla 2.6.30 kernel, but I get some

Re: [Xenomai-help] Xenomai built by OpenEmbedded

2010-02-24 Thread Stefan Kisdaroczi
Hi Bob, Bob Feretich schrieb: Sorry, I reused an old e-mail and forgot to change the subject line last time. The subject line is more accurate on this e-mail. How can I locate this previous report? (identified below) https://mail.gna.org/public/xenomai-help/2010-02/msg00069.html

Re: [Xenomai-help] howto build debion packages from a Xenomai Git repository

2010-03-04 Thread Stefan Kisdaroczi
Am 04.02.2010 11:26, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: Am 03.02.2010 21:37, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: Am 03.02.2010 20:48, schrieb Gilles Chanteperdrix: Stefan Kisdaroczi wrote: Hi all, below a howto which works for me on a Debian Lenny

Re: [Xenomai-help] crash after termination

2010-03-22 Thread Stefan Kisdaroczi
Am 20.03.2010 16:53, schrieb Jan Kiszka: Stefan Kisdaroczi wrote: hi all, after termination of my xenomai applications, my box crashed often (3 of 4 times) with xenomai 2.5.1. Today I updated to current git-2.5, rebuilt xenomai and the kernel. Still crashes. I have captured two traces

Re: [Xenomai-help] crash after termination

2010-03-23 Thread Stefan Kisdaroczi
Am 23.03.2010 09:00, schrieb Jan Kiszka: Stefan Kisdaroczi wrote: Am 20.03.2010 16:53, schrieb Jan Kiszka: Stefan Kisdaroczi wrote: hi all, after termination of my xenomai applications, my box crashed often (3 of 4 times) with xenomai 2.5.1. Today I updated to current git-2.5, rebuilt

Re: [Xenomai-help] /dev/rttest[0-9] missing

2010-05-03 Thread Stefan Kisdaroczi
Am 03.05.2010 15:15, schrieb Stefan Fröbe: Hi, after installing xenomai-2.5.2 on powerpc switchtest bails out with the error switchtest: Unable to open switchtest device. The module is loaded, but I noticed that the necessary device nodes /dev/rttest[0-9] (or rttest-switch for latest git

Re: [Xenomai-help] installing xenomai in a debian distribution

2010-06-09 Thread Stefan Kisdaroczi
Hi Ramon, Am 09.06.2010 14:21, schrieb Ramon: On 09/06/2010 14:13, Gilles Chanteperdrix wrote: ramon costa wrote: Hi In http://www.xenomai.org/index.php/Building_Debian_packages It is said that This howto was written for Linux 2.6.32.11 and Xenomai 2.5.3, I'm I doing something

[Xenomai-help] [PATCH] x86: add Intel ICH10_1 to rthal_smi_pci_tbl

2010-07-20 Thread Stefan Kisdaroczi
https://mail.gna.org/listinfo/xenomai-help From 79a579bdd8c79d4160733f046b0bc89a9c3ff283 Mon Sep 17 00:00:00 2001 From: Stefan Kisdaroczi ki...@hispeed.ch Date: Mon, 19 Jul 2010 10:45:45 +0200 Subject: [PATCH] x86: add Intel ICH10_1 to rthal_smi_pci_tbl --- ksrc/arch/x86/smi.c |1 + 1

Re: [Xenomai-help] 2.6.32.18/x86 (Ubuntu) hangs at boot w/ Xenomai 2.5.3 [was: HELP]

2010-08-12 Thread Stefan Kisdaroczi
Hi, to build and install Xenomai on Ubuntu try the Building Debian packages howto [1]. You need probably to call update-initramfs as mentioned here [2]. Please use exactly the xenomai and kernel versions as described in the howto. Regards Stefan [1]

Re: [Xenomai-help] 2.6.32.18/x86 (Ubuntu) hangs at boot w/ Xenomai 2.5.3 [was: HELP]

2010-08-13 Thread Stefan Kisdaroczi
From: xenomai-help-boun...@gna.org [xenomai-help-boun...@gna.org] On Behalf Of Stefan Kisdaroczi [ki...@hispeed.ch] Sent: Thursday, August 12, 2010 10:57 PM To: xenomai-help@gna.org; Zafar Iqbal Subject: Re: [Xenomai-help] 2.6.32.18/x86 (Ubuntu) hangs at boot w/ Xenomai 2.5.3

Re: [Xenomai-help] HELP: Xen kernel on non-Xen host

2010-08-16 Thread Stefan Kisdaroczi
On 16.08.2010 07:43, Zafar Iqbal wrote: Dear Sir, I followed the way as Instructed in the website http://www.xenomai.org/index.php/Building_Debian_packages, for the installation of Xenomai patch in my Ubuntu Machine. I am reminding you that I am using UBUNTU 10.04. Kernel version

Re: [Xenomai-help] kernel 2.6.32.11 with xenomai 2.5.3 fails to boot on ubuntu lucid system

2010-08-16 Thread Stefan Kisdaroczi
On 16.08.2010 13:22, Theo Veenker wrote: Theo Veenker wrote: Gilles Chanteperdrix wrote: Theo Veenker wrote: Stefan Kisdaroczi wrote: On 20.07.2010 09:43, Theo Veenker wrote: Hi, I want to upgrade all our PC's from Ubuntu hardy to lucid and in the process I'm also going from kernel

Re: [Xenomai-help] 2.6.32.18/x86 (Ubuntu) hangs at boot w/ Xenomai 2.5.3 [was: HELP]

2010-08-16 Thread Stefan Kisdaroczi
Hi, On 13.08.2010 12:28, Hemal C.Bavishi wrote: Dear Stefan, I have taken the snapshopts of the command prompt and attached below for your reference r...@hemalc:~# update-initramfs -c -k all update-initramfs: Generating /boot/initrd.img-2.6.32-24-generic update-initramfs: Generating

Re: [Xenomai-help] kernel 2.6.32.11 with xenomai 2.5.3 fails to boot on ubuntu lucid system

2010-08-17 Thread Stefan Kisdaroczi
On 17.08.2010 15:51, Hemal C.Bavishi wrote: When I tried to compile it with the latest version of kernel with xenomai 2.5.4, I am getting following errors in Xenomai (disable CONFIG_SMP, enable CONFIG_X86_UP_APIC and CONFIG_X86_UP_IOAPIC (*).) Just tested, got the same build error with

Re: [Xenomai-help] kernel 2.6.32.11 with xenomai 2.5.3 fails to boot on ubuntu lucid system

2010-08-17 Thread Stefan Kisdaroczi
On 17.08.2010 12:27, Philippe Gerum wrote: On Mon, 2010-08-16 at 21:14 +0200, Theo Veenker wrote: On 08/16/2010 04:26 PM, Theo Veenker wrote: Gilles Chanteperdrix wrote: Theo Veenker wrote: Hi, I want to upgrade all our PC's from Ubuntu hardy to lucid and in the

Re: [Xenomai-help] kernel 2.6.32.11 with xenomai 2.5.3 fails to boot on ubuntu lucid system

2010-08-18 Thread Stefan Kisdaroczi
On 18.08.2010 10:27, Philippe Gerum wrote: On Tue, 2010-08-17 at 19:43 +0200, Stefan Kisdaroczi wrote: On 17.08.2010 12:27, Philippe Gerum wrote: On Mon, 2010-08-16 at 21:14 +0200, Theo Veenker wrote: On 08/16/2010 04:26 PM, Theo Veenker wrote: Gilles

Re: [Xenomai-help] kernel 2.6.32.11 with xenomai 2.5.3 fails to boot on ubuntu lucid system

2010-08-18 Thread Stefan Kisdaroczi
On 17.08.2010 20:06, Jan Kiszka wrote: Stefan Kisdaroczi wrote: I installed the kernel (2.6.32.15 2.5.4 x86 32bit) which is working on my laptop in a kvm machine. In the virtual machine the kernel never starts and hangs. To make sure you are not facing a KVM issue (though

Re: [Xenomai-help] kernel 2.6.32.11 with xenomai 2.5.3 fails to boot on ubuntu lucid system

2010-08-18 Thread Stefan Kisdaroczi
On 18.08.2010 14:11, Stefan Kisdaroczi wrote: [...] hi philippe, hope this helps: (gdb) bt #0 doublefault_fn () at arch/x86/kernel/doublefault_32.c:47 #1 0x in ?? () I set two breakpoints: 1) do_test_wp_bit() 2) zap_low_mappings() The second breakpoint is never reached

Re: [Xenomai-help] kernel 2.6.32.11 with xenomai 2.5.3 fails to boot on ubuntu lucid system [PATCH]

2010-08-18 Thread Stefan Kisdaroczi
On 17.08.2010 17:24, Stefan Kisdaroczi wrote: On 17.08.2010 15:51, Hemal C.Bavishi wrote: When I tried to compile it with the latest version of kernel with xenomai 2.5.4, I am getting following errors in Xenomai (disable CONFIG_SMP, enable CONFIG_X86_UP_APIC and CONFIG_X86_UP_IOAPIC

Re: [Xenomai-help] kernel 2.6.32.11 with xenomai 2.5.3 fails to boot on ubuntu lucid system [PATCH]

2010-08-18 Thread Stefan Kisdaroczi
On 18.08.2010 20:45, Stefan Kisdaroczi wrote: On 17.08.2010 17:24, Stefan Kisdaroczi wrote: On 17.08.2010 15:51, Hemal C.Bavishi wrote: When I tried to compile it with the latest version of kernel with xenomai 2.5.4, I am getting following errors in Xenomai (disable CONFIG_SMP

Re: [Xenomai-help] kernel 2.6.32.11 with xenomai 2.5.3 fails to boot on ubuntu lucid system

2010-08-19 Thread Stefan Kisdaroczi
On 18.08.2010 11:06, Gilles Chanteperdrix wrote: Paul wrote: On Wednesday 18 August 2010, Gilles Chanteperdrix wrote: Stefan Kisdaroczi wrote: On 17.08.2010 15:51, Hemal C.Bavishi wrote: When I tried to compile it with the latest version of kernel with xenomai

Re: [Xenomai-help] kernel 2.6.32.11 with xenomai 2.5.3 fails to boot on ubuntu lucid system

2010-08-19 Thread Stefan Kisdaroczi
On 19.08.2010 17:28, Gilles Chanteperdrix wrote: Stefan Kisdaroczi wrote: On 18.08.2010 11:06, Gilles Chanteperdrix wrote: Paul wrote: On Wednesday 18 August 2010, Gilles Chanteperdrix wrote: Stefan Kisdaroczi wrote: On 17.08.2010 15

Re: [Xenomai-help] Xenomai-help Digest, Vol 60, Issue 2

2010-09-06 Thread Stefan Kisdaroczi
Hi, Am 06.09.2010 14:03, schrieb C Robinson: Thanks Philippe for the detailed response, that clears up several things. However, some things are a bit more confusing. I've divided my reply into three section, my aim, the current state of affairs and what I will try next. (Thanks for

Re: [Xenomai-help] question about priorities

2010-09-08 Thread Stefan Kisdaroczi
Hi Charles, On 08.09.2010 13:45, Charles Clerdan wrote: Hi, I have a technical question about priorities under Xenomai. According to my research, Xenomai use priority levels from 0 to 99. 99 is the highest effective priority and 0 the lowest. But Linux uses levels from 0 to 139. For

Re: [Xenomai-help] HELP: Xenomai: POSIX skin or CONFIG_XENO_OPT_PERVASIVE disabled

2010-09-15 Thread Stefan Kisdaroczi
Hi, On 15.09.2010 10:46, Zafar Iqbal wrote: Thanks for your mail Sir, I have a doubt over here That My Kernel is not getting patched correctly. It looks correctly patched. As per the Suggestion of ED Hoffman. I went to the Real-time-Subsystem after invoking the make menuconfig. but I

Re: [Xenomai-help] (Not yet) Xenomai 2.5.5.

2010-09-16 Thread Stefan Kisdaroczi
On 16.09.2010 10:17, Gilles Chanteperdrix wrote: Hi, I would like to make that next release of Xenomai, Hi Gilles, don't forget [1] Peter Soetens rtcan patch [2]: [1] https://mail.gna.org/public/xenomai-help/2010-08/msg00085.html [2]

Re: [Xenomai-help] t_getreg / t_setreg undefined references in pSOS+ skin

2010-09-21 Thread Stefan Kisdaroczi
On 21.09.2010 09:29, Philippe Gerum wrote: On Mon, 2010-09-20 at 22:42 +0200, ronny meeus wrote: Hello I see in the psos.h file the function declaration for both the t_getreg and the t_setreg functions. Also in the psos kernel module I see functionality available. What I miss it the

Re: [Xenomai-help] switchtest/xeon-test fails: Help needed (Ubuntu/Core i7)

2010-09-24 Thread Stefan Kisdaroczi
Am Freitag 24 September 2010, 22:05:37 schrieb Gajamohan Mohanarajah: Hi, 3. I am compiling the kernel using [fakeroot make-kpkg --initrd --append-to-version=-xenomaiflv kernel-image kernel-headers --overlay-dir=$HOME/kernel-package]. After changing just the CONFIG_XENO_OPT_SYS_HEAPSZ via

Re: [Xenomai-help] switchtest/xeon-test fails: Help neede d (Ubuntu/Core i7)

2010-09-24 Thread Stefan Kisdaroczi
Am Freitag 24 September 2010, 23:24:35 schrieben Sie: Stefan Kisdaroczi wrote: Am Freitag 24 September 2010, 22:05:37 schrieb Gajamohan Mohanarajah: Hi, 3. I am compiling the kernel using [fakeroot make-kpkg --initrd --append-to-version=-xenomaiflv kernel-image kernel-headers

Re: [Xenomai-help] Xenomai and PEAK can bus card problem

2010-10-11 Thread Stefan Kisdaroczi
Am Montag 11 Oktober 2010, 21:10:14 schrieb Gilles Chanteperdrix: Peter Pastor wrote: Hey Gilles, Thanks for the hint. I fixed this problem by loading the nvidia driver (instead of nv) as default. Now the graphic cards uses IRQ 24 which does not collide with IRQ 11 of the CAN bus card

Re: [Xenomai-help] xeno-nucleus Oops!

2010-12-14 Thread Stefan Kisdaroczi
On 14.12.2010 19:46, Simon Leonard wrote: Hi, We had a HD crash and I'm reinstalling our system. Same kernel (2.6.35.7), same Xenomai (2.5.5.2), new distribution (old: Fedora 12, new: Fedora 14). AFAIC the configuration is similar to the previous configuration. However, I can't get

Re: [Xenomai-help] non-root user access

2010-12-18 Thread Stefan Kisdaroczi
Am Freitag 17 Dezember 2010, 09:48:18 schrieb Gajamohan Mohanarajah: Hi, I am running xenomai-2.5.5.2 with Ubuntu 10.04. Is there a way to allow a non-root user access. Now I get : [Xenomai: binding failed: Operation not permitted.] Hi, http://xenomai.org/index.php/Non-root_RT If you have

[Xenomai-help] 16550A driver and 2-port pci board, irq sharing

2011-01-03 Thread Stefan Kisdaroczi
Hi Jan, I try to add support for the Moxa CP132 RS422 dualport pci board to the 16550A driver. In the function rt_16550_open() the call to rtdm_irq_request() fails with EBUSY (-16) for the second port. Looking at the source the driver seems to be able to handle multiple serial ports with the

Re: [Xenomai-help] 16550A driver and 2-port pci board, irq sharing

2011-01-03 Thread Stefan Kisdaroczi
On 03.01.2011 15:59, Stefan Kisdaroczi wrote: Hi Jan, I try to add support for the Moxa CP132 RS422 dualport pci board to the 16550A driver. In the function rt_16550_open() the call to rtdm_irq_request() fails with EBUSY (-16) for the second port. Looking at the source the driver seems

[Xenomai-help] RFC: 16550A pci serial board support

2011-01-04 Thread Stefan Kisdaroczi
/16550A_pci.h @@ -0,0 +1,123 @@ +/* + * Copyright (C) 2006-2007 Jan Kiszka jan.kis...@web.de. + * Copyright (C) 2011 Stefan Kisdaroczi ki...@hispeed.ch. + * + * Xenomai is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published

Re: [Xenomai-help] Xenomai failure

2011-01-04 Thread Stefan Kisdaroczi
Hi, On 04.01.2011 16:20, Tamas Szklenar wrote: Hi I have a xenomai failure and I need your help. I made a new kernel configuration with Debian Squezze and it works fine without the Xenomai patch. After the patching (and the configuration for Xeno) I have the following message: FATAL:

Re: [Xenomai-help] RFC: 16550A pci serial board support

2011-01-05 Thread Stefan Kisdaroczi
Am Dienstag 04 Januar 2011, 20:49:59 schrieben Sie: Stefan Kisdaroczi wrote: Hi, the attached patch adds pci support to the 16550A serial driver. I have a Moxa CP-132 board and the first tests are looking good. If there is a chance to get the patch applied I kindly request you

Re: [Xenomai-help] RFC: 16550A pci serial board support

2011-01-07 Thread Stefan Kisdaroczi
Am Freitag 07 Januar 2011, 09:28:46 schrieb Jan Kiszka: Am 05.01.2011 23:03, Stefan Kisdaroczi wrote: Am Mittwoch 05 Januar 2011, 20:55:29 schrieb Jan Kiszka: Am 05.01.2011 20:40, Stefan Kisdaroczi wrote: Am Dienstag 04 Januar 2011, 20:49:59 schrieben Sie: Stefan Kisdaroczi wrote: Hi

Re: [Xenomai-help] rt_pipe_stream: not getting EPIPE

2011-02-21 Thread Stefan Kisdaroczi
Am Montag 21 Februar 2011, 21:33:53 schrieb varname: Philippe Gerum wrote: On Mon, 2011-02-21 at 18:54 +0100, varname wrote: trying to write a simple producer / consumer using message pipes in the native API, this phrase from the documentation (found here [1]) confuses me: -EPIPE is

Re: [Xenomai-help] xenomai patched kernel laggy

2011-03-04 Thread Stefan Kisdaroczi
Am Freitag 04 März 2011, 14.39:44 schrieb Jeff Hyams: I am running a patched 2.6.32.20 kernel with the correct xenomai patches (2.5.5.2 and the adeos patch for 2.6.32.20) and my RT application seems to work fine, I can use the PEAK CAN drivers fine, and I managed to make a config where all my

Re: [Xenomai-help] Placing Xenomai and Linux on Seperate CPU's

2011-04-05 Thread Stefan Kisdaroczi
Am Dienstag 05 April 2011, 12.03:15 schrieb suresh reddy: Dear Xenomai Team, Iam booting from sd card on my target board with ubuntu 10.04 . Is it possible to port xenomai besides ubuntu 10.04. Installing xenomai on Debian or Ubuntu:

Re: [Xenomai-help] Building Xenomai for Ubuntu 10.10 32 bit

2011-05-03 Thread Stefan Kisdaroczi
Hi, Am Sonntag 01 Mai 2011, 14.10:14 schrieb Uwe Fechner: Hello, I am trying to compile Xenomai for Ubuntu 10.10 32 bit for a Dell Latitude E6400 Laptop. First I tried to follow the following explanations: http://www.xenomai.org/index.php/Building_Debian_packages ok I had the

Re: [Xenomai-help] Version mismatched during xenomai installation

2011-06-09 Thread Stefan Kisdaroczi
Am Donnerstag 09 Juni 2011, 09.33:04 schrieb nabanjan das: Hi, [...] The error message in a step at end for which I want a solution: prototype:~/merchant/linux-2.6.35.9# CONCURRENCY_LEVEL=2 CLEAN_SOURCE=no fakeroot make-kpkg --initrd --append-to-version -xenomai-2.5.6 --revision 1.0