From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Memory problems with 2.3.99-pre6-7 From: "Juan J. Quintela" Date: 27 Apr 2000 19:45:46 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-linux-mm@kvack.org Return-Path: To: linux-mm@kvack.org, linux-kernel@vger.rutgers.edu List-ID: Hi, I continue having problems with the memory subsystem in this kernel. My system is a uniprocessor Athlon with 256MB of RAM. I will try to reproduce it in pre6(final), but each time is more difficult for me to reproduce the BUGS(). Each time they are less easily reproducible. I have get the following Oops: kernel BUG at swap_state.c:56! if (page->mapping) BUG(); And the actual Oops is: invalid operand: 0000 CPU: 0 EIP: 0010:[] Using defaults from ksymoops -t elf32-i386 -a i386 EFLAGS: 00010282 eax: 0000001f ebx: c1000290 ecx: 0000000e edx: 00000000 esi: c1000290 edi: c98d97fc ebp: c2560200 esp: c15a1f08 ds: 0018 es: 0018 ss: 0018 Process kswapd (pid: 2, stackpage=c15a1000) Stack: c01dbbc3 c01dbe2f 00000038 00b59b00 c0129418 c1000290 00b59b00 00b59b00 77600000 77800000 c98d97fc 77800000 00b59b00 c012959f c2560200 775ff000 c98d97fc 00000004 c2560200 775ff000 ca985d80 00000004 779ff000 779ff000 Call Trace: [] [] [] [] [] [] [] [] [] Code: 0f 0b 83 c4 0c 8d 74 26 00 8b 44 24 0c 50 68 10 83 21 c0 53 >>EIP; c012a417 <===== Trace; c01dbbc3 Trace; c01dbe2f Trace; c0129418 Trace; c012959f Trace; c012964b Trace; c012973e Trace; c012980a Trace; c0129895 Trace; c0108df8 Code; c012a417 00000000 <_EIP>: Code; c012a417 <===== 0: 0f 0b ud2a <===== Code; c012a419 2: 83 c4 0c add $0xc,%esp Code; c012a41c 5: 8d 74 26 00 lea 0x0(%esi,1),%esi Code; c012a420 9: 8b 44 24 0c mov 0xc(%esp,1),%eax Code; c012a424 d: 50 push %eax Code; c012a425 e: 68 10 83 21 c0 push $0xc0218310 Code; c012a42a 13: 53 push %ebx The second one is the one that I have reported several times to this list. It happens just after the first. It is: Bad swap file entry 0000bd60 Bad swap file entry 0000bd60 kernel BUG at page_alloc.c:104! that is: if (page->mapping) BUG(); The actual Oops is: invalid operand: 0000 CPU: 0 EIP: 0010:[] Using defaults from ksymoops -t elf32-i386 -a i386 EFLAGS: 00010286 eax: 00000020 ebx: c1000290 ecx: c0216a7c edx: c0216a7c esi: ffffffff edi: c59644c0 ebp: 00000000 esp: c3c2df04 ds: 0018 es: 0018 ss: 0018 Process test004 (pid: 4914, stackpage=c3c2d000) Stack: c01db783 c01dba0f 00000068 c1000290 ffffffff c59644c0 c08d2ae0 c10002b8 c10002b8 00000286 00000023 c08d2ae0 c012a5f3 00400000 00000148 c011f381 c1000290 c2560980 30000000 40157000 ca985d80 c59644c0 4c000000 000000ec Call Trace: [] [] [] [] [] [] [] Code: 0f 0b 83 c4 0c 89 f6 89 d8 2b 05 6c 80 21 c0 69 c0 39 8e e3 >>EIP; c0129c69 <__free_pages_ok+49/2a0> <===== Trace; c01db783 Trace; c01dba0f Trace; c012a5f3 Trace; c011f381 Trace; c012160b Trace; c01216da Trace; c010af4c Code; c0129c69 <__free_pages_ok+49/2a0> 00000000 <_EIP>: Code; c0129c69 <__free_pages_ok+49/2a0> <===== 0: 0f 0b ud2a <===== Code; c0129c6b <__free_pages_ok+4b/2a0> 2: 83 c4 0c add $0xc,%esp Code; c0129c6e <__free_pages_ok+4e/2a0> 5: 89 f6 mov %esi,%esi Code; c0129c70 <__free_pages_ok+50/2a0> 7: 89 d8 mov %ebx,%eax Code; c0129c72 <__free_pages_ok+52/2a0> 9: 2b 05 6c 80 21 c0 sub 0xc021806c,%eax Code; c0129c78 <__free_pages_ok+58/2a0> f: 69 c0 39 8e e3 00 imul $0xe38e39,%eax,%eax If you need more information, let me know. Later, Juan. -- In theory, practice and theory are the same, but in practice they are different -- Larry McVoy -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux.eu.org/Linux-MM/