From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756294AbbFRQ5V (ORCPT ); Thu, 18 Jun 2015 12:57:21 -0400 Received: from one.firstfloor.org ([193.170.194.197]:37992 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751514AbbFRQ5P (ORCPT ); Thu, 18 Jun 2015 12:57:15 -0400 Date: Thu, 18 Jun 2015 18:57:13 +0200 From: Andi Kleen To: linux-kernel@vger.kernel.org, dm-devel@redhat.com Subject: WARNING: at fs/block_dev.c:5 when removing LV on removed device Message-ID: <20150618165713.GB19417@two.firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I was trying to remove a LVM logical volume on a hotplugged device that had been removed, to also remove its VG, which resulted in: [1728002.718174] ------------[ cut here ]------------ [1728002.718179] WARNING: CPU: 10 PID: 15454 at fs/block_dev.c:57 __blkdev_put+0xc1/0x220() [1728002.718180] Modules linked in: dm_crypt mce_inject vfat fat bnep bluetooth rfkill xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack tun bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables fuse snd_hda_codec_realtek x86_pkg_temp_thermal coretemp snd_hda_codec_generic snd_hda_codec_hdmi kvm_intel snd_hda_intel kvm snd_hda_controller iTCO_wdt xfs snd_hda_codec iTCO_vendor_support snd_hwdep snd_seq mxm_wmi snd_seq_device crct10dif_pclmul snd_pcm crc32_pclmul crc32c_intel snd_timer sb_edac snd libcrc32c mei_me ghash_clmulni_intel lpc_ich edac_core serio_raw i2c_i801 soundcore mei shpchp mfd_core nuvoton_cir rc_core wmi binfmt_misc uas usb_storage radeon i2c_algo_bit drm_kms_helper ttm [1728002.718209] e1000e drm firewire_ohci firewire_core ptp pps_core crc_itu_t [1728002.718213] CPU: 10 PID: 15454 Comm: umount Not tainted 4.0.4-301.fc22.x86_64 #1 [1728002.718214] Hardware name: /DX79SI, BIOS SIX7910D.86A.1827.2013.0701.1715 07/01/2013 [1728002.718215] 0000000000000000 000000007fcff292 ffff88008f4abd98 ffffffff81782644 [1728002.718217] 0000000000000000 0000000000000000 ffff88008f4abdd8 ffffffff8109c66a [1728002.718218] 0000000000000000 ffff8800c67584b8 ffff8800c6758340 ffff8800c6758430 [1728002.718220] Call Trace: [1728002.718224] [] dump_stack+0x45/0x57 [1728002.718226] [] warn_slowpath_common+0x8a/0xc0 [1728002.718228] [] warn_slowpath_null+0x1a/0x20 [1728002.718230] [] __blkdev_put+0xc1/0x220 [1728002.718231] [] blkdev_put+0x50/0x130 [1728002.718234] [] kill_block_super+0x41/0x80 [1728002.718236] [] deactivate_locked_super+0x49/0x80 [1728002.718238] [] deactivate_super+0x6c/0x80 [1728002.718241] [] cleanup_mnt+0x43/0xa0 [1728002.718245] [] ? __audit_syscall_exit+0x1f6/0x290 [1728002.718246] [] __cleanup_mnt+0x12/0x20 [1728002.718249] [] task_work_run+0xc4/0xe0 [1728002.718252] [] do_notify_resume+0x9d/0xa0 [1728002.718255] [] int_signal+0x12/0x17 [1728002.718256] ---[ end trace 4975e97dd7331e63 ]--- Also the VG removal did not work of course. -Andi