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

Bug#550740: linux-image-2.6.26-2-openvz-amd64: checkpointing openvz resets shared memory to zero



Hi Gerhard

Thanks for pointing this out. Sorry for the late answer but I did not see this
mail in all the others.

It seems like there are a patch available:
http://1342.bugzilla.openvz.org/attachment.cgi?id=1064

It do not look like an ABI breaker to me, but do you have any more information
about this issue please tell.

Best regards,

// Ola

On Mon, Oct 12, 2009 at 06:50:13PM +0200, Gerhard Heift wrote:
> Package: linux-image-2.6.26-2-openvz-amd64
> Version: 2.6.26-19
> Severity: critical
> Justification: causes serious data loss
> 
> The checkpoint/restore of vzctl resets shared memory in an openvz container
> to zero if a programm access this shared memory.
> 
> More information in the upstream bugreport:
> 
> http://bugzilla.openvz.org/show_bug.cgi?id=1342
> 
> -- Package-specific info:
> ** Version:
> Linux version 2.6.26-2-openvz-amd64 (Debian 2.6.26-19) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Wed Aug 19 23:15:49 UTC 2009
> 
> ** Command line:
> root=/dev/mapper/service-system ro quiet
> 
> ** Not tainted
> 
> ** Kernel log:
> [    3.172062]     ide0: BM-DMA at 0xfc00-0xfc07
> [    3.172076]     ide1: BM-DMA at 0xfc08-0xfc0f
> [    3.172086] Probing IDE interface ide0...
> [    3.551179] hiddev96hidraw0: USB HID v1.10 Device [American Power Conversion Back-UPS BR  800 FW:9.o2 .I USB FW:o2 ] on usb-0000:00:1d.1-1
> [    3.551179] usbcore: registered new interface driver usbhid
> [    3.551179] usbhid: v2.6:USB HID core driver
> [    4.191959] hda: HL-DT-STDVD-ROM GDR8163B, ATAPI CD/DVD-ROM drive
> [    4.835552] hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
> [    4.859479] hda: UDMA/33 mode selected
> [    4.859479] Probing IDE interface ide1...
> [    5.470719] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> [    5.475160] ide1 at 0x170-0x177,0x376 on irq 15
> [    6.007116] Driver 'sd' needs updating - please use bus_type methods
> [    6.007116] sd 0:0:0:0: [sda] 976773168 512-byte hardware sectors (500108 MB)
> [    6.007116] sd 0:0:0:0: [sda] Write Protect is off
> [    6.007116] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
> [    6.007116] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
> [    6.007116] sd 0:0:0:0: [sda] 976773168 512-byte hardware sectors (500108 MB)
> [    6.007116] sd 0:0:0:0: [sda] Write Protect is off
> [    6.007116] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
> [    6.007116] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
> [    6.007116]  sda:<6>hda: ATAPI 52X DVD-ROM drive, 256kB Cache
> [    6.015160] Uniform CD-ROM driver Revision: 3.20
> [    6.021160]  sda1 sda2
> [    6.021361] sd 0:0:0:0: [sda] Attached SCSI disk
> [    6.218508] md: raid0 personality registered for level 0
> [    6.229939] md: md0 stopped.
> [    6.234816] md: bind<sda1>
> [    6.246839] md0: setting max_sectors to 128, segment boundary to 32767
> [    6.246839] raid0: looking at sda1
> [    6.246839] raid0:   comparing sda1(240832) with sda1(240832)
> [    6.246839] raid0:   END
> [    6.246839] raid0:   ==> UNIQUE
> [    6.246839] raid0: 1 zones
> [    6.246839] raid0: FINAL 1 zones
> [    6.246839] raid0: done.
> [    6.246839] raid0 : md_size is 240832 blocks.
> [    6.246839] raid0 : conf->hash_spacing is 240832 blocks.
> [    6.246839] raid0 : nb_zone is 1.
> [    6.246839] raid0 : Allocating 8 bytes for hash.
> [    6.247034] md: md1 stopped.
> [    6.273707] md: bind<sda2>
> [    6.286009] md1: setting max_sectors to 128, segment boundary to 32767
> [    6.286009] raid0: looking at sda2
> [    6.286009] raid0:   comparing sda2(488142976) with sda2(488142976)
> [    6.286009] raid0:   END
> [    6.286009] raid0:   ==> UNIQUE
> [    6.286009] raid0: 1 zones
> [    6.286009] raid0: FINAL 1 zones
> [    6.286009] raid0: done.
> [    6.286009] raid0 : md_size is 488142976 blocks.
> [    6.286009] raid0 : conf->hash_spacing is 488142976 blocks.
> [    6.286009] raid0 : nb_zone is 1.
> [    6.286009] raid0 : Allocating 8 bytes for hash.
> [    6.357615] device-mapper: uevent: version 1.0.3
> [    6.358163] device-mapper: ioctl: 4.13.0-ioctl (2007-10-18) initialised: dm-devel@redhat.com
> [    6.550451] PM: Starting manual resume from disk
> [    6.607194] kjournald starting.  Commit interval 5 seconds
> [    6.607194] EXT3-fs: mounted filesystem with ordered data mode.
> [    7.381760] udevd version 125 started
> [    8.058604] EDAC MC: Ver: 2.1.0 Aug 19 2009
> [    8.061974] EDAC e752x: tolm = 40000, remapbase = ffc000, remaplimit = 0
> [    8.062011] EDAC MC0: Giving out device to 'e752x_edac' 'E7525': DEV 0000:00:00.0
> [    8.062083] EDAC PCI0: Giving out device to module 'e752x_edac' controller 'EDAC PCI controller': DEV '0000:00:00.0' (POLLED)
> [    8.264979] input: Power Button (FF) as /class/input/input2
> [    8.329093] ACPI: Power Button (FF) [PWRF]
> [    8.329291] input: Power Button (CM) as /class/input/input3
> [    8.378467] ACPI: Power Button (CM) [PWRB]
> [    8.507541] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
> [    8.525388] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
> [    9.315862] input: PC Speaker as /class/input/input4
> [    9.337959] intel_rng: FWH not detected
> [    9.337959] ACPI: PCI Interrupt 0000:00:1f.3[B] -> GSI 17 (level, low) -> IRQ 17
> [    9.377984] Error: Driver 'pcspkr' is already registered, aborting...
> [    9.525583] Error: Driver 'pcspkr' is already registered, aborting...
> [    9.967052] input: ImPS/2 Generic Wheel Mouse as /class/input/input5
> [   11.271590] EXT3 FS on dm-0, internal journal
> [   12.016470] loop: module loaded
> [   12.096415] i2c-adapter i2c-0: Unrecognized version/stepping 0x68 Defaulting to LM85.
> [   12.159120] i2c-adapter i2c-0: Unrecognized version/stepping 0x69 Defaulting to LM85.
> [   13.740641] kjournald starting.  Commit interval 5 seconds
> [   13.740641] EXT3 FS on md0, internal journal
> [   13.740641] EXT3-fs: mounted filesystem with ordered data mode.
> [   13.784641] kjournald starting.  Commit interval 5 seconds
> [   13.784641] EXT3 FS on dm-1, internal journal
> [   13.784641] EXT3-fs: mounted filesystem with ordered data mode.
> [   13.820642] kjournald starting.  Commit interval 5 seconds
> [   13.837382] EXT3 FS on dm-2, internal journal
> [   13.837389] EXT3-fs: mounted filesystem with ordered data mode.
> [   13.860642] kjournald starting.  Commit interval 5 seconds
> [   13.866050] EXT3 FS on dm-4, internal journal
> [   13.866057] EXT3-fs: mounted filesystem with ordered data mode.
> [   13.933378] Adding 9764856k swap on /dev/mapper/service-swap.  Priority:-1 extents:1 across:9764856k
> [   15.184727] e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX
> [   16.875387] NET: Registered protocol family 10
> [   17.279085] ip_tables: (C) 2000-2006 Netfilter Core Team
> [   17.786999] tun: Universal TUN/TAP device driver, 1.6
> [   17.786999] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
> [   18.176759] warning: `vzctl' uses deprecated v2 capabilities in a way that may be insecure.
> [   18.207102] CT: 5: started
> 
> ** Loaded modules:
> Module                  Size  Used by
> vzethdev               14720  0 
> vznetdev               24456  2 
> simfs                   8944  1 
> vzrst                 123048  0 
> vzcpt                 106424  0 
> tun                    15492  2 vzrst,vzcpt
> vzdquota               42868  1 [permanent]
> vzmon                  31376  5 vzethdev,vznetdev,vzrst,vzcpt
> vzdev                   7568  4 vzethdev,vznetdev,vzdquota,vzmon
> xt_tcpudp               7680  0 
> xt_length               6400  0 
> ipt_ttl                 6144  0 
> xt_tcpmss               6656  0 
> xt_TCPMSS               8576  0 
> iptable_mangle          8704  0 
> iptable_filter          8320  0 
> xt_multiport            7424  0 
> xt_limit                7172  0 
> xt_dscp                 7168  0 
> ipt_REJECT              7552  0 
> ip_tables              21776  2 iptable_mangle,iptable_filter
> x_tables               25736  10 xt_tcpudp,xt_length,ipt_ttl,xt_tcpmss,xt_TCPMSS,xt_multiport,xt_limit,xt_dscp,ipt_REJECT,ip_tables
> ipv6                  296384  35 vzrst,vzcpt,vzmon
> lm85                   35492  0 
> hwmon_vid               7296  1 lm85
> loop                   19340  0 
> serio_raw               9988  0 
> psmouse                42268  0 
> i2c_i801               13596  0 
> rng_core                9096  0 
> snd_pcsp               14588  0 
> i2c_core               27936  2 lm85,i2c_i801
> snd_pcm                81928  1 snd_pcsp
> snd_timer              25744  1 snd_pcm
> snd                    63688  3 snd_pcsp,snd_pcm,snd_timer
> soundcore              12064  1 snd
> snd_page_alloc         13072  1 snd_pcm
> shpchp                 34080  0 
> pci_hotplug            32056  1 shpchp
> button                 11680  0 
> e752x_edac             16656  0 
> edac_core              49560  3 e752x_edac
> evdev                  14208  0 
> ext3                  124816  5 
> jbd                    51240  1 ext3
> mbcache                12804  1 ext3
> dm_mirror              20608  0 
> dm_log                 13956  1 dm_mirror
> dm_snapshot            19400  0 
> dm_mod                 58864  14 dm_mirror,dm_log,dm_snapshot
> raid0                  10624  2 
> md_mod                 80036  3 raid0
> ide_cd_mod             36360  0 
> cdrom                  37928  1 ide_cd_mod
> sd_mod                 29376  3 
> ide_pci_generic         9220  0 [permanent]
> piix                   12424  0 [permanent]
> ide_core              128156  3 ide_cd_mod,ide_pci_generic,piix
> usbhid                 45920  0 
> hid                    41792  1 usbhid
> ff_memless              9224  1 usbhid
> floppy                 61544  0 
> ata_piix               22660  2 
> ata_generic            10116  0 
> e1000                 117184  0 
> ehci_hcd               36108  0 
> libata                165600  2 ata_piix,ata_generic
> scsi_mod              161144  2 sd_mod,libata
> dock                   14112  1 libata
> uhci_hcd               25760  0 
> thermal                22688  0 
> processor              42304  1 thermal
> fan                     9352  0 
> thermal_sys            17728  3 thermal,processor,fan
> 
> ** PCI devices:
> not available
> 
> 
> -- System Information:
> Debian Release: 5.0.3
>   APT prefers stable
>   APT policy: (500, 'stable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.26-2-openvz-amd64 (SMP w/2 CPU cores)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages linux-image-2.6.26-2-openvz-amd64 depends on:
> ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy
> ii  initramfs-tools [linux-initra 0.92o      tools for generating an initramfs
> ii  module-init-tools             3.4-1      tools for managing Linux kernel mo
> ii  vzctl                         3.0.22-14  server virtualization solution - c
> 
> linux-image-2.6.26-2-openvz-amd64 recommends no packages.
> 
> Versions of packages linux-image-2.6.26-2-openvz-amd64 suggests:
> ii  grub                       0.97-47lenny2 GRand Unified Bootloader (Legacy v
> pn  linux-doc-2.6.26           <none>        (no description available)
> 
> -- debconf information:
>   linux-image-2.6.26-2-openvz-amd64/prerm/removing-running-kernel-2.6.26-2-openvz-amd64: true
>   shared/kernel-image/really-run-bootloader: true
>   linux-image-2.6.26-2-openvz-amd64/preinst/lilo-has-ramdisk:
>   linux-image-2.6.26-2-openvz-amd64/preinst/bootloader-initrd-2.6.26-2-openvz-amd64: true
>   linux-image-2.6.26-2-openvz-amd64/postinst/depmod-error-2.6.26-2-openvz-amd64: false
>   linux-image-2.6.26-2-openvz-amd64/postinst/old-system-map-link-2.6.26-2-openvz-amd64: true
>   linux-image-2.6.26-2-openvz-amd64/preinst/failed-to-move-modules-2.6.26-2-openvz-amd64:
>   linux-image-2.6.26-2-openvz-amd64/postinst/kimage-is-a-directory:
>   linux-image-2.6.26-2-openvz-amd64/preinst/lilo-initrd-2.6.26-2-openvz-amd64: true
>   linux-image-2.6.26-2-openvz-amd64/postinst/bootloader-error-2.6.26-2-openvz-amd64:
>   linux-image-2.6.26-2-openvz-amd64/postinst/create-kimage-link-2.6.26-2-openvz-amd64: true
>   linux-image-2.6.26-2-openvz-amd64/preinst/initrd-2.6.26-2-openvz-amd64:
>   linux-image-2.6.26-2-openvz-amd64/preinst/elilo-initrd-2.6.26-2-openvz-amd64: true
>   linux-image-2.6.26-2-openvz-amd64/postinst/old-dir-initrd-link-2.6.26-2-openvz-amd64: true
>   linux-image-2.6.26-2-openvz-amd64/postinst/bootloader-test-error-2.6.26-2-openvz-amd64:
>   linux-image-2.6.26-2-openvz-amd64/preinst/abort-install-2.6.26-2-openvz-amd64:
>   linux-image-2.6.26-2-openvz-amd64/preinst/overwriting-modules-2.6.26-2-openvz-amd64: true
>   linux-image-2.6.26-2-openvz-amd64/prerm/would-invalidate-boot-loader-2.6.26-2-openvz-amd64: true
>   linux-image-2.6.26-2-openvz-amd64/postinst/depmod-error-initrd-2.6.26-2-openvz-amd64: false
>   linux-image-2.6.26-2-openvz-amd64/postinst/old-initrd-link-2.6.26-2-openvz-amd64: true
>   linux-image-2.6.26-2-openvz-amd64/preinst/abort-overwrite-2.6.26-2-openvz-amd64:
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 

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



Reply to: