Reoccurring filesystem corruption

Philip Murray pmurray at open2view.com
Sun Aug 14 21:55:41 GMT 2005


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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE, 
MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
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: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
IOAPIC #1 intpin 0 -> irq 2
IOAPIC #1 intpin 15 -> irq 10
IOAPIC #0 intpin 10 -> irq 11
pci0: <PCI bus> 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: <SiS 6326 SVGA controller> at 4.0
fxp0: <Intel 82559 Pro/100 Ethernet> 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: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <ServerWorks IB6566 PCI to ISA bridge> at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <ServerWorks ROSB4 ATA33 controller> port 0xffa0-0xffaf at  
device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ohci0: <OHCI (generic) USB controller> mem 0xfeacf000-0xfeacffff irq  
11 at device 15.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> 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: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
pci1: <PCI bus> on pcib1
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff, 
0xc9800-0xca7ff on isa0
pmtimer0 on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on  
isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0  
intpin 2
APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0
SMP: AP CPU #1 Launched!
ad0: 76319MB <ST380011A> [155061/16/63] at ata0-master UDMA33
twed0: <Unit 0, RAID5, Normal> on twe0
twed0: 228954MB (468898176 sectors)


More information about the freebsd-stable mailing list