From owner-freebsd-bugs@FreeBSD.ORG Tue Nov 4 16:00:44 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8543216A4CE for ; Tue, 4 Nov 2003 16:00:44 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9AD743FE0 for ; Tue, 4 Nov 2003 16:00:42 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hA500gFY080602 for ; Tue, 4 Nov 2003 16:00:42 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hA500gbA080601; Tue, 4 Nov 2003 16:00:42 -0800 (PST) (envelope-from gnats) Resent-Date: Tue, 4 Nov 2003 16:00:42 -0800 (PST) Resent-Message-Id: <200311050000.hA500gbA080601@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nils Andreas Hakansson Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B140B16A4CE for ; Tue, 4 Nov 2003 15:59:16 -0800 (PST) Received: from gandalf.midgard.liu.se (gandalf.midgard.liu.se [130.236.244.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B1B443F93 for ; Tue, 4 Nov 2003 15:59:14 -0800 (PST) (envelope-from n96andha@midgard.liu.se) Received: from gandalf.midgard.liu.se (n96andha@localhost [127.0.0.1]) hA4NxBjv006137 for ; Wed, 5 Nov 2003 00:59:12 +0100 (CET) (envelope-from n96andha@gandalf.midgard.liu.se) Received: (from n96andha@localhost) by gandalf.midgard.liu.se (8.12.10/8.12.9/Submit) id hA4NxBmT006136; Wed, 5 Nov 2003 00:59:11 +0100 (CET) (envelope-from n96andha) Message-Id: <200311042359.hA4NxBmT006136@gandalf.midgard.liu.se> Date: Wed, 5 Nov 2003 00:59:11 +0100 (CET) From: Nils Andreas Hakansson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/58941: acl under ufs2 doesn't handle disk corruption, page faults X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nils Andreas Hakansson List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2003 00:00:44 -0000 >Number: 58941 >Category: kern >Synopsis: acl under ufs2 doesn't handle disk corruption, page faults >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 04 16:00:42 PST 2003 >Closed-Date: >Last-Modified: >Originator: Nils Andreas Hakansson >Release: FreeBSD 5.1-CURRENT i386 >Organization: Midgård,IFM >Environment: System: FreeBSD xxxx.yyyy.zzz 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Mon Oct 27 16:34:36 CET 2003 n96andha@xxxx.midgard.liu.se:/usr/obj/usr/src/sys/GANDALF i386 Hardware: Supermicro x5da8, dual xeon, 2 GB ecc ddr ram , tekram 390u2we Intel PRO/1000, Intel 82558 Pro/100, Promise SX6000,WD1200JB CD-956E/AKV atapi cdrom, SEAGATE ST336704LW scsi disk >Description: Page fault in ffs_getextattr (generic_bcopy). After that the following had been written to the console. pst: timeout mfa=0x0032d5d0 cmd=0x02 pst: timeout mfa=0x00336390 cmd=0x02 pst: timeout mfa=0x0034cdd0 cmd=0x02 pst: timeout mfa=0x003b7ab0 cmd=0x02 pst: timeout mfa=0x00396db0 cmd=0x02 pst: timeout mfa=0x003a3530 cmd=0x02 pst: timeout mfa=0x00376890 cmd=0x02 ufs_access(): Error retrieving ACL on object (5). ufs_access(): Error retrieving ACL on object (5). ufs_access(): Error retrieving ACL on object (5). ufs_access(): Error retrieving ACL on object (5). ufs_access(): Error retrieving ACL on object (5). ufs_access(): Error retrieving ACL on object (5). ufs_access(): Error retrieving ACL on object (5). ufs_access(): Error retrieving ACL on object (5). Fatal trap 12: page fault while in kernel mode cpuid = 0; lapic.id = 00000000 fault virtual address = 0xae18c0de fault code = supervisor read, page not present instruction pointer = 0x8:0xc066a566 stack pointer = 0x10:0xea3a78cc frame pointer = 0x10:0xea3a7900 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 76932 (smbd) kernel: type 12 trap, code=0 >How-To-Repeat: Access to acl info on a file from samba after heavy io ( in less than a day) on this system. The same kind of disk corruption might appear under other circumstances. >Fix: temporary solution disable acl --- dmesg.boot begins here --- Copyright (c) 1992-2003 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 5.1-CURRENT #1: Mon Oct 27 16:34:36 CET 2003 n96andha@xxxxxxx.yyyy.zzz:/usr/obj/usr/src/sys/GANDALF Preloaded elf kernel "/boot/kernel/kernel" at 0xc07fd000. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.66GHz (2665.92-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebfbff real memory = 2146942976 (2047 MB) avail memory = 2084487168 (1987 MB) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 24 pins in IOAPIC #1 Programming 24 pins in IOAPIC #2 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee00000 cpu1 (AP): apic id: 6, version: 0x00050014, at 0xfee00000 io0 (APIC): apic id: 1, version: 0x00178020, at 0xfec00000 io1 (APIC): apic id: 2, version: 0x00178020, at 0xfec80000 io2 (APIC): apic id: 3, version: 0x00178020, at 0xfec80100 Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 21 entries at 0xc00fde70 pcib0: at pcibus 0 on motherboard pci0: on pcib0 IOAPIC #0 intpin 17 -> irq 2 agp0: mem 0xf4000000-0xf7ffffff at device 0.0 on pci0 pci0: at device 0.1 (no driver attached) pcib1: mem 0xf8000000-0xfbffffff at device 1.0 on pci0 pci1: on pcib1 pcib2: at device 2.0 on pci0 pci2: on pcib2 pci2: at device 28.0 (no driver attached) pcib3: at device 29.0 on pci2 pci3: on pcib3 IOAPIC #2 intpin 6 -> irq 11 em0: port 0x3000-0x303f mem 0xf0200000-0xf021ffff irq 11 at device 3.0 on pci3 em0: [MPSAFE] em0: Speed:N/A Duplex:N/A pci2: at device 30.0 (no driver attached) pcib4: at device 31.0 on pci2 pci4: on pcib4 IOAPIC #1 intpin 0 -> irq 16 IOAPIC #1 intpin 4 -> irq 17 pcib5: at device 1.0 on pci4 pci5: on pcib5 pstpci0: mem 0xf1400000-0xf17fffff irq 16 at device 1.1 on pci4 sym0: <896> port 0x4000-0x40ff mem 0xf0300000-0xf0301fff,0xf0304000-0xf03043ff irq 17 at device 2.0 on pci4 sym0: Tekram NVRAM, ID 7, Fast-40, SE, parity checking sym1: <896> port 0x4400-0x44ff mem 0xf0302000-0xf0303fff,0xf0304400-0xf03047ff irq 17 at device 2.1 on pci4 sym1: Tekram NVRAM, ID 7, Fast-40, SE, parity checking pcib6: at device 30.0 on pci0 pci6: on pcib6 IOAPIC #0 intpin 16 -> irq 18 pci6: at device 1.0 (no driver attached) fxp0: port 0x5000-0x501f mem 0xf0500000-0xf05fffff,0xfc800000-0xfc800fff irq 2 at device 2.0 on pci6 fxp0: Ethernet address 00:90:27:2d:0b:0d miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x2440-0x244f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 mem 0xf0000000-0xf00003ff irq 0 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] pci0: at device 31.3 (no driver attached) pci0: at device 31.5 (no driver attached) orm0: