xfs
[Top] [All Lists]

RE: Linux 2.4.18 freeze running dbench 1.3

To: <linux-xfs@xxxxxxxxxxx>
Subject: RE: Linux 2.4.18 freeze running dbench 1.3
From: Christian Røsnes <christian@xxxxxxxxx>
Date: Mon, 4 Mar 2002 16:24:28 +0100
Importance: Normal
In-reply-to: <LKEBKIBHKNEKEKPHFNCCCEGGCOAA.christian@xxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
To follow up:

I tested dbench on an ext2 partition (/home) on the same server,
and it worked. dbench on the XFS /usr partition still crashes the server.
This kernel was made with gcc 2.96.

(I also tested dbench with a kgcc - gcc 2.91.66 compiled kernel. SEE BELOW)


--------------------------- EXT2 PARTITION /home -------------------------

with gcc version 2.96

root@dl02 root]# cd /home/dbench
[root@dl02 dbench]# ./dbench 10
10 clients started
............................................................................
...*
Throughput 173.955 MB/sec (NB=217.443 MB/sec  1739.55 MBit/sec)  10 procs
[root@dl02 dbench]# ./dbench 10
..........10 clients started
............................................................................
...*
Throughput 207.96 MB/sec (NB=259.949 MB/sec  2079.6 MBit/sec)  10 procs
[root@dl02 dbench]# ./dbench 10
..........10 clients started
............................................................................
...*
Throughput 207.656 MB/sec (NB=259.57 MB/sec  2076.56 MBit/sec)  10 procs
[root@dl02 dbench]# ./dbench 10
........10 clients started
............................................................................
...*
Throughput 206.644 MB/sec (NB=258.305 MB/sec  2066.44 MBit/sec)  10 procs
[root@dl02 dbench]# ./dbench 10
........10 clients started
............................................................................
...*
Throughput 207.308 MB/sec (NB=259.135 MB/sec  2073.08 MBit/sec)  10 procs
[root@dl02 dbench]# ./dbench 10
..........10 clients started
............................................................................
...*
Throughput 205.681 MB/sec (NB=257.101 MB/sec  2056.81 MBit/sec)  10 procs


--------------------------- XFS PARTITION /usr -------------------------

with gcc version 2.96

[root@dl02 dbench]# cd /usr/src/dbench
[root@dl02 dbench]# ./dbench 10
bash: ./dbench: cannot execute binary file

<Untaring and rebuilding dbench on /usr partition>

[root@dl02 dbench]# ./dbench 10
10 clients started
....invalid operand: 0000
CPU:    0
EIP:    0010:[<c01e8437>]    Not tainted
EFLAGS: 00010086
eax: 0000004a   ebx: f7574800   ecx: c03bbe24   edx: 00002f1d
esi: 00000297   edi: f75748f0   ebp: 00000000   esp: f621fab8
ds: 0018   es: 0018   ss: 0018
Process dbench (pid: 1240, stackpage=f621f000)
Stack: c02ee260 0000005a 00000010 00000005 f7574800 f621fcb0 c01b5974
f7574800
       0000001e ffffffeb 00000000 00000000 f621fbac f621fbb0 f621fbd8
f621fbb8
       00000000 c01b568b f5c0fa18 00000070 00000000 00000000 00000000
00000000
Call Trace: [<c01b5974>] [<c01b568b>] [<c0204c66>] [<c01f989a>] [<c0202f1a>]
   [<c01fa58b>] [<c020461d>] [<c0203960>] [<c02024ce>] [<c01fdb88>]
