partimage crashes when saving a partition to standard output:
nano:/home/anto/programmi/partimage-0.6.6# ./src/client/partimage -z0 -g10 -V0 -b -Bgui=no -d save /dev/sda4 stdout > /tmp/x.2
Volume size: 0 bytes (0 MiB)
partimage: status: initializing the operation.
partimage: status: Partimage: 0.6.1
partimage: status: Image type: NONE
partimage: status: Saving partition to the image file...
partimage: status: reading partition properties
partimage: status: checking the file system with fsck
partimage: status: writing header
partimage: status: copying used data blocks
File Name Size T:Elapsed/Estimated Rate/min Progress
stdout S: 39M T:00:00:03/00:00:08 R: 778M/min P: 26%terminate called after throwing an instance of 'CExceptions*'
Aborted (core dumped)
I got similar results also restoring a partition from standard input.
My machine is a macbook (intel core duo). I'll attach some information. If you need also the core file, let me know.
.a. <antonio.messina at ictp.it>
anto@nano ~$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 14
model name : Genuine Intel(R) CPU 1500 @ 2.00GHz
stepping : 8
cpu MHz : 1667.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc pni monitor vmx est tm2 xtpr
bogomips : 4004.38
clflush size : 64
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 14
model name : Genuine Intel(R) CPU 1500 @ 2.00GHz
stepping : 8
cpu MHz : 1667.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc pni monitor vmx est tm2 xtpr
bogomips : 3994.72
clflush size : 64
anto@nano ~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:07.0 Performance counters: Intel Corporation Unknown device 27a3 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 22)
02:00.0 Ethernet controller: Atheros Communications, Inc. Unknown device 001c (rev 01)
03:03.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 61)
anto@nano ~$ cat /proc/partitions
major minor #blocks name
8 0 78150744 sda
8 1 204800 sda1
8 2 26214400 sda2
8 3 50754961 sda3
8 4 976546 sda4
anto@nano ~$ sudo fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 26 204819+ ee EFI GPT
/dev/sda2 26 3290 26214400 af Unknown
/dev/sda3 * 3290 9608 50754961+ ef EFI (FAT-12/16/32)
/dev/sda4 9608 9730 976546 83 Linux
anto@nano ~$ uname -a
Linux nano 2.6.21.5-mactel #3 SMP PREEMPT Thu Aug 30 15:00:23 CEST 2007 i686 GNU/Linux
anto@nano ~$ gcc --version
gcc (GCC) 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
anto@nano ~$ g++ --version
g++ (GCC) 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
anto@nano ~$ ./programmi/partimage-0.6.6/src/client/partimage -v
Partition Image version 0.6.6 (distributed under the GNU GPL2).
anto@nano ~$ ldd ./programmi/partimage-0.6.6/src/client/partimage
linux-gate.so.1 => (0xb7f2a000)
libslang.so.2 => /lib/libslang.so.2 (0xb7e4b000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7e1d000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7e07000)
libnewt.so.0.52 => /usr/lib/libnewt.so.0.52 (0xb7df5000)
libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb7de5000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7dce000)
libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7c8d000)
libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb7c4d000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7b61000)
libm.so.6 => /lib/libm.so.6 (0xb7b3b000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7b30000)
libc.so.6 => /lib/libc.so.6 (0xb79e8000)
libdl.so.2 => /lib/libdl.so.2 (0xb79e4000)
/lib/ld-linux.so.2 (0xb7f2b000)
anto@nano ~$ cat /etc/debian_version
lenny/sid
anto@nano ~$ dpkg -l libbz2-1.0 libc6 libgcc1 libnewt0.52 libslang2 libssl0.9.8 libstdc++6 zlib1g
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-========================-========================-================================================================
ii libbz2-1.0 1.0.3-7 high-quality block-sorting file compressor library - runtime
ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries
ii libgcc1 1:4.2.1-4 GCC support library
ii libnewt0.52 0.52.2-11 Not Erik's Windowing Toolkit - text mode windowing with slang
ii libslang2 2.0.7-3 The S-Lang programming library - runtime version
ii libssl0.9.8 0.9.8e-6 SSL shared libraries
ii libstdc++6 4.2.1-4 The GNU Standard C++ Library v3
ii zlib1g 1:1.2.3.3.dfsg-5 compression library - runtime
config.log