Date: Fri, 17 Mar 2000 12:21:42 +1100 From: Tim Liddelow <tim@esec.com.au> To: freebsd-current@freebsd.org Subject: Duplicate inodes, filesystem weirdness Message-ID: <38D188A5.14471919@esec.com.au>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------D01C4949D00A11A7D127B3D6 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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:tim@esec.com.au * http://www.oneguard.com/ ===================================================================== --------------D01C4949D00A11A7D127B3D6 Content-Type: text/plain; charset=us-ascii; name="dmesg.out" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.out" 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 tim@feline.esec.com.au:/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=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX> AMD Features=0x80000800<SYSCALL,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): 0x00001000 - 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 = f0000: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=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [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 0x00000000 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [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=0 secondarybus=0 map[10]: type 1, range 32, base e0000000, size 26 found-> vendor=0x1106, dev=0x8598, revid=0x00 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=1 secondarybus=1 found-> vendor=0x1106, dev=0x0586, revid=0x47 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x1106, dev=0x0571, revid=0x06 class=01-01-8a, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[20]: type 1, range 32, base 0000e400, size 4 found-> vendor=0x1106, dev=0x3040, revid=0x10 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=0 secondarybus=0 found-> vendor=0x5333, dev=0x8901, revid=0x16 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base e4000000, size 26 found-> vendor=0x10b8, dev=0x0005, revid=0x06 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base 0000e800, size 8 map[14]: type 1, range 32, base ea000000, size 12 found-> vendor=0x1274, dev=0x5000, revid=0x00 class=04-01-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=5 map[10]: type 1, range 32, base 0000ec00, size 6 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 isab0: <VIA 82C586 PCI-ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <VIA 82C586 ATA33 controller> port 0xe400-0xe40f at device 7.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xe400 ata0: mask=03 status0=50 status1=10 ata0: mask=03 status0=50 status1=10 ata0: devices = 0x9 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xe408 ata1: mask=03 status0=50 status1=50 ata1: mask=03 status0=50 status1=50 ata1: devices = 0x3 ata1: at 0x170 irq 15 on atapci0 pcib2: <PCI to PCI bridge (vendor=1106 device=3040)> at device 7.3 on pci0 pci0: <S3 Trio 64V2/DX/GX graphics accelerator> (vendor=0x5333, dev=0x8901) at 8.0 irq 10 tx0: <SMC 83c170> port 0xe800-0xe8ff mem 0xea000000-0xea000fff irq 11 at device 9.0 on pci0 tx0: address 00:e0:29:09:4b:00, type SMC9432TX, Auto-Neg 100Mbps FDbpf: tx0 attached tx0: driver is using old-style compatability shims pcm0: <AudioPCI ES1370> port 0xec00-0xec3f irq 5 at device 10.0 on pci0 pcm: setmap 1000, 10000; 0xc7bca000 -> 1000 pcm: setmap 11000, 10000; 0xc7bda000 -> 11000 Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 devclass_alloc_unit: ata0 already exists, using next available unit number devclass_alloc_unit: ata1 already exists, using next available unit number isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices 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-0x6f on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0047 atkbd: keyboard ID 0x41ab (2) kbdc: RESET_KBD return code:00fa kbdc: RESET_KBD status:00aa kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 psm0: current command byte:0047 kbdc: TEST_AUX_PORT status:0000 kbdc: RESET_AUX return code:00fa kbdc: RESET_AUX status:00aa kbdc: RESET_AUX ID:0000 psm: status 00 02 64 psm: status 00 00 64 psm: status 00 03 64 psm: status 00 03 64 psm: status 10 00 64 psm: data 08 00 00 psm: status 00 02 64 psm: data 08 00 00 psm: status 00 02 64 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons psm0: config:00000000, flags:00000000, packet size:3 psm0: syncmask:c0, syncbits:00 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 fb0: vga0, vga, type:VGA (5), flags:0x7007f fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 fb0: init mode:24, bios mode:3, current mode:24 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff VGA parameters in BIOS for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff EGA/VGA parameters to be used for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff sc0: <System console> on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) sio0: irq maps: 0x41 0x51 0x41 0x41 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: irq maps: 0x41 0x49 0x41 0x41 sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio2: not probed (disabled) sio3: not probed (disabled) ppc0: parallel port found at 0x378 ppc0: SPP ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppi0: <Parallel I/O> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port plip0: <PLIP network interface> on ppbus0 bpf: lp0 attached isa_probe_children: probing PnP devices BIOS Geometries: 0:033dfe3f 0..829=830 cylinders, 0..254=255 heads, 1..63=63 sectors 1:020f1f3f 0..527=528 cylinders, 0..31=32 heads, 1..63=63 sectors 2:03fe3f3f 0..1022=1023 cylinders, 0..63=64 heads, 1..63=63 sectors 0 accounted for Device configuration finished. bpf: sl0 attached bpf: ppp0 attached new masks: bio 4008c040, tty 400310ba, net 400718ba bpf: lo0 attached ata0-master: success setting up UDMA2 mode on VIA chip ad0: <QUANTUM FIREBALL SE6.4A/API.0C00> ATA-3 disk at ata0 as master ad0: 6149MB (12594960 sectors), 13328 cyls, 15 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 1 depth queue, UDMA33 ad0: piomode=4 dmamode=2 udmamode=2 cblid=0 Creating DISK ad0 Creating DISK wd0 ata1-master: success setting up WDMA2 mode on VIA chip ad2: <QUANTUM FIREBALL540A/A1M.0900> ATA-0 disk at ata1 as master ad2: 519MB (1064448 sectors), 1056 cyls, 16 heads, 63 S/T, 512 B/S ad2: 8 secs/int, 1 depth queue, WDMA2 ad2: piomode=4 dmamode=2 udmamode=-1 cblid=0 Creating DISK ad2 Creating DISK wd2 ata1-slave: success setting up WDMA2 mode on VIA chip ad3: <NEC Corporation DSE2100A/5DD0314> ATA-0 disk at ata1 as slave ad3: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S ad3: 16 secs/int, 1 depth queue, WDMA2 ad3: piomode=4 dmamode=2 udmamode=-1 cblid=0 Creating DISK ad3 Creating DISK wd3 ata0-slave: piomode=4 dmamode=2 udmamode=-1 dmaflag=1 ata0-slave: success setting up PIO4 mode on generic chip acd0: <CD-ROM 48X/AKU/T30> CDROM drive at ata0 as slave acd0: 128KB buffer, PIO4 acd0: Reads: CD-DA stream acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked Mounting root from ufs:/dev/ad0s1a ad0s1: type 0xa5, start 0, end = 12594959, size 12594960 : OK start_init: trying /sbin/init ad2s1: type 0xa5, start 0, end = 1064447, size 1064448 : OK ad3s1: type 0xa5, start 0, end = 4124735, size 4124736 : OK ad2s1: type 0xa5, start 0, end = 1064447, size 1064448 : OK ad3s1: type 0xa5, start 0, end = 4124735, size 4124736 : OK Linux-ELF exec handler installed --------------D01C4949D00A11A7D127B3D6-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38D188A5.14471919>