rtems_tarfs_load("/", ...) -> null_op_mknod()

Gedare Bloom gedare at rtems.org
Wed Oct 2 17:46:05 UTC 2013


Joel, perhaps the patch I checked in propagated a bad return value
that was previously ignored?
-Gedare

On Wed, Oct 2, 2013 at 11:22 AM, Joel Sherrill
<joel.sherrill at oarcorp.com> wrote:
> I assume this worked in the past but what root filesystem do you
> have configured?
>
>
> On 10/2/2013 5:52 AM, Gedare Bloom wrote:
>>
>> Nick,
>> It sounds like a bug somewhere to me. If you have a simple example
>> that reproduces this behavior, could you file a report on the RTEMS
>> bugzilla?
>>
>> -Gedare
>>
>> On Wed, Oct 2, 2013 at 2:46 AM, Nick Withers <nick.withers at anu.edu.au>
>> wrote:
>>>
>>> Hey guys,
>>>
>>>
>>> http://git.rtems.org/rtems/commit/?id=97ae1eeb38a6521cfd52171cf6b816bdebf59f6b
>>> seems to have broken rtems_tarfs_load("/", ...) for me.
>>>
>>> rtems_filesystem_mknod() ends up calling null_op_mknod(), which
>>> unconditionally returns -1 (which makes sense, given its name) and now
>>> the whole shebang fails.
>>>
>>> Am I doing something silly? I've really just mimicked some of the
>>> examples' usage, and it works a charm with the change backed out.
>>> --
>>> Nick Withers
>>>
>>> Embedded Systems Programmer
>>> Room 2.26, Building 57
>>> Department of Nuclear Physics
>>> Research School of Physics and Engineering
>>> The Australian National University (CRICOS: 00120C)
>>>
>>> eMail: nick.withers at anu.edu.au
>>> Phone: +61 2 6125 2091
>>> Mobile: +61 414 397 446
>>>
>>>
>>> _______________________________________________
>>> rtems-users mailing list
>>> rtems-users at rtems.org
>>> http://www.rtems.org/mailman/listinfo/rtems-users
>>
>> _______________________________________________
>> rtems-users mailing list
>> rtems-users at rtems.org
>> http://www.rtems.org/mailman/listinfo/rtems-users
>
>
>
> --
> Joel Sherrill, Ph.D.              Director of Research & Development
> joel.sherrill at OARcorp.com         On-Line Applications Research
> Ask me about RTEMS: a free RTOS   Huntsville AL 35805
> Support Available                 (256) 722-9985
>



More information about the users mailing list