From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 15442 invoked from network); 22 Oct 1999 16:14:48 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 22 Oct 1999 16:14:48 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id MAA18442 for ; Fri, 22 Oct 1999 12:14:47 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id KAA29505 for axp-list@redhat.com; Fri, 22 Oct 1999 10:14:45 -0600 From: Michal Jaegermann Message-Id: <199910221614.KAA29505@ellpspace.math.ualberta.ca> Subject: Re: Continued alpha hanging To: axp-list@redhat.com Date: Fri, 22 Oct 1999 10:14:44 -0600 (MDT) In-Reply-To: <199910221553.IAA01111@icarus.com> from "Stephen Williams" at Oct 22, 99 08:53:24 am Content-Type: text Stephen Williams wrote: > > michal@ellpspace.math.ualberta.ca said: > > Is any way you can set your backup device and/or controller to an > > async operation? That would be worth to try. > > I'm not sure what that means. I have an ext2 filesystem on the PD disk > that I mount, and the dump goes into a file on that file system. This has nothing to do with a file system but with a way how a device operates on SCSI bus. Here are quoutes from README.ncr53c8xx but this applies to any SCSI controller and device even if details of configuring it may differ. Spelling of the original. :-) CONFIG_SCSI_NCR53C8XX_SYNC (default answer: 5) This option allows you to specify the frequency in MHz the driver will use at boot time for synchronous data transfer negotiations. This frequency can be changed later with the "setsync" control command. 0 means "asynchronous data transfers" ..... 10.2.7 Default synchronous period factor sync:255 disabled (asynchronous transfer mode) sync:#factor #factor = 10 Ultra-2 SCSI 40 Mega-transfers / second #factor = 11 Ultra-2 SCSI 33 Mega-transfers / second #factor < 25 Ultra SCSI 20 Mega-transfers / second #factor < 50 Fast SCSI-2 In all cases, the driver will use the minimum transfer period supported by controllers according to NCR53C8XX chip type. ..... Most SCSI problems are due to a non conformant SCSI bus or to buggy devices. If infortunately you have SCSI problems, you can check the following things: - SCSI bus cables - terminations at both end of the SCSI chain - linux syslog messages (some of them may help you) If you donnot find the source of problems, you can configure the driver with no features enabled. - only asynchronous data transfers - tagged commands disabled - disconnections not allowed Now, if your SCSI bus is ok, your system have every chance to work with this safe configuration but performances will not be optimal. For example, if your backup device claims that it can disconnect (controller asks) but it is not doing that properly then it may hang SCSI bus and your computer is dead. You will not see any messages logged in such case as they would have to go to disks through this very bus which just went south. Maybe if you are logging outside through a serial port before everything comes to a grinding halt...? > There is a temptation to stop doing backups on it. If I get another hang > at the same place, then I will try not using it. Ahem... Michal