From owner-freebsd-bugs Tue May 16 03:10:54 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id DAA05535 for bugs-outgoing; Tue, 16 May 1995 03:10:54 -0700 Received: from DBSTU1.RZ.TU-BS.DE (dbstu1.rz.tu-bs.de [134.169.1.1]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id DAA05529 for ; Tue, 16 May 1995 03:10:52 -0700 Message-Id: <199505161010.DAA05529@freefall.cdrom.com> Received: from rzab0.rz.tu-bs.de by DBSTU1.RZ.TU-BS.DE (IBM VM SMTP V2R2) with TCP; Tue, 16 May 95 12:10:35 MEZ Received: by rzab0.rz.tu-bs.de (1.37.109.4/15.6) id AA08554; Tue, 16 May 95 12:10:38 +0200 From: Martin Butkus Subject: big files written to scsi harddisk got corrupted To: freebsd-bugs@FreeBSD.org Date: Tue, 16 May 1995 12:10:37 +0100 (MESZ) X-Mailer: ELM [version 2.4 PL11] Content-Type: text Content-Length: 1341 Sender: bugs-owner@FreeBSD.org Precedence: bulk Hello. I think I have discovered a bug in the february SNAP of FreeBSD. After a vanilla install, I did yes > test.dat in an xterm and killed yes when test.dat had a size of 100MB or so. When I looked at the file I found that sometimes characters got replaced by 0xff's. If such a corruption happens, it always happens to 8 consecutive characters. When I tried to determine at which position in the file such a corruption occurs, I found that the positions (in bytes) are always divisible by 2048. I then ktrace'd the I/O of yes and there were no errors in the ktrace log file. I enabled SCSI debugging too and the error level returned from the drive was always 0x0 (no error). I have checked cables and termination but this had no effect on the bug. The problem could be found on my Quantum drive as well as on the Syquest. I presume this is a bug in FreeBSD as the drive is new and the controller is known to have worked flawlessly in another machine. In case you need it here is my configuration: intel 486/50 16 MB RAM Quantum lightning 730S rev 241E hard disk Syquest 270MB removable disk (currently not installed) Adaptec 1542 A SCSI controller (I use its floppy disk controller, too) no-name Multi-I/O card Sigma Designs L-View black&white monitor and graphics card (19 inch) I use the february SNAP of FreeBSD and X-Windows.