From owner-freebsd-scsi Fri Aug 10 18:48:36 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id ACFD837B407 for ; Fri, 10 Aug 2001 18:48:23 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id TAA74490; Fri, 10 Aug 2001 19:48:07 -0600 (MDT) (envelope-from ken) Date: Fri, 10 Aug 2001 19:48:07 -0600 From: "Kenneth D. Merry" To: Jim Bryant Cc: Matthew Jacob , Martin Aherron , freebsd-scsi@FreeBSD.ORG Subject: Re: what's wrong with this picture :-) Message-ID: <20010810194807.A74472@panzer.kdm.org> References: <01Jul25.213803edt.119044@cyborg.cybernetics.com> <20010725200625.A44606@panzer.kdm.org> <3B747CD2.A7F44851@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <3B747CD2.A7F44851@yahoo.com>; from kc5vdj@yahoo.com on Fri, Aug 10, 2001 at 07:31:14PM -0500 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Aug 10, 2001 at 19:31:14 -0500, Jim Bryant wrote: > "Kenneth D. Merry" wrote: > > That has been the case since day 1. The reason 'pass3' is providing the > > information is because that's the peripheral driver you're talking to. > > pass3 is the passthrough driver for that tape drive. > > > > > Very strange... it also is wierd becuase it also has the wrong transfer > > > information too. > > > > See what has been negotiated: > > > > camcontrol negotiate sa0 -v > > > > should explain why it thinks the drive is async. My guess is that the sync > > offset may be 0. Watch your line lengths, you're going far over 80 columns. > I just did that for the heck of it myself, and came up with some interesting info on ahc0 and ahc1 (identical)... The 3.3 Meg/Sec > thing isn't just for tape... You're getting the base transfer speed for the bus confused with the actual negotiated transfer speed. 3.3MB/sec is async narrow SCSI, which is the baseline transfer speed for most SCSI controllers. The negotiated transfer speed is printed out when the device probes, and by camcontrol negotiate. > FreeBSD 5.0-CURRENT #18: Fri Aug 10 16:51:25 CDT 2001 [cvsupped about 4am CST today] Tyan S1696-DLUA Mobo / 512M / Two > Pentium-II/333's > > See the full dmesg output in the -current thread I'm about to post concerning ACPI tables not being found, boot_verbose was set. > > The SCSI timeouts have been "normal" here for a couple/few years. Everything comes up fine once it sorts itself out. I don't know why you're getting timeouts, Justin will probably have to comment when he gets back. > Could the 3.3MB/Sec message be the reason I have thought that copies between drives have been slow, especially involving the 'Cuda? > I haven't said anything about this up to now. > > ----------------------------- This looks normal: > ahc0: port 0xe000-0xe0ff mem 0xfebfd000-0xfebfdfff irq 10 at device 15.0 on pci0 > ahc0: Reading SEEPROM...checksum error > ahc0: No SEEPROM available. > ahc0: Using left over BIOS settings > ahc0: External SRAM, fast access, 64bytes/SCB > ahc0: Downloading Sequencer Program... 399 instructions downloaded > (noperiph:ahc0:0:-1:-1): SCSI bus reset delivered. 0 SCBs aborted. > (probe5:ahc0:0:5:0): error 22 > (probe5:ahc0:0:5:0): Unretryable Error > (ahc0:A:5:0): Sending SDTR period 19, offset f > (probe6:ahc0:0:6:0): error 22 > (probe6:ahc0:0:6:0): Unretryable Error > (ahc0:A:5:0): Received SDTR period 19, offset 8 > ahc0: target 5 synchronous at 10.0MHz, offset = 0x8 > (ahc0:A:6:0): Sending SDTR period c, offset f > (ahc0:A:6:0): Received SDTR period c, offset f > ahc0: target 6 synchronous at 20.0MHz, offset = 0xf > (ahc0:A:5:0): Sending SDTR period 19, offset 8 > (ahc0:A:5:0): Received SDTR period 19, offset 8 > (ahc0:A:6:0): Sending SDTR period c, offset f > (ahc0:A:6:0): Received SDTR period c, offset f > pass0 at ahc0 bus 0 target 5 lun 0 > pass1 at ahc0 bus 0 target 6 lun 0 > sa0 at ahc0 bus 0 target 5 lun 0 > (ahc0:A:6:0): Sending SDTR period c, offset f > (ahc0:A:6:0): Received SDTR period c, offset f > (cd0:ahc0:0:6:0): error 6 > (cd0:ahc0:0:6:0): Unretryable Error > cd0 at ahc0 bus 0 target 6 lun 0 > > ------ This doesn't look normal, but it isn't clear what exactly is timing out. > ahc1: port 0xec00-0xecff mem 0xfebff000-0xfebfffff irq 11 at device 15.1 on pci0 > ahc1: Reading SEEPROM...checksum error > ahc1: No SEEPROM available. > ahc1: Using left over BIOS settings > ahc1: External SRAM, fast access, 64bytes/SCB > ahc1: Downloading Sequencer Program... 399 instructions downloaded > (noperiph:ahc1:0:-1:-1): SCSI bus reset delivered. 0 SCBs aborted. > (probe15:ahc1:0:0:0): SCB 0x9 - timed out > ahc1: Dumping Card State in Data-in phase, at SEQADDR 0x8e > (probe15:ahc1:0:0:0): BDR message in message buffer > (probe15:ahc1:0:0:0): SCB 0x9 - timed out > ahc1: Dumping Card State in Data-in phase, at SEQADDR 0x8c > (probe15:ahc1:0:0:0): no longer in timeout, status = 34b > ahc1: Issued Channel A Bus Reset. 15 SCBs aborted > (probe16:ahc1:0:1:0): Retrying Command > (probe20:ahc1:0:5:0): Retrying Command > (probe21:ahc1:0:6:0): Retrying Command > (probe22:ahc1:0:8:0): Retrying Command > (probe26:ahc1:0:12:0): Retrying Command > (probe27:ahc1:0:13:0): Retrying Command > (probe17:ahc1:0:2:0): Retrying Command > (probe18:ahc1:0:3:0): Retrying Command > (probe19:ahc1:0:4:0): Retrying Command > (probe23:ahc1:0:9:0): Retrying Command > (probe24:ahc1:0:10:0): Retrying Command > (probe25:ahc1:0:11:0): Retrying Command > (probe28:ahc1:0:14:0): Retrying Command > (probe29:ahc1:0:15:0): Retrying Command > (probe15:ahc1:0:0:0): Retrying Command > (ahc1:A:0:0): Received WDTR 0 filtered to 0 > (ahc1:A:0:0): Target Initiated WDTR > (ahc1:A:0:0): Sending WDTR 0 > (ahc1:A:0:0): Received SDTR period 19, offset f > (ahc1:A:0:0): Target Initiated SDTR > (ahc1:A:0:0): Sending SDTR period 0, offset 0 > (probe15:ahc1:0:0:0): Retrying Command > (probe15:ahc1:0:0:0): Retrying Command > (probe15:ahc1:0:0:0): SCB 0x8 - timed out > ahc1: Dumping Card State in Command phase, at SEQADDR 0x163 > (probe15:ahc1:0:0:0): BDR message in message buffer > (ahc1:A:0:0): Received SDTR period 19, offset f > (ahc1:A:0:0): Target Initiated SDTR > (ahc1:A:0:0): Sending SDTR period 0, offset 0 > (probe15:ahc1:0:0:0): no longer in timeout, status = 300 > (ahc1:A:0:0): Sending WDTR 1 > (ahc1:A:0:0): Received WDTR 1 filtered to 1 > ahc1: target 0 using 16bit transfers > (ahc1:A:0:0): Sending SDTR period 19, offset 8 > (ahc1:A:0:0): Received SDTR period 19, offset 8 > ahc1: target 0 synchronous at 10.0MHz, offset = 0x8 > pass2 at ahc1 bus 0 target 0 lun 0 > da0 at ahc1 bus 0 target 0 lun 0 > > ----------------------------- This looks normal. > Creating DISK da0 > da0 at ahc1 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-2 device > da0: Serial Number 00318200 > da0: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Enabled > da0: 4094MB (8386000 512 byte sectors: 64H 32S/T 4094C) > > --------- As does this. > 7:14:47pm wahoo(103): camcontrol negotiate da0 -v > Current Parameters: > (pass2:ahc1:0:0:0): sync parameter: 25 Note the frequency, 10MHz: > (pass2:ahc1:0:0:0): frequency: 10.000MHz The offset of 8: > (pass2:ahc1:0:0:0): offset: 8 And the bus width: > (pass2:ahc1:0:0:0): bus width: 16 bits 10MHz * 2 bytes == 20MB/sec, thus the 20MB/sec transfer rate in the dmesg above. > (pass2:ahc1:0:0:0): disconnection is enabled > (pass2:ahc1:0:0:0): tagged queueing is enabled > ahc1: SIM/HBA version: 1 > ahc1: supports tag queue messages > ahc1: supports SDTR message > ahc1: supports 16 bit wide SCSI > ahc1: HBA engine count: 0 > ahc1: maximum target: 15 > ahc1: maximum LUN: 63 > ahc1: highest path ID in subsystem: 0 > ahc1: initiator ID: 7 > ahc1: SIM vendor: FreeBSD > ahc1: HBA vendor: Adaptec > ahc1: bus ID: 0 This is your *base* transfer speed: > ahc1: base transfer speed: 3.300MB/sec > > ----------------------------- > > Creating DISK cd0 It's kinda odd that you aren't getting any more error messages other than "error 6". > (cd0:ahc0:0:6:0): error 6 > (cd0:ahc0:0:6:0): Unretryable Error Again, this is normal: > cd0 at ahc0 bus 0 target 6 lun 0 > cd0: Removable CD-ROM SCSI-2 device > cd0: 20.000MB/s transfers (20.000MHz, offset 15) > cd0: Attempt to query device size failed: NOT READY, Medium not present > > --------- This is normal: > 7:16:35pm wahoo(105): camcontrol negotiate cd0 -v > Current Parameters: > (pass1:ahc0:0:6:0): sync parameter: 12 > (pass1:ahc0:0:6:0): frequency: 20.000MHz > (pass1:ahc0:0:6:0): offset: 15 > (pass1:ahc0:0:6:0): bus width: 8 bits > (pass1:ahc0:0:6:0): disconnection is enabled > (pass1:ahc0:0:6:0): tagged queueing is disabled > ahc0: SIM/HBA version: 1 > ahc0: supports tag queue messages > ahc0: supports SDTR message > ahc0: supports 16 bit wide SCSI > ahc0: HBA engine count: 0 > ahc0: maximum target: 15 > ahc0: maximum LUN: 63 > ahc0: highest path ID in subsystem: 0 > ahc0: initiator ID: 7 > ahc0: SIM vendor: FreeBSD > ahc0: HBA vendor: Adaptec > ahc0: bus ID: 0 As is this: > ahc0: base transfer speed: 3.300MB/sec > > ----------------------------- Nothing wrong with your tape drive either. > sa0 at ahc0 bus 0 target 5 lun 0 > sa0: Removable Sequential Access SCSI-2 device > sa0: 10.000MB/s transfers (10.000MHz, offset 8) > > --------- > > 7:18:54pm wahoo(106): camcontrol negotiate sa0 -v > Current Parameters: > (pass0:ahc0:0:5:0): sync parameter: 25 > (pass0:ahc0:0:5:0): frequency: 10.000MHz > (pass0:ahc0:0:5:0): offset: 8 > (pass0:ahc0:0:5:0): bus width: 8 bits > (pass0:ahc0:0:5:0): disconnection is enabled > (pass0:ahc0:0:5:0): tagged queueing is disabled > ahc0: SIM/HBA version: 1 > ahc0: supports tag queue messages > ahc0: supports SDTR message > ahc0: supports 16 bit wide SCSI > ahc0: HBA engine count: 0 > ahc0: maximum target: 15 > ahc0: maximum LUN: 63 > ahc0: highest path ID in subsystem: 0 > ahc0: initiator ID: 7 > ahc0: SIM vendor: FreeBSD > ahc0: HBA vendor: Adaptec > ahc0: bus ID: 0 > ahc0: base transfer speed: 3.300MB/sec Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message