panic: Inactive in scsi_request_queueable, SOLVED!

Dario_Ballabio (Dario_Ballabio@milano.europe.dg.com)
Sun, 3 May 1998 22:43:49 +0200


The problem shows up on single cpu systems too, with drivers
using the new scsi_eh_code (aha1542, u14-34f, eata).
The scsi_bottom_half_handler is broken, because it does
not use the io_request_lock to protect the interrupt
completion routine (scsi_finish_command, which calls rw_intr,
requeue_sd_request and finally the most critical part
scsi_request_queueable).
The fix could be as simple as calling spin_lock/unlock
before and after calling scsi_finish_command, but probably
all the lock design in this routine needs to be revisited.

+--------------------------------+--------------------------------------+
| Dario Ballabio, | Phone : +39 2 753961 |
| Technical Director, | Fax : +39 2 75396204 |
| Data General Italy | Mob. phone: +39 3356322300 |
| | Addr. : v. Rivoltana, 13 |
| | 20090 Segrate MI Italy |
| | Email: dario@milano.europe.dg.com |
| | |
| | "si vis pacem, para bellum." |
+--------------------------------+--------------------------------------+

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu