From owner-freebsd-stable Sat Sep 29 6: 9:41 2001 Delivered-To: freebsd-stable@freebsd.org Received: from pc1-cove4-0-cust214.bir.cable.ntl.com (pc1-cove4-0-cust214.bir.cable.ntl.com [213.105.93.214]) by hub.freebsd.org (Postfix) with ESMTP id BDA4F37B40A for ; Sat, 29 Sep 2001 06:09:33 -0700 (PDT) Received: from ntlworld.com (alpha.private [192.168.0.2]) (authenticated) by pc1-cove4-0-cust214.bir.cable.ntl.com (8.11.6/8.11.6) with ESMTP id f8TD9R459459 (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits) verified NO); Sat, 29 Sep 2001 14:09:30 +0100 (BST) (envelope-from ianjhart@ntlworld.com) Message-ID: <3BB5C807.93BE9CD8@ntlworld.com> Date: Sat, 29 Sep 2001 14:09:27 +0100 From: ian j hart X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Keith Mitchell Cc: freebsd-stable@FreeBSD.ORG Subject: Re: fs corruption (ATA / 4.4-REL) References: <20010929080038.A16272@weenix.guru.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Keith Mitchell wrote: > > I just installed FreeBSD 4.4-RELEASE for the third time due to filesystem > corruption and I can't figure out what is going on. The symptom is > I can install it and start compiling ports and eventually I will get errors > about bad inodes. If I then go to single user mode and run fsck I see > tons of DUPs and other inconsistencies in the file system. I have tried > both with softupdates on and off. I have also tried a different hard > drive and memory all with the same results. > > I have not changed the sysctl ata variables from their defaults. Is there > any known problem in this area? My dmesg info follows: Are you getting UDMA ICRC errors in /var/log/messages? Any errors at all? If not, changing hw.atamodes probably won't help. It's worth checking the cables for damage/length. See numerous threads (stable and hardware) with UDMA ICRC in subject. > > Copyright (c) 1992-2001 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.4-RELEASE #0: Fri Sep 28 07:31:35 EDT 2001 > root@inferno.guru.org:/usr/src/sys/compile/INFERNO > Timecounter "i8254" frequency 1193182 Hz > Timecounter "TSC" frequency 451024461 Hz > CPU: AMD-K6(tm) 3D processor (451.02-MHz 586-class CPU) > Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 > Features=0x8021bf > AMD Features=0x80000800 > real memory = 268369920 (262080K bytes) > avail memory = 257531904 (251496K bytes) > Preloaded elf kernel "kernel" at 0xc0387000. > K6-family MTRR support enabled (2 registers) > md0: Malloc disk > Using $PIR table, 7 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 > isab0: at device 7.0 on pci0 > isa0: on isab0 > atapci0: port 0xb400-0xb40f at device 7.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > uhci0: port 0xb000-0xb01f 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 > pcib2: at device 7.3 on pci0 > pci0: (vendor=0x1274, dev=0x5000) at 9.0 irq 5 > de0: port 0xbc00-0xbc7f mem 0xea001000-0xea00107f irq 10 at device 10.0 on pci0 > de0: 21140A [10-100Mb/s] pass 2.2 > de0: address 00:c0:f0:16:d7:ec > ahc0: port 0xc000-0xc0ff mem 0xea000000-0xea000fff irq 11 at device 11.0 on pci0 > aic7880: Ultra Wide Channel A, SCSI Id=7, 16/255 SCBs > orm0: