kern/58941: acl under ufs2 doesn't handle disk corruption, page faults

Nils Andreas Hakansson n96andha at midgard.liu.se
Tue Nov 4 16:00:44 PST 2003


>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 at 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
<cut>
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).
<cut>
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 at 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
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: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 21 entries at 0xc00fde70
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
IOAPIC #0 intpin 17 -> irq 2
agp0: <Intel Generic host to PCI bridge> mem 0xf4000000-0xf7ffffff at device 0.0 on pci0
pci0: <unknown> at device 0.1 (no driver attached)
pcib1: <PCIBIOS PCI-PCI bridge> mem 0xf8000000-0xfbffffff at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib2: <PCIBIOS PCI-PCI bridge> at device 2.0 on pci0
pci2: <PCI bus> on pcib2
pci2: <base peripheral, interrupt controller> at device 28.0 (no driver attached)
pcib3: <PCIBIOS PCI-PCI bridge> at device 29.0 on pci2
pci3: <PCI bus> on pcib3
IOAPIC #2 intpin 6 -> irq 11
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.16> port 0x3000-0x303f mem 0xf0200000-0xf021ffff irq 11 at device 3.0 on pci3
em0: [MPSAFE]
em0:  Speed:N/A  Duplex:N/A
pci2: <base peripheral, interrupt controller> at device 30.0 (no driver attached)
pcib4: <PCIBIOS PCI-PCI bridge> at device 31.0 on pci2
pci4: <PCI bus> on pcib4
IOAPIC #1 intpin 0 -> irq 16
IOAPIC #1 intpin 4 -> irq 17
pcib5: <PCI-PCI bridge> at device 1.0 on pci4
pci5: <PCI bus> on pcib5
pstpci0: <Promise SuperTrak SX6000 ATA RAID controller> 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: <PCIBIOS PCI-PCI bridge> at device 30.0 on pci0
pci6: <PCI bus> on pcib6
IOAPIC #0 intpin 16 -> irq 18
pci6: <display, VGA> at device 1.0 (no driver attached)
fxp0: <Intel 82558 Pro/100 Ethernet> 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: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> 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: <serial bus, SMBus> at device 31.3 (no driver attached)
pci0: <multimedia, audio> at device 31.5 (no driver attached)
orm0: <Option ROMs> at iomem 0xcd000-0xcefff,0xc9000-0xccfff,0xc8000-0xc8fff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: failed to get data.
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2

Timecounters tick every 10.000 msec
acd0: CDROM <CD-956E/AKV> at ata0-master PIO4
Waiting 15 seconds for SCSI devices to settle
pst0: <Promise SuperTrak RAID> on pstpci0
GEOM: create disk pst0 dp=0xc81d4d0c
pst0: 567435MB <PROMISE TECH. I2O RAID DEVICE> [72337/255/63] on pstpci0
pstpci0: [MPSAFE]
GEOM: create disk da0 dp=0xc81ea850
da0 at sym0 bus 0 target 12 lun 0
da0: <SEAGATE ST336704LW 0004> Fixed Direct Access SCSI-3 device 
da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da0: 35003MB (71687369 512 byte sectors: 255H 63S/T 4462C)
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/da0s1a
WARNING: / was not properly dismounted
/: mount pending error: blocks 4096 files 2
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, logging disabled
em0: Link is up 1000 Mbps Full Duplex
--- dmesg.boot ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list