[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#576131: VZ migration cause kernel panic



Package: linux-image-2.6.32-4-openvz-686
Severity: important

This is a report of the kernel testing that I have conducted.
It worked better than I thought based on that the patch is newly
created.

Starting, stopping and similar operations works fine. But migration
do not. That could be because I do migration from an old kernel
version to a new one, but I assume that should work as well, right?

tigereye:~# vzmigrate -r no --keep-dst --online malakit 1
OPT:-r
OPT:--keep-dst
OPT:--online
OPT:malakit
Starting online migration of CT 1 to malakit
Preparing remote node
Initializing remote quota
vzquota : (warning) Quota file exists, it will be overwritten
Syncing private
Live migrating container...
Syncing 2nd level quota
Error:  Failed to undump container
... and then I rebooted target machine
ssh: connect to host malakit port 22: Connection refused
ssh: connect to host malakit port 22: Connection refused
ssh: connect to host malakit port 22: Connection refused
ssh: connect to host malakit port 22: Connection refused
ssh: connect to host malakit port 22: Connection refused
ssh: connect to host malakit port 22: Connection refused


Message from syslogd@malakit at Thu Apr  1 08:43:29 2010 ...
malakit kernel: [  640.424028] Stack:
Message from syslogd@malakit at Thu Apr  1 08:43:29 2010 ...
malakit kernel: [  640.422464] last sysfs file: /sys/devices/virtual/net/lo/operstate
Message from syslogd@malakit at Thu Apr  1 08:43:29 2010 ...
malakit kernel: [  640.424028] Process vzctl (pid: 1992, veid: 0, ti=ee10e000 task=e394c000 task.ti=ee10e000)
Message from syslogd@malakit at Thu Apr  1 08:43:29 2010 ...
malakit kernel: [  640.422300] general protection fault: 0000 [#1] SMP 
Message from syslogd@malakit at Thu Apr  1 08:43:29 2010 ...
malakit kernel: [  640.424028] Call Trace:
Message from syslogd@malakit at Thu Apr  1 08:43:29 2010 ...
malakit kernel: [  640.424028] Code: c9 89 d8 6a 00 e8 e3 36 dd ff e8 1e f2 ff ff 89 d8 89 f3 e8 ce 38 dd ff a1 00 5a 36 c1 5e 29 c3 31 c0 85 db 0f 49 c3 8b 54 24 30 <65> 33 15 14 00 00 00 74 05 e8 20 80 dc ff 83 c4 34 5b 5e c3 64 
Message from syslogd@malakit at Thu Apr  1 08:43:29 2010 ...
malakit kernel: [  640.424028] EIP: [<c126f52c>] schedule_timeout+0x9c/0xb0 SS:ESP 0068:ee10fe2c
Container(s) not found
malakit:~# vzctl start 1
Container already locked
malakit:~# vzctl stop 1
Container already locked
malakit:~# reboot

This problem is reproducible.

>From syslog
Apr  1 09:01:00 malakit kernel: [  879.706952] general protection fault: 0000 [#1] SMP
Apr  1 09:01:00 malakit kernel: [  879.707116] last sysfs file: /sys/devices/virtual/net/lo/operstate
Apr  1 09:01:00 malakit kernel: [  879.707208] Modules linked in: vzethdev vznetdev simfs vzrst vzcpt vzdquota vzmon vzdev xt_tcpudp xt_length xt_hl xt_tcpmss xt_TCPMSS iptable_mangle iptable_filter xt_multiport xt_limit xt_dscp ipt_REJECT ip_tables x_tables ext3 jbd mbcache dm_snapshot dm_mirror dm_region_hash dm_log loop snd_wavefront snd_cs4236 snd_via82xx snd_wss_lib snd_ac97_codec snd_opl3_lib ac97_bus snd_hwdep snd_mpu401 snd_mpu401_uart i2c_viapro snd_pcm snd_timer snd_page_alloc pcspkr psmouse shpchp snd_rawmidi i2c_core serio_raw snd_seq_device pci_hotplug ns558 gameport parport_pc snd soundcore evdev parport processor xfs exportfs dm_mod sd_mod crc_t10dif ata_generic pata_via uhci_hcd ehci_hcd via_rhine libata mii usbcore nls_base scsi_mod floppy button thermal fan thermal_sys [last unloaded: scsi_wait_scan]
Apr  1 09:01:00 malakit kernel: [  879.708020]
Apr  1 09:01:00 malakit kernel: [  879.708020] Pid: 3146, comm: vzctl Not tainted (2.6.32-4-openvz-686 #1) 042test001 KT400A-8237)
Apr  1 09:01:00 malakit kernel: [  879.708020] EIP: 0060:[<c126f52c>] EFLAGS: 00010206 CPU: 0
Apr  1 09:01:00 malakit kernel: [  879.708020] EIP is at schedule_timeout+0x9c/0xb0
Apr  1 09:01:00 malakit kernel: [  879.708020] EAX: 7fffffff EBX: 7fffffff ECX: 00000000 EDX: 956a01f5
Apr  1 09:01:00 malakit kernel: [  879.708020] ESI: ee191ea8 EDI: ee191eac EBP: 7fffffff ESP: ee191e2c
Apr  1 09:01:00 malakit kernel: [  879.708020]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Apr  1 09:01:00 malakit kernel: [  879.708020] Process vzctl (pid: 3146, veid: 0, ti=ee190000 task=ef12c000 task.ti=ee190000)
Apr  1 09:01:00 malakit kernel: [  879.708020] Stack:
Apr  1 09:01:00 malakit kernel: [  879.708020]  00000000 ee191ea8 00000000 00000000 00000000 00000000 0000007b 0000007b
Apr  1 09:01:00 malakit kernel: [  879.708020] <0> 000000d8 00000000 ffffffff c1008c80 956a01f5 ef12c000 ee191ea8 c126f3b9
Apr  1 09:01:00 malakit kernel: [  879.708020] <0> ef12c000 00000002 ee191eac 00000001 ef12c000 c1034101 ee191eb0 ee191eb0
Apr  1 09:01:00 malakit kernel: [  879.708020] Call Trace:
Apr  1 09:01:00 malakit kernel: [  879.708020]  [<c1008c80>] ? kernel_thread_helper+0x0/0x10
Apr  1 09:01:00 malakit kernel: [  879.708020]  [<c126f3b9>] ? wait_for_common+0xa4/0x100
Apr  1 09:01:00 malakit kernel: [  879.708020]  [<c1034101>] ? default_wake_function+0x0/0x8
Apr  1 09:01:00 malakit kernel: [  879.708020]  [<f159ff48>] ? vps_rst_undump+0x328/0x3d8 [vzrst]
Apr  1 09:01:00 malakit kernel: [  879.708020]  [<f159dc9f>] ? rst_ioctl+0x353/0x400 [vzrst]
Apr  1 09:01:00 malakit kernel: [  879.708020]  [<c10f2a17>] ? proc_reg_unlocked_ioctl+0x8a/0xa3
Apr  1 09:01:00 malakit kernel: [  879.708020]  [<f159d94c>] ? rst_ioctl+0x0/0x400 [vzrst]
Apr  1 09:01:00 malakit kernel: [  879.708020]  [<c10f298d>] ? proc_reg_unlocked_ioctl+0x0/0xa3
Apr  1 09:01:00 malakit kernel: [  879.708020]  [<c10c90b0>] ? vfs_ioctl+0x1c/0x5f
Apr  1 09:01:00 malakit kernel: [  879.708020]  [<c10c9633>] ? do_vfs_ioctl+0x499/0x4e5
Apr  1 09:01:00 malakit kernel: [  879.708020]  [<c10a8e19>] ? remove_vma+0x57/0x5c
Apr  1 09:01:00 malakit kernel: [  879.708020]  [<c10a8e19>] ? remove_vma+0x57/0x5c
Apr  1 09:01:00 malakit kernel: [  879.708020]  [<c10c96ab>] ? sys_ioctl+0x2c/0x42
Apr  1 09:01:00 malakit kernel: [  879.708020]  [<c1008120>] ? syscall_call+0x7/0xb
Apr  1 09:01:00 malakit kernel: [  879.708020] Code: c9 89 d8 6a 00 e8 e3 36 dd ff e8 1e f2 ff ff 89 d8 89 f3 e8 ce 38 dd ff a1 00 5a 36 c1 5e 29 c3 31 c0 85 db 0f 49 c3 8b 54 24 30 <65> 33 15 14 00 00 00 74 05 e8 20 80 dc ff 83 c4 34 5b 5e c3 64
Apr  1 09:01:00 malakit kernel: [  879.708020] EIP: [<c126f52c>] schedule_timeout+0x9c/0xb0 SS:ESP 0068:ee191e2c
Apr  1 09:01:00 malakit kernel: [  879.716744] ---[ end trace deee59ba9cf41108 ]---

Best regards,

// Ola

-- 
 --- Inguza Technology AB --- MSc in Information Technology ----
/  ola@inguza.com                    Annebergsslingan 37        \
|  opal@debian.org                   654 65 KARLSTAD            |
|  http://inguza.com/                Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---------------------------------------------------------------



Reply to: