From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 21099 invoked from network); 31 Oct 1999 22:05:48 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 31 Oct 1999 22:05:48 -0000 Received: from mailext04.compaq.com (mailext04.compaq.com [207.18.199.42]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id RAA05484 for ; Sun, 31 Oct 1999 17:05:48 -0500 Received: from mailint02.im.hou.compaq.com (mailint02.compaq.com [207.18.199.35]) by mailext04.compaq.com (Postfix) with ESMTP id 7A0AF104BC3 for ; Sun, 31 Oct 1999 16:05:47 -0600 (CST) Received: by mailint02.im.hou.compaq.com (Postfix, from userid 12345) id B0908BC4CA; Sun, 31 Oct 1999 16:05:43 -0600 (CST) Received: from segsrv.hlo.dec.com (segsrv.hlo.dec.com [16.128.112.18]) by mailint02.im.hou.compaq.com (Postfix) with ESMTP id 5CD86B2A45 for ; Sun, 31 Oct 1999 16:05:43 -0600 (CST) Received: from alpha1.estabrook.org by segsrv.hlo.dec.com (8.8.8/1.1.10.5/30Jun99-0708PM) id RAA0000003368; Sun, 31 Oct 1999 17:05:43 -0500 (EST) Received: from ma.ultranet.com (jestabro@localhost [127.0.0.1]) by alpha1.estabrook.org (8.8.7/8.8.7) with ESMTP id SAA01497 for ; Sun, 31 Oct 1999 18:02:00 -0500 Message-Id: <199910312302.SAA01497@alpha1.estabrook.org> X-Mailer: exmh version 2.0.2 X-Exmh-Isig-CompType: repl X-Exmh-Isig-Folder: axp-list To: axp-list@redhat.com From: Jay.Estabrook@digital.com Subject: Re: Misbehaving IBM SCSI Disk on XL366 In-reply-to: Your message of Sun, 31 Oct 1999 15:43:18 -0600. Mime-Version: 1.0 Content-Type: text/plain Date: Sun, 31 Oct 1999 18:01:58 -0500 Sender: jestabro@ma.ultranet.com >>> Ryan Kirkpatrick said: > > I am having an odd problem with an IBM 2GB Fast SCSI disk on my > XL366 alpha. This disk is being used as a system disk and is connected to > the onboard NCR53C810 controller. The system is running Debian 2.1 and > kernel 2.2.7. > > Yesterday I installed two Tekram 390 scsi cards and thereby > switched to the NCR53C8xx driver for all controllers (as recommended by > the axp-list archives and the kernel help messages). I recompiled a 2.2.7 > kernel with this change and proceeded to boot the sytem. All disks are > correctly detected on all chains, and this is what the kernel tells me > about the disk in question: > > Vendor: IBM Model: DORS-32160 Rev: WA6A > Type: Direct-Access ANSI SCSI revision: 01 CCS > Detected scsi disk sda at scsi0, channel 0, id 1, lun 0 > ... > ncr53c810a-0-<1,*>: FAST-10 SCSI 10.0 MB/s (100 ns, offset 8) > SCSI device sdb: hdwr sector= 512 bytes. Sectors= 4127761 [2015 MB] [2.0 GB] > > Only, when the system goes to get partition maps for the disks and then > later load init off of this disk (since it is the system disk), I start > getting SCSI timeouts on this disk for the onboard scsi chain. This *may* be the same problem others have seen WRT compiling recent kernels with EGCS 1.1.2 or later. Try patching the following way, rebuild, and see if the problem goes away... --- linux-2.2.12/include/asm-alpha/delay.h Tue Dec 29 16:56:15 1998 +++ patch-2.2.12/include/asm-alpha/delay.h Mon Sep 20 14:47:56 1999 @@ -12,9 +12,10 @@ extern __inline__ void __delay(unsigned long loops) { - __asm__ __volatile__(".align 3\n" + __asm__ __volatile__(".align 4\n" "1:\tsubq %0,1,%0\n\t" - "bge %0,1b": "=r" (loops) : "0" (loops)); + "bge %0,1b\n\t" + "nop": "=r" (loops) : "0" (loops)); } /* Good luck. --Jay++ --------------------------------------------------------------- Jay A Estabrook Alpha Engineering - LINUX Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080 200 Forest Street, Marlboro MA 01752 Jay.Estabrook@compaq.com ---------------------------------------------------------------