From owner-freebsd-scsi Tue May 22 17: 3:33 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from monet.naviant.com (mail.naviant.com [207.106.77.11]) by hub.freebsd.org (Postfix) with ESMTP id BB7D637B422 for ; Tue, 22 May 2001 17:03:29 -0700 (PDT) (envelope-from lgriffin@Naviant.com) Received: from monet.naviant.com (monet.naviant.com [10.1.17.11]) by monet.naviant.com (8.9.3/8.9.3) with ESMTP id UAA09861 for ; Tue, 22 May 2001 20:03:28 -0400 (EDT) Date: Tue, 22 May 2001 20:03:27 -0400 (EDT) From: Lyndon Griffin To: Subject: IBM 3490e help (poss dd bug?) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 OK, I admit that this may be user error, and if not it's probably not an item for this list, but here goes: Synopsis: 4.2-RELEASE on i386 Symbios 53c875 HBA IBM 3490E/F01 deskside changer read from tape is fine, write to tape fails with I/O error from sa0. This happens regardless of the tape density, tape "newness", etc. Have verified that the drive does work on SPARCstation 10 running Solaris. Here's relevant bits from /var/log/messages: sym0: <875> port 0xdc00-0xdcff mem 0xfaffe000-0xfaffefff,0xfafffc00-0xfafffcff irq 9 at device 11.0 on pci2 sym0: Symbios NVRAM, ID 7, Fast-20, HVD, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: using LOAD/STORE-based firmware. sym1: <875> port 0xd800-0xd8ff mem 0xfaffd000-0xfaffdfff,0xfafff800-0xfafff8ff irq 10 at device 11.1 on pci2 sym1: Symbios NVRAM, ID 7, Fast-20, HVD, parity checking sym1: open drain IRQ line driver, using on-chip SRAM sym1: using LOAD/STORE-based firmware. ....... Waiting 15 seconds for SCSI devices to settle (noperiph:sym0:0:-1:-1): SCSI BUS reset delivered. (noperiph:sym1:0:-1:-1): SCSI BUS reset delivered. sa0 at sym0 bus 0 target 5 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 20.000MB/s transfers (10.000MHz, offset 15, 16bit) Mounting root from ufs:/dev/ad0s1a ch0 at sym0 bus 0 target 5 lun 1 ch0: Removable Changer SCSI-2 device ch0: 20.000MB/s transfers (10.000MHz, offset 15, 16bit) ch0: 10 slots, 1 drive, 1 picker, 0 portals (sa0:sym0:0:5:0): extraneous data discarded. (sa0:sym0:0:5:0): COMMAND FAILED (87 0 1). it would appear that this is a problem related to dd - $ dd if=/kernel of=/dev/sa0 works fine, but $ dd if=datafile of=/dev/sa0 ibs=394 cbs=393 obs=32619 conv=ibm dd: /dev/sa0: Input/output error 83+0 records in 0+0 records out 0 bytes transferred in 0.004842 secs (0 bytes/sec) furthermore, drop the obs from the previous command, and things roll along fine. Any pointers? -- <:) Lyndon Griffin Sr. Systems Engineer Naviant (http://www.naviant.com/) PGP Public Key: http://bsd4us.org/~lyndon/b/lyndon.pgp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message