Strange filesystem mounting behavior: That was a stupid question

Thomas Doerfler Thomas.Doerfler at imd-systems.de
Wed Oct 6 14:00:11 UTC 2004


Etienne,

in general, you must add your individual disk device driver to 
the list of rtems device drivers, and afterwards, the general 
ata driver must be installed. In the "fileio" example, this is 
done conditionally, when a preprocessor directive 
"BSP_HAS_IDE_DRIVER" (or so...) is defined.

wkr,
Thomas.


> Hi Thomas,
> Yes, that was the problem. Now the "next" problem in the chain is that
> diskdevs.c:get_disk_entry() crash since my "device" seem to not have
> been registered as a block device. I'm in the process of finding how
> this registration should be done: confdefs.h macros or function call of
> some sort.
> 
> Thanks for your help,
> 
> Etienne Fortin
> 
>  
> 
> -----Message d'origine-----
> De : Thomas Doerfler [mailto:Thomas.Doerfler at imd-systems.de] 
> Envoyé : 5 octobre, 2004 17:03
> À : Etienne Fortin
> Cc : rtems-users at rtems.com
> Objet : Re: Strange filesystem mounting behavior: That was a stupid
> question
> 
> 
> Etienne,
> 
> did you configure your application to use the "real" IMFS? If 
> you don't select it explicitly, only the "miniIMFS" is use, 
> which needs fewer code and data memory, but only supports the 
> creation of device nodes. 
> 
> You must have select
> 
> #define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
> 
> I hope this helps!
> 
> By the way: maybe you should not be SO pessimistic:
> 
> "As we can expect from early tests, it doesn't work :)" 
> It seems you have a caring computer, which tries to fulfill your 
> expectations ;->
> 
> wkr,
> Thomas.
> 
> 
> 
> > Sorry guys, my last mail was stupid. I didn't realize that "loc" is 
> > not about the DOSFS file system but about the IMFS filesystem which is
> 
> > the base filesystem. It doesn't explain why it doesn't have any mount 
> > handler, but I'll find out.
> > 
> > Anyway, thanks for your time :)
> > 
> > Etienne Fortin
> > Sensio
> 
> --------------------------------------------
> IMD Ingenieurbuero fuer Microcomputertechnik
> Thomas Doerfler           Herbststrasse 8
> D-82178 Puchheim          Germany
> email:    Thomas.Doerfler at imd-systems.de
> PGP public key available at: http://www.imd- systems.de/pgp_keys.htm
> 
> 

--------------------------------------------
IMD Ingenieurbuero fuer Microcomputertechnik
Thomas Doerfler           Herbststrasse 8
D-82178 Puchheim          Germany
email:    Thomas.Doerfler at imd-systems.de
PGP public key available at: http://www.imd-
systems.de/pgp_keys.htm




More information about the users mailing list