Allen Yang <[EMAIL PROTECTED]> wrote:

> I am using ColdFire MCF5329EVB and uClinux (2.6.17 kernel, uClibc
> 0.9.27).

2.6.17 certainly has support for it.

Can you check CONFIG_TINY_SHMEM=y and CONFIG_RAMFS=y?

> The compilation was OK. However, when I downloaded to my board, the
> shared memory creation always failed. shmid was always -1.

What was errno?

Also, can you strace your test program to make sure that it's not the C
library aborting the call before the kernel is consulted?  Alternatively, you
could put a printk() in do_shmat() in the kernel to see if it actually gets
there.

David

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to