Dan Williams
282029c005
kobject: provide more diagnostic info for kobject_add_internal() failures
...
1/ convert open-coded KERN_ERR+dump_stack() to WARN(), so that automated
tools pick up this warning.
2/ include the 'child' and 'parent' kobject names. This information was
useful for tracking down the case where scsi invoked device_del() on a
parent object and subsequently invoked device_add() on a child. Now the
warning looks like:
kobject_add_internal failed for target8:0:16 (error: -2 parent: end_device-8:0:24)
Pid: 2942, comm: scsi_scan_8 Not tainted 3.3.0-rc7-isci+ #2
Call Trace:
[<ffffffff8125e551>] kobject_add_internal+0x1c1/0x1f3
[<ffffffff81075149>] ? trace_hardirqs_on+0xd/0xf
[<ffffffff8125e659>] kobject_add_varg+0x41/0x50
[<ffffffff8125e723>] kobject_add+0x64/0x66
[<ffffffff8131124b>] device_add+0x12d/0x63a
[<ffffffff8125e0ef>] ? kobject_put+0x4c/0x50
[<ffffffff8132f370>] scsi_sysfs_add_sdev+0x4e/0x28a
[<ffffffff8132dce3>] do_scan_async+0x9c/0x145
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: James Bottomley <JBottomley@parallels.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-04-10 14:48:51 -07:00
..
2010-01-11 09:34:04 -08:00
2012-02-02 10:34:25 +11:00
2012-03-28 18:30:03 +01:00
2008-04-18 22:17:17 -04:00
2011-09-21 13:39:59 -07:00
2011-03-22 17:44:17 -07:00
2010-03-12 15:52:44 -08:00
2005-10-18 08:26:15 -07:00
2012-03-07 15:04:04 -05:00
2012-02-29 17:15:08 -05:00
2012-03-07 15:04:04 -05:00
2011-05-04 14:41:28 -04:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2011-03-11 14:25:50 +00:00
2012-03-24 10:24:31 -07:00
2008-06-06 11:29:10 -07:00
2012-03-07 15:04:04 -05:00
2012-01-10 16:30:49 -08:00
2012-01-26 21:28:45 +01:00
2009-01-06 15:59:11 -08:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-02-02 10:34:23 +11:00
2012-03-07 15:04:04 -05:00
2011-10-29 21:20:22 +02:00
2012-03-07 15:04:04 -05:00
2010-05-27 09:12:48 -07:00
2012-03-28 17:14:35 -07:00
2007-07-17 10:23:04 -07:00
2011-06-03 15:01:06 -04:00
2006-06-25 10:01:20 -07:00
2012-03-23 16:58:38 -07:00
2012-03-23 16:58:38 -07:00
2006-06-25 10:01:20 -07:00
2007-05-10 18:24:13 +02:00
2008-07-12 08:22:32 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-05 15:49:43 -08:00
2012-03-07 15:04:04 -05:00
2011-12-06 10:00:05 +01:00
2011-01-13 08:03:25 -08:00
2011-12-06 09:53:40 +01:00
2012-01-12 20:13:13 -08:00
2011-03-31 11:26:23 -03:00
2011-01-13 08:03:25 -08:00
2012-03-07 15:04:04 -05:00
2012-02-02 00:24:04 +11:00
2012-03-07 15:04:04 -05:00
2012-01-24 16:00:35 -08:00
2012-03-07 15:04:04 -05:00
2012-01-24 12:50:36 -08:00
2012-03-11 19:59:43 -07:00
2009-06-12 21:47:04 +09:30
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-23 16:58:38 -07:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-24 10:24:31 -07:00
2010-08-12 09:51:35 -07:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-24 10:24:31 -07:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2009-07-17 09:11:31 +10:00
2012-03-07 15:04:04 -05:00
2012-03-28 17:14:37 -07:00
2012-03-29 14:28:26 -07:00
2010-05-20 21:04:26 -05:00
2009-07-01 22:28:44 +02:00
2012-03-07 15:04:04 -05:00
2012-03-24 10:24:31 -07:00
2012-04-10 14:48:51 -07:00
2012-03-07 15:04:04 -05:00
2011-10-31 17:30:56 -07:00
2012-03-07 15:04:04 -05:00
2008-12-25 11:01:42 +11:00
2012-03-24 10:24:31 -07:00
2010-10-26 16:52:19 -07:00
2012-03-28 15:58:21 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2012-03-07 15:04:04 -05:00
2011-05-25 08:39:52 -07:00
2012-02-02 10:34:23 +11:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-01-31 23:19:47 +02:00
2011-10-31 17:30:56 -07:00
2012-02-29 17:15:08 -05:00
2009-01-06 15:59:11 -08:00
2012-03-23 16:58:36 -07:00
2011-09-13 11:11:50 +02:00
2012-03-28 17:14:37 -07:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2011-12-08 19:52:43 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-24 10:24:31 -07:00
2012-03-07 15:04:04 -05:00
2011-05-25 08:39:03 -07:00
2012-03-07 15:04:04 -05:00
2009-01-08 08:31:14 -08:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-24 10:24:31 -07:00
2012-03-24 10:24:31 -07:00
2012-03-07 15:04:04 -05:00
2011-04-14 16:06:54 -07:00
2011-01-24 23:33:30 -08:00
2012-03-24 10:24:31 -07:00
2008-07-08 02:37:54 -07:00
2008-07-08 02:38:27 -07:00
2008-07-08 02:38:09 -07:00
2012-03-07 15:04:04 -05:00
2012-03-24 10:24:31 -07:00