James Bottomley
1f42ea7bc0
[SCSI] fix intermittent oops in scsi_bus_uevent
...
Reported-by: Sitsofe Wheeler <sitsofe@yahoo.com>
> BUG: unable to handle kernel paging request at e6f17fac
> IP: [<c02604d6>] scsi_bus_uevent+0x1/0x17
> *pde = 2714b163 *pte = 26f17160
> Oops: 0000 [#1 ] DEBUG_PAGEALLOC
> last sysfs file:
>
> Pid: 1, comm: swapper Not tainted (2.6.26-rc2-next-20080516skw #30 )
> EIP: 0060:[<c02604d6>] EFLAGS: 00010282 CPU: 0
> EIP is at scsi_bus_uevent+0x1/0x17
> EAX: e6f18014 EBX: e6f18014 ECX: c02604d5 EDX: e7173000
> ESI: e7173000 EDI: e7173000 EBP: e7851ca0 ESP: e7851c90
> DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
The problem is caused by:
commit b0ed43360fdca227048d88a08290365cb681c1a8
Author: Hannes Reinecke <hare@suse.de>
Date: Tue Mar 18 14:32:28 2008 +0100
[SCSI] add scsi_host and scsi_target to scsi_bus
which added scsi_bus_type to the struct scsi_target device. This
causes both the scsi_device and scsi_target to fire scsi_bus_uevents.
However, the actualy scsi_bus_uevent() call assumes blindly that it's
a struct scsi_device. Check for this and return immediately if it
isn't.
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-05-23 16:17:06 -05:00
..
2008-05-02 13:06:44 -05:00
2008-04-28 17:31:13 -07:00
2008-05-02 13:26:46 -05:00
2008-04-19 19:10:33 -07:00
2008-04-07 12:15:40 -05:00
2008-05-02 13:17:01 -05:00
2008-05-02 10:18:22 -05:00
2008-04-18 11:25:31 -07:00
2008-04-22 15:16:30 -05:00
2008-05-02 13:07:56 -05:00
2008-04-19 19:10:33 -07:00
2008-05-15 16:39:30 +01:00
2008-04-07 12:19:00 -05:00
2008-04-28 17:31:13 -07:00
2008-01-11 18:22:30 -06:00
2008-04-19 19:10:33 -07:00
2007-07-21 08:57:40 -05:00
2008-04-19 19:10:33 -07:00
2008-05-02 10:18:22 -05:00
2007-06-17 16:15:56 -05:00
2008-05-02 10:18:22 -05:00
2007-06-17 16:09:29 -05:00
2008-04-07 12:19:07 -05:00
2008-04-07 12:19:01 -05:00
2007-10-12 14:41:00 -04:00
2008-03-07 10:05:43 -06:00
2008-05-11 08:36:44 -05:00
2007-08-04 09:11:06 -05:00
2008-04-27 12:19:55 -05:00
2008-01-30 13:14:02 -06:00
2008-02-06 10:41:01 -08:00
2008-01-11 18:28:57 -06:00
2007-11-25 12:19:26 +02:00
2008-01-11 18:22:38 -06:00
2008-04-07 12:15:44 -05:00
2008-04-07 12:15:44 -05:00
2007-10-12 14:41:00 -04:00
2008-04-19 19:10:33 -07:00
2008-05-02 11:33:25 -05:00
2008-04-07 12:15:40 -05:00
2008-05-08 10:46:56 -07:00
2008-05-08 10:46:56 -07:00
2007-11-25 12:19:26 +02:00
2008-04-07 12:15:40 -05:00
2008-04-25 09:52:30 -05:00
2008-04-27 12:19:57 -05:00
2008-04-27 12:19:57 -05:00
2008-01-11 18:22:35 -06:00
2008-04-28 17:31:13 -07:00
2008-04-27 12:19:55 -05:00
2007-11-25 12:19:26 +02:00
2008-02-18 09:02:25 -06:00
2007-10-12 14:55:46 -04:00
2008-05-08 10:01:53 -05:00
2008-04-07 12:15:36 -05:00
2008-04-07 12:19:07 -05:00
2008-04-27 12:19:54 -05:00
2008-05-02 10:18:22 -05:00
2008-01-11 18:28:06 -06:00
2008-01-30 13:14:02 -06:00
2008-04-28 23:44:41 +02:00
2008-01-11 18:22:41 -06:00
2008-01-11 18:22:36 -06:00
2008-05-02 10:18:22 -05:00
2008-04-29 19:34:07 -05:00
2008-04-07 12:19:11 -05:00
2008-01-11 18:27:59 -06:00
2008-04-18 11:53:24 -05:00
2008-01-11 18:28:48 -06:00
2008-04-27 12:33:04 -05:00
2008-05-05 12:38:50 -07:00
2007-07-19 10:04:50 -07:00
2008-05-08 20:38:57 -05:00
2008-01-30 13:03:40 -06:00
2008-01-30 13:14:02 -06:00
2008-04-27 12:19:57 -05:00
2008-04-07 12:15:40 -05:00
2008-04-27 12:19:57 -05:00
2008-04-29 08:06:18 -07:00
2008-02-23 10:40:04 -08:00
2007-10-12 14:41:00 -04:00
2008-04-07 12:19:07 -05:00
2008-05-01 08:04:03 -07:00
2008-05-01 08:04:02 -07:00
2007-10-12 14:51:18 -04:00
2008-01-30 13:14:02 -06:00
2008-01-23 13:44:31 -06:00
2007-10-12 14:55:07 -04:00
2007-10-12 14:41:00 -04:00
2007-07-19 10:04:50 -07:00
2008-01-30 13:14:02 -06:00
2007-10-19 11:53:42 -07:00
2008-04-19 19:10:33 -07:00
2007-10-12 14:50:55 -04:00
2007-11-25 12:19:26 +02:00
2008-01-11 18:22:41 -06:00
2008-04-07 12:19:02 -05:00
2008-05-13 12:16:23 -05:00
2007-10-23 12:35:35 -04:00
2007-10-22 21:19:53 +02:00
2008-01-30 13:14:02 -06:00
2008-02-23 09:07:32 -06:00
2007-10-12 14:52:38 -04:00
2008-04-19 19:10:33 -07:00
2008-04-29 14:48:33 +02:00
2008-04-29 08:06:19 -07:00
2008-05-02 13:52:35 -07:00
2008-01-11 18:22:50 -06:00
2007-07-14 19:28:10 -05:00
2008-05-02 13:52:35 -07:00
2008-01-28 15:08:07 -08:00
2008-04-22 15:16:31 -05:00
2008-04-29 08:06:21 -07:00
2008-04-19 19:10:33 -07:00
2008-04-29 08:06:25 -07:00
2007-07-18 11:16:32 -05:00
2008-05-23 16:17:06 -05:00
2008-01-11 18:22:30 -06:00
2008-05-02 10:18:22 -05:00
2007-10-12 14:37:50 -04:00
2007-10-12 14:46:58 -04:00
2008-04-27 12:19:56 -05:00
2008-04-19 19:10:33 -07:00
2008-04-29 14:48:33 +02:00
2008-04-27 12:19:55 -05:00
2007-10-12 14:38:09 -04:00
2008-04-19 19:10:33 -07:00
2008-05-02 11:33:25 -05:00
2008-01-11 18:22:40 -06:00
2008-04-29 14:48:54 +02:00
2008-04-19 19:10:33 -07:00
2008-04-29 08:06:21 -07:00
2008-04-27 12:33:04 -05:00
2007-07-22 11:36:49 -07:00
2008-04-27 12:33:04 -05:00
2008-02-07 18:02:44 -06:00
2008-03-19 11:28:56 -05:00
2008-02-07 18:02:44 -06:00
2008-04-07 12:15:39 -05:00
2008-04-22 15:16:29 -05:00
2008-04-07 12:15:39 -05:00
2008-04-07 12:19:02 -05:00
2008-01-11 18:28:57 -06:00
2008-04-16 09:28:11 -05:00
2007-11-25 12:19:26 +02:00
2008-04-27 12:33:04 -05:00
2008-02-12 15:24:58 -06:00
2007-11-25 12:19:26 +02:00
2008-01-23 11:29:27 -06:00
2007-07-14 18:56:33 -05:00
2008-05-02 13:18:06 -05:00
2008-04-28 17:31:13 -07:00
2008-04-07 12:19:01 -05:00
2007-10-19 23:22:55 +02:00
2008-01-30 13:14:02 -06:00
2007-11-29 09:24:52 -08:00