Subject: Re: problems with ahc vs. format command
To: None <bouyer@antioche.lip6.fr>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: tech-kern
Date: 06/14/2001 00:36:22
In article <20010612165810.A563@antioche.lip6.fr>
bouyer@antioche.lip6.fr writes:

> OK, so it's possible that this command doesn't work with tagged queueing.

Now I've tried scsictl format command with pcscp
(which uses MI ncr53c9x) on i386 with the following drive:

---
sd0 at scsibus0 target 0 lun 0: <IBM, DPES-31080, S31Q> SCSI2 0/direct fixed
sd0: 1034 MB, 4903 cyl, 4 head, 108 sec, 512 bytes/sect x 2118144 sectors
sd0: sync (100.0ns offset 15), 8-bit (10.000MB/s) transfers, tagged queueing
---

then I got the following timeout.

---
sd0(pcscp0:0:0:0): pcscp0: timed out [ecb 0xc0775000 (flags 0x1, dleft 0, stat 0)], <state 2, nexus 0xc0775000, phase(l 12, c 100, p 3), resid 0, msg(q 0,o 40) DMA active>
sd0(pcscp0:0:0:0): sync negotiation disabled
sd0(pcscp0:0:0:0): pcscp0: timed out [ecb 0xc0775000 (flags 0x141, dleft 0, stat 0)], <state 1, nexus 0x0, phase(l 10, c 100, p 7), resid 0, msg(q 0,o 40) > AGAIN
pcscp0: SCSI bus reset
---

But after fixing overflow of callout args in ncr53c9x.c,
the format command seems to work properly.
(sorry I don't have ahc adapters)
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp