[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
for those with 2.2.x and SCSI errors
- From: Michal Jaegermann <michal ellpspace math ualberta ca>
- To: axp-list redhat com
- Subject: for those with 2.2.x and SCSI errors
- Date: Sun, 31 Jan 1999 00:22:29 -0700 (MST)
If you belong to this category: the problem seem to stem from a change in
a semaphores behaviour. Somewhere in 2.0pre-... they were made recursive.
This fixed some problem and caused other ones. Sigh!
If you have seen that (loading SCSI modules locks up machine, for
example), you may try the following:
--- linux.vanilla/drivers/scsi/scsi_error.c Sat Jan 9 21:50:44 1999
+++ linux.ac/drivers/scsi/scsi_error.c Sat Jan 30 18:41:18 1999
@@ -1971,6 +1971,7 @@
* trying to unload a module.
*/
SCSI_LOG_ERROR_RECOVERY(1,printk("Error handler sleeping\n"));
+ sem.owner_depth = 0; /* Quick fix for now */
down_interruptible (&sem);
if (signal_pending(current) )
This is actually a fragment from much bigger patch-2.2.1-ac2.
Available, as usual, from ftp://ftp.linux.org.uk/pub/linux/alan/2.2/
Use on your own risk - something else may break. And the following
is diretctly from Alan Cox (alan@lxorguk.ukuu.org.uk):
"Definitely let me know if you have any ac2 specific problems. Don't bother
Linus unless 2.2.1 unpatched also breaks."
Michal
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]