xfs-masters
[Top] [All Lists]

[xfs-masters] Oops generated running bonnie on freshly formatted XFS par

To: xfs-masters@xxxxxxxxxxx
Subject: [xfs-masters] Oops generated running bonnie on freshly formatted XFS partition (2.6.18-rc2-mm1)
From: "Chris Seufert" <seufert@xxxxxxxxx>
Date: Mon, 7 Aug 2006 23:59:39 +1000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=eS60u8mkmQyuBR6j/ldySK0Tu1xIsvC6ghZ8ZhladFuDbvnkHPg5vNxS5cdB8xSl7K2m06uxZsY0jIXjGy74B8TYoKORmyy8Sj0nnlGHycuc+0NruSB5br6FDZfZPyMVyI6kZgpkv9MxkohusVmoMRYQsDu9AI804yJeL8hlzPM=
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
I have just setup a 2.1Tb XFS partition, as configured below:
chris@gazza:/usr/src/linux-2.6.17$ /usr/sbin/xfs_growfs -n /dev/sdc1
meta-data=/dev/sdc1              isize=256    agcount=32, agsize=17089841 blks
         =                       sectsz=512   attr=0
data     =                       bsize=4096   blocks=546874912, imaxpct=25
         =                       sunit=0      swidth=0 blks, unwritten=1
naming   =version 2              bsize=4096
log      =/dev/md3               bsize=4096   blocks=32768, version=2
         =                       sectsz=512   sunit=0 blks
realtime =none                   extsz=65536  blocks=0, rtextents=0

I ran Bonnie++ and it crashed (first oops), second and third is me
trying to delete the bonnie temp directory. Unfortunately the
partition is on an Areca raid card, so using another kernel version is
a pain, but can be done. And the journal/log is on /dev/md3

running bonnie++ again has resulted in some sort of dead lock
chris@gazza:/data/test$ /usr/sbin/bonnie
Writing with putc()...done
Writing intelligently...done
Rewriting...done
Reading with getc()...done
Reading intelligently...done
start 'em...done...done...done...
Create files in sequential order...

cpu usage is at 0% and sits there for over 10 mins.

ver_linux output
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

Linux gazza 2.6.18-rc2-mm1 #3 SMP Mon Aug 7 22:53:50 EST 2006 x86_64 GNU/Linux

Gnu C                  4.1.2
Gnu make               3.81
binutils               2.17
util-linux             2.12r
mount                  2.12r
module-init-tools      3.2.2
e2fsprogs              1.39
xfsprogs               2.8.10
Linux C Library        2.3.6
Dynamic linker (ldd)   2.3.6
Procps                 3.2.7
Net-tools              1.60
Console-tools          0.2.3
Sh-utils               5.97
Modules Loaded         ipv6 parport_pc parport floppy pcspkr arcmsr
k8_edac edac_mc generic amd74xx ehci_hcd ohci_hcd i2c_nforce2 i2c_core
ide_scsi tg3 e100 mii psmouse ide_generic ide_disk ide_cd ide_core rtc
unix

chris@gazza:/usr/src/linux-2.6.17$ cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5]
[raid4] [multipath]
md1 : active raid1 sdb2[1] sda2[0]
      39061952 blocks [2/2] [UU]

md2 : active raid1 sdb3[1] sda3[0]
      115234176 blocks [2/2] [UU]

md3 : active raid1 sdb5[1] sda5[0]
      979840 blocks [2/2] [UU]

md0 : active raid1 sdb1[1] sda1[0]
      48064 blocks [2/2] [UU]

unused devices: <none>


chris@gazza:/usr/src/linux-2.6.17$ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 37
model name      : AMD Opteron(tm) Processor 246
stepping        : 1
cpu MHz         : 2009.287
cache size      : 1024 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext
fxsr_opt lm 3dnowext 3dnow pni lahf_lm
bogomips        : 4020.42
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 37
model name      : AMD Opteron(tm) Processor 246
stepping        : 1
cpu MHz         : 2009.287
cache size      : 1024 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext
fxsr_opt lm 3dnowext 3dnow pni lahf_lm
bogomips        : 4018.60
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

chris@gazza:/usr/src/linux-2.6.17$ cat /proc/modules
ipv6 268096 16 - Live 0xffffffff880de000
parport_pc 37800 0 - Live 0xffffffff880d3000
parport 42444 1 parport_pc, Live 0xffffffff880c7000
floppy 63208 0 - Live 0xffffffff880b6000
pcspkr 3968 0 - Live 0xffffffff880b4000
arcmsr 21696 1 - Live 0xffffffff880ad000
k8_edac 17152 0 - Live 0xffffffff880a7000
edac_mc 26080 1 k8_edac, Live 0xffffffff8809f000
generic 6404 0 [permanent], Live 0xffffffff8809c000
amd74xx 15600 0 [permanent], Live 0xffffffff88097000
ehci_hcd 32200 0 - Live 0xffffffff8808e000
ohci_hcd 21252 0 - Live 0xffffffff88087000
i2c_nforce2 8640 0 - Live 0xffffffff88083000
i2c_core 24000 1 i2c_nforce2, Live 0xffffffff8807c000
ide_scsi 18180 0 - Live 0xffffffff88076000
tg3 104004 0 - Live 0xffffffff8805b000
e100 36872 0 - Live 0xffffffff88050000
mii 6400 1 e100, Live 0xffffffff8804d000
psmouse 43244 0 - Live 0xffffffff88041000
ide_generic 1856 0 [permanent], Live 0xffffffff8803f000
ide_disk 16704 0 - Live 0xffffffff88039000
ide_cd 41184 0 - Live 0xffffffff8802d000
ide_core 122560 6
generic,amd74xx,ide_scsi,ide_generic,ide_disk,ide_cd, Live
0xffffffff8800e000
rtc 14784 0 - Live 0xffffffff88009000
unix 30232 24 - Live 0xffffffff88000000

chris@gazza:/usr/src/linux-2.6.17$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: ST3160812AS      Rev: 3.AA
  Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi3 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: ST3160812AS      Rev: 3.AA
  Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi4 Channel: 00 Id: 00 Lun: 00
  Vendor: Areca    Model: ARC-1260-VOL#00  Rev: R001
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi4 Channel: 00 Id: 16 Lun: 00
  Vendor: Areca    Model: RAID controller  Rev: R001
  Type:   Processor                        ANSI SCSI revision: ffffffff


chris@gazza:/usr/src/linux-2.6.17$ cat /proc/meminfo
MemTotal:      2058624 kB
MemFree:         11156 kB
Buffers:           236 kB
Cached:        1993456 kB
SwapCached:          0 kB
Active:         105224 kB
Inactive:      1897968 kB
SwapTotal:     1927720 kB
SwapFree:      1927720 kB
Dirty:              60 kB
Writeback:           0 kB
AnonPages:        9388 kB
Mapped:           4628 kB
Slab:            30752 kB
PageTables:       1040 kB
NFS Unstable:        0 kB
Bounce:              0 kB
CommitLimit:   2957032 kB
Committed_AS:    24852 kB
VmallocTotal: 34359738367 kB
VmallocUsed:      1532 kB
VmallocChunk: 34359736759 kB

.config XFS options:
CONFIG_XFS_FS=y
CONFIG_XFS_QUOTA=y
CONFIG_XFS_SECURITY=y
CONFIG_XFS_POSIX_ACL=y
CONFIG_XFS_RT=y


Unable to handle kernel NULL pointer dereference at 00000000000000a8 RIP:
 [<ffffffff8031dd16>] xfs_btree_init_cursor+0x48/0x1bd
PGD 37e28067 PUD 36bf0067 PMD 0
Oops: 0000 [1] SMP
last sysfs file:
/devices/pci0000:00/0000:00:0e.0/0000:03:00.0/0000:04:0e.0/host4/target4:0:0/4:0:0:0/model
CPU 0
Modules linked in: ipv6 parport_pc parport floppy pcspkr arcmsr
k8_edac edac_mc generic amd74xx ehci_hcd ohci_hcd i2c_nforce2 i2c_core
ide_scsi tg3 e100 mii psmouse ide_generic ide_disk ide_cd ide_core rtc
unix
Pid: 3913, comm: bonnie Not tainted 2.6.18-rc2-mm1 #3
RIP: 0010:[<ffffffff8031dd16>]  [<ffffffff8031dd16>]
xfs_btree_init_cursor+0x48/0x1bd
RSP: 0018:ffff81002f481be8  EFLAGS: 00010293
RAX: ffff81000df95a80 RBX: 0000000000000000 RCX: ffff81000df95a80
RDX: 0000001000020250 RSI: 0000000000000250 RDI: ffff81000df95b40
RBP: ffff81003c560000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff81003a03ca98
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001
FS:  00002aad3928ab00(0000) GS:ffffffff8060a000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00000000000000a8 CR3: 000000002c81a000 CR4: 00000000000006e0
Process bonnie (pid: 3913, threadinfo ffff81002f480000, task ffff81003e64d8a0)
Stack:  ffff81003c560000 0000000000000000 ffff81003a03ca98 0000000000000004
 ffff81003a03ca98 0000000000000004 000000000000000e ffffffff80306f3b
 0000000000000000 ffff81003ee08f40 0000000100000000 0000000000000000