[<c01f6802>
   [<c0202460>] [<c01fde3b>] [<c0202460>] [<c0203630>] [<c0202460>]
[<c01ff419>
   [<c0145a26>] [<c01453b0>] [<c014561e>] [<c01078ab>]

Code: 0f 0b 5f 58 c6 83 f0 00 00 00 01 56 9d 89 e8 5b 5e 5f 5d c3

Entering kdb (current=0xf621e000, pid 1240) on processor 0 Oops: invalid
operand
due to oops @ 0xc01e8437
eax = 0x0000004a ebx = 0xf7574800 ecx = 0xc03bbe24 edx = 0x00002f1d
esi = 0x00000297 edi = 0xf75748f0 esp = 0xf621fab8 eip = 0xc01e8437
ebp = 0x00000000 xss = 0x00000018 xcs = 0x00000010 eflags = 0x00010086
xds = 0xc02e0018 xes = 0x00000018 origeax = 0xffffffff &regs = 0xf621fa84
[0]kdb> bt
    EBP       EIP         Function(args)
           0xc01e8437 xfs_mod_incore_sb+0x97 (0xf7574800, 0x1e, 0xffffffeb,
0x0)
                               kernel .text 0xc0100000 0xc01e83a0 0xc01e8450
0xf621fcb0 0xc01b5974 xfs_bmapi+0x634 (0xf5c0fa30, 0x70000, 0x0, 0x10000,
0x2)
                               kernel .text 0xc0100000 0xc01b5340 0xc01b6550
           0xc02024ce linvfs_pb_bmap+0x6e (0xf5c0fa30, 0xf621ff4c, 0x2, 0x0,
0x)
                               kernel .text 0xc0100000 0xc0202460 0xc02025b0
           0xc01ff419 linvfs_write+0x2b9 (0xf6db0174, 0x804bde0, 0xffc3,
0xf6db)
                               kernel .text 0xc0100000 0xc01ff160 0xc01ff470
           0xc0145a26 sys_write+0x96 (0x6, 0x804bde0, 0xffc3, 0x10, 0x105e)
                               kernel .text 0xc0100000 0xc0145990 0xc0145b50
           0xc01078ab system_call+0x33
                               kernel .text 0xc0100000 0xc0107878 0xc01078b0
[0]kdb> cpu 1

Entering kdb (current=0xf5c6c000, pid 1243) on processor 1 due to cpu switch
[1]kdb> bt
    EBP       EIP         Function(args)
           0xc01e8c31 _text_lock_xfs_mount+0xd (0xf5c07e18, 0x20000, 0x0,
0x100)
                               kernel .text 0xc0100000 0xc01e8c24 0xc01e8ca0
           0xc02024ce linvfs_pb_bmap+0x6e (0xf5c07e18, 0xf5c6df4c, 0x2, 0x0,
0x)
                               kernel .text 0xc0100000 0xc0202460 0xc02025b0
           0xc01ff419 linvfs_write+0x2b9 (0xf6db0414, 0x804bde0, 0xffc3,
0xf6db)
                               kernel .text 0xc0100000 0xc01ff160 0xc01ff470
           0xc0145a26 sys_write+0x96 (0x6, 0x804bde0, 0xffc3, 0x10, 0x105c)
                               kernel .text 0xc0100000 0xc0145990 0xc0145b50
           0xc01078ab system_call+0x33
                               kernel .text 0xc0100000 0xc0107878 0xc01078b0





------------ Kernel compiled with kgcc - gcc version 2.91.66 ------------

I recompiled it with kgcc (version 2.91.66) - and dbench on
the XFS partition /usr still crashes the server


*******************
/usr XFS partition:
*******************

[root@dl02 dbench]# ./dbench 10
..10 clients started
...invalid operand: 0000
CPU:    0
EIP:    0010:[<c01f1c47>]    Not tainted
EFLAGS: 00010086
eax: 0000004a   ebx: f757b4f0   ecx: c03edb44   edx: 00002f09
esi: 00000297   edi: f757b400   ebp: 00000000   esp: f5e93a5c
ds: 0018   es: 0018   ss: 0018
Process dbench (pid: 1247, stackpage=f5e93000)
Stack: c0315a80 0000005a 00000000 00000005 00000010 f5e93cc0 c01bb04d
f757b400
       0000001e ffffffeb 00000000 00000010 00000000 c01ba988 f5e93cc0
00000001
       00000000 00000000 f76a2c68 00000000 f5e93b60 00000000 fffe0005
00000010
Call Trace: [<c01bb04d>] [<c01ba988>] [<c01b94e9>] [<c020fc49>] [<c01ba988>]
   [<c01ba988>] [<c01e4c00>] [<c01e4c00>] [<c0204182>] [<c01dfc6f>]
[<c020d8b8>
   [<c020f38d>] [<c020e456>] [<c020cd6f>] [<c0208259>] [<c0206802>]
[<c0208453>
   [<c020ccf4>] [<c020e0bf>] [<c020ccf4>] [<c0209a6e>] [<c0145717>]
[<c01077bb>

Code: 0f 0b 83 c4 08 8d 74 26 00 c6 87 f0 00 00 00 01 56 9d 89 e8

Entering kdb (current=0xf5e92000, pid 1247) on processor 0 Oops: invalid
operand
due to oops @ 0xc01f1c47
eax = 0x0000004a ebx = 0xf757b4f0 ecx = 0xc03edb44 edx = 0x00002f09
esi = 0x00000297 edi = 0xf757b400 esp = 0xf5e93a5c eip = 0xc01f1c47
ebp = 0x00000000 xss = 0x00000018 xcs = 0x00000010 eflags = 0x00010086
xds = 0xc0310018 xes = 0x00000018 origeax = 0xffffffff &regs = 0xf5e93a28
[0]kdb> bt
    EBP       EIP         Function(args)
           0xc01f1c47 xfs_mod_incore_sb+0x93 (0xf757b400, 0x1e, 0xffffffeb,
0x0)
                               kernel .text 0xc0100000 0xc01f1bb4 0xc01f1c60
0xf5e93cc0 0xc01bb04d xfs_bmapi+0x6c5 (0x0, 0xf6dc2670, 0x80, 0x0, 0x10)
                               kernel .text 0xc0100000 0xc01ba988 0xc01bbca4
           0xc020fc49 xfs_iomap_write_delay+0x64d (0xf6dc2670, 0xc4,
0xf6dc27a8)
                               kernel .text 0xc0100000 0xc020f5fc 0xc020fe8c
           0xc020d8b8 xfs_zero_last_block+0x680 (0xf63dfdcc, 0x80000, 0x0,
0x10)
                               kernel .text 0xc0100000 0xc020d238 0xc020d8e0
           0xc0208259 _pagebuf_file_write+0xf1 (0xf628b9c4, 0x804bde8,
0xffbb, )
                               kernel .text 0xc0100000 0xc0208168 0xc0208390
           0xc0208453 pagebuf_generic_file_write+0xc3 (0xf628b9c4,
0x804bde8, 0)
                               kernel .text 0xc0100000 0xc0208390 0xc02086fc
           0xc020e0bf xfs_write+0x2bb (0xf6dc2688, 0xf5e93f7c, 0x2, 0x0,
0x0)
                               kernel .text 0xc0100000 0xc020de04 0xc020e320
           0xc0209a6e linvfs_write+0x2fe (0xf628b9c4, 0x804bde0, 0xffc3,
0xf628)
                               kernel .text 0xc0100000 0xc0209770 0xc0209abc

           0xc0145717 sys_write+0x8f (0x6, 0x804bde0, 0xffc3, 0x10, 0x105d)
                               kernel .text 0xc0100000 0xc0145688 0xc0145858
           0xc01077bb system_call+0x33
                               kernel .text 0xc0100000 0xc0107788 0xc01077c0
[0]kdb> cpu 1

Entering kdb (current=0xf6d6a000, pid 1244) on processor 1 due to cpu switch
[1]kdb> bt
    EBP       EIP         Function(args)
           0xc01f242a _text_lock_xfs_mount+0xc (0x0, 0xf5e68228, 0xc0, 0x0,
0x1)
                               kernel .text 0xc0100000 0xc01f241e 0xc01f2480
           0xc020fc49 xfs_iomap_write_delay+0x64d (0xf5e68228, 0xc4,
0xf5e68360)
                               kernel .text 0xc0100000 0xc020f5fc 0xc020fe8c
           0xc020d8b8 xfs_zero_last_block+0x680 (0xf662c45c, 0xc0000, 0x0,
0x10)
                               kernel .text 0xc0100000 0xc020d238 0xc020d8e0
           0xc0208259 _pagebuf_file_write+0xf1 (0xf63b0bb4, 0x804bdec,
0xffb7, )
                               kernel .text 0xc0100000 0xc0208168 0xc0208390
           0xc0208453 pagebuf_generic_file_write+0xc3 (0xf63b0bb4,
0x804bdec, 0)
                               kernel .text 0xc0100000 0xc0208390 0xc02086fc
           0xc020e0bf xfs_write+0x2bb (0xf5e68240, 0xf6d6bf7c, 0x2, 0x0,
0x0)
                               kernel .text 0xc0100000 0xc020de04 0xc020e320
           0xc0209a6e linvfs_write+0x2fe (0xf63b0bb4, 0x804bde0, 0xffc3,
0xf63b)
                               kernel .text 0xc0100000 0xc0209770 0xc0209abc
           0xc0145717 sys_write+0x8f (0x6, 0x804bde0, 0xffc3, 0x10, 0x105e)
                               kernel .text 0xc0100000 0xc0145688 0xc0145858
           0xc01077bb system_call+0x33
                               kernel .text 0xc0100000 0xc0107788 0xc01077c0
[1]kdb>



<Prev in Thread] Current Thread [Next in Thread>