From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 19059 invoked from network); 31 Jan 1999 16:27:34 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 31 Jan 1999 16:27:34 -0000 Received: from ellpspace.math.ualberta.ca (root@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id LAA09244 for ; Sun, 31 Jan 1999 11:21:48 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id AAA09455 for axp-list@redhat.com; Sun, 31 Jan 1999 00:22:29 -0700 From: Michal Jaegermann Message-Id: <199901310722.AAA09455@ellpspace.math.ualberta.ca> Subject: for those with 2.2.x and SCSI errors To: axp-list@redhat.com Date: Sun, 31 Jan 1999 00:22:29 -0700 (MST) Content-Type: text 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