Re: [PATCH] mpt3sas: Do scsi_remove_host() before deleting SAS PHY objects

2016-05-18 Thread Sreekanth Reddy
ID: 5412 Comm: rmmod Not tainted 4.6.0-dirty #4 >> > [ 224.219797] Hardware name: Wiwynn HoneyBadger/PantherPlus, BIOS >> > HBM6.71 02/03/2016 >> > [ 224.237001] ffff82af6280 8806e826f8b0 ffff81e13e54 >> > 8806e826f928 >> > [ 224.

Re: [PATCH] mpt3sas: Do scsi_remove_host() before deleting SAS PHY objects

2016-05-18 Thread Calvin Owens
t; > HPSA, and it does it in the opposite order mpt3sas does: scsi_remove_host() > > first. > > > > Thanks, > > Calvin > > > >> -Original Message- > >> From: Calvin Owens [mailto:calvinow...@fb.com] > >> Sent: Monday, May

Re: [PATCH] mpt3sas: Do scsi_remove_host() before deleting SAS PHY objects

2016-05-18 Thread Sreekanth Reddy
ly is > HPSA, and it does it in the opposite order mpt3sas does: scsi_remove_host() > first. > > Thanks, > Calvin > >> -Original Message- >> From: Calvin Owens [mailto:calvinow...@fb.com] >> Sent: Monday, May 16, 2016 2:25 PM >> To: Elliott, Robert (Persi

Re: [PATCH] mpt3sas: Do scsi_remove_host() before deleting SAS PHY objects

2016-05-16 Thread Calvin Owens
Elliott, Robert (Persistent Memory) > Cc: Sathya Prakash; Chaitra P B; Suganath Prabu Subramani; James E.J. > Bottomley; Martin K. Petersen; mpt-fusionlinux@broadcom.com; > linux-scsi@vger.kernel.org; linux-ker...@vger.kernel.org; > kernel-t...@fb.com; calvinow...@fb.com > Subject:

RE: [PATCH] mpt3sas: Do scsi_remove_host() before deleting SAS PHY objects

2016-05-16 Thread Sathya Prakash Veerichetty
tin K. Petersen; mpt-fusionlinux@broadcom.com; linux-scsi@vger.kernel.org; linux-ker...@vger.kernel.org; kernel-t...@fb.com; calvinow...@fb.com Subject: Re: [PATCH] mpt3sas: Do scsi_remove_host() before deleting SAS PHY objects On Friday 05/13 at 21:17 +, Elliott, Robert (Persistent Memory)

Re: [PATCH] mpt3sas: Do scsi_remove_host() before deleting SAS PHY objects

2016-05-16 Thread Calvin Owens
8 PM > ... > > Subject: [PATCH] mpt3sas: Do scsi_remove_host() before deleting SAS PHY > > objects > > > ... > > The issue is that enclosure_remove_device() expects to be able to re-add > > the device that was previously enclosured: so with SES running, the

RE: [PATCH] mpt3sas: Do scsi_remove_host() before deleting SAS PHY objects

2016-05-13 Thread Elliott, Robert (Persistent Memory)
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Calvin Owens > Sent: Friday, May 13, 2016 3:28 PM ... > Subject: [PATCH] mpt3sas: Do scsi_remove_host() before deleting SAS PHY > objects > ..

[PATCH] mpt3sas: Do scsi_remove_host() before deleting SAS PHY objects

2016-05-13 Thread Calvin Owens
On the hardware I'm testing on, simply removing the mpt3sas module triggers a litany of WARNs culminating in an OOPS: [ cut here ] WARNING: CPU: 5 PID: 13348 at lib/kobject.c:244 kobject_add_internal+0x359/0x8a0 kobject_add_internal failed for ArrayDevice09 (error: -