Call Trace:
 [<ffffffff80306f3b>] xfs_free_ag_extent+0x4e/0x67f
 [<ffffffff8025449d>] cache_alloc_refill+0xdb/0x1f6
 [<ffffffff8025bec9>] __down_read+0x12/0x9a
 [<ffffffff80308995>] xfs_free_extent+0xb5/0xd3
 [<ffffffff80344338>] xfs_trans_get_efd+0x21/0x29
 [<ffffffff803156f8>] xfs_bmap_finish+0xf0/0x169
 [<ffffffff8034ca65>] xfs_inactive+0x7c9/0x823
 [<ffffffff80352e9f>] xfs_validate_fields+0x24/0x4b
 [<ffffffff80353407>] xfs_vn_unlink+0x3d/0x4f
 [<ffffffff803558e6>] xfs_fs_clear_inode+0xa5/0xec
 [<ffffffff8021fd43>] clear_inode+0xc5/0x116
 [<ffffffff8022b021>] generic_delete_inode+0xc5/0x12a
 [<ffffffff80237792>] do_unlinkat+0xd5/0x148
 [<ffffffff802b498f>] sys_getdents64+0xac/0xba
 [<ffffffff8022a5cb>] sys_fcntl+0x2b1/0x2bd
 [<ffffffff80254f36>] system_call+0x7e/0x83


Code: 49 8b 95 a8 00 00 00 89 d8 8b 44 82 1c 0f c8 e9 85 00 00 00
RIP  [<ffffffff8031dd16>] xfs_btree_init_cursor+0x48/0x1bd
 RSP <ffff81002f481be8>
CR2: 00000000000000a8
 <1>Unable to handle kernel NULL pointer dereference at 00000000000000a8 RIP:
 [<ffffffff8031dd16>] xfs_btree_init_cursor+0x48/0x1bd
