Mailing List Archive

Live-migrated domain crashes
Hi all,

I wonder if anyone has had any experience with the
live migration capabilites of Xen.
I've managed to install and start Xen 2.0.6 on two
Linux hosts, both running Mandrake 9.1 (I'm losing my
CDROM when I boot up with this 2.6.11.10 kernel
though).
I've also managed to create a domU on each using the
ttylinux as described in the user doc.
However, when I try live-migrating it from hostA to
hostB the operation appers to be successfull as the
new domU appers on hostB's 'xm list' output, but
crashes when I try 'xm console ExampleDomain'.
An if I try live-migrating it form hostB to hostA it
only briefly appers on the hostA's 'xm list' output
with status code 'p' before crashing.

This si the console output after I migrated
ExampleDomain from hostA to hostB and tried loging in.
I've also attached the log files from both hosts:


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[hostB]# xm list
Name Id Mem(MB) CPU State Time(s)
Console
Domain-0 0 827 0 r---- 2712.3
ExampleDomain 5 64 0 -b--- 0.0
9605
[hostB]# xm console ExampleDomain
************ REMOTE CONSOLE: CTRL-] TO QUIT ********
invalid operand: 0000 [#1]
PREEMPT
Modules linked in:
CPU: 0
EIP: 0061:[<c0220b62>] Not tainted VLI
EFLAGS: 00010292 (2.6.11.10-xenU)
EIP is at __make_request+0x52/0x510
eax: c0332dc4 ebx: 00000001 ecx: c10ac6f0 edx:
c00c5758
esi: c00c5758 edi: 00000000 ebp: c10aba60 esp:
c0023ca8
ds: 007b es: 007b ss: 0069
Process kjournald (pid: 573, threadinfo=c0022000
task=c0376570)
Stack: c00c5758 c0023ce0 00000003 00000000 0000201c
00000002 00000002 00000000
c00c5758 c0355a00 c012e3d0 c10aba60 c0221497
c00c5758 c10aba60 c10bb550
c0376570 00000000 c0376570 c012e3d0 c0023d18
c0023d18 c035c46c c035c474
Call Trace:
[<c012e3d0>] autoremove_wake_function+0x0/0x60
[<c0221497>] generic_make_request+0x157/0x1f0
[<c012e3d0>] autoremove_wake_function+0x0/0x60
[<c012e3d0>] autoremove_wake_function+0x0/0x60
[<c0138b43>] mempool_alloc+0x73/0x1b0
[<c012e3d0>] autoremove_wake_function+0x0/0x60
[<c0221592>] submit_bio+0x62/0x100
[<c015a437>] bio_alloc+0xe7/0x1e0
[<c0156840>] end_buffer_write_sync+0x0/0x80
[<c0159d65>] submit_bh+0xd5/0x120
[<c0159e1d>] ll_rw_block+0x6d/0x90
[<c01ce6c1>] journal_commit_transaction+0x1041/0x1260
[<c016e4f4>] d_rehash+0x54/0x80
[<c017785e>] simple_lookup+0x3e/0x50
[<c01057b8>] ctrl_if_send_message_noblock+0xc8/0x120
[<c01d0bff>] kjournald+0xdf/0x270
[<c012e3d0>] autoremove_wake_function+0x0/0x60
[<c012e3d0>] autoremove_wake_function+0x0/0x60
[<c0109202>] ret_from_fork+0x6/0x1c
[<c01d0b00>] commit_timeout+0x0/0x10
[<c01d0b20>] kjournald+0x0/0x270
[<c0107275>] kernel_thread_helper+0x5/0x10
Code: 16 8d 04 40 8b 44 81 04 c1 e8 09 89 44 24 14 8b
5a 10 8d 44 24 38 89 44 24 04 89 34 24 83 e3 01 e8 54
21 f2 ff 8b 86 ec 00 00 00 <0f> 0d 08 90 8b 44 24 38
8b 68 10 83 e5 04 74 0e f6 86 e9 00 00
<1>invalid operand: 0000 [#2]
PREEMPT
Modules linked in:
CPU: 0
EIP: 0061:[<c0220b62>] Not tainted VLI
EFLAGS: 00010292 (2.6.11.10-xenU)
EIP is at __make_request+0x52/0x510
eax: c0332dc4 ebx: 00000001 ecx: c10ac750 edx:
c00c5758
esi: c00c5758 edi: 00000000 ebp: c10ab1a0 esp:
c037dc14
ds: 007b es: 007b ss: 0069
Process pdflush (pid: 34, threadinfo=c037c000
task=c10bb550)
Stack: c00c5758 c037dc4c c0220dc6 c00c5758 0000201e
00000002 00000002 00004042
c00c5758 c0355a00 c012e3d0 c10ab1a0 c0221497
c00c5758 c10ab1a0 00000000
00000030 00000000 c10bb550 c012e3d0 c037dc84
c037dc84 c035c46c c035c474
Call Trace:
[<c0220dc6>] __make_request+0x2b6/0x510
[<c012e3d0>] autoremove_wake_function+0x0/0x60
[<c0221497>] generic_make_request+0x157/0x1f0
[<c012e3d0>] autoremove_wake_function+0x0/0x60
[<c012e3d0>] autoremove_wake_function+0x0/0x60
[<c0138b43>] mempool_alloc+0x73/0x1b0
[<c012e3d0>] autoremove_wake_function+0x0/0x60
[<c0221592>] submit_bio+0x62/0x100
[<c015a437>] bio_alloc+0xe7/0x1e0
[<c0157190>] end_buffer_async_write+0x0/0x150
[<c0159d65>] submit_bh+0xd5/0x120
[<c0158550>] __block_write_full_page+0x170/0x340
[<c013e3e9>] kmem_cache_alloc+0x69/0x70
[<c0159bd5>] block_write_full_page+0xd5/0x100
[<c01bbcb0>] ext3_get_block+0x0/0xa0
[<c01bc901>] ext3_ordered_writepage+0xd1/0x1b0
[<c01bbcb0>] ext3_get_block+0x0/0xa0
[<c01bc7f0>] bget_one+0x0/0x10
[<c017a4b3>] mpage_writepages+0x263/0x3b0
[<c015ce40>] blkdev_writepage+0x0/0x30
[<c01bc830>] ext3_ordered_writepage+0x0/0x1b0
[<c013b832>] do_writepages+0x42/0x50
[<c0178991>] __sync_single_inode+0x71/0x210
[<c0178b97>] __writeback_single_inode+0x67/0x160
[<c010797a>] __switch_to+0x2a/0x380
[<c0178e27>] sync_sb_inodes+0x197/0x2a0
[<c0179014>] writeback_inodes+0xe4/0x100
[<c013b5f6>] wb_kupdate+0x96/0x110
[<c013c188>] __pdflush+0xf8/0x220
[<c013c2b0>] pdflush+0x0/0x30
[<c013c2d6>] pdflush+0x26/0x30
[<c013b560>] wb_kupdate+0x0/0x110
[<c013c2b0>] pdflush+0x0/0x30
[<c012deaa>] kthread+0xaa/0xb0
[<c012de00>] kthread+0x0/0xb0
[<c0107275>] kernel_thread_helper+0x5/0x10
Code: 16 8d 04 40 8b 44 81 04 c1 e8 09 89 44 24 14 8b
5a 10 8d 44 24 38 89 44 24 04 89 34 24 83 e3 01 e8 54
21 f2 ff 8b 86 ec 00 00 00 <0f> 0d 08 90 8b 44 24 38
8b 68 10 83 e5 04 74 0e f6 86 e9 00 00

ttylinux 4.2
Linux 2.6.11.10-xenU on i686 arch

tiny.local login: root
<1>invalid operand: 0000 [#3]
PREEMPT
Modules linked in:
CPU: 0
EIP: 0061:[<c016f7af>] Not tainted VLI

************ REMOTE CONSOLE EXITED *****************
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<



___________________________________________________________
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
RE: Live-migrated domain crashes [ In reply to ]
> An if I try live-migrating it form hostB to hostA it only
> briefly appers on the hostA's 'xm list' output with status
> code 'p' before crashing.

Sounds like youre migrating the domain onto a different file system. You
need to be using NFS, iSCSI, GNBD etc.

Ian

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users