crashes in clear_user_page
Olaf Hering
olh at suse.de
Thu Mar 4 02:39:07 EST 2004
I get crashes in clear_user_page() while building rpms on a p660.
gcc is 3.2.2, config is arch/ppc64/configs/pseries, plain ameslab tree.
there is lot of IO, 8 processes do unpack rpms in parallel on a reiserfs
filesystem.
This is not a new problem, I think it happend also whit 2.6.3.
any ideas how to track it down?
--- arch/ppc64/configs/pSeries_defconfig 2004-03-02 02:49:29.000000000 +0100
+++ .config 2004-03-03 13:17:22.000000000 +0100
@@ -919,7 +923,7 @@ CONFIG_XFS_POSIX_ACL=y
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_QUOTA is not set
-CONFIG_AUTOFS_FS=m
+CONFIG_AUTOFS_FS=y
# CONFIG_AUTOFS4_FS is not set
#
@@ -1050,8 +1054,8 @@ CONFIG_OPROFILE=y
# Kernel hacking
#
CONFIG_DEBUG_KERNEL=y
-CONFIG_DEBUG_STACKOVERFLOW=y
-CONFIG_DEBUG_STACK_USAGE=y
+# CONFIG_DEBUG_STACKOVERFLOW is not set
+# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_SLAB is not set
CONFIG_MAGIC_SYSRQ=y
CONFIG_DEBUGGER=y
@@ -1060,7 +1064,7 @@ CONFIG_XMON=y
CONFIG_XMON_DEFAULT=y
# CONFIG_PPCDBG is not set
# CONFIG_DEBUG_INFO is not set
-CONFIG_DEBUG_SPINLOCK_SLEEP=y
+# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
#
# Security options
@@ -1072,21 +1076,21 @@ CONFIG_DEBUG_SPINLOCK_SLEEP=y
#
CONFIG_CRYPTO=y
CONFIG_CRYPTO_HMAC=y
-CONFIG_CRYPTO_NULL=m
-CONFIG_CRYPTO_MD4=m
+# CONFIG_CRYPTO_NULL is not set
+# CONFIG_CRYPTO_MD4 is not set
CONFIG_CRYPTO_MD5=m
CONFIG_CRYPTO_SHA1=m
-CONFIG_CRYPTO_SHA256=m
-CONFIG_CRYPTO_SHA512=m
+# CONFIG_CRYPTO_SHA256 is not set
+# CONFIG_CRYPTO_SHA512 is not set
CONFIG_CRYPTO_DES=m
-CONFIG_CRYPTO_BLOWFISH=m
-CONFIG_CRYPTO_TWOFISH=m
-CONFIG_CRYPTO_SERPENT=m
-CONFIG_CRYPTO_AES=m
-CONFIG_CRYPTO_CAST5=m
-CONFIG_CRYPTO_CAST6=m
+# CONFIG_CRYPTO_BLOWFISH is not set
+# CONFIG_CRYPTO_TWOFISH is not set
+# CONFIG_CRYPTO_SERPENT is not set
+# CONFIG_CRYPTO_AES is not set
+# CONFIG_CRYPTO_CAST5 is not set
+# CONFIG_CRYPTO_CAST6 is not set
CONFIG_CRYPTO_DEFLATE=m
-CONFIG_CRYPTO_TEST=m
+# CONFIG_CRYPTO_TEST is not set
#
# Library routines
papaya:~ # w
15:08:49 up 24 min, 2 users, load average: 0.59, 0.40, 0.27
USER TTY LOGIN@ IDLE JCPU PCPU WHAT
root ttyS0 14:45 0.00s 0.06s 0.01s w
root pts/23 15:02 48.00s 13.75s 13.69s rm -rf /abuild/olh /abuild/olh6
papaya:~ # cpu 0: Vector: 300 (Data Access) at [c00000010a542f40]
pc: c000000000045270 ()
lr: c000000000094080 ()
sp: c00000010a5431c0
msr: a000000000009032
dar: c0000000fffff000
dsisr: a000000
current = 0xc000000131519260
paca = 0xc00000000052c000
pid = 15128, comm = rpm
press ? for help 0:mon> t
c00000010a5431c0 c000000000094040
c00000010a5432a0 c0000000000943d0
c00000010a543390 c000000000094f0c
c00000010a543440 c0000000000442a8
c00000010a543570 c00000000000aa94
c00000010a543860 c0000000005d4100
c00000010a543900 c00000000007d9a4
c00000010a5439e0 c00000000007e1ac
c00000010a543ab0 c00000000007e288
c00000010a543c80 c0000000000a933c
c00000010a543d20 c0000000000a9744
c00000010a543dc0 c000000000024380
c00000010a543e30 c000000000011a44 ret_from_syscall_1
exception: c00 (System Call) regs c00000010a543ea0
000000000fc62bcc
<Stack drops into userspace 00000000ffffb7a0>
0:mon> ci
stopping all cpus
cpu0p moVcetctoor: 500 (Hardware Interrupt) at [c00000000b857b60]
pc: c0000000000148e8 ()
lr: c000000000014910 ()
sp: c00000000b857de0
msr: a000000000009032
current = 0xc000000003f28970
paca = 0xc00000000052e000
pid = 0, comm = swapper
cpu 5: Vector: 500 (Hardware Interrupt) at [c000000003f47b60]
pc: c0000000000148f4 ()
lr: c000000000014910 ()
sp: c000000003f47de0
msr: a000000000009032
current = 0xc000000003f59b50
paca = 0xc000000000536000
pid = 0, comm = swapper
cpu 2: Vector: 500 (Hardware Interrupt) at [c00000000b847b60]
pc: c0000000000148e4 ()
lr: c000000000014910 ()
sp: c00000000b847de0
msr: a000000000009032
current = 0xc00000000b84ed30
paca = 0xc000000000530000
pid = 0, comm = swapper
cpu 3: Vector: 500 (Hardware Interrupt) at [c000000003f77b60]
pc: c0000000000148f4 ()
lr: c000000000014910 ()
sp: c000000003f77de0
msr: a000000000009032
current = 0xc00000000b84d260
paca = 0xc000000000532000
pid = 0, comm = swapper
cpu 4: Vector: 500 (Hardware Interrupt) at [c000000003f57b60]
pc: c0000000000148e0 ()
lr: c000000000014910 ()
sp: c000000003f57de0
msr: a000000000009032
current = 0xc000000003f5b620
paca = 0xc000000000534000
pid = 0, comm = swapper
0:mon> e
cpu 0: Vector: 300 (Data Access) at [c00000010a542f40]
pc: c000000000045270 ()
lr: c000000000094080 ()
sp: c00000010a5431c0
msr: a000000000009032
dar: c0000000fffff000
dsisr: a000000
current = 0xc000000131519260
paca = 0xc00000000052c000
pid = 15128, comm = rpm
0:mon> r
R00 = 0000000000000020 R16 = 0000000010032f18
R01 = c00000010a5431c0 R17 = 000000004016af68
R02 = c0000000006defc8 R18 = c00000010a543e08
R03 = c0000000fffff000 R19 = c000000158a55800
R04 = 000000004013aa4b R20 = 000000004013aa4b
R05 = c000000008ffffb0 R21 = c000000170f5b800
R06 = c000000158a55800 R22 = c000000174593a80
R07 = c0000000006dc008 R23 = c000000000749140
R08 = c0000000006dff28 R24 = 0000000002000000
R09 = 0000000000000080 R25 = 4000000000000000
R10 = c000000000004000 R26 = cccccccccccccccd
R11 = c000000000005000 R27 = c000000149096a00
R12 = 0000000042828442 R28 = c000000008ffffb0
R13 = c00000000052c000 R29 = c000000000000000
R14 = 00000000ffffb8f8 R30 = c0000000005d4800
R15 = 0000000000000000 R31 = c000000008ffffb0
pc = c000000000045270 msr = a000000000009032
lr = c000000000094080 cr = 0000000082828442
ctr = 0000000000000020 xer = 0000000000000000 trap = 300
0:mon> T
c00000010a5431c0 c000000000094040 .do_anonymous_page+0x1e4/0x4d4
c00000010a5432a0 c0000000000943d0 .do_no_page+0xa0/0x850
c00000010a543390 c000000000094f0c .handle_mm_fault+0x1f8/0x308
c00000010a543440 c0000000000442a8 .do_page_fault+0x24c/0x4a4
c00000010a543570 c00000000000aa94 stab_bolted_user_return+0x118/0x11c
c00000010a543860 c0000000005d4100 0xc0000000005d4100
c00000010a543900 c00000000007d9a4 .do_generic_mapping_read+0x318/0x7e0
c00000010a5439e0 c00000000007e1ac .__generic_file_aio_read+0x1c4/0x1f8
c00000010a543ab0 c00000000007e288 .generic_file_read+0x60/0x98
c00000010a543c80 c0000000000a933c .vfs_read+0x10c/0x164
c00000010a543d20 c0000000000a9744 .sys_pread64+0x60/0xa8
c00000010a543dc0 c000000000024380 .sys32_pread64+0x1c/0x34
c00000010a543e30 c000000000011a44 ret_from_syscall_1
exception: c00 (System Call) regs c00000010a543ea0
000000000fc62bcc
<Stack drops into userspace 00000000ffffb7a0>
0:mon>
0:mon> E
cpu 0: Vector: 300 (Data Access) at [c00000010a542f40]
pc: c000000000045270 (.clear_user_page+0x1c/0x50)
lr: c000000000094080 (.do_anonymous_page+0x224/0x4d4)
sp: c00000010a5431c0
msr: a000000000009032
dar: c0000000fffff000
dsisr: a000000
current = 0xc000000131519260
paca = 0xc00000000052c000
pid = 15128, comm = rpm
0:mon>
0:mon>
0:mon>
0:mon> di c000000000045260
c000000000045260 e9480000 ld r10,0(r8)
c000000000045264 812b0064 lwz r9,100(r11)
c000000000045268 800a0064 lwz r0,100(r10)
c00000000004526c 7c0903a6 mtctr r0
c000000000045270 7c001fec dcbz r0,r3
c000000000045274 7c634a14 add r3,r3,r9
c000000000045278 4200fff8 bdnz 0xc000000000045270 # .clear_user_page+0x1c
c00000000004527c 39200400 li r9,1024
c000000000045280 e8050000 ld r0,0(r5)
c000000000045284 7800b7e2 rldicl r0,r0,54,63
c000000000045288 2c000000 cmpwi r0,0
c00000000004528c 4d820020 beqlr
c000000000045290 7c0028a8 ldarx r0,r0,r5
c000000000045294 7c004878 andc r0,r0,r9
c000000000045298 7c0029ad stdcx. r0,r0,r5
c00000000004529c 40a2fff4 bne- 0xc000000000045290 # .clear_user_page+0x3c
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÜRNBERG
** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc64-dev
mailing list