Known bugs
From ElphelWiki
Revision as of 23:25, 3 November 2007 by Andrey.filippov (talk | contribs)
elphel353.7.1.4.5 and earlier
Cache coherency problem that was revealing itself in imgsrv by (sometimes) returning empty images (actually 1x1 GIF ones) after waiting fro the new image to be acquired. For the error to happen, mmap() (used while processing "img" or "meta" command) had to be called after the kernel wrote the metadata to the circular buffer (that happens during interrupt generated when the image is completely transferred to the system memory), and the mmamp-ed metadata was used before the cached data (kernel writes to cache first for this memory segment) first was flushed out (by other unrelated cache memory usage).
In rev. 7.1.4.6 the bug was fixed by explicitly flushing the used cache line.