Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Misbehaving IBM SCSI Disk on XL366
@ 1999-10-31 21:43 Ryan Kirkpatrick
  1999-10-31 22:10 ` Kurt Ludwig
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Ryan Kirkpatrick @ 1999-10-31 21:43 UTC (permalink / raw)
  To: axp-list


	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. The disk in question is detected as below:

  Vendor: IBM       Model: DORS-32160        Rev: WA6A
  Type:   Direct-Access                      ANSI SCSI revision: 01 CCS

Yea, I know that '01 CCS' does not look all that great, but the disk
is listed as a Fast SCSI-2 disk by IBM.
	Previously, I had been using the NCR53C7xx,8xx driver in the
kernel to support the onboard scsi channel. Under this setup, the disk in
question is detected with no problems and can be used with no timeouts or
other nasties. The kernel gives me this on boot up:

scsi1 : target 1 accepting period 100ns offset 8 10.00MHz FAST SCSI-II 
scsi1 : setting target 1 to period 100ns offset 8 10.00MHz FAST SCSI-II 
   Vendor: IBM       Model: DORS-32160        Rev: WA6A 
   Type:   Direct-Access                      ANSI SCSI revision: 01 CCS 
Detected scsi disk sdg at scsi1, channel 0, id 1, lun 0 
...
SCSI device sdg: hdwr sector= 512 bytes. Sectors= 4127761 [2015 MB] [2.0 GB] 

	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. It recovers
from the reset, prints the same SCSI speed detection messages, and then
tries again, only to get stuck and reset due to timeouts again, slowly but
painfully making progress in the boot up. Basically, the system will not
boot.
	I repeated the above test with 2.2.5 and 2.2.12, same
configurations, same problem.
	Now, I booted with the Debian 2.1 boot floppy's kernel, 2.0.36,
and things were quite different. This is what the kenel told me about the
disk:

   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,*>: SYNC transfers not supported. 
SCSI device sda: hdwr sector= 512 bytes. Sectors= 4127761 [2015 MB] [2.0 GB]

Then the system boots just fine, and there are no SCSI timeouts, and all
disks on all controllers are visable. I can then proceed to stress test
(i.e. bonnie -s 500) on all disks, compile kernels, etc... with not even a
single scsi reset. I get decent speed from my fast and ultra disks on the
Tekram controllers, but a rather poor 3.7 MB/sec from the disk in
question.
	So, as far as I can determine, this is a software problem, or at
the very least is not a scsi cable/termination issue. On the same chain as
the disk in question are an Exabyte tape drive (ext), two Toshiba CD-ROMs,
and a Yamaha CD-R (which 2.0.36 does not detect or support very well,
works fine with 2.2.7). This scsi chain is unchanged from before adding
the two Tekram cards. 
	It appears that for some reason, while the NCR53C7xx,8xx drivers,
the onboard SCSI controller, and the IBM SCSI disk all worked together
well in the 2.2.7 kernels, synchronous support and all... Going to the
NCR53C8xx drivers, with out changing anything else causes some serious
heartburn in the system. 
	Therefore, does anyone have any ideas on how to fix this problem?
I would very much like to escape from the 2.0.x kernels and go back to the
2.2.x kernels, if only for the sake of my CD-R drive. If I could even just
tell the IBM drive to not use sync at all in 2.2.x kernels, I would be
happy. So, would someone out there please give me some advice on this
problem? Thanks in advance!

---------------------------------------------------------------------------
|   "For to me to live is Christ, and to die is gain."                    |
|                                            --- Philippians 1:21 (KJV)   |
---------------------------------------------------------------------------
|   Ryan Kirkpatrick  |  Boulder, Colorado  |  http://www.rkirkpat.net/   |
---------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2000-02-09  1:05 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-31 21:43 Misbehaving IBM SCSI Disk on XL366 Ryan Kirkpatrick
1999-10-31 22:10 ` Kurt Ludwig
1999-10-31 23:01 ` Jay.Estabrook
1999-11-01  5:01   ` Kurt Ludwig
1999-11-01 15:02     ` Jay.Estabrook
1999-11-01 14:39       ` warp
1999-11-01 15:04       ` mpich with ccc Shane Sturrock
1999-11-01 15:22         ` Paul N.
1999-11-01 16:12           ` Shane Sturrock
1999-11-01 16:16       ` Misbehaving IBM SCSI Disk on XL366 Kurt Ludwig
1999-11-01 17:15   ` Ryan Kirkpatrick
1999-11-03 22:15   ` Stephen Williams
1999-11-03 22:23     ` Jay.Estabrook
1999-11-06  1:25   ` Ryan Kirkpatrick
2000-02-09  1:04 ` Ryan Kirkpatrick

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