Hi,<br><br>I have an RFS filesystem using the nvram device, its formatted ok and mount_and_make_target_path() also worked ok. But attempting to mkdir() causes a really lowlevel issue.<br><br>The callstack;<br><br>rtems_rfs_block_map_find() at rtems-rfs-block.c:246 0x81198bd8 <br>
rtems_rfs_block_map_next_block() at rtems-rfs-block.c:353 0x81198d1e <br>rtems_rfs_dir_lookup_ino() at rtems-rfs-dir.c:204 0x8119951c <br>rtems_rfs_rtems_eval_for_make() at rtems-rfs-rtems.c:440 0x8118e142 <br>IMFS_evaluate_for_make() at imfs_eval.c:435 0x81190718 <br>
mknod() at mknod.c:64 0x81183d5c <br>mkdir() at mkdir.c:29 0x81183cf0 <br>build() at rtems_mkdir.c:101 0x811843a0 <br>rtems_mkdir() at rtems_mkdir.c:136 0x811843a0 <br><br><br>the rtems_rfs_block_pos_block_past_end macro is failing and causing the return of ENXIO.<br>
<br>The two arguments to the macro are;<br><br>bpos->bno = 1<br>bpos->boff = 0<br>bpos->block = 0<br><br>map->size->count = 1<br>map->size->offset = 0<br clear="all"><br>Which seems to me the cause of ENXIO being returned, but i dont know how my BSP could affect this.<br>
<br>Do people use RFS in production systems ? i am using the 4.10.2 sources.<br><br><div><br>regards</div><div>---</div><div>Matthew J Fletcher</div><br>