All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] xenomai beginner problem.
@ 2006-07-07 19:59 Kim Chuan Lim
  2006-07-07 20:15 ` Gilles Chanteperdrix
  2006-07-07 20:21 ` Jan Kiszka
  0 siblings, 2 replies; 17+ messages in thread
From: Kim Chuan Lim @ 2006-07-07 19:59 UTC (permalink / raw)
  To: xenomai

Hi all,
The following is my problem...

suse003:/usr/xenomai/testsuite/latency # ./run
*
*
* Type ^C to stop this application.
*
*
Xenomai: native skin or CONFIG_XENO_OPT_PERVASIVE disabled.
(modprobe xeno_native?)
suse003:/usr/xenomai/testsuite/latency # modprobe xeno_native
FATAL: Module xeno_native not found.

i'm using an old pentium 3 1GHz machine with suse9.3.
i recently downloaded kernel 2.6.17 from kernel.org and patch it with
xenomai trunk.

May i know what is my problem??
Is it i didnt setup my kernel probably?

The following is the result of my locate..

locate xeno_native
/home/username/linux-2.6.17.4/kernel/xenomai/skins/native/.xeno_native.o.cmd
/home/username/linux-2.6.17.4/kernel/xenomai/skins/native/xeno_native.o

How can i load the xeno_native manually?

Regards,
Kim Chuan.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Xenomai-help] xenomai beginner problem.
  2006-07-07 19:59 [Xenomai-help] xenomai beginner problem Kim Chuan Lim
@ 2006-07-07 20:15 ` Gilles Chanteperdrix
  2006-07-07 20:21 ` Jan Kiszka
  1 sibling, 0 replies; 17+ messages in thread
From: Gilles Chanteperdrix @ 2006-07-07 20:15 UTC (permalink / raw)
  To: Kim Chuan Lim; +Cc: xenomai

Kim Chuan Lim wrote:
 > The following is the result of my locate..
 > 
 > locate xeno_native
 > /home/username/linux-2.6.17.4/kernel/xenomai/skins/native/.xeno_native.o.cmd
 > /home/username/linux-2.6.17.4/kernel/xenomai/skins/native/xeno_native.o

This may mean two things:
- either you did not compile the native skin as a module, it is
  built-in, and as suggested by the error message
  you disabled CONFIG_XENO_OPT_PERVASIVE in the "real-time subsystem"
  menu of the kernel configuration menu;
- or the compilation of the xeno_native module (and linux kernel) failed.

In order to conclude, posting /home/username/linux-2.6.17.4/.config as
well as the build logs if compilation failed, may help.

-- 


					    Gilles Chanteperdrix.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Xenomai-help] xenomai beginner problem.
  2006-07-07 19:59 [Xenomai-help] xenomai beginner problem Kim Chuan Lim
  2006-07-07 20:15 ` Gilles Chanteperdrix
@ 2006-07-07 20:21 ` Jan Kiszka
  2006-07-08 13:32   ` Kim Chuan Lim
  1 sibling, 1 reply; 17+ messages in thread
From: Jan Kiszka @ 2006-07-07 20:21 UTC (permalink / raw)
  To: Kim Chuan Lim; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 1325 bytes --]

Kim Chuan Lim wrote:
> Hi all,
> The following is my problem...
> 
> suse003:/usr/xenomai/testsuite/latency # ./run
> *
> *
> * Type ^C to stop this application.
> *
> *
> Xenomai: native skin or CONFIG_XENO_OPT_PERVASIVE disabled.
> (modprobe xeno_native?)
> suse003:/usr/xenomai/testsuite/latency # modprobe xeno_native
> FATAL: Module xeno_native not found.

xeno_nucleus and xeno_native are by default both compiled into your
kernel. Therefore: no modules.

What does dmesg tell you regarding Xenomai? Any suspicious
warnings/errors? I'm thinking now of the issue that local APIC is
enabled in the kernel, but "lapic" is missing in the kernel command
line. The kernel messages should indicate this.

> 
> i'm using an old pentium 3 1GHz machine with suse9.3.
> i recently downloaded kernel 2.6.17 from kernel.org and patch it with
> xenomai trunk.
> 
> May i know what is my problem??
> Is it i didnt setup my kernel probably?
> 
> The following is the result of my locate..
> 
> locate xeno_native
> /home/username/linux-2.6.17.4/kernel/xenomai/skins/native/.xeno_native.o.cmd
> 
> /home/username/linux-2.6.17.4/kernel/xenomai/skins/native/xeno_native.o
> 
> How can i load the xeno_native manually?

Check you kernel configuration if this is really needed - I bet not.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Xenomai-help] xenomai beginner problem.
  2006-07-07 20:21 ` Jan Kiszka
