[Bugme-new] [Bug 12469] New: XFS : Corruption of in-memory data
bugme-daemon at bugzilla.kernel.org
bugme-daemon at bugzilla.kernel.org
Sat Jan 17 10:58:00 PST 2009
http://bugzilla.kernel.org/show_bug.cgi?id=12469
Summary: XFS : Corruption of in-memory data
Product: File System
Version: 2.5
KernelVersion: 2.6.29-rc1 (20090116 last tested)
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: XFS
AssignedTo: xfs-masters at oss.sgi.com
ReportedBy: phreytaz at gmail.com
Latest working kernel version: 2.6.28-rc8
Distribution: slackware current (20090116)
Hardware Environment: Intel(R) Pentium(R) 4 CPU 2.66GHz on a ECS p4m800pro-m
2gb
Software Envitonment:
Gnu C 4.2.4
Gnu make 3.81
binutils 2.18.50.0.9.20080822
util-linux 2.12r
mount 2.12r
module-init-tools 3.5
e2fsprogs 1.41.3
jfsutils 1.1.12
reiserfsprogs 3.6.20
xfsprogs 2.10.1
Linux C Library 2.7
Dynamic linker (ldd) 2.7
Linux C++ Library 6.0.9
Procps 3.2.7
Net-tools 1.60
Kbd 1.12
Sh-utils 6.12
XFS memory corruption
The problem occurs in kernels >= 2.6.28-rc8
last git kernel tested: 2.6.29-rc1 (20090116)
simple and clean test:
mkfs.xfs -b size=1024 /dev/sdb1
mount /dev/sdb1 /mnt/sdb1 -o rw,noatime,nodiratime
create/copy a file and try "clear" the data
[root at 0x29A]# cp /opt/firefox/profile/urlclassifier3.sqlite /mnt/sdb1 ; sync ;
cd /mnt/sdb1 ; sync
[root at 0x29A]# > urlclassifier3.sqlite
XFS internal error XFS_WANT_CORRUPTED_GOTO at line 3327 of file
fs/xfs/xfs_btree.c. Caller 0xc023884c
Filesystem "sdb1": XFS internal error XFS_TRANS_CALCEL at line 1164 of file
fs/xfs/xfs_trnas.c. Caller 0xc02637c9
Filesystem "sdb1": Corruption of in-memory data detected. Shutting down
filesystem: sdb1
Please umount the filesystem ans rectify the problem(s)
bash: urlclassifier3.sqlite : structure needs cleaning
----------------------------------------------------------
tested in more 2 hdds and in another computer (my old pMMX 233mhz/64mb, just
for hardware sanity test =)
on my lilo:
append = "printk.time=1 noisapnp acpi=off irqpool"
but with out this append the problem still occurs
[root at 0x29A]# xfs_info /dev/sdb1
meta-data=/dev/root isize=256 agcount=16, agsize=2509162 blks
= sectsz=512 attr=0
data = bsize=1024 blocks=40146592, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0
log =internal bsize=1024 blocks=19602, version=1
= sectsz=512 sunit=0 blks, lazy-count=0
realtime =none extsz=4096 blocks=0, rtextents=0
[root at 0x29A]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Pentium(R) 4 CPU 2.66GHz
stepping : 9
cpu MHz : 2666.440
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc pebs
bts pni dtes64 monitor ds_cpl tm2 cid cx16 xtpr
bogomips : 5332.95
clflush size : 64
power management:
[root at 0x29A]# cat /proc/modules
snd_pcm_oss 33056 1 - Live 0xf93d7000
snd_mixer_oss 12864 1 snd_pcm_oss, Live 0xf93c5000
ext2 44708 1 - Live 0xfa7a2000
apm 15092 1 - Live 0xfa766000
via 37728 2 - Live 0xfa743000
drm 74592 3 via, Live 0xfa701000
brd 5196 1 - Live 0xfa6ac000
snd_via82xx 21016 1 - Live 0xf864c000
gameport 9064 1 snd_via82xx, Live 0xf8637000
snd_ac97_codec 95908 1 snd_via82xx, Live 0xf8610000
ac97_bus 1312 1 snd_ac97_codec, Live 0xf85e5000
snd_pcm 54632 3 snd_pcm_oss,snd_via82xx,snd_ac97_codec, Live 0xf85cf000
snd_timer 17252 1 snd_pcm, Live 0xf85b3000
snd_page_alloc 7624 2 snd_via82xx,snd_pcm, Live 0xf85a4000
snd_mpu401_uart 5696 1 snd_via82xx, Live 0xf859b000
snd_rawmidi 17248 1 snd_mpu401_uart, Live 0xf8580000
snd_seq_device 5836 1 snd_rawmidi, Live 0xf8541000
via_agp 7744 1 - Live 0xf8594000
uhci_hcd 20364 0 - Live 0xf8569000
snd 43140 9
snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device,
Live 0xf854c000
agpgart 27504 2 drm,via_agp, Live 0xf8524000
ehci_hcd 31628 0 - Live 0xf8508000
via_rhine 19880 0 - Live 0xf8acd000
mii 4256 1 via_rhine, Live 0xf8ab8000
shpchp 29364 0 - Live 0xf8aa7000
i2c_viapro 7476 0 - Live 0xf8a94000
psmouse 39408 0 - Live 0xf8a58000
soundcore 5120 2 snd, Live 0xf8a43000
rtc_cmos 8460 0 - Live 0xf8a27000
pci_hotplug 11432 1 shpchp, Live 0xf8a1a000
usbcore 118128 3 uhci_hcd,ehci_hcd, Live 0xf895a000
rtc_core 13496 1 rtc_cmos, Live 0xf8920000
i2c_core 19408 1 i2c_viapro, Live 0xf890b000
rtc_lib 2240 1 rtc_core, Live 0xf88f4000
serio_raw 4612 0 - Live 0xf88ea000
evdev 8352 0 - Live 0xf88ce000
sg 22512 0 - Live 0xf88a8000
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Bugme-new
mailing list