Forum Discussion
Altera_Forum
Honored Contributor
19 years agoFilesystem got corrupt after calling pthread_creat
Hi,
I am running some tests with the pthread stuff. It seems that the (romfs) filesytem of my board (cyclon development board) got corrupt, after doing some pthread tests. I guess that some datastructure in RAM got overwritten. Did anyone get this rare behaviour before? Any suggestion? Regards, Kwok Wong P.S. The filesystem is quite full (no so many flash space left).4 Replies
- Altera_Forum
Honored Contributor
I have no idea about the pthread issue. But you can try zImage and initramfs, which can save the flash usage to around 50% .
- Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by hippo@Nov 9 2006, 10:33 PM i have no idea about the pthread issue. but you can try zimage and initramfs, which can save the flash usage to around 50% .<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19344)
--- quote end ---
--- Quote End --- AND, you MUST work on Linux PC for the initramfs to work.
- Altera_Forum
Honored Contributor
I'm working a lot with threads and my filesystem doesn't become corrupt.
- Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by helmchen@Nov 11 2006, 09:50 AM i'm working a lot with threads and my filesystem doesn't become corrupt.<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19386)
--- quote end ---
--- Quote End --- The problems disapper, after I have built the uClibc again and do not use the pre-built uLibc libraries from the Microtronix distribution.