Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Sep 2001 14:09:27 +0100
From:      ian j hart <ianjhart@ntlworld.com>
To:        Keith Mitchell <kmitch@weenix.guru.org>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: fs corruption (ATA / 4.4-REL)
Message-ID:  <3BB5C807.93BE9CD8@ntlworld.com>
References:  <20010929080038.A16272@weenix.guru.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
>   AMD Features=0x80000800<SYSCALL,3DNow!>
> 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: <math processor> on motherboard
> npx0: INT 16 interface
> pcib0: <Host to PCI bridge> on motherboard
> pci0: <PCI bus> on pcib0
> pcib1: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
> pci1: <PCI bus> on pcib1
> pci1: <NVidia Riva Ultra Vanta TNT2 graphics accelerator> at 0.0
> isab0: <VIA 82C586 PCI-ISA bridge> at device 7.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <VIA 82C586 ATA33 controller> port 0xb400-0xb40f at device 7.1 on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata1: at 0x170 irq 15 on atapci0
> uhci0: <VIA 83C572 USB controller> port 0xb000-0xb01f irq 9 at device 7.2 on pci0
> usb0: <VIA 83C572 USB controller> 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: <PCI to PCI bridge (vendor=1106 device=3040)> at device 7.3 on pci0
> pci0: <unknown card> (vendor=0x1274, dev=0x5000) at 9.0 irq 5
> de0: <Digital 21140A Fast Ethernet> 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: <Adaptec 2940 Ultra SCSI adapter> 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: <Option ROMs> at iomem 0xc0000-0xca7ff,0xcc000-0xcc7ff on isa0
> fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: model IntelliMouse, device ID 3
> 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 (NIBBLE-only) in COMPATIBLE mode
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to deny, unlimited logging
> ad0: 13783MB <WDC AC514400> [28005/16/63] at ata0-master UDMA33
> ad1: 8063MB <WDC AC28400R> [16383/16/63] at ata0-slave UDMA33
> afd0: 120MB <LS-120 VER5 00 UHD Floppy> [963/8/32] at ata1-master using PIO3
> Waiting 15 seconds for SCSI devices to settle
> de0: enabling Full Duplex 100baseTX port
> Mounting root from ufs:/dev/ad0s1a
> cd0 at ahc0 bus 0 target 2 lun 0
> cd0: <PLEXTOR CD-ROM PX-12TS 1.01> Removable CD-ROM SCSI-2 device
> cd0: 10.000MB/s transfers (10.000MHz, offset 15)
> cd0: Attempt to query device size failed: NOT READY, Medium not present
> cd1 at ahc0 bus 0 target 3 lun 0
> cd1: <YAMAHA CRW4416S 1.0j> Removable CD-ROM SCSI-2 device
> cd1: 8.333MB/s transfers (8.333MHz, offset 15)
> cd1: Attempt to query device size failed: NOT READY, Medium not present - tray closed
> 
> --
> Keith Mitchell
> Email: kmitch@guru.org                          PGP key available upon request
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message

-- 
ian j hart

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BB5C807.93BE9CD8>