Hi...
 
I tried to migrate a process which uses TCP/IP socket for communication.
but, it doesn't work well.
(It's similar to the previous message posted with title "[SSI] Process Migration" by junglok. I'm his co-worker.)
 
I wrote some debugging codes for printing out notification messages or variables using printk.
I finally found out a point where the error occured. but, I can't understand why it occurs and how I can fix it.
probably, I'm thinking there may be a problem on my installation of ssi linux.
 
-------debugging result-----------------------------------------------------
Apr 17 23:22:35 can23 kernel: --PVPSOP_MIGRATE() invoked ...
Apr 17 23:22:35 can23 kernel: ----------- icscli_send result = 0
Apr 17 23:22:35 can23 kernel: ----------- cli_rpvpsop_migrate: [before]rval = 0
Apr 17 23:22:35 can23 kernel: ----------- cli_rpvpsop_migrate: [after]rval = -13
Apr 17 23:22:35 can23 kernel: ----------- pvpsop_migrate: error = -13
Apr 17 23:22:35 can23 kernel: --cli_migrate: error = -13
Apr 17 23:22:35 can23 kernel: --Handle error return from PVPSOP_MIGRATE
---------------------------------------------------------------------------
 
---------------------------------------------------------------------------
        /*
         * Tell the origin node which node this process is moving to.
         */
        tnc_set_execnode(vm, node);
 
        printk("--PVPSOP_MIGRATE() invoked ...\n");
        error = PVPSOP_MIGRATE(node,
                               &mi_data,
                               is_sigmigrate);
 
        printk("-----------cli_migrate: error = %d\n", error);
 
        /*
         * Cleanup and reclaim memory associated with the rpc message.
         */
        rmv_relation_info_from_msg(vp_datap);
        kfree((caddr_t)vp_datap);
        migrate_pproc_remove_msg(&mi_data);

        if (error == -ERFB_TRYAGAIN) {
                /* fbsvrtok in middle of moving...need to repackage data
                 * since fbinfo may have changed.
                 */
                printk("ERFB_TRYAGAIN..!!!!!!!!!!!\n");
                goto retry;
        }
 
        /*
         * Handle error return from PVPSOP_MIGRATE()
         */
        if (error) {
                printk("--Handle error return from PVPSOP_MIGRATE\n");
                VPROC_UNLOCK_FOSTER_LIST_EXCL(vm, "migrate");
                VPROC_UNLOCK_PGRP_LIST_EXCL(vm, "migrate");
                VPROC_UNLOCK_SESSION_LIST_EXCL(vm, "migrate");
                VPROC_UNLOCK_EXCL(vm, "migrate");
                VPROC_END_MOVEMENT(vm, "migrate");
 
                /* Tell the origin node we didn't move. */
 
---------------------------------------------------------------------------