#9999 NORM Not Tri: rename of file on boot partition by openfirmware fails with error

Zarro Boogs per Child bugtracker at laptop.org
Sun Jan 24 22:55:36 EST 2010


#9999: rename of file on boot partition by openfirmware fails with error
---------------------------------+------------------------------------------
 Reporter:  Quozl                |                 Owner:  wmb at firmworks.com   
     Type:  defect               |                Status:  new                 
 Priority:  normal               |             Milestone:  Not Triaged         
Component:  ofw - open firmware  |               Version:  Development firmware
 Keywords:                       |           Next_action:  reproduce           
 Verified:  0                    |   Deployment_affected:                      
Blockedby:                       |              Blocking:                      
---------------------------------+------------------------------------------
 '''Context''': XO-1.5 B2, Q3A29, OS200 newly flashed.

 '''Symptom''': the following input sequences on the pristine partition
 fail with error:

 {{{
 ok to-file test cr
 ok copy test copy
 ok rename copy other
 Can't rename file
 }}}

 {{{
 ok to-file test cr
 ok rename test other
 Can't rename file
 }}}

 {{{
 ok copy boot-versions\200\README here
 ok rename here there
 Can't rename file
 }}}

 In all cases, the directory continues to hold the file before the rename.

 However, the following rename works:

 {{{
 ok chdir boot-versions
 ok chdir 200
 ok rename README there
 }}}

 And the following rename of a directory fails differently:

 {{{
 ok rename runin there
 General Protection Exception
 }}}

 and ftrace shows:

 {{{
       404
       400
         2
         0
 $hardlink         Called from $rename                   at  ff85b6a8
 execute           Called from $call-self                at  ff82a828
 $call-self        Called from $call-method              at  ff82a908
         0
 $call-method      Called from do-fileop                 at  ff875f40
  ffad8034
 do-fileop         Called from $rename                   at  ff8768ec
 $rename           Called from rename                    at  ff876940
 execute           Called from interpret-do-defined      at  ff808ddc
 do-defined        Called from $compile                  at  ff808d80
 $compile          Called from (interpret                at  ff809044
    Catch frame - SP: ff9fcfec   my-self: 0   handler: ff9fc7fc
 catch             Called from (interact)                at  ff80da84
 (interact)        Called from interact                  at  ff80dae0
        22
   8072780
        20
         0
         5
         0
 interact          Called from (quit)                    at  ff80db28
 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/9999>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list