Re: Duplicate inodes, filesystem weirdness
I have a followup fsck listing related to the above issue. Basically, it only seems to happen with my cvsup area(s). I don't know why this is, but cvsup craps out with 'can't create directory' and I find that a directory is now a file, with heaps of errors on the disk. I have attached a read-only fsck of my /usr (which is where all the problems are). Does anyone have any idea what this is ? Oh, and before you say it, no, it's _not_ hardware related. The disk in question runs fine under the old wd driver. Cheers Tim. 2819383 DUP I=6826572819384 DUP I=6826582819385 DUP I=6826592819386 DUP I=6826602819387 DUP I=6826612819388 DUP I=6826622819389 DUP I=6826632819390 DUP I=6826642819391 DUP I=6826652819392 DUP I=6826662819393 DUP I=6826672819394 DUP I=6826682819395 DUP I=6826692819396 DUP I=6826692819397 DUP I=6826702819398 DUP I=6826712819399 DUP I=6826722819400 DUP I=6826732819372 DUP I=6826742819402 DUP I=6826752819403 DUP I=6826762819404 DUP I=6826772819405 DUP I=6826772819406 DUP I=6826782819407 DUP I=6826792819408 DUP I=6826802819409 DUP I=6826812819410 DUP I=6826822819411 DUP I=6826832819412 DUP I=6826842819413 DUP I=6826842819414 DUP I=6826852819415 DUP I=6826862819416 DUP I=6826872819382 DUP I=6832572819382 DUP I=6826242819383 DUP I=6826252819384 DUP I=6826262819385 DUP I=6826272819386 DUP I=6826282819387 DUP I=6826292819388 DUP I=6826302819389 DUP I=6826312819390 DUP I=6826322819391 DUP I=6826332819392 DUP I=6826342819393 DUP I=6826352819394 DUP I=6826362819395 DUP I=6826372819396 DUP I=6826372819397 DUP I=6826382819398 DUP I=6826392819399 DUP I=6826402819400 DUP I=6826412819372 DUP I=6826422819402 DUP I=6826432819403 DUP I=6826442819404 DUP I=6826452819405 DUP I=6826452819406 DUP I=6826462819407 DUP I=6826472819408 DUP I=6826482819409 DUP I=6826492819410 DUP I=6826502819411 DUP I=6826512819412 DUP I=6826522819413 DUP I=6826522819414 DUP I=6826532819415 DUP I=6826542819416 DUP I=682655DUP/BAD FILE=/lost+found/#0682677 BAD TYPE VALUE FILE=/lost+found/#0682677 ZERO LENGTH DIRECTORY DIR=/ports/graphics/tgif-nls/patches ZERO LENGTH DIRECTORY DIR=/ports/graphics/pgplot/scripts ZERO LENGTH DIRECTORY DIR=/ports/irc/irssi/pkg ZERO LENGTH DIRECTORY DIR=/ports/java/jfc ZERO LENGTH DIRECTORY DIR=/ports/lang/intel2gas/pkg ZERO LENGTH DIRECTORY DIR=/ports/graphics/Cgraph/pkg DUP/BAD FILE=/ports/lang/squeak1/patches BAD TYPE VALUE FILE=/ports/lang/squeak1/patches ZERO LENGTH DIRECTORY DIR=/ports/japanese/ndtpd/pkg ZERO LENGTH DIRECTORY DIR=/ports/print/trueprint/pkg DUP/BAD FILE=/ports/mail/exim/files BAD TYPE VALUE FILE=/ports/mail/exim/files DUP/BAD FILE=/ports/print/trueprint/pkg/COMMENT ZERO LENGTH DIRECTORY DIR=/ports/print/trueprint/pkg/DESCR BAD TYPE VALUE DIR=/ports/print/trueprint/pkg/DESCR DUP/BAD FILE=/ports/print/trueprint/pkg/PLIST BAD INODE NUMBER FOR '.' DIR=? ? IS AN EXTRANEOUS HARD LINK TO DIRECTORY ? BAD TYPE VALUE DIR=? DUP/BAD FILE=/ports/games/xoids/pkg/DESCR DUP/BAD FILE=/ports/games/xoids/pkg/PLIST DUP/BAD FILE=/ports/graphics/Cgraph/pkg/COMMENT DUP/BAD FILE=/ports/graphics/Cgraph/pkg/DESCR DUP/BAD FILE=/ports/graphics/Cgraph/pkg/PLIST BAD INODE NUMBER FOR '.' DIR=? ? IS AN EXTRANEOUS HARD LINK TO DIRECTORY ?/files ? IS AN EXTRANEOUS HARD LINK TO DIRECTORY ?/pkg DUP/BAD FILE=? DUP/BAD FILE=? BAD INODE NUMBER FOR '.' DIR=? ? IS AN EXTRANEOUS HARD LINK TO DIRECTORY /ports/graphics/gview/files ? IS AN EXTRANEOUS HARD LINK TO DIRECTORY /ports/graphics/gview/pkg DUP/BAD FILE=/ports/graphics/pgplot/scripts/configure DUP/BAD FILE=/ports/graphics/pgplot/scripts/COMMENT BAD INODE NUMBER FOR '.' DIR=? DUP/BAD FILE=/ports/graphics/tgif-nls/patches/patch-aa DUP/BAD FILE=/ports/graphics/tgif-nls/patches/patch-ab BAD INODE NUMBER FOR '.' DIR=? DUP/BAD FILE=/ports/irc/irssi/pkg/COMMENT DUP/BAD FILE=/ports/irc/irssi/pkg/DESCR DUP/BAD FILE=/ports/irc/irssi/pkg/PLIST BAD INODE NUMBER FOR '.' DIR=? DUP/BAD FILE=? DUP/BAD FILE=? DUP/BAD FILE=? DUP/BAD FILE=? DUP/BAD FILE=? BAD INODE NUMBER FOR '.' DIR=? DUP/BAD FILE=/ports/japanese/ndtpd/pkg/COMMENT DUP/BAD FILE=/ports/japanese/ndtpd/pkg/DESCR DUP/BAD FILE=/ports/japanese/ndtpd/pkg/INSTALL DUP/BAD FILE=/ports/japanese/ndtpd/pkg/MESSAGE DUP/BAD FILE=/ports/japanese/ndtpd/pkg/PLIST BAD INODE NUMBER FOR '.' DIR=? DUP/BAD FILE=? BAD INODE NUMBER FOR '.' DIR=? ? IS AN EXTRANEOUS HARD LINK TO DIRECTORY /ports/japanese/vfghostscript5/files ? IS AN EXTRANEOUS HARD LINK TO DIRECTORY /ports/japanese/vfghostscript5/patches ? IS AN EXTRANEOUS HARD LINK TO DIRECTORY /ports/japanese/vfghostscript5/pkg ? IS AN EXTRANEOUS HARD LINK TO DIRECTORY /ports/japanese/vfghostscript5/scripts DUP/BAD FILE=/ports/misc/amanda/patches BAD TYPE VALUE FILE=/ports/misc/amanda/patches ZERO LENGTH DIRECTORY DIR=/ports/graphics/gview DUP/BAD FILE=/ports/security/zombiezapper/files BAD TYPE VALUE FILE=/ports/security/zombiezapper/files ZERO LENGTH DIRECTORY DIR=/ports/japanese/vfghostscript5 ZERO LENGTH DIRECTORY DIR=/ports/japanese/gn-gnspool/files BAD INODE NUMBER
Duplicate inodes, filesystem weirdness
I have recently "upgraded" to current (5.0) and am finding that with the new ATAPI/IDE driver I am getting filesystem inconsistencies regularly :( This manifests itself with fsck complaining profusely after a crash. The machine has hung _hard_ a couple of times, and upon reboot fsck complains generally about DUP/BAD inodes (lots of them) as well as bad hard link/directory entries.This is cause for concern - with the wd driver none of these problems existed. I have now mounted / and /usr sync to see whether that makes any difference ; my gut feel however is that the new driver may have some bugs that we still need to find. I have attached the output of dmesg (verbose boot) for anyone that is interested. I will try and get a kernel debug dump with any future crashes. Cheers Tim. -- Tim Liddelow * Firewalls / Security OneGuard Technical Lead**Electronic Commerce eSec Pty Ltd * Phone: +61 3 8341 2463 C++/UNIX/WIN32/OOP/OOD mailto:[EMAIL PROTECTED] * http://www.oneguard.com/ = Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT #4: Thu Mar 16 11:26:53 EST 2000 [EMAIL PROTECTED]:/usr/src/sys/compile/FELINE Calibrating clock(s) ... TSC clock: 350808053 Hz, i8254 clock: 1193225 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method CPU: AMD-K6(tm) 3D processor (350.80-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Features=0x8021bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX AMD Features=0x8800SYSCALL,3DNow! Data TLB: 128 entries, 2-way associative Instruction TLB: 64 entries, 1-way associative L1 data cache: 32 kbytes, 32 bytes/line, 2 lines/tag, 2-way associative L1 instruction cache: 32 kbytes, 32 bytes/line, 2 lines/tag, 2-way associative Write Allocate Enable Limit: 128M bytes Write Allocate 15-16M bytes: Enable real memory = 134152192 (131008K bytes) Physical memory chunk(s): 0x1000 - 0x0009efff, 647168 bytes (158 pages) 0x00344000 - 0x07fe7fff, 130695168 bytes (31908 pages) avail memory = 126734336 (123764K bytes) bios32: Found BIOS32 Service Directory header at 0xc00fb030 bios32: Entry = 0xfb4b0 (c00fb4b0) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xb4e0 pnpbios: Found PnP BIOS data at 0xc00fc110 pnpbios: Entry = f:c138 Rev = 1.0 Other BIOS signatures found: ACPI: 000f81e0 Preloaded elf kernel "kernel" at 0xc032b000. md0: Malloc disk Creating DISK md0 pci_open(1):mode 1 addr port (0x0cf8) is 0x80003840 pci_open(1a): mode1res=0x8000 (0x8000) pci_cfgcheck: device 0 [class=06] [hdr=00] is there (id=05971106) npx0: math processor on motherboard npx0: INT 16 interface i586_bzero() bandwidth = 768639508 bytes/sec bzero() bandwidth = 205549845 bytes/sec pci_open(1):mode 1 addr port (0x0cf8) is 0x pci_open(1a): mode1res=0x8000 (0x8000) pci_cfgcheck: device 0 [class=06] [hdr=00] is there (id=05971106) pcib0: Host to PCI bridge on motherboard found- vendor=0x1106, dev=0x0597, revid=0x04 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0secondarybus=0 map[10]: type 1, range 32, base e000, size 26 found- vendor=0x1106, dev=0x8598, revid=0x00 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=1secondarybus=1 found- vendor=0x1106, dev=0x0586, revid=0x47 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0secondarybus=0 found- vendor=0x1106, dev=0x0571, revid=0x06 class=01-01-8a, hdrtype=0x00, mfdev=0 subordinatebus=0secondarybus=0 map[20]: type 1, range 32, base e400, size 4 found- vendor=0x1106, dev=0x3040, revid=0x10 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=0secondarybus=0 found- vendor=0x5333, dev=0x8901, revid=0x16 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base e400, size 26 found- vendor=0x10b8, dev=0x0005, revid=0x06 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base e800, size 8 map[14]: type 1, range 32, base ea00, size 12 found- vendor=0x1274, dev=0x5000, revid=0x00 class=04-01-00, hdrtype=0x00, mfdev=0 subordinatebus=0secondarybus=0 intpin=a, irq=5 map[10]: type 1, range 32, base ec00, size 6 pci0: PCI bus on pcib0 pcib1: VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge at