WTF???
I realize that is seems off topic, but it results from changing from RTLinux to Xenomai. I need to change a dozen uses of mbuff to user space shared memory (yes, they are all user space processes using kernel memory) and want to use Posix stuff because all the code assumes names like "ANALOG" or "DIAG". My test code works on an unpatched 2.4.32 kernel, an rtlinux patched 2.4.29 kernel, but not on an ipipe patched 2.6.20 kernel. Both have tmpfs enabled. In both cases, tmpfs is mounted. The only change from one to the other is the kernel selected with grub at boot time. Does anyone know what is different with the 2.6.xx kernels that causes this behavior? Two hours of googling has not yielded any clues.
---
Carl Kreider
[email protected]
Post and then figure it out ....
There is a non obvious (at least to me) option,
general setup -> configure standard kernel features (for small systems) -> use full shmem filesystem
that substitutes ramfs for tmpfs, which seemed like a good idea since I am using ramdisks for all the writable directories, but it does break Posix shared memory.
Thanks for your indulgence.
Quoted 9 lines · ckreider
I realize that is seems off topic, but it results from changing from RTLinux to Xenomai. I need to change a dozen uses of mbuff to user space shared memory (yes, they are all user space processes using kernel memory) and want to use Posix stuff because all the code assumes names like "ANALOG" or "DIAG". My test code works on an unpatched 2.4.32 kernel, an rtlinux patched 2.4.29 kernel, but not on an ipipe patched 2.6.20 kernel. Both have tmpfs enabled. In both cases, tmpfs is mounted. The only change from one to the other is the kernel selected with grub at boot time. Does anyone know what is different with the 2.6.xx kernels that causes this behavior? Two hours of googling has not yielded any clues.
---
Carl Kreider
[email protected]
Quoted 4 lines
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help
---
Carl Kreider
[email protected]