Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* for those with 2.2.x and SCSI errors
@ 1999-01-31  7:22 Michal Jaegermann
  0 siblings, 0 replies; only message in thread
From: Michal Jaegermann @ 1999-01-31  7:22 UTC (permalink / raw)
  To: axp-list

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-01-31 16:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-31  7:22 for those with 2.2.x and SCSI errors Michal Jaegermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox