[ ssic-linux-Bugs-2924122 ] migration crashes destination node with current CVS

"SourceForge.net" <[email protected]> Sat, 13 Mar 2010 19:58:12 +0000
Newsgroups gmane.linux.cluster.ssic.devel
Message-ID <[email protected]>
Bugs item #2924122, was opened at 2009-12-31 06:05
Message generated for change (Settings changed) made by rogertsang
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=405834&aid=2924122&group_id=32541

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Process Management
Group: None
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: John Hughes (hughesj)
Assigned to: Roger Tsang (rogertsang)
Summary: migration crashes destination node with current CVS

Initial Comment:
Running the regression tests I get node2 crashing on the first test:

Unable to handle kernel NULL pointer dereference at virtual address 0000000c
 printing eip:
c01ae2a2
*pde = 00000000
Oops: 0000 [#1]
SMP 
Modules linked in: ext3 jbd parport_pc parport floppy uhci_hcd ohci_hcd ehci_hcd i2c_piix4 i2c_core ide_scsi scsi_mod e100 mii ne2k_pci 8390
CPU:    0
EIP:    0060:[<c01ae2a2>]    Not tainted VLI
EFLAGS: 00000246   (2.6.11-ssi-686-smp) 
EIP is at proc_pid_lookup+0x262/0x330
eax: 00000000   ebx: 00000000   ecx: cf820000   edx: 00010b31
esi: 00010b31   edi: cf9cf360   ebp: ceff9c80   esp: ceff9c5c
ds: 007b   es: 007b   ss: 0068
Process 1764324-badness (pid: 68401, threadinfo=ceff8000 task=cf866000)
Stack: 00010b31 c04c924c 00000000 00000000 00000000 00000000 c13abe2c ceff9d88 
       cefe22c0 ceff9ca0 c01ab604 c13abe2c cefe22c0 ceff9d88 cefe22c0 fffffff4 
       c13abea0 ceff9cc4 c017f7cb c13abe2c cefe22c0 ceff9d88 c13abe2c 00000000 
Call Trace:
 [<c0106a5f>] show_stack+0x7f/0xa0
 [<c0106c04>] show_registers+0x164/0x230
 [<c0106fb4>] die+0xf4/0x1c0
 [<c011f3ed>] do_page_fault+0x46d/0x669
 [<c01066c3>] error_code+0x2b/0x30
 [<c01ab604>] proc_root_lookup+0x44/0x70
 [<c017f7cb>] real_lookup+0xfb/0x140
 [<c017fbac>] do_lookup+0x8c/0xa0
 [<c017fd50>] link_path_walk+0x190/0xde0
 [<c01809bb>] path_walk+0x1b/0x20
 [<c026247c>] reop_import_path+0x36c/0x470
 [<c0262902>] reop_make_file+0x72/0x140
 [<c0289b11>] rmtfb_getcli_id+0x1f1/0x320
 [<c0262a90>] reop_import_file+0xc0/0x130
 [<c025ff5a>] reopen_unload_msg+0x15a/0x280
 [<c026053d>] common_data_unload_msg+0x34d/0x4a0
 [<c0260f45>] migrate_pproc_unload_msg+0x85/0x440
 [<c025ed8e>] migrate_server+0xee/0x961
 [<c025dc32>] migrate_server_setup+0x62/0x120
 [<c01023a5>] kernel_thread_helper+0x5/0x10
Code: 89 04 24 e8 71 e1 fd ff 8b 55 0c 89 14 24 e8 86 e8 fd ff 31 c0 e9 44 ff ff ff b8 00 e0 ff ff 21 e0 8b 00 31 db 8b 80 94 00 00 00 <8b> 40 0c 66 83 b8 1c 01 00 00 01 74 1a 89 f0 c1 e8 10 85 c0 0f 
 
Entering kdb (current=0xcf866000, pid 68401) on processor 0 Oops: Oops
due to oops @ 0xc01ae2a2
eax = 0x00000000 ebx = 0x00000000 ecx = 0xcf820000 edx = 0x00010b31 
esi = 0x00010b31 edi = 0xcf9cf360 esp = 0xceff9c5c eip = 0xc01ae2a2 
ebp = 0xceff9c80 xss = 0x00000068 xcs = 0x00000060 eflags = 0x00000246 
xds = 0x0000007b xes = 0x0000007b origeax = 0xffffffff &regs = 0xceff9c28
[0]kdb> 

----------------------------------------------------------------------

Comment By: Roger Tsang (rogertsang)
Date: 2010-02-02 00:46

Message:
checked-in

----------------------------------------------------------------------

Comment By: John Hughes (hughesj)
Date: 2010-01-01 18:55

Message:
Ok, that patch fixes it for me

----------------------------------------------------------------------

Comment By: Roger Tsang (rogertsang)
Date: 2009-12-31 18:40

Message:
Try attached patch.

----------------------------------------------------------------------

Comment By: Roger Tsang (rogertsang)
Date: 2009-12-31 17:28

Message:
I was able to reproduce this bug.
Until this is fixed the workaround is `migrate 2 $$`

----------------------------------------------------------------------

Comment By: John Hughes (hughesj)
Date: 2009-12-31 06:17

Message:
I meant to add:

sh -c 'echo 2 >/proc/self/goto; echo hi! >/dev/console'


----------------------------------------------------------------------

Comment By: John Hughes (hughesj)
Date: 2009-12-31 06:16

Message:
In fact it seems like mor or less any migration attempt is killing the
system:



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=405834&aid=2924122&group_id=32541

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev