From owner-freebsd-questions Sun Apr 21 16:32: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from wrath.cs.utah.edu (wrath.cs.utah.edu [155.99.198.100]) by hub.freebsd.org (Postfix) with ESMTP id 6912737B41A for ; Sun, 21 Apr 2002 16:31:56 -0700 (PDT) Received: from famine.cs.utah.edu (famine.cs.utah.edu [155.99.198.114]) by wrath.cs.utah.edu (8.11.6/8.11.6) with ESMTP id g3LNVt509627 for ; Sun, 21 Apr 2002 17:31:55 -0600 (MDT) Received: by famine.cs.utah.edu (Postfix, from userid 2396) id 6B48A23AA2; Sun, 21 Apr 2002 17:31:55 -0600 (MDT) Received: from localhost (localhost [127.0.0.1]) by famine.cs.utah.edu (Postfix) with ESMTP id 5AFB2279D6 for ; Sun, 21 Apr 2002 17:31:55 -0600 (MDT) Date: Sun, 21 Apr 2002 17:31:55 -0600 (MDT) From: Scott Owens To: freebsd-questions@freebsd.org Subject: File corruption question Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am having problems with files being corrupted which I will describe in detail below. I would appreciate advice on whether this is a FreeBSD bug or if I should get a different motherboard. Whenever I am transfering a large amount of data to my hard disk, some of it becomes corrupted. I have been able to reproduce the problem in the following circumstances: 1) Copying a CD-ROM to the hard disk in both single and multi-user modes. 2) Copying a large (~1.5 GB) file from the network (100 mbps) to my hard drive. 3) taring up a large (~1.5 GB) directory tree. I have not been able to find any corruption in files copied from this computer to another over the network, leading me to believe that the problem is just in writing to the disk, not reading from it. I am using an IWILL KK266 motherboard which uses the VIA KT133A chipset which was known to have data corruption problems, though mostly in conjunction with the SoundBlaster Live sound card, which I do not have. I am using the most updated BIOS which claims to have solved the data corruption problems. Also FreeBSD's ATA driver seems to claim that it fixes the bug as well (see below). So basically I am unsure if I am experiencing the KT133A problem or something else. -Thank you, Scott Owens The output of dmesg is: Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.5-RELEASE #0: Thu Feb 14 13:28:56 MST 2002 sowens@Ryoko:/usr/src/sys/compile/RYO-OKI Timecounter "i8254" frequency 1193182 Hz CPU: AMD Athlon(tm) processor (1197.37-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x642 Stepping = 2 Features=0x183f9ff AMD Features=0xc0440000<,AMIE,DSP,3DNow!> real memory = 268369920 (262080K bytes) avail memory = 256860160 (250840K bytes) Preloaded elf kernel "kernel" at 0xc0433000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 10 entries at 0xc00fded0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xd000-0xd00f at device 7.1 on pci0 atapci0: Correcting VIA config for southbridge data corruption bug ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xd400-0xd41f irq 9 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub1: Texas Instruments UT-USB41 hub, class 9/0, rev 1.10/1.10, addr 2 uhub1: 4 ports with 4 removable, bus powered ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.00, addr 3, iclass 3/1 ums0: 3 buttons and Z dir. uhci1: port 0xd800-0xd81f irq 9 at device 7.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered chip1: at device 7.4 on pci0 rl0: port 0xdc00-0xdcff mem 0xdf000000-0xdf0000ff irq 10 at device 10.0 on pci0 rl0: Ethernet address: 00:50:bf:78:e7:ed miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcm0: port 0xe000-0xe0ff irq 12 at device 15.0 on pci0 orm0: