From owner-freebsd-stable@FreeBSD.ORG Sun Aug 14 21:55:41 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABC6716A41F for ; Sun, 14 Aug 2005 21:55:41 +0000 (GMT) (envelope-from pmurray@open2view.com) Received: from bellagio.open2view.com (bellagio.open2view.com [203.97.20.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BA4943D48 for ; Sun, 14 Aug 2005 21:55:40 +0000 (GMT) (envelope-from pmurray@open2view.com) Received: from localhost (localhost [127.0.0.1]) by bellagio.open2view.com (Postfix) with ESMTP id 916895BC04 for ; Mon, 15 Aug 2005 10:00:18 +1200 (NZST) Received: from bellagio.open2view.com ([127.0.0.1]) by localhost (bellagio.open2view.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 48273-07 for ; Mon, 15 Aug 2005 10:00:15 +1200 (NZST) Received: from [10.58.3.145] (unknown [10.58.3.145]) by bellagio.open2view.com (Postfix) with ESMTP id D4CD05BC03 for ; Mon, 15 Aug 2005 10:00:14 +1200 (NZST) Mime-Version: 1.0 (Apple Message framework v733) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-stable@freebsd.org From: Philip Murray Date: Mon, 15 Aug 2005 09:55:07 +1200 X-Mailer: Apple Mail (2.733) X-Virus-Scanned: amavisd-new at open2view.com Subject: Reoccurring filesystem corruption X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Aug 2005 21:55:41 -0000 Hi, I have a 4.11 machine that keeps getting file-system corruption on a single ATA drive (on a ServerWorks ROSB4, not the 3ware mentioned in the dmesg bewlow). In the nightly run e-mails I see pages and pages of: Checking setuid files and devices: find: /usr/share/locale/fr_CA.ISO8859-15: Bad file descriptor find: /usr/share/locale/fr_CH.ISO8859-1: Bad file descriptor find: /usr/share/locale/fr_FR.ISO8859-1: Bad file descriptor find: /usr/share/locale/fr_CH.ISO8859-15: Bad file descriptor Every time I see this, I run a fsck over the file-system in single user mode and fsck claims to have fixed all the corruption. Then, anywhere from a week to a month later, it starts happening again and gets worse and worse. Is this a sign of a dead disk, faulty ATA controller, or something wrong with FreeBSD? I get no error messages in dmesg. Is it possible fsck isn't actually fixing everything there is to be fixed? Is there some way of forcing fsck to do a more thorough check? Cheers Philip Murray FreeBSD 4.11-STABLE #4: Wed Apr 6 16:45:15 NZST 2005 Timecounter "i8254" frequency 1193182 Hz CPU: Intel(R) Pentium(R) III CPU family 1400MHz (1399.33-MHz 686- class CPU) Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 Features=0x383fbff real memory = 2147418112 (2097088K bytes) avail memory = 2087903232 (2038968K bytes) Programming 16 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 16 pins in IOAPIC #1 FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 4, version: 0x000f0011, at 0xfec00000 io1 (APIC): apic id: 5, version: 0x000f0011, at 0xfec01000 Preloaded elf kernel "kernel" at 0xc03b0000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 9 entries at 0xc00f5240 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #1 intpin 0 -> irq 2 IOAPIC #1 intpin 15 -> irq 10 IOAPIC #0 intpin 10 -> irq 11 pci0: on pcib0 twe0: <3ware Storage Controller driver ver. 1.40.01.002> port 0xd400-0xd40f irq 2 at device 1.0 on pci0 twe0: 4 ports, Firmware FE6X 1.02.00.029, BIOS BEXX 1.07.00.009 pci0: at 4.0 fxp0: port 0xd000-0xd03f mem 0xfe900000-0xfe9fffff,0xfeace000-0xfeacefff irq 10 at device 6.0 on pci0 fxp0: Ethernet address 00:30:48:22:a6:1e inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 15.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 ohci0: mem 0xfeacf000-0xfeacffff irq 11 at device 15.2 on pci0 usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered pcib1: on motherboard pci1: on pcib1 orm0: