Re: 2.3.43-pre[25] do not work with HIGHMEM=64GB

Christoph Rohland (hans-christoph.rohland@sap.com)
11 Feb 2000 09:44:39 +0100


--=-=-=

Ingo Molnar <mingo@chiara.csoma.elte.hu> writes:

> On 10 Feb 2000, Christoph Rohland wrote:
>
> > With Stevens patch 2.3.43-5 works again for me.
> >
> > But during shm tests I get:
> >
> > hm #1: c113a2a0, c113a0c0.
>
> > Trace; c022b2cc <call_spurious_interrupt+253b/91b7>
>
> it's not necesserily a bug (in fact it's a valid scenario) - are these
> messages also accompanied by bad application behavior or kernel crashes?
>
> if you still see problems then you might want to try Manfred's debugging
> patchset he sent yesterday.
>
> If no real problems apart from these messages, then could you apply
> smp-2.3.43-E1 (attached) to pre8-2.3.43, it removes some paranoia and
> debugging stuff. (also fixes the small window for a deadlock scenario
> Manfred noticed, plus does the tlb_state initialization at compile time)
> (pre8 already includes Stephen's fix as well)

I tested pre8-2.3.43+smp-2.3.43-E0:

With pagecache in highmem I got the first oops.

With pagecache restricted to GFP_USER I got loads of the hm #1
messages and then the second oops.

Greetings
Christoph

-- 

--=-=-= Content-Disposition: attachment; filename=oops-E0 Content-Description: oops for pagecache in high memory

ksymoops 0.7c on i686 2.3.42. Options used -V (default) -K (specified) -l /proc/modules (default) -o /lib/modules/2.3.42/ (default) -m /boot/System.map-2.3.42 (specified)

No modules in ksyms, skipping objects No ksyms, skipping lsmod invalid operand: 0000 CPU: 4 EIP: 0010:[<c013b394>] Using defaults from ksymoops -t elf32-i386 -a i386 EFLAGS: 00010296 eax: 0000001f ebx: c49d9afc ecx: 00000001 edx: 00000020 esi: 00000000 edi: 029b3300 ebp: 00000000 esp: e3e39d28 ds: 0018 es: 0018 ss: 0018 Process ipctst (pid: 651, stackpage=e3e39000) Stack: c02354e7 c02357ef 00000031 c49d9afc c013b77b c49d9afc 029b3300 014d9800 00000003 029b3000 c012d322 029b3300 00000000 00000000 e3e38000 029b3000 e3e38000 00000010 00029b33 c0183d65 029b3000 e3e38000 4000a610 4d07af62 Call Trace: [<c02354e7>] [<c02357ef>] [<c013b77b>] [<c012d322>] [<c0183d65>] [<c012da0d>] [<c012dff6>] [<c010a691>] [<c0116ec9>] [<c019570c>] [<c010d101>] Code: 0f 0b 83 c4 0c 8d b4 26 00 00 00 00 83 7b 08 00 74 1a 6a 33

>>EIP; c013b394 <add_to_swap_cache+2c/70> <===== Trace; c02354e7 <tvecs+359f/7958> Trace; c02357ef <tvecs+38a7/7958> Trace; c013b77b <read_swap_cache_async+b3/f8> Trace; c012d322 <swapin_readahead+9a/e8> Trace; c0183d65 <shm_nopage+4ed/858> Trace; c012da0d <do_no_page+5d/1c0> Trace; c012dff6 <handle_mm_fault+486/6ac> Trace; c010a691 <__up+11/14> Trace; c0116ec9 <do_page_fault+181/4c8> Trace; c019570c <ip_local_deliver+f8/178> Trace; c010d101 <error_code+2d/34> Code; c013b394 <add_to_swap_cache+2c/70> 00000000 <_EIP>: Code; c013b394 <add_to_swap_cache+2c/70> <===== 0: 0f 0b ud2a <===== Code; c013b396 <add_to_swap_cache+2e/70> 2: 83 c4 0c addl $0xc,%esp Code; c013b399 <add_to_swap_cache+31/70> 5: 8d b4 26 00 00 00 00 leal 0x0(%esi,1),%esi Code; c013b3a0 <add_to_swap_cache+38/70> c: 83 7b 08 00 cmpl $0x0,0x8(%ebx) Code; c013b3a4 <add_to_swap_cache+3c/70> 10: 74 1a je 2c <_EIP+0x2c> c013b3c0 <add_to_swap_cache+58/70> Code; c013b3a6 <add_to_swap_cache+3e/70> 12: 6a 33 pushl $0x33

invalid operand: 0000 CPU: 5 EIP: 0010:[<c013b394>] EFLAGS: 00010296 eax: 0000001f ebx: c49fc708 ecx: c028be5c edx: c028be5c esi: 00000000 edi: 0399d600 ebp: 00000000 esp: f78d7d28 ds: 0018 es: 0018 ss: 0018 Process ipctst (pid: 603, stackpage=f78d7000) Stack: c02354e7 c02357ef 00000031 c49fc708 c013b77b c49fc708 0399d600 01cce800 00000006 0399d000 c012d322 0399d600 00000000 00000000 f78d6000 0399d000 f78d6000 00000010 000399d6 c0183d65 0399d000 f78d6000 4000a610 4a8ae798 Call Trace: [<c02354e7>] [<c02357ef>] [<c013b77b>] [<c012d322>] [<c0183d65>] [<c01fd893>] [<c012da0d>] [<c0209a96>] [<c012dff6>] [<c010d098>] [<c0116ec9>] [<c011a4d5>] [<c01255df>] [<c010d101>] Code: 0f 0b 83 c4 0c 8d b4 26 00 00 00 00 83 7b 08 00 74 1a 6a 33

>>EIP; c013b394 <add_to_swap_cache+2c/70> <===== Trace; c02354e7 <tvecs+359f/7958> Trace; c02357ef <tvecs+38a7/7958> Trace; c013b77b <read_swap_cache_async+b3/f8> Trace; c012d322 <swapin_readahead+9a/e8> Trace; c0183d65 <shm_nopage+4ed/858> Trace; c01fd893 <scsi_release_command+1bf/1c8> Trace; c012da0d <do_no_page+5d/1c0> Trace; c0209a96 <rw_intr+1e2/1f0> Trace; c012dff6 <handle_mm_fault+486/6ac> Trace; c010d098 <ret_from_intr+0/20> Trace; c0116ec9 <do_page_fault+181/4c8> Trace; c011a4d5 <schedule+4c5/b34> Trace; c01255df <do_bottom_half+9f/c0> Trace; c010d101 <error_code+2d/34> Code; c013b394 <add_to_swap_cache+2c/70> 00000000 <_EIP>: Code; c013b394 <add_to_swap_cache+2c/70> <===== 0: 0f 0b ud2a <===== Code; c013b396 <add_to_swap_cache+2e/70> 2: 83 c4 0c addl $0xc,%esp Code; c013b399 <add_to_swap_cache+31/70> 5: 8d b4 26 00 00 00 00 leal 0x0(%esi,1),%esi Code; c013b3a0 <add_to_swap_cache+38/70> c: 83 7b 08 00 cmpl $0x0,0x8(%ebx) Code; c013b3a4 <add_to_swap_cache+3c/70> 10: 74 1a je 2c <_EIP+0x2c> c013b3c0 <add_to_swap_cache+58/70> Code; c013b3a6 <add_to_swap_cache+3e/70> 12: 6a 33 pushl $0x33

invalid operand: 0000 CPU: 6 EIP: 0010:[<c013b394>] EFLAGS: 00010296 eax: 0000001f ebx: c4a8ff7c ecx: c028be5c edx: c028be5c esi: 00000000 edi: 006b3b02 ebp: 00000001 esp: f78e1d28 ds: 0018 es: 0018 ss: 0018 Process ipctst (pid: 602, stackpage=f78e1000) Stack: c02354e7 c02357ef 00000031 c4a8ff7c c013b77b c4a8ff7c 006b3b02 00359801 0000000b 006b3002 c012d322 006b3b02 00000000 00000000 f78e0000 006b3002 f78e0000 00000010 00006b3b c0183d65 006b3002 f78e0000 4000a610 500d0fb5 Call Trace: [<c02354e7>] [<c02357ef>] [<c013b77b>] [<c012d322>] [<c0183d65>] [<c012da0d>] [<c012dff6>] [<c0228d51>] [<c0100018>] [<c0116ec9>] [<c019570c>] [<c010d101>] Code: 0f 0b 83 c4 0c 8d b4 26 00 00 00 00 83 7b 08 00 74 1a 6a 33

>>EIP; c013b394 <add_to_swap_cache+2c/70> <===== Trace; c02354e7 <tvecs+359f/7958> Trace; c02357ef <tvecs+38a7/7958> Trace; c013b77b <read_swap_cache_async+b3/f8> Trace; c012d322 <swapin_readahead+9a/e8> Trace; c0183d65 <shm_nopage+4ed/858> Trace; c012da0d <do_no_page+5d/1c0> Trace; c012dff6 <handle_mm_fault+486/6ac> Trace; c0228d51 <call_apic_timer_interrupt+5/10> Trace; c0100018 <startup_32+18/a4> Trace; c0116ec9 <do_page_fault+181/4c8> Trace; c019570c <ip_local_deliver+f8/178> Trace; c010d101 <error_code+2d/34> Code; c013b394 <add_to_swap_cache+2c/70> 00000000 <_EIP>: Code; c013b394 <add_to_swap_cache+2c/70> <===== 0: 0f 0b ud2a <===== Code; c013b396 <add_to_swap_cache+2e/70> 2: 83 c4 0c addl $0xc,%esp Code; c013b399 <add_to_swap_cache+31/70> 5: 8d b4 26 00 00 00 00 leal 0x0(%esi,1),%esi Code; c013b3a0 <add_to_swap_cache+38/70> c: 83 7b 08 00 cmpl $0x0,0x8(%ebx) Code; c013b3a4 <add_to_swap_cache+3c/70> 10: 74 1a je 2c <_EIP+0x2c> c013b3c0 <add_to_swap_cache+58/70> Code; c013b3a6 <add_to_swap_cache+3e/70> 12: 6a 33 pushl $0x33

invalid operand: 0000 CPU: 0 EIP: 0010:[<c013b394>] EFLAGS: 00010296 eax: 0000001f ebx: c45f35a0 ecx: 00000007 edx: 000000e0 esi: 00000000 edi: 017c6002 ebp: 00000001 esp: f7909d28 ds: 0018 es: 0018 ss: 0018 Process ipctst (pid: 598, stackpage=f7909000) Stack: c02354e7 c02357ef 00000031 c45f35a0 c013b77b c45f35a0 017c6002 00be3001 00000000 017c6002 c012d322 017c6002 00000000 00000000 f7908000 017c6002 f7908000 00000010 00017c60 c0183d65 017c6002 f7908000 4000a610 4c7ed6d5 Call Trace: [<c02354e7>] [<c02357ef>] [<c013b77b>] [<c012d322>] [<c0183d65>] [<c01157a8>] [<c012da0d>] [<c012dff6>] [<c0116ec9>] [<c01157a8>] [<c0228d51>] [<c010d101>] Code: 0f 0b 83 c4 0c 8d b4 26 00 00 00 00 83 7b 08 00 74 1a 6a 33

>>EIP; c013b394 <add_to_swap_cache+2c/70> <===== Trace; c02354e7 <tvecs+359f/7958> Trace; c02357ef <tvecs+38a7/7958> Trace; c013b77b <read_swap_cache_async+b3/f8> Trace; c012d322 <swapin_readahead+9a/e8> Trace; c0183d65 <shm_nopage+4ed/858> Trace; c01157a8 <smp_apic_timer_interrupt+108/16c> Trace; c012da0d <do_no_page+5d/1c0> Trace; c012dff6 <handle_mm_fault+486/6ac> Trace; c0116ec9 <do_page_fault+181/4c8> Trace; c01157a8 <smp_apic_timer_interrupt+108/16c> Trace; c0228d51 <call_apic_timer_interrupt+5/10> Trace; c010d101 <error_code+2d/34> Code; c013b394 <add_to_swap_cache+2c/70> 00000000 <_EIP>: Code; c013b394 <add_to_swap_cache+2c/70> <===== 0: 0f 0b ud2a <===== Code; c013b396 <add_to_swap_cache+2e/70> 2: 83 c4 0c addl $0xc,%esp Code; c013b399 <add_to_swap_cache+31/70> 5: 8d b4 26 00 00 00 00 leal 0x0(%esi,1),%esi Code; c013b3a0 <add_to_swap_cache+38/70> c: 83 7b 08 00 cmpl $0x0,0x8(%ebx) Code; c013b3a4 <add_to_swap_cache+3c/70> 10: 74 1a je 2c <_EIP+0x2c> c013b3c0 <add_to_swap_cache+58/70> Code; c013b3a6 <add_to_swap_cache+3e/70> 12: 6a 33 pushl $0x33

invalid operand: 0000 CPU: 1 EIP: 0010:[<c013aaee>] EFLAGS: 00010296 eax: 0000001f ebx: c47c8738 ecx: 00000007 edx: 000000e0 esi: 00000000 edi: 00000000 ebp: c118fc48 esp: c118fbd8 ds: 0018 es: 0018 ss: 0018 Process sendmail (pid: 506, stackpage=c118f000) Stack: c02350c7 c0235394 00000055 c47c8738 00000000 c47c8754 c118fc48 c47c8764 00000286 00000023 c47c875c c118fc48 c0130954 0000000b 00000006 00000015 c028d960 c028d8c0 00000007 c118fc38 c118fc48 c118fc40 000001ca 00000000 Call Trace: [<c02350c7>] [<c0235394>] [<c0130954>] [<c013a5ab>] [<c013a7bc>] [<c013b102>] [<c012d79c>] [<c012d9e3>] [<c012dff6>] [<c0184569>] [<c0116ec9>] [<c0166325>] [<c021f1f7>] [<c02402a1>] [<c02402a0>] [<c021f248>] [<c02402a1>] [<c010d101>] [<c021e610>] [<c0168190>] [<c0141c76>] [<c010cff0>] Code: 0f 0b 83 c4 0c 8b 43 18 a8 01 74 16 6a 57 68 94 53 23 c0 68

>>EIP; c013aaee <__free_pages_ok+5e/2a4> <===== Trace; c02350c7 <tvecs+317f/7958> Trace; c0235394 <tvecs+344c/7958> Trace; c0130954 <shrink_mmap+470/624> Trace; c013a5ab <do_try_to_free_pages+33/98> Trace; c013a7bc <try_to_free_pages+34/48> Trace; c013b102 <__alloc_pages+3ce/3f4> Trace; c012d79c <do_anonymous_page+d0/2e4> Trace; c012d9e3 <do_no_page+33/1c0> Trace; c012dff6 <handle_mm_fault+486/6ac> Trace; c0184569 <shm_swap+499/540> Trace; c0116ec9 <do_page_fault+181/4c8> Trace; c0166325 <proc_get_inode+41/100> Trace; c021f1f7 <vsprintf+38f/3cc> Trace; c02402a1 <cprt+6a01/12b45> Trace; c02402a0 <cprt+6a00/12b45> Trace; c021f248 <sprintf+14/11d0> Trace; c02402a1 <cprt+6a01/12b45> Trace; c010d101 <error_code+2d/34> Trace; c021e610 <__generic_copy_to_user+30/3c> Trace; c0168190 <proc_file_read+1a8/244> Trace; c0141c76 <sys_read+106/128> Trace; c010cff0 <system_call+34/38> Code; c013aaee <__free_pages_ok+5e/2a4> 00000000 <_EIP>: Code; c013aaee <__free_pages_ok+5e/2a4> <===== 0: 0f 0b ud2a <===== Code; c013aaf0 <__free_pages_ok+60/2a4> 2: 83 c4 0c addl $0xc,%esp Code; c013aaf3 <__free_pages_ok+63/2a4> 5: 8b 43 18 movl 0x18(%ebx),%eax Code; c013aaf6 <__free_pages_ok+66/2a4> 8: a8 01 testb $0x1,%al Code; c013aaf8 <__free_pages_ok+68/2a4> a: 74 16 je 22 <_EIP+0x22> c013ab10 <__free_pages_ok+80/2a4> Code; c013aafa <__free_pages_ok+6a/2a4> c: 6a 57 pushl $0x57 Code; c013aafc <__free_pages_ok+6c/2a4> e: 68 94 53 23 c0 pushl $0xc0235394 Code; c013ab01 <__free_pages_ok+71/2a4> 13: 68 00 00 00 00 pushl $0x0

--=-=-= Content-Disposition: attachment; filename=43-8-steven_user.syms Content-Description: oops for pagecache in normal memory

ksymoops 0.7c on i686 2.2.12-45SAPsmp. Options used -V (default) -K (specified) -l /proc/modules (default) -o /lib/modules/2.2.12-45SAPsmp/ (default) -m /boot/System.map-2.3.42 (specified)

No modules in ksyms, skipping objects No ksyms, skipping lsmod f78f9bdc c022b2cc c3fddae0 f79da5c0 00000001 37929000 c0228d0e 00000001 cdcd0000 f78f8000 37929000 cdcd0000 f78f9c8c f78f8000 f79d0018 cdcd0018 00000030 c0220a4f 00000010 00000202 00000000 cdcd7944 c49aa36c c0362e00 Call Trace: [<c022b2cc>] [<c0228d0e>] [<c0220a4f>] [<c02054ac>] [<c0131595>] [<c Warning (Oops_read): Code line not seen, dumping what data is available

Trace; c022b2cc <call_spurious_interrupt+253b/91b7> Trace; c0228d0e <call_invalidate_interrupt+5/b> Trace; c0220a4f <stext_lock+64b/7fe0> Trace; c02054ac <scsi_request_fn+3c0/414> Trace; c0131595 <___wait_on_page+1bd/3a8>

Call Trace: [<c022b2cc>] [<c0228d0e>] [<c010a42b>] [<c011a4d5>] [<c010a8ef>] [<c invalid operand: 0000 CPU: 1 EIP: 0010:[<c013ae56>] Using defaults from ksymoops -t elf32-i386 -a i386 EFLAGS: 00010086 eax: 00000020 ebx: c028d998 ecx: 00000000 edx: 00000000 esi: c028d960 edi: 00040778 ebp: c028d980 esp: f7903d1c ds: 0018 es: 0018 ss: 0018 Process ipctst (pid: 601, stackpage=f7903000) Stack: c02350c7 c0235394 000000b1 c4934114 ffffffff 03909d02 c4934114 03909d02 f7902000 00014114 00000206 00000000 00000012 c028db6c 00000000 c013dede c4934114 ffffffff 03909d02 f7902000 c013b558 c0183dfd c4934114 c4934114 Call Trace: [<c02350c7>] [<c0235394>] [<c013dede>] [<c013b558>] [<c0183dfd>] [<c Code: 0f 0b 83 c4 0c 90 8d 74 26 00 8b 53 04 8b 03 89 50 04 89 02

Trace; c022b2cc <call_spurious_interrupt+253b/91b7> Trace; c0228d0e <call_invalidate_interrupt+5/b> Trace; c010a42b <__switch_to+97/cc> Trace; c011a4d5 <schedule+4c5/b34> Trace; c010a8ef <__down+25b/404> >>EIP; c013ae56 <__alloc_pages+122/3f4> <===== Trace; c02350c7 <tvecs+317f/7958> Trace; c0235394 <tvecs+344c/7958> Trace; c013dede <replace_with_highmem+4a/194> Trace; c013b558 <delete_from_swap_cache+28/2c> Trace; c0183dfd <shm_nopage+585/858> Code; c013ae56 <__alloc_pages+122/3f4> 00000000 <_EIP>: Code; c013ae56 <__alloc_pages+122/3f4> <===== 0: 0f 0b ud2a <===== Code; c013ae58 <__alloc_pages+124/3f4> 2: 83 c4 0c addl $0xc,%esp Code; c013ae5b <__alloc_pages+127/3f4> 5: 90 nop Code; c013ae5c <__alloc_pages+128/3f4> 6: 8d 74 26 00 leal 0x0(%esi,1),%esi Code; c013ae60 <__alloc_pages+12c/3f4> a: 8b 53 04 movl 0x4(%ebx),%edx Code; c013ae63 <__alloc_pages+12f/3f4> d: 8b 03 movl (%ebx),%eax Code; c013ae65 <__alloc_pages+131/3f4> f: 89 50 04 movl %edx,0x4(%eax) Code; c013ae68 <__alloc_pages+134/3f4> 12: 89 02 movl %eax,(%edx)

CPU: 4 EIP: 0010:[<c022171d>] EFLAGS: 00000002 eax: 00000000 ebx: 00008400 ecx: 00000000 edx: 00000000 esi: c028d960 edi: 00040778 ebp: c028d980 esp: f78efd28 ds: 0018 es: 0018 ss: 0018 Process ipctst (pid: 603, stackpage=f78ef000) Stack: c5011538 ffffffff 0386db00 c5011538 0386db00 f78ee000 00011538 00000206 00000000 00000012 c028db6c 00000000 c013dede c5011538 ffffffff 0386db00 f78ee000 c013b558 c0183dfd c5011538 c5011538 f78ee000 4000a610 40af09e4 Call Trace: [<c013dede>] [<c013b558>] [<c0183dfd>] [<c0130e69>] [<c013a9d1>] [<c Code: 75 fb e9 dd 96 f1 ff f6 07 01 75 fb e9 33 9b f1 ff f6 05 8c

>>EIP; c022171d <stext_lock+1319/7fe0> <===== Trace; c013dede <replace_with_highmem+4a/194> Trace; c013b558 <delete_from_swap_cache+28/2c> Trace; c0183dfd <shm_nopage+585/858> Trace; c0130e69 <add_to_page_cache+ed/234> Trace; c013a9d1 <rw_swap_page+75/98> Code; c022171d <stext_lock+1319/7fe0> 00000000 <_EIP>: Code; c022171d <stext_lock+1319/7fe0> <===== 0: 75 fb jne fffffffd <_EIP+0xfffffffd> c022171a <stext_lock+1316/7fe0> <===== Code; c022171f <stext_lock+131b/7fe0> 2: e9 dd 96 f1 ff jmp fff196e4 <_EIP+0xfff196e4> c013ae01 <__alloc_pages+cd/3f4> Code; c0221724 <stext_lock+1320/7fe0> 7: f6 07 01 testb $0x1,(%edi) Code; c0221727 <stext_lock+1323/7fe0> a: 75 fb jne 7 <_EIP+0x7> c0221724 <stext_lock+1320/7fe0> Code; c0221729 <stext_lock+1325/7fe0> c: e9 33 9b f1 ff jmp fff19b44 <_EIP+0xfff19b44> c013b261 <show_free_areas_core+cd/198> Code; c022172e <stext_lock+132a/7fe0> 11: f6 05 8c 00 00 00 00 testb $0x0,0x8c

1 warning issued. Results may not be reliable.

--=-=-=--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/