[uClinux-dev] Kernel modules don't work on read-only filesystems ?

David Wu davidwu at arcturusnetworks.com
Thu Oct 11 13:34:59 EDT 2007


On Thu, 11 Oct 2007 13:09:11 -0400, Josue de Freitas  
<josue.freitas at gmail.com> wrote:

> On 10/11/07, Lance Spaulding <lsjunk1 at cableone.net> wrote:
>>
>>
>> Hi Josue,
>>
>> I ran into the same problem with modules not working.  The following
>> post from *Harald Küthe solved the issue for me:
>>
>> *  
>> http://mailman.uclinux.org/pipermail/uclinux-dev/2005-August/034432.html
>>
>> Also regarding the read-only filesystem what we do is just create our
>> dynamic device nodes in /tmp/ which is writable.
>>
>
>
> This is the exact problem ! The modules are stripped. The only doubt  
> that I
> still have is in what file I have do put -S option for $(ROMFSINST). I
> change all $(ROMFSINST) in  
> uClinux-dist/vendor/Xilinx/uclinux-auto/Makefile
> for a $(ROMFSINST) -S and also the uClinux-dist/Makefile for a ROMFSINST=
> romfs-inst.sh -S. Then I do a make clean for all dist and make it all but
> the modules are still stripped.
You can find it in the top level Makefile, target: modules_install

> My romfs-inst.sh was already patched.
>
>
> Thanks Lance !
>
> Regards, Josue.



-- 
David
davidwu at arcturusnetworks.com


More information about the uClinux-dev mailing list