Bug#572153: lvm2: Creating snapshots with 2.6.32 causes segfault
Robert LeBlanc
robert at leblancnet.us
Mon Mar 1 20:30:54 UTC 2010
Package: lvm2
Version: 2.02.54-1
Severity: important
I've been running this machine with 2.6.30 without any problems at all. After upgrading to 2.6.32, the system crashes after my cron job manages the files system snapshots. This appears in the syslog at the time of the crash. My only recourse is to hard power off and reboot. I'm going to revert back to 2.6.30 for the time being.
Mar 1 13:15:01 lsfs01 /USR/SBIN/CRON[11118]: (root) CMD (/root/bin/smbsnap autoresize all)
Mar 1 13:15:26 lsfs01 kernel: [ 3407.143275] BUG: Dentry ffff88005e334540{i=2,n=/} still in use (1) [unmount of ext4 dm-5]
Mar 1 13:15:26 lsfs01 kernel: [ 3407.145965] ------------[ cut here ]------------
Mar 1 13:15:26 lsfs01 kernel: [ 3407.146745] kernel BUG at /build/buildd-linux-2.6_2.6.32-5-amd64-9RvY2G/linux-2.6-2.6.32/debian/build/source_amd64_none/fs/dcache.c:670!
Mar 1 13:15:26 lsfs01 kernel: [ 3407.148323] invalid opcode: 0000 [#1] SMP
Mar 1 13:15:26 lsfs01 kernel: [ 3407.149109] last sysfs file: /sys/devices/virtual/block/dm-4/dm/suspended
Mar 1 13:15:26 lsfs01 kernel: [ 3407.149906] CPU 0
Mar 1 13:15:26 lsfs01 kernel: [ 3407.150705] Modules linked in: quota_v2 quota_tree nfsd exportfs nfs lockd fscache nfs_acl auth_rpcgss sunrpc ext4 jbd2 crc16 ext2 loop dm_snapshot snd_pcsp snd_pcm snd_timer snd psmouse soundcore i2c_piix4 shpchp parport_pc snd_page_alloc serio_raw pci_hotplug i2c_core parport evdev processor container ac ext3 jbd mbcache dm_mod ide_cd_mod cdrom ata_generic libata ide_pci_generic sd_mod crc_t10dif mptsas mptscsih mptbase scsi_transport_sas piix intel_agp floppy scsi_mod e1000 agpgart ide_core button thermal fan thermal_sys [last unloaded: scsi_wait_scan]
Mar 1 13:15:26 lsfs01 kernel: [ 3407.155180] Pid: 11048, comm: lvcreate Not tainted 2.6.32-trunk-amd64 #1 VMware Virtual Platform
Mar 1 13:15:26 lsfs01 kernel: [ 3407.156113] RIP: 0010:[<ffffffff810fb2ae>] [<ffffffff810fb2ae>] shrink_dcache_for_umount_subtree+0x185/0x251
Mar 1 13:15:26 lsfs01 kernel: [ 3407.157751] RSP: 0018:ffff88007292fd08 EFLAGS: 00010296
Mar 1 13:15:26 lsfs01 kernel: [ 3407.160592] RAX: 0000000000000063 RBX: ffff880059fa9400 RCX: 00000000000110e3
Mar 1 13:15:26 lsfs01 kernel: [ 3407.161554] RDX: 0000000000000000 RSI: 0000000000000092 RDI: 0000000000000246
Mar 1 13:15:26 lsfs01 kernel: [ 3407.162525] RBP: ffff88005e334540 R08: 0000000000000000 R09: 0000000000000002
Mar 1 13:15:26 lsfs01 kernel: [ 3407.163471] R10: ffffffff8131ac20 R11: ffff88007eee3d10 R12: 0000000000000000
Mar 1 13:15:26 lsfs01 kernel: [ 3407.164429] R13: ffff88005e3345a0 R14: ffff88007e3c8c48 R15: 0000000000000000
Mar 1 13:15:26 lsfs01 kernel: [ 3407.165390] FS: 00007f2e9d4b9790(0000) GS:ffff880001800000(0000) knlGS:0000000000000000
Mar 1 13:15:26 lsfs01 kernel: [ 3407.166501] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Mar 1 13:15:26 lsfs01 kernel: [ 3407.167601] CR2: 00007fffad295190 CR3: 0000000023a7b000 CR4: 00000000000006f0
Mar 1 13:15:26 lsfs01 kernel: [ 3407.168599] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Mar 1 13:15:26 lsfs01 kernel: [ 3407.169568] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Mar 1 13:15:26 lsfs01 kernel: [ 3407.170509] Process lvcreate (pid: 11048, threadinfo ffff88007292e000, task ffff88005a80c710)
Mar 1 13:15:26 lsfs01 kernel: [ 3407.184573] Stack:
Mar 1 13:15:26 lsfs01 kernel: [ 3407.186348] ffff880059fa9660 ffff880059fa9400 ffffffffa02d4dc0 0000000000000001
Mar 1 13:15:26 lsfs01 kernel: [ 3407.186384] <0> ffff88007f426af8 ffffffff810fb3a9 ffff880059fa9400 ffffffff810ede7e
Mar 1 13:15:26 lsfs01 kernel: [ 3407.187372] <0> ffff88007e3c8c00 ffff88007f426a40 ffffffffa02df6e0 ffffffff810edf75
Mar 1 13:15:26 lsfs01 kernel: [ 3407.189276] Call Trace:
Mar 1 13:15:26 lsfs01 kernel: [ 3407.190236] [<ffffffff810fb3a9>] ? shrink_dcache_for_umount+0x2f/0x3d
Mar 1 13:15:26 lsfs01 kernel: [ 3407.191238] [<ffffffff810ede7e>] ? generic_shutdown_super+0x19/0xee
Mar 1 13:15:26 lsfs01 kernel: [ 3407.192218] [<ffffffff810edf75>] ? kill_block_super+0x22/0x3a
Mar 1 13:15:26 lsfs01 kernel: [ 3407.194746] [<ffffffff810ee03f>] ? deactivate_locked_super+0x57/0x78
Mar 1 13:15:26 lsfs01 kernel: [ 3407.196796] [<ffffffff8110f50a>] ? thaw_bdev+0xd1/0xe6
Mar 1 13:15:26 lsfs01 kernel: [ 3407.197787] [<ffffffffa014ea7f>] ? dm_resume+0xdd/0x123 [dm_mod]
Mar 1 13:15:26 lsfs01 kernel: [ 3407.198774] [<ffffffffa0153051>] ? dev_suspend+0x0/0x196 [dm_mod]
Mar 1 13:15:26 lsfs01 kernel: [ 3407.199780] [<ffffffffa01531b0>] ? dev_suspend+0x15f/0x196 [dm_mod]
Mar 1 13:15:26 lsfs01 kernel: [ 3407.200758] [<ffffffffa0153bd1>] ? ctl_ioctl+0x1c6/0x20e [dm_mod]
Mar 1 13:15:26 lsfs01 kernel: [ 3407.201759] [<ffffffff81064aae>] ? autoremove_wake_function+0x0/0x2e
Mar 1 13:15:26 lsfs01 kernel: [ 3407.202750] [<ffffffffa0153c27>] ? dm_ctl_ioctl+0xe/0x13 [dm_mod]
Mar 1 13:15:26 lsfs01 kernel: [ 3407.206750] [<ffffffff810f7ab6>] ? vfs_ioctl+0x21/0x6c
Mar 1 13:15:26 lsfs01 kernel: [ 3407.208093] [<ffffffff810f8004>] ? do_vfs_ioctl+0x48d/0x4cb
Mar 1 13:15:26 lsfs01 kernel: [ 3407.211372] [<ffffffff810ef51b>] ? sys_newstat+0x23/0x30
Mar 1 13:15:26 lsfs01 kernel: [ 3407.218288] [<ffffffff810f8093>] ? sys_ioctl+0x51/0x70
Mar 1 13:15:26 lsfs01 kernel: [ 3407.219585] [<ffffffff81010b02>] ? system_call_fastpath+0x16/0x1b
Mar 1 13:15:26 lsfs01 kernel: [ 3407.220530] Code: 8b 08 48 8b 45 10 48 85 c0 74 04 48 8b 50 40 48 8d 86 60 02 00 00 48 c7 c7 29 49 3a 81 48 89 ee 48 89 04 24 31 c0 e8 e8 9a 1e 00 <0f> 0b eb fe 48 8b 5d 28 48 39 dd 75 04 31 db eb 03 3e ff 0b 48
Mar 1 13:15:26 lsfs01 kernel: [ 3407.222567] RIP [<ffffffff810fb2ae>] shrink_dcache_for_umount_subtree+0x185/0x251
Mar 1 13:15:26 lsfs01 kernel: [ 3407.225498] RSP <ffff88007292fd08>
Mar 1 13:15:26 lsfs01 kernel: [ 3407.227103] ---[ end trace ec0ae5fbcf39ad38 ]---
Mar 1 13:15:26 lsfs01 rleblanc: /root/bin/smbsnap: ***error*** - an error occurred while creating snapshot /dev/ldrive/users-0-2010.03.01-20.14.00
Mar 1 13:15:27 lsfs01 rleblanc: /root/bin/smbsnap: ***error*** - can not mount /dev/ldrive/users-0-2010.03.01-20.14.00 to /ls/snapshots/users/@GMT-2010.03.01-20.14.00
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-trunk-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lvm2 depends on:
ii dmsetup 2:1.02.39-1 The Linux Kernel Device Mapper use
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libdevmapper1.02.1 2:1.02.39-1 The Linux Kernel Device Mapper use
ii libreadline5 5.2-7 GNU readline and history libraries
ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip
lvm2 recommends no packages.
lvm2 suggests no packages.
-- no debconf information
More information about the pkg-lvm-maintainers
mailing list