All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] Analogy regressions in xenomai 2.5.5.1
@ 2010-10-12  8:44 Daniele Nicolodi
  2010-10-12  8:56 ` Philippe Gerum
  2010-10-13  6:31 ` Alexis Berlemont
  0 siblings, 2 replies; 10+ messages in thread
From: Daniele Nicolodi @ 2010-10-12  8:44 UTC (permalink / raw)
  To: xenomai

Hello, I just installed xenomai 2.5.5 on a 2.6.35.7 kernel and I'm
noticing serious regressions on analogy basic features:

1. Buffer management is badly broken. It is not possible to run any
acquisition command that wraps around in the ring buffer. That can be
simply reproduced with:

cmd_read -v d analogy0 -s 0 -S 0

after a while it will fail with: "cmd_read: a4l_read failed (ret=-32)".
In dmesg the driver reports: "Analogy: MITE: DME overwrite of free area".

2. Buffer is kept memory mapped after the mapping process dies. If a
process mapping a device buffer dies before un-mapping the buffer, it is
not possible to reconfigure the bnuffer. a4l_set_bufsize fails with
error code 32 and dmesg read "Analogy: a4l_ioctl_bufcfg: please unmap
before configuring buffer". Sinche the mapping process died I do not
know how to do this.

When I proposed some easy changes to the analogy API, to make it much
less confusing with trivial changes, Alexis expressed concerns about API
stability. What about functional stability? I think the reported ones
are major problems easily catch with simple pre-release tests...

Cheers,
Daniele


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

end of thread, other threads:[~2010-10-17 21:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-12  8:44 [Xenomai-core] Analogy regressions in xenomai 2.5.5.1 Daniele Nicolodi
2010-10-12  8:56 ` Philippe Gerum
2010-10-12  9:45   ` Daniele Nicolodi
2010-10-12  9:48     ` Gilles Chanteperdrix
2010-10-13  6:31 ` Alexis Berlemont
2010-10-13 15:10   ` Daniele Nicolodi
2010-10-15  9:16     ` Daniele Nicolodi
2010-10-15 10:15       ` Alexis Berlemont
2010-10-15 10:34         ` Daniele Nicolodi
2010-10-17 21:35     ` Alexis Berlemont

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.