* [PATCH] hpsa update
@ 2015-09-29 22:21 Don Brace
0 siblings, 0 replies; 5+ messages in thread
From: Don Brace @ 2015-09-29 22:21 UTC (permalink / raw)
To: linux-scsi
This patch is based on Linus's tree
I could use some help with this patch.
We are adding in the sas transport layer for our HBA devices.
I am having issues removing the sas transport entries during driver
unload. The entries are removed in what appears to be the proper order
but I am getting a bunch of warnings that look like what is shown below.
I do not see these warnings with 3.10 kernels but I do see them with
4.3-rc2+.
I have searched the lkml mailing list for resolution and found a
fix for a similar issue:
http://marc.info/?l=linux-scsi&m=143743743518987&w=2
But this did not resolve my problem.
I am attaching the patch and the console logs. Can anyone give me some
advice with this issue?
Typical warning message: (Seen for both port and end_device objects)
[ 247.567655] WARNING: CPU: 52 PID: 14975 at fs/sysfs/group.c:224 sysfs_remove_group+0x8d/0x90()
[ 247.611154] sysfs group ffffffff81a73000 not found for kobject 'port-5:0'
[ 247.645110] Modules linked in: hpsa(OE-) scsi_transport_sas ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack cfg80211 nf_conntrack rfkill ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_mangle iptable_security iptable_raw iptable_filter ip_tables sg x86_pkg_temp_thermal coretemp kvm_intel kvm crct10dif_pclmul crc32_pclmul nfsd crc32c_intel ghash_clmulni_intel aesni_intel lrw gf128mul auth_rpcgss ipmi_devintf hpilo hpwdt glue_helper sb_edac nfs_acl iTCO_wdt ablk_helper lockd cryptd iTCO_vendor_support edac_core serio_raw ioatdma shpchp pcspkr ipmi_si lpc_ich wmi mfd_core dca ipmi_msghandler gra
ce pcc_cpufreq
[ 248.001829] acpi_power_meter acpi_cpufreq sunrpc uinput xfs libcrc32c sd_mod mgag200 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm usb_storage tg3 ptp i2c_core pps_core dm_mirror dm_region_hash dm_log dm_mod
[ 248.102395] CPU: 52 PID: 14975 Comm: rmmod Tainted: G OE 4.3.0-rc2+ #1
[ 248.140420] Hardware name: HP ProLiant DL580 Gen8, BIOS P79 05/06/2015
[ 248.172430] 0000000000000000 00000000dce8a349 ffff8808582afb78 ffffffff81312230
[ 248.209532] ffff8808582afbc0 ffff8808582afbb0 ffffffff8107ae26 0000000000000000
[ 248.246473] ffffffff81a73000 ffff881858a55838 ffff881858a50c00 ffff881858a50f10
[ 248.283094] Call Trace:
[ 248.295019] [<ffffffff81312230>] dump_stack+0x44/0x64
[ 248.320346] [<ffffffff8107ae26>] warn_slowpath_common+0x86/0xc0
[ 248.351167] [<ffffffff8107aebc>] warn_slowpath_fmt+0x5c/0x80
[ 248.379273] [<ffffffff8126b508>] ? kernfs_find_and_get_ns+0x48/0x60
[ 248.410729] [<ffffffff8126ea5d>] sysfs_remove_group+0x8d/0x90
[ 248.439875] [<ffffffff81440877>] dpm_sysfs_remove+0x57/0x60
[ 248.468564] [<ffffffff81434378>] device_del+0x58/0x260
[ 248.494859] [<ffffffff814339a9>] ? device_remove_file+0x19/0x20
[ 248.524099] [<ffffffff8143d8da>] attribute_container_class_device_del+0x1a/0x20
[ 248.560407] [<ffffffff8143dade>] transport_remove_classdev+0x4e/0x60
[ 248.591673] [<ffffffff8143da90>] ? transport_add_class_device+0x40/0x40
[ 248.626510] [<ffffffff8143d4be>] attribute_container_device_trigger+0xce/0xe0
[ 248.661392] [<ffffffff8143da45>] transport_remove_device+0x15/0x20
[ 248.692653] [<ffffffffa03eaec3>] sas_port_delete+0x123/0x150 [scsi_transport_sas]
[ 248.732777] [<ffffffffa03f4c72>] hpsa_free_sas_port+0x42/0xc0 [hpsa]
[ 248.769411] [<ffffffffa03f6e4c>] hpsa_free_sas_node.part.58+0x7c/0xb0 [hpsa]
[ 248.805243] [<ffffffffa03fc10a>] hpsa_remove_one+0x1aa/0x1f0 [hpsa]
[ 248.836752] [<ffffffff813505b9>] pci_device_remove+0x39/0xc0
[ 248.864460] [<ffffffff81439216>] __device_release_driver+0x96/0x130
[ 248.894875] [<ffffffff814393b5>] driver_detach+0xb5/0xc0
[ 248.920994] [<ffffffff81438395>] bus_remove_driver+0x55/0xd0
[ 248.949451] [<ffffffff81439b1c>] driver_unregister+0x2c/0x50
[ 248.977606] [<ffffffff8134ecfa>] pci_unregister_driver+0x2a/0x80
[ 249.007758] [<ffffffffa0402df7>] hpsa_cleanup+0x10/0x219 [hpsa]
[ 249.037334] [<ffffffff810fbebd>] SyS_delete_module+0x18d/0x220
[ 249.066208] [<ffffffff81003cd5>] ? syscall_return_slowpath+0x55/0x150
[ 249.098215] [<ffffffff8166b0ee>] entry_SYSCALL_64_fastpath+0x12/0x71
[ 249.130809] ---[ end trace da8892bb8b64bbf0 ]---
---
Kevin Barnett (1):
hpsa: add in sas transport
drivers/scsi/hpsa.c | 704 ++++++++++++++++++++++++++++++++++++++++++-----
drivers/scsi/hpsa.h | 37 ++
drivers/scsi/hpsa_cmd.h | 14 +
3 files changed, 677 insertions(+), 78 deletions(-)
--
Signature
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] hpsa update
@ 2016-02-23 21:21 Don Brace
2016-02-23 21:21 ` [PATCH] hpsa: update MAINTAINERS with new e-mail Don Brace
0 siblings, 1 reply; 5+ messages in thread
From: Don Brace @ 2016-02-23 21:21 UTC (permalink / raw)
To: JBottomley, Viswas.G, scott.teel, Kevin.Barnett, scott.benesh,
Mahesh.Rajashekhara, hch, Justin.Lindley, elliott
Cc: linux-kernel, linux-scsi
These patch is based on Linus's tree
The change is:
- update MAINTAINERS file
---
Don Brace (1):
hpsa: update MAINTAINERS with new e-mail
MAINTAINERS | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] hpsa: update MAINTAINERS with new e-mail
2016-02-23 21:21 [PATCH] hpsa update Don Brace
@ 2016-02-23 21:21 ` Don Brace
2016-02-23 23:25 ` Matthew R. Ochs
2016-02-24 2:03 ` Martin K. Petersen
0 siblings, 2 replies; 5+ messages in thread
From: Don Brace @ 2016-02-23 21:21 UTC (permalink / raw)
To: JBottomley, Viswas.G, scott.teel, Kevin.Barnett, scott.benesh,
Mahesh.Rajashekhara, hch, Justin.Lindley, elliott
Cc: linux-kernel, linux-scsi
Reviewed-by: Kevin Barnett <kevin.barnett@microsemi.com>
Reviewed-by: Justin Lindley <justin.lindley@microsemi.com>
Signed-off-by: Don Brace <don.brace@microsemi.com>
---
MAINTAINERS | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 4978dc1..b639c26 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4985,9 +4985,9 @@ F: Documentation/blockdev/cpqarray.txt
F: drivers/block/cpqarray.*
HEWLETT-PACKARD SMART ARRAY RAID DRIVER (hpsa)
-M: Don Brace <don.brace@pmcs.com>
+M: Don Brace <don.brace@microsemi.com>
L: iss_storagedev@hp.com
-L: storagedev@pmcs.com
+L: esc.storagedev@microsemi.com
L: linux-scsi@vger.kernel.org
S: Supported
F: Documentation/scsi/hpsa.txt
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] hpsa: update MAINTAINERS with new e-mail
2016-02-23 21:21 ` [PATCH] hpsa: update MAINTAINERS with new e-mail Don Brace
@ 2016-02-23 23:25 ` Matthew R. Ochs
2016-02-24 2:03 ` Martin K. Petersen
1 sibling, 0 replies; 5+ messages in thread
From: Matthew R. Ochs @ 2016-02-23 23:25 UTC (permalink / raw)
To: Don Brace
Cc: James Bottomley, Viswas.G, scott.teel, Kevin.Barnett,
scott.benesh, Mahesh.Rajashekhara, Christoph Hellwig,
Justin.Lindley, elliott, linux-kernel, linux-scsi
Reviewed-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] hpsa: update MAINTAINERS with new e-mail
2016-02-23 21:21 ` [PATCH] hpsa: update MAINTAINERS with new e-mail Don Brace
2016-02-23 23:25 ` Matthew R. Ochs
@ 2016-02-24 2:03 ` Martin K. Petersen
1 sibling, 0 replies; 5+ messages in thread
From: Martin K. Petersen @ 2016-02-24 2:03 UTC (permalink / raw)
To: Don Brace
Cc: JBottomley, Viswas.G, scott.teel, Kevin.Barnett, scott.benesh,
Mahesh.Rajashekhara, hch, Justin.Lindley, elliott, linux-kernel,
linux-scsi, Matthew R. Ochs
>>>>> "Don" == Don Brace <don.brace@microsemi.com> writes:
Applied to 4.6/scsi-queue.
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-02-24 2:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-23 21:21 [PATCH] hpsa update Don Brace
2016-02-23 21:21 ` [PATCH] hpsa: update MAINTAINERS with new e-mail Don Brace
2016-02-23 23:25 ` Matthew R. Ochs
2016-02-24 2:03 ` Martin K. Petersen
-- strict thread matches above, loose matches on Subject: below --
2015-09-29 22:21 [PATCH] hpsa update Don Brace
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).