Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
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)	[thread overview]
Message-ID: <199901310722.AAA09455@ellpspace.math.ualberta.ca> (raw)

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


                 reply	other threads:[~1999-01-31 16:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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