Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 1997 15:26:47 -0700 (PDT)
From:      metcalf@snet.net
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   kern/4498: Files corrupted when written to Iomega Zip 100 on ProAudioStudio SCSI
Message-ID:  <199709082226.PAA09975@hub.freebsd.org>
Resent-Message-ID: <199709082230.PAA10178@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help


>Number:         4498
>Category:       kern
>Synopsis:       Files corrupted when written to Iomega Zip 100 on ProAudioStudio SCSI
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep  8 15:30:01 PDT 1997
>Last-Modified:
>Originator:     Jeffrey M. Metcalf
>Organization:
>Release:        2.2.2-RELEASE
>Environment:
FreeBSD katya.snet.net 2.2.2-RELEASE FreeBSD 2.2.2-RELEASE #0: 
Fri Aug  1 17:49:07 EDT 1997     
jeff@katya.snet.net:/mnt/usr/src/sys.katya/compile/KATYA  i386
>Description:
Files of size > 15K will be consistently corrupted when written to
an Iomega SCSI 100 disk (both FreeBSD fs and MSDOSFS) if the drive is
attached to a ProAudioStudio SCSI adapter.  No corruption occurs under
LINUX or Windows95 leading me to believe it is a device driver error and
not a hardware error.  The following message is displayed repeatedly 
on the console during a write to ZIP medium and is associated with the
corruption (file bytes replaced by null characters):

nca0/5/0 data length underflow

A detailed log of the kernel output as well as specific examples
of file corruption can be provided upon request.
>How-To-Repeat:
Attach an Iomega Zip 100 SCSI drive to a ProAudioStudio (Spectrum?) 
sound card and compile support into kernel for SCSI adapter and drive

controller      nca0    at isa? port 0x1f88 bio irq 10 vector ncaintr
controller      scbus0
device          sd0

Make a FreeBSD or MSDOS file system on Zip 100 medium.
Mount disk and write a file of size > 15K to the medium.
Umount disk
Remount disk and copy file back under new name.
Compare two files to find the file copied to medium and back 
has interlaced null bytes corrupting original file bytes.

>Fix:
Unknown
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709082226.PAA09975>