PGD 49c4b067 PUD 463d6067 PMD 0
Oops: 0000 [2] SMP
last sysfs file:
/devices/pci0000:00/0000:00:0e.0/0000:03:00.0/0000:04:0e.0/host4/target4:0:0/4:0:0:0/model
CPU 1
Modules linked in: ipv6 parport_pc parport floppy pcspkr arcmsr
k8_edac edac_mc generic amd74xx ehci_hcd ohci_hcd i2c_nforce2 i2c_core
ide_scsi tg3 e100 mii psmouse ide_generic ide_disk ide_cd ide_core rtc
unix
Pid: 3931, comm: rm Not tainted 2.6.18-rc2-mm1 #3
RIP: 0010:[<ffffffff8031dd16>]  [<ffffffff8031dd16>]
xfs_btree_init_cursor+0x48/0x1bd
RSP: 0018:ffff81000ffe5be8  EFLAGS: 00010293
RAX: ffff8100461cfc00 RBX: 0000000000000000 RCX: ffff8100461cfc00
RDX: 0000001000020250 RSI: 0000000000000250 RDI: ffff8100461cfcc0
RBP: ffff81003c560000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff81007ecdf4d8
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001
FS:  00002b253c9bf6d0(0000) GS:ffff8100400af3c0(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00000000000000a8 CR3: 000000004f639000 CR4: 00000000000006e0
Process rm (pid: 3931, threadinfo ffff81000ffe4000, task ffff81003da8b180)
Stack:  ffff81003c560000 0000000000000000 ffff81007ecdf4d8 0000000000000004
 ffff81007ecdf4d8 0000000000000004 0000000000000012 ffffffff80306f3b
 0000000000000000 ffff810040134640 0000000100000000 0000000000000000
Call Trace:
 [<ffffffff80306f3b>] xfs_free_ag_extent+0x4e/0x67f
 [<ffffffff8025449d>] cache_alloc_refill+0xdb/0x1f6
 [<ffffffff8025bec9>] __down_read+0x12/0x9a
 [<ffffffff80308995>] xfs_free_extent+0xb5/0xd3
 [<ffffffff80344338>] xfs_trans_get_efd+0x21/0x29
 [<ffffffff803156f8>] xfs_bmap_finish+0xf0/0x169
 [<ffffffff8034ca65>] xfs_inactive+0x7c9/0x823
 [<ffffffff80352e9f>] xfs_validate_fields+0x24/0x4b
 [<ffffffff80353407>] xfs_vn_unlink+0x3d/0x4f
 [<ffffffff803558e6>] xfs_fs_clear_inode+0xa5/0xec
 [<ffffffff8021fd43>] clear_inode+0xc5/0x116
 [<ffffffff8022b021>] generic_delete_inode+0xc5/0x12a
 [<ffffffff80237792>] do_unlinkat+0xd5/0x148
 [<ffffffff80254f36>] system_call+0x7e/0x83


Code: 49 8b 95 a8 00 00 00 89 d8 8b 44 82 1c 0f c8 e9 85 00 00 00
RIP  [<ffffffff8031dd16>] xfs_btree_init_cursor+0x48/0x1bd
 RSP <ffff81000ffe5be8>
CR2: 00000000000000a8
 <1>Unable to handle kernel NULL pointer dereference at 00000000000000a8 RIP:
 [<ffffffff8031dd16>] xfs_btree_init_cursor+0x48/0x1bd
PGD 2c9ac067 PUD 18c7d067 PMD 0
Oops: 0000 [3] SMP
last sysfs file:
/devices/pci0000:00/0000:00:0e.0/0000:03:00.0/0000:04:0e.0/host4/target4:0:0/4:0:0:0/model
CPU 0
Modules linked in: ipv6 parport_pc parport floppy pcspkr arcmsr
k8_edac edac_mc generic amd74xx ehci_hcd ohci_hcd i2c_nforce2 i2c_core
ide_scsi tg3 e100 mii psmouse ide_generic ide_disk ide_cd ide_core rtc
unix
Pid: 3941, comm: rm Not tainted 2.6.18-rc2-mm1 #3
RIP: 0010:[<ffffffff8031dd16>]  [<ffffffff8031dd16>]
xfs_btree_init_cursor+0x48/0x1bd
RSP: 0018:ffff810029c19be8  EFLAGS: 00010293
RAX: ffff81000df95cc0 RBX: 0000000000000000 RCX: ffff81000df95cc0
RDX: 0000000000000007 RSI: 0000000000000250 RDI: ffff81000df95d80
RBP: ffff81003c560000 R08: 0000000000000000 R09: 0000000000000000
R10: ffff810029c19b88 R11: 0000000000000002 R12: ffff81000ffe5298
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001
FS:  00002ad74c97a6d0(0000) GS:ffffffff8060a000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00000000000000a8 CR3: 0000000034dc2000 CR4: 00000000000006e0
Process rm (pid: 3941, threadinfo ffff810029c18000, task ffff81003e64d8a0)
Stack:  ffff81003c560000 0000000000000000 ffff81000ffe5298 0000000000000004
 ffff81000ffe5298 0000000000000004 0000000000000016 ffffffff80306f3b
 0000000000000000 0000000100000018 0000000100000000 0000000000000000
Call Trace:
 [<ffffffff80306f3b>] xfs_free_ag_extent+0x4e/0x67f
 [<ffffffff8025449d>] cache_alloc_refill+0xdb/0x1f6
 [<ffffffff8025bec9>] __down_read+0x12/0x9a
 [<ffffffff80308995>] xfs_free_extent+0xb5/0xd3
 [<ffffffff80344338>] xfs_trans_get_efd+0x21/0x29
 [<ffffffff803156f8>] xfs_bmap_finish+0xf0/0x169
 [<ffffffff8034ca65>] xfs_inactive+0x7c9/0x823
 [<ffffffff80352e9f>] xfs_validate_fields+0x24/0x4b
 [<ffffffff80353407>] xfs_vn_unlink+0x3d/0x4f
 [<ffffffff803558e6>] xfs_fs_clear_inode+0xa5/0xec
 [<ffffffff8021fd43>] clear_inode+0xc5/0x116
 [<ffffffff8022b021>] generic_delete_inode+0xc5/0x12a
 [<ffffffff80237792>] do_unlinkat+0xd5/0x148
 [<ffffffff80254f36>] system_call+0x7e/0x83


Code: 49 8b 95 a8 00 00 00 89 d8 8b 44 82 1c 0f c8 e9 85 00 00 00
RIP  [<ffffffff8031dd16>] xfs_btree_init_cursor+0x48/0x1bd
 RSP <ffff810029c19be8>
CR2: 00000000000000a8


<Prev in Thread] Current Thread [Next in Thread>
  • [xfs-masters] Oops generated running bonnie on freshly formatted XFS partition (2.6.18-rc2-mm1), Chris Seufert <=