Bug#501758: lvm2: pvmove crashes and causes a kernel panic
Joshua Hutchins
jdhutchin at ugcs.caltech.edu
Fri Oct 10 05:50:31 UTC 2008
Package: lvm2
Version: 2.02.06-4etch1
Severity: important
When trying to pvmove from one PV (/dev/md0) to another (/dev/md2), it
crashes and causes a kernel panic. Both PV's are a member of the volume
group 'data' with logical volumes 'user' and 'stuff'. There is another
(uninvolved) physical volume, /dev/md1, which is also in the volume
group.
I'm reporting this against my current setup of etch, but I've also had
this issue on the same machine with etchnhalf and 2.6.26-1 kernels.
--- BEGIN OUTPUT ---
jdhutchin at chlamydia:~$ sudo pvmove -vb /dev/md0 /dev/md2
Wiping cache of LVM-capable devices
Finding volume group "data"
Archiving volume group "data" metadata (seqno 114).
Creating logical volume pvmove0
Moving 0 extents of logical volume data/user
Moving 9833 extents of logical volume data/stuff
Found volume group "data"
Creating data-stuff
Loading data-stuff table
Resuming data-stuff (254:6)
Updating volume group metadata
Creating volume group backup "/etc/lvm/backup/data" (seqno 115).
Found volume group "data"
Found volume group "data"
Suspending data-stuff (254:6)
Found volume group "data"
Using reduced mirror region size of 0 sectors
Creating data-pvmove0
Loading data-pvmove0 table
chlamydia kernel: divide error: 0000 [#3] SMP
chlamydia kernel: Process pvmove (pid: 4582, ti=edc2e000 task=ed0c6070 task.ti=edc2e000)
chlamydia kernel: Stack: f8b57163 f8931692 edc2fcf4 ffffffff f8b4f020 ed71b620 00000000 00000000
chlamydia kernel: 00000000 df93f3c8 ed71b620 f8b5715c 00000001 f892f51b df93f3c8 00000000
chlamydia kernel: f8934160 f892f7da df93f3c8 f8b4f020 00000003 00000008 df93f3c0 df93f4c0
chlamydia kernel: Call Trace:
chlamydia kernel: [<f892f51b>] core_ctr+0x18/0x1c [dm_mirror]
chlamydia kernel: [<f892f7da>] dm_create_dirty_log+0x89/0xc9 [dm_mirror]
chlamydia kernel: [<f893010e>] mirror_ctr+0x79/0x597 [dm_mirror]
chlamydia kernel: [<f8942d48>] realloc_argv+0x62/0x6b [dm_mod]
chlamydia kernel: [<f89435a6>] dm_table_add_target+0x14e/0x2ba [dm_mod]
chlamydia kernel: [<f8944be1>] table_load+0xef/0x1aa [dm_mod]
chlamydia kernel: [<f89455e0>] ctl_ioctl+0x212/0x257 [dm_mod]
chlamydia kernel: [<c0293388>] tcp_v4_rcv+0x80e/0x882
chlamydia kernel: [<f8944af2>] table_load+0x0/0x1aa [dm_mod]
chlamydia kernel: [<c01828f4>] do_ioctl+0x4c/0x62
chlamydia kernel: [<c0182b41>] vfs_ioctl+0x237/0x249
chlamydia kernel: [<c0182b98>] sys_ioctl+0x45/0x5d
chlamydia kernel: [<c0103ed6>] syscall_call+0x7/0xb
chlamydia kernel: =======================
chlamydia kernel: Code: 20 89 ce 03 70 10 13 78 14 83 c6 ff 83 d7 ff 89 f0 89 fa 89 d7 31 d2 85 ff 89 44 24 0c 74 08 89 f8 31 d2 f7 f1 89 c7 8b 44 24 0c <f7> f1 89 fa 89 c6 a1 88 0b 35 c0 ba d0 00 00 00 e8 dc 63 84 c7
chlamydia kernel: EIP: [<f892f304>] create_log_context+0xe2/0x2e1 [dm_mirror] SS:ESP 0068:edc2fcd4
Segmentation fault
---- END OF OUTPUT ---
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (800, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.24-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages lvm2 depends on:
ii debconf [debconf-2.0] 1.5.11etch2 Debian configuration management sy
ii libc6 2.3.6.ds1-13etch7 GNU C Library: Shared libraries
ii libdevmapper1.02 2:1.02.08-1 The Linux Kernel Device Mapper use
ii libncurses5 5.5-5 Shared libraries for terminal hand
ii libreadline5 5.2-2 GNU readline and history libraries
ii libselinux1 1.32-3 SELinux shared libraries
ii libsepol1 1.14-2 Security Enhanced Linux policy lib
ii lvm-common 1.5.20 The Logical Volume Manager for Lin
lvm2 recommends no packages.
-- debconf information:
lvm2/snapshots:
lvm2/kernel:
More information about the pkg-lvm-maintainers
mailing list