Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030986AbcDMNtZ (ORCPT ); Wed, 13 Apr 2016 09:49:25 -0400 Received: from mail-pf0-f171.google.com ([209.85.192.171]:34883 "EHLO mail-pf0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965750AbcDMNtW (ORCPT ); Wed, 13 Apr 2016 09:49:22 -0400 Date: Wed, 13 Apr 2016 23:47:04 +0900 From: Sergey Senozhatsky To: Johannes Thumshirn Cc: Sergey Senozhatsky , "Ewan D. Milne" , Hannes Reinecke , James Bottomley , "Martin K. Petersen" , Stephen Rothwell , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-next@vger.kernel.org, Sergey Senozhatsky , Xiong Zhou Subject: Re: [-next] BUG_ON in scsi_target_destroy() Message-ID: <20160413144704.GA490@swordfish> References: <20160411090146.GA537@swordfish> <2201725.I2to9GCRQJ@c203> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2201725.I2to9GCRQJ@c203> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 361 Lines: 21 Hi, On (04/13/16 10:41), Johannes Thumshirn wrote: > Hi Sergey, Xiong, > > Can you try below patch? it panics my system. first it warn_on-s in lib/kobject.c:244 then NULL dereferences do_scan_async __scsi_remove_device scsi_target_reap device_del dpm_sysfs_remove sysfs_unmerge_group kernfs_find_and_get_ns kernfs_find_ns -ss