@ 2006-07-08 13:32   ` Kim Chuan Lim
  2006-07-08 13:51     ` Gilles Chanteperdrix
  0 siblings, 1 reply; 17+ messages in thread
From: Kim Chuan Lim @ 2006-07-08 13:32 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai

Hi Jan,

You are right, i got some informations from my dmesg...
Xenomai: Local APIC absent or disabled!
         Disable APIC support or pass "lapic=1" as bootparam.
Xenomai: system init failed, code -19.
Xenomai: native skin init failed, code -19.
Xenomai: starting POSIX services.
Xenomai: POSIX skin init failed, code -19.
Xenomai: RTDM skin init failed, code -19.

The following is part of my APIC kernel configuration.

# CONFIG_HPET_TIMER is not set
CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
CONFIG_IPIPE=y
CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_MCE=y

What should i do??

Regards,
Kim Chuan.


On 7/7/06, Jan Kiszka <jan.kiszka@domain.hid> wrote:
> Kim Chuan Lim wrote:
> > Hi all,
> > The following is my problem...
> >
> > suse003:/usr/xenomai/testsuite/latency # ./run
> > *
> > *
> > * Type ^C to stop this application.
> > *
> > *
> > Xenomai: native skin or CONFIG_XENO_OPT_PERVASIVE disabled.
> > (modprobe xeno_native?)
> > suse003:/usr/xenomai/testsuite/latency # modprobe xeno_native
> > FATAL: Module xeno_native not found.
>
> xeno_nucleus and xeno_native are by default both compiled into your
> kernel. Therefore: no modules.
>
> What does dmesg tell you regarding Xenomai? Any suspicious
> warnings/errors? I'm thinking now of the issue that local APIC is
> enabled in the kernel, but "lapic" is missing in the kernel command
> line. The kernel messages should indicate this.
>
> >
> > i'm using an old pentium 3 1GHz machine with suse9.3.
> > i recently downloaded kernel 2.6.17 from kernel.org and patch it with
> > xenomai trunk.
> >
> > May i know what is my problem??
> > Is it i didnt setup my kernel probably?
> >
> > The following is the result of my locate..
> >
> > locate xeno_native
> > /home/username/linux-2.6.17.4/kernel/xenomai/skins/native/.xeno_native.o.cmd
> >
> > /home/username/linux-2.6.17.4/kernel/xenomai/skins/native/xeno_native.o
> >
> > How can i load the xeno_native manually?
>
> Check you kernel configuration if this is really needed - I bet not.
>
> Jan
>
>
>
>


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Xenomai-help] xenomai beginner problem.
  2006-07-08 13:32   ` Kim Chuan Lim
@ 2006-07-08 13:51     ` Gilles Chanteperdrix
  2006-07-08 15:08       ` Kim Chuan Lim
  0 siblings, 1 reply; 17+ messages in thread
From: Gilles Chanteperdrix @ 2006-07-08 13:51 UTC (permalink / raw)
  To: Kim Chuan Lim; +Cc: xenomai

Kim Chuan Lim wrote:
 > Hi Jan,
 > 
 > You are right, i got some informations from my dmesg...
 > Xenomai: Local APIC absent or disabled!
 >          Disable APIC support or pass "lapic=1" as bootparam.
 > (...)
 > What should i do??

Try passing "lapic=1" as kernel boot parameter, and if it still does not
work, recompile your kernel with APIC support disabled.

If you want to know more about this issue, read the TROUBLESHOOTING
file.

-- 


					    Gilles Chanteperdrix.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Xenomai-help] xenomai beginner problem.
  2006-07-08 13:51     ` Gilles Chanteperdrix
@ 2006-07-08 15:08       ` Kim Chuan Lim
  2006-07-08 15:18         ` Philippe Gerum
  0 siblings, 1 reply; 17+ messages in thread
From: Kim Chuan Lim @ 2006-07-08 15:08 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

