[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

2.5.56: dinode corruption



Folks,

I recently tried to test out Linux 2.5.56 on a personal workstation of
mine, that had been previously running 2.4 with XFS (and without any
problems).

After booting into 2.5.56 (using the version of XFS it contains), I
recompiled the kernel again (having realized I forget to make a few
configuration changes), reran lilo, and rebooted. As the system was
shutting down, I saw this message many times:

Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).
Unmount and run xfs_repair.

I rebooted the system into 2.4, and I saw similar messages during the
init process.

I got an XFS rescue disk, ran xfs_repair on the root partition, and it
seemed to be repair the data. I didn't save the output of xfs_repair,
except for noting that the nblocks & nextents for the dinode above
(171966634) were incorrect. Also, a few files modified during the
shutdown process (syslogd.pid, klogd.pid, etc.) had some corruption.

If you need any more information, just let me know. I've attached a copy
of dmesg (the one produced after rebooting the system into 2.4 after the
corruption).

Cheers,

Neil
-- 
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC


Linux version 2.5.56 (root@tokyo) (gcc version 3.2.2 20030109 (Debian prerelease)) #4 Mon Jan 13 16:24:35 EST 2003
Video mode to be used for restore is ffff
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000002ffeb000 (usable)
 BIOS-e820: 000000002ffeb000 - 000000002ffef000 (ACPI data)
 BIOS-e820: 000000002ffef000 - 000000002ffff000 (reserved)
 BIOS-e820: 000000002ffff000 - 0000000030000000 (ACPI NVS)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
767MB LOWMEM available.
On node 0 totalpages: 196587
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 192491 pages, LIFO batch:16
  HighMem zone: 0 pages, LIFO batch:1
ACPI: RSDP (v000 ASUS                       ) @ 0x000f6650
ACPI: RSDT (v001 ASUS   P4T      12336.12337) @ 0x2ffeb000
ACPI: FADT (v001 ASUS   P4T      12336.12337) @ 0x2ffeb080
ACPI: BOOT (v001 ASUS   P4T      12336.12337) @ 0x2ffeb040
ACPI: DSDT (v001   ASUS P4T      00000.04096) @ 0x00000000
ACPI: BIOS passes blacklist
Building zonelist for node : 0
Kernel command line: BOOT_IMAGE=Linux ro root=343
Initializing CPU#0
PID hash table entries: 4096 (order 12: 32768 bytes)
Detected 1807.635 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 3571.71 BogoMIPS
Memory: 774512k/786348k available (2206k kernel code, 11064k reserved, 520k data, 304k init, 0k highmem)
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
-> /dev
-> /dev/console
-> /root
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 256K
CPU:     After generic, caps: 3febf9ff 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU#0: Intel P4/Xeon Extended MCE MSRs (12) available
Machine check exception polling timer started.
CPU: Intel(R) Pentium(R) 4 CPU 1.80GHz stepping 02
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
mtrr: v2.0 (20020519)
device class 'cpu': registering
device class cpu: adding driver system:cpu
PCI: PCI BIOS revision 2.10 entry at 0xf0ea0, last bus=2
PCI: Using configuration type 1
device class cpu: adding device CPU 0
interfaces: adding device CPU 0
BIO: pool of 256 setup, 14Kb (56 bytes/bio)
biovec pool[0]:   1 bvecs: 256 entries (12 bytes)
biovec pool[1]:   4 bvecs: 256 entries (48 bytes)
biovec pool[2]:  16 bvecs: 256 entries (192 bytes)
biovec pool[3]:  64 bvecs: 256 entries (768 bytes)
biovec pool[4]: 128 bvecs: 256 entries (1536 bytes)
biovec pool[5]: 256 bvecs: 256 entries (3072 bytes)
ACPI: Subsystem revision 20030109
 tbxface-0098 [03] acpi_load_tables      : ACPI Tables successfully acquired
Parsing all Control Methods:...................................................................................................................................
Table [DSDT] - 416 Objects with 43 Devices 131 Methods 23 Regions
ACPI Namespace successfully loaded at root c0403afc
evxfevnt-0073 [04] acpi_enable           : Transition to ACPI mode successful
   evgpe-0262: *** Info: GPE Block0 defined as GPE0 to GPE15
   evgpe-0262: *** Info: GPE Block1 defined as GPE16 to GPE31
Executing all Device _STA and_INI methods:....................................  uteval-0090: *** Error: No object was returned from [\_SB_.PCI0.PX40.UAR2._STA] (Node c17d5e28), AE_NOT_EXIST
.......
43 Devices found containing: 42 _STA, 0 _INI methods
Completing Region/Field/Buffer/Package initialization:............................................................
Initialized 20/23 Regions 4/4 Fields 22/22 Buffers 14/14 Packages (416 nodes)
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 11 12 14 15, disabled)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 14 15, disabled)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11 12 14 15, disabled)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11 12 14 15, disabled)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
Transparent bridge - Intel Corp. 82801BA/CA/DB PCI Br
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI2._PRT]
block request queues:
 128 requests per read queue
 128 requests per write queue
 8 requests per batch
 enter congestion at 31
 exit congestion at 33
drivers/usb/core/usb.c: registered new driver hub
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 5
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
SBF: Simple Boot Flag extension found and enabled.
SBF: Setting boot flags 0x1
Enabling SEP on CPU 0
Total HugeTLB memory allocated, 0
aio_setup: sizeof(struct page) = 40
NTFS driver 2.1.0 [Flags: R/O].
SGI XFS for Linux 2.5.56 with no debug enabled
ACPI: Power Button (FF) [PWRF]
acpi_processor-2385 [06] acpi_processor_get_inf: Invalid PBLK length [5]
ACPI: Processor [CPU0] (supports C1)
Serial: 8250/16550 driver $Revision: 1.90 $ IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
parport0: PC-style at 0x378 [PCSPP]
parport0: cpp_daisy: aa5500ff(18)
parport0: assign_addrs: aa5500ff(18)
parport0: Printer, EPSON Stylus C60
device class 'tty': registering
pty: 256 Unix98 ptys configured
lp0: using parport0 (polling).
Real Time Clock Driver v1.11
i810_rng: RNG not detected
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected Intel i850 chipset
agpgart: Maximum main memory to use for agp memory: 690M
agpgart: AGP aperture is 128M @ 0xf0000000
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH2: IDE controller at PCI slot 00:1f.1
ICH2: chipset revision 4
ICH2: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xb800-0xb807, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xb808-0xb80f, BIOS settings: hdc:DMA, hdd:pio
hda: Maxtor 5T060H6, ATA DISK drive
hdb: Maxtor 5T060H6, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: TDK CDRW241040B, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: host protected area => 1
hda: 120103200 sectors (61493 MB) w/2048KiB Cache, CHS=119150/16/63, UDMA(33)
 hda: hda1
hdb: host protected area => 1
hdb: 120103200 sectors (61493 MB) w/2048KiB Cache, CHS=119150/16/63, UDMA(33)
 hdb: hdb1 hdb2 hdb3
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.0
PCI: Setting latency timer of device 00:1f.2 to 64
uhci-hcd 00:1f.2: Intel Corp. 82801BA/BAM USB (Hub
uhci-hcd 00:1f.2: irq 9, io base 0000b400
uhci-hcd 00:1f.2: new USB bus registered, assigned bus number 1
hub 1-0:0: USB hub found
hub 1-0:0: 2 ports detected
PCI: Setting latency timer of device 00:1f.4 to 64
uhci-hcd 00:1f.4: Intel Corp. 82801BA/BAM USB (Hub
uhci-hcd 00:1f.4: irq 9, io base 0000b000
uhci-hcd 00:1f.4: new USB bus registered, assigned bus number 2
hub 2-0:0: USB hub found
hub 2-0:0: 2 ports detected
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
device class 'input': registering
register interface 'mouse' with class 'input'
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
Advanced Linux Sound Architecture Driver Version 0.9.0rc6 (Tue Dec 17 19:01:13 2002 UTC).
request_module[snd-card-0]: not ready
request_module[snd-card-1]: not ready
request_module[snd-card-2]: not ready
request_module[snd-card-3]: not ready
request_module[snd-card-4]: not ready
request_module[snd-card-5]: not ready
request_module[snd-card-6]: not ready
request_module[snd-card-7]: not ready
PCI: Enabling device 02:09.0 (0004 -> 0005)
ALSA device list:
  #0: Sound Blaster Audigy at 0xd400, irq 10
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
request_module[nls_iso8859-1]: not ready
Unable to load NLS charset iso8859-1
XFS mounting filesystem ide0(3,67)
hub 1-0:0: debounce: port 1: delay 100ms stable 4 status 0x301
Ending clean XFS mount for filesystem: ide0(3,67)
VFS: Mounted root (xfs filesystem) readonly.
Freeing unused kernel memory: 304k freed
hub 1-0:0: new USB device on port 1, assigned address 2
input: USB HID v1.10 Mouse [Microsoft Microsoft 5-Button Mouse with IntelliEye(TM)] on usb-00:1f.2-1
Adding 497972k swap on /dev/hdb1.  Priority:-1 extents:1
ne2k-pci.c:v1.02 10/19/2000 D. Becker/P. Gortmaker
  http://www.scyld.com/network/ne2k-pci.html
PCI: Enabling device 02:07.0 (0000 -> 0001)
eth0: Winbond 89C940 found at 0xd800, IRQ 11, 00:20:78:14:EB:C8.
XFS mounting filesystem ide0(3,66)
Ending clean XFS mount for filesystem: ide0(3,66)
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.
Filesystem "ide0(3,67)": corrupt dinode 171966634, (btree extents).  Unmount and run xfs_repair.