Hi Gilles,

> Try passing "lapic=1" as kernel boot parameter, and if it still does not
> work, recompile your kernel with APIC support disabled.

Thanks. It works.

I try to run some examples programs at /usr/xenomai/testsuite/latency/run ..
the following is the error i received..
warming up...
latency: failed to set periodic, code -110

Any quick suggest?

Regards,
Kim Chuan.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Xenomai-help] xenomai beginner problem.
  2006-07-08 15:08       ` Kim Chuan Lim
@ 2006-07-08 15:18         ` Philippe Gerum
  2006-07-08 18:56           ` Kim Chuan Lim
  0 siblings, 1 reply; 17+ messages in thread
From: Philippe Gerum @ 2006-07-08 15:18 UTC (permalink / raw)
  To: Kim Chuan Lim; +Cc: xenomai

On Sat, 2006-07-08 at 16:08 +0100, Kim Chuan Lim wrote:
> Hi Gilles,
> 
> > Try passing "lapic=1" as kernel boot parameter, and if it still does not
> > work, recompile your kernel with APIC support disabled.
> 
> Thanks. It works.
> 
> I try to run some examples programs at /usr/xenomai/testsuite/latency/run ..
> the following is the error i received..
> warming up...
> latency: failed to set periodic, code -110
> 
> Any quick suggest?
> 

Disable CONFIG_CPU_FREQ. If things don't improve, disable CONFIG_ACPI
globally to see if this works. Make sure CONFIG_PM is disabled too.

> Regards,
> Kim Chuan.
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
-- 
Philippe.




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Xenomai-help] xenomai beginner problem.
  2006-07-08 15:18         ` Philippe Gerum
@ 2006-07-08 18:56           ` Kim Chuan Lim
  2006-07-08 20:18             ` Gilles Chanteperdrix
  0 siblings, 1 reply; 17+ messages in thread
From: Kim Chuan Lim @ 2006-07-08 18:56 UTC (permalink / raw)
  To: rpm; +Cc: xenomai

Hi Philippe,

Thanks, it works again. ^ ^

I manage to run few testsuit program but two of them(switchbench and
cyclic) are crashing my xenomai machine.

May i know what is the reason?

Regards,
Kim Chuan.





On 7/8/06, Philippe Gerum <rpm@xenomai.org> wrote:
> On Sat, 2006-07-08 at 16:08 +0100, Kim Chuan Lim wrote:
> > Hi Gilles,
> >
> > > Try passing "lapic=1" as kernel boot parameter, and if it still does not
> > > work, recompile your kernel with APIC support disabled.
> >
> > Thanks. It works.
> >
> > I try to run some examples programs at /usr/xenomai/testsuite/latency/run ..
> > the following is the error i received..
> > warming up...
> > latency: failed to set periodic, code -110
> >
> > Any quick suggest?
> >
>
> Disable CONFIG_CPU_FREQ. If things don't improve, disable CONFIG_ACPI
> globally to see if this works. Make sure CONFIG_PM is disabled too.
>
> > Regards,
> > Kim Chuan.
> >
> > _______________________________________________
> > Xenomai-help mailing list
> > Xenomai-help@domain.hid
> > https://mail.gna.org/listinfo/xenomai-help
> --
> Philippe.
>
>
>


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Xenomai-help] xenomai beginner problem.
  2006-07-08 18:56           ` Kim Chuan Lim
@ 2006-07-08 20:18             ` Gilles Chanteperdrix
  2006-07-08 22:02               ` Jan Kiszka
  0 siblings, 1 reply; 17+ messages in thread
From: Gilles Chanteperdrix @ 2006-07-08 20:18 UTC (permalink / raw)
  To: Kim Chuan Lim; +Cc: xenomai

Kim Chuan Lim wrote:
 > Hi Philippe,
 > 
 > Thanks, it works again. ^ ^
 > 
 > I manage to run few testsuit program but two of them(switchbench and
 > cyclic) are crashing my xenomai machine.
 > 
 > May i know what is the reason?

The reason is unknown so far, such crashes are abnormal. What kind of
crash is it ? Also, if not running in text mode, could you run the tests
in text mode, in order to be able to send us the kernel oops text or
stack trace, if any.

-- 


					    Gilles Chanteperdrix.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Xenomai-help] xenomai beginner problem.
  2006-07-08 20:18             ` Gilles Chanteperdrix
@ 2006-07-08 22:02               ` Jan Kiszka
  2006-07-09 13:46                 ` Kim Chuan Lim
  0 siblings, 1 reply; 17+ messages in thread
From: Jan Kiszka @ 2006-07-08 22:02 UTC (permalink / raw)
  To: Kim Chuan Lim; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 1214 bytes --]

Gilles Chanteperdrix wrote:
> Kim Chuan Lim wrote:
>  > Hi Philippe,
>  > 
>  > Thanks, it works again. ^ ^
>  > 
>  > I manage to run few testsuit program but two of them(switchbench and
>  > cyclic) are crashing my xenomai machine.
>  > 
>  > May i know what is the reason?
> 
> The reason is unknown so far, such crashes are abnormal. What kind of
> crash is it ? Also, if not running in text mode, could you run the tests
> in text mode, in order to be able to send us the kernel oops text or
> stack trace, if any.
> 

Further things that may help to track this down:

o Was your kernel build and installation really consistent after the
  last modifications, did you re-run both module_install _and_ install?

o Which tests succeeded? Maybe the effect is limited to one skin (for
  what reason ever).

o Please do not forget to attach your .config (preferably compressed).
  You were using latest SVN trunk of Xenomai?

o If you face a total hang up of your box, try to redirect the kernel
  messages to a serial console and capture the result via a null-modem
  link to a second station. See linux/Documentation/serial-console.txt
  for a howto.

Thanks in advance,
Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Xenomai-help] xenomai beginner problem.
  2006-07-08 22:02               ` Jan Kiszka
@ 2006-07-09 13:46                 ` Kim Chuan Lim
  2006-07-09 17:05                   ` Jan Kiszka
  0 siblings, 1 reply; 17+ messages in thread
From: Kim Chuan Lim @ 2006-07-09 13:46 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 1443 bytes --]

Hi all,

Please find the attachment for my linux kernel config.
Please let me know if anything wrong in the configuration.

Regards,
Kim Chuan.


On 7/8/06, Jan Kiszka <jan.kiszka@domain.hid> wrote:
> Gilles Chanteperdrix wrote:
> > Kim Chuan Lim wrote:
> >  > Hi Philippe,
> >  >
> >  > Thanks, it works again. ^ ^
> >  >
> >  > I manage to run few testsuit program but two of them(switchbench and
> >  > cyclic) are crashing my xenomai machine.
> >  >
> >  > May i know what is the reason?
> >
> > The reason is unknown so far, such crashes are abnormal. What kind of
> > crash is it ? Also, if not running in text mode, could you run the tests
> > in text mode, in order to be able to send us the kernel oops text or
> > stack trace, if any.
> >
>
> Further things that may help to track this down:
>
> o Was your kernel build and installation really consistent after the
>   last modifications, did you re-run both module_install _and_ install?
>
> o Which tests succeeded? Maybe the effect is limited to one skin (for
>   what reason ever).
>
> o Please do not forget to attach your .config (preferably compressed).
>   You were using latest SVN trunk of Xenomai?
>
> o If you face a total hang up of your box, try to redirect the kernel
>   messages to a serial console and capture the result via a null-modem
>   link to a second station. See linux/Documentation/serial-console.txt
>   for a howto.
>
> Thanks in advance,
> Jan
>
>
>
>

[-- Attachment #2: config.gz --]
[-- Type: application/x-gzip, Size: 17568 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Xenomai-help] xenomai beginner problem.
  2006-07-09 13:46                 ` Kim Chuan Lim
@ 2006-07-09 17:05                   ` Jan Kiszka
  2006-07-10 15:38                     ` Kim Chuan Lim
  0 siblings, 1 reply; 17+ messages in thread
From: Jan Kiszka @ 2006-07-09 17:05 UTC (permalink / raw)
  To: Kim Chuan Lim; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 263 bytes --]

Kim Chuan Lim wrote:
> Hi all,
> 
> Please find the attachment for my linux kernel config.
> Please let me know if anything wrong in the configuration.

Nothing suspicious on first sight. Please proceed with Gilles' and my
other suggestions now.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Xenomai-help] xenomai beginner problem.
  2006-07-09 17:05                   ` Jan Kiszka
@ 2006-07-10 15:38                     ` Kim Chuan Lim
  2006-07-10 16:34                       ` Jan Kiszka
  0 siblings, 1 reply; 17+ messages in thread
From: Kim Chuan Lim @ 2006-07-10 15:38 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai

Hi all,

I managed to install Xenomai into another of my machine.
I am able to run all the test program without any problem.

I am interested with the hard real time serial port example from..
http://www.captain.at/xenomai-serial-port-example.php

The following is the error message i received when i try to run the program..
./rt_serial_uprog
rt_serial_uprog: PRESS CTRL-C to EXIT
rt_serial_uprog: timer started
rt_serial_uprog: can't open rtser0
rt_serial_uprog: stop timer

May i know which device is "rtser0"?
shall i just change it to /dev/ttyS0?

Regards,
Kim Chuan.


On 7/9/06, Jan Kiszka <jan.kiszka@domain.hid> wrote:
> Kim Chuan Lim wrote:
> > Hi all,
> >
> > Please find the attachment for my linux kernel config.
> > Please let me know if anything wrong in the configuration.
>
> Nothing suspicious on first sight. Please proceed with Gilles' and my
> other suggestions now.
>
> Jan
>
>
>
>


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Xenomai-help] xenomai beginner problem.
  2006-07-10 15:38                     ` Kim Chuan Lim
@ 2006-07-10 16:34                       ` Jan Kiszka
  0 siblings, 0 replies; 17+ messages in thread
From: Jan Kiszka @ 2006-07-10 16:34 UTC (permalink / raw)
  To: Kim Chuan Lim; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 950 bytes --]

Kim Chuan Lim wrote:
> Hi all,
> 
> I managed to install Xenomai into another of my machine.
> I am able to run all the test program without any problem.

Hmm, while it's nice to hear that this works, there remains the
uncomfortable feeling that something might be broken on your first box.
When time allows, we would welcome further investigations, specifically
a capture of that infamous oops.

> 
> I am interested with the hard real time serial port example from..
> http://www.captain.at/xenomai-serial-port-example.php
> 
> The following is the error message i received when i try to run the
> program..
> ./rt_serial_uprog
> rt_serial_uprog: PRESS CTRL-C to EXIT
> rt_serial_uprog: timer started
> rt_serial_uprog: can't open rtser0
> rt_serial_uprog: stop timer
> 
> May i know which device is "rtser0"?
> shall i just change it to /dev/ttyS0?

Check Hannes' doku: you have to load the xeno_16550A driver.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Xenomai-help] xenomai beginner problem
@ 2006-07-11 14:33 Martin Chaplet
  2006-07-11 15:07 ` Jan Kiszka
  2006-07-11 15:09 ` Hannes Mayer
  0 siblings, 2 replies; 17+ messages in thread
From: Martin Chaplet @ 2006-07-11 14:33 UTC (permalink / raw)
  To: xenomai

On 7/11, Jan Kiszka wrote:

	Kim Chuan Lim wrote:
		I am interested with the hard real time serial port example from..
		http://www.captain.at/xenomai-serial-port-example.php

		The following is the error message i received when i try to run the
		program..
		./rt_serial_uprog
		rt_serial_uprog: PRESS CTRL-C to EXIT
		rt_serial_uprog: timer started
		rt_serial_uprog: can't open rtser0
		rt_serial_uprog: stop timer

		May i know which device is "rtser0"?
		shall i just change it to /dev/ttyS0?

	Check Hannes' doku: you have to load the xeno_16550A driver.


I'm also a beginner on Xenomai and I have the same problem as Kim Chuan Lim.
 I verified my configuration : RTDM skin and 16550A driver are both integrated 
in my 2.6.16 kernel, so these modules don't exist.
Shall I create rtser0 node ?

Martin



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Xenomai-help] xenomai beginner problem
  2006-07-11 14:33 Martin Chaplet
@ 2006-07-11 15:07 ` Jan Kiszka
  2006-07-11 15:09 ` Hannes Mayer
  1 sibling, 0 replies; 17+ messages in thread
From: Jan Kiszka @ 2006-07-11 15:07 UTC (permalink / raw)
  To: Martin Chaplet; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 1619 bytes --]

Martin Chaplet wrote:
> On 7/11, Jan Kiszka wrote:
> 
> 	Kim Chuan Lim wrote:
> 		I am interested with the hard real time serial port example from..
> 		http://www.captain.at/xenomai-serial-port-example.php
> 
> 		The following is the error message i received when i try to run the
> 		program..
> 		./rt_serial_uprog
> 		rt_serial_uprog: PRESS CTRL-C to EXIT
> 		rt_serial_uprog: timer started
> 		rt_serial_uprog: can't open rtser0
> 		rt_serial_uprog: stop timer
> 
> 		May i know which device is "rtser0"?
> 		shall i just change it to /dev/ttyS0?
> 
> 	Check Hannes' doku: you have to load the xeno_16550A driver.
> 
> 
> I'm also a beginner on Xenomai and I have the same problem as Kim Chuan Lim.
>  I verified my configuration : RTDM skin and 16550A driver are both integrated 
> in my 2.6.16 kernel, so these modules don't exist.
> Shall I create rtser0 node ?

Nope, there is no such thing as device nodes under Xenomai's RTDM skin.
But when your 16550A driver is compiled into the kernel, you have to
provide some hardware parameters via the boot command line to configure
at least one port:

8250.nr_uarts=0		(to keep Linux away from using the UARTs)
xeno_16550A.ioaddr=0x3f8 (first UART)
xeno_16550A.irq=4	(first UART)

Of course, you can also increase 8250.nr_uarts and move the 16550A
driver to some other port etc. I guess this should make it into
doc/txt/16550A-driver.txt as well...

Alternatively, turning xeno_16550A into a module again allows you to
reconfigure your hardware on a running system. Then that mentioned doc
file fully applies again.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Xenomai-help] xenomai beginner problem
  2006-07-11 14:33 Martin Chaplet
  2006-07-11 15:07 ` Jan Kiszka
@ 2006-07-11 15:09 ` Hannes Mayer
  1 sibling, 0 replies; 17+ messages in thread
From: Hannes Mayer @ 2006-07-11 15:09 UTC (permalink / raw)
  To: Martin Chaplet; +Cc: xenomai

Martin Chaplet wrote:
> On 7/11, Jan Kiszka wrote:
> 
> 	Kim Chuan Lim wrote:
> 		I am interested with the hard real time serial port example from..
> 		http://www.captain.at/xenomai-serial-port-example.php
> 
> 		The following is the error message i received when i try to run the
> 		program..
> 		./rt_serial_uprog
> 		rt_serial_uprog: PRESS CTRL-C to EXIT
> 		rt_serial_uprog: timer started
> 		rt_serial_uprog: can't open rtser0
> 		rt_serial_uprog: stop timer
> 
> 		May i know which device is "rtser0"?
> 		shall i just change it to /dev/ttyS0?
> 
> 	Check Hannes' doku: you have to load the xeno_16550A driver.
> 
> 
> I'm also a beginner on Xenomai and I have the same problem as Kim Chuan Lim.
>  I verified my configuration : RTDM skin and 16550A driver are both integrated 
> in my 2.6.16 kernel, so these modules don't exist.
> Shall I create rtser0 node ?

I think I had the 16550A driver once also compiled in, but I couldn't configure
it. But once you compile it as module, check:
http://www.captain.at/xenomai-xeno_16550A.php

Best regards,
Hannes.


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2006-07-11 15:09 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-07 19:59 [Xenomai-help] xenomai beginner problem Kim Chuan Lim
2006-07-07 20:15 ` Gilles Chanteperdrix
2006-07-07 20:21 ` Jan Kiszka
2006-07-08 13:32   ` Kim Chuan Lim
2006-07-08 13:51     ` Gilles Chanteperdrix
2006-07-08 15:08       ` Kim Chuan Lim
2006-07-08 15:18         ` Philippe Gerum
2006-07-08 18:56           ` Kim Chuan Lim
2006-07-08 20:18             ` Gilles Chanteperdrix
2006-07-08 22:02               ` Jan Kiszka
2006-07-09 13:46                 ` Kim Chuan Lim
2006-07-09 17:05                   ` Jan Kiszka
2006-07-10 15:38                     ` Kim Chuan Lim
2006-07-10 16:34                       ` Jan Kiszka
  -- strict thread matches above, loose matches on Subject: below --
2006-07-11 14:33 Martin Chaplet
2006-07-11 15:07 ` Jan Kiszka
2006-07-11 15:09 ` Hannes Mayer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.