Re: BUG in page_alloc.c

From: Cyrille Chepelov (home) (chepelov@calixo.net)
Date: Mon May 01 2000 - 05:48:47 EST


Got exactly the same, from at least 2.3.51 up to -pre6.6 (didn't try more
recent kernels), when using a huge memory hog (pnmcrop on a 28 Mb .pnm
file, ate ~150 Mb RAM (96 physical), then died, same oops, same line.
Already reported, was ignored/overseen). 2.4.0 can't ship with that !

It seems it's related to the interactions between SHM and swap.

On Sun, 30 Apr 2000, Arthur Pedyczak wrote:

> Date: Sun, 30 Apr 2000 19:40:03 -0400
> From: Arthur Pedyczak <arthur-p@home.com>
> To: "linux-kernel@vger.rutgers.edu" <linux-kernel@vger.rutgers.edu>
> Subject: BUG in page_alloc.c
>
> Hi all,
>
> I have jus started trying to use 2.3.99.-pre7-1. Under heavy I/O load
> (e.g. tar/gzip of large files or mksiofs) I get an oops. It does not
> always happen and usually the system runs for a while until it does
> happen. Here are the error messages:
> ================================================
>
> Apr 30 19:17:47 cs865114-a kernel: kernel BUG at page_alloc.c:104!
> Apr 30 19:17:47 cs865114-a kernel: invalid operand: 0000
> Apr 30 19:17:47 cs865114-a kernel: CPU: 0
> Apr 30 19:17:47 cs865114-a kernel: EIP: 0010:[__free_pages_ok+73/672]
> Apr 30 19:17:47 cs865114-a kernel: EFLAGS: 00010286
> Apr 30 19:17:47 cs865114-a kernel: eax: 00000020 ebx: c1000710 ecx:
> 00000012
> edx: 00000000
> Apr 30 19:17:47 cs865114-a kernel: esi: c1000710 edi: cff5ffa0 ebp:
> 00000000
> esp: cff5ff48
> Apr 30 19:17:47 cs865114-a kernel: ds: 0018 es: 0018 ss: 0018
> Apr 30 19:17:47 cs865114-a kernel: Process kswapd (pid: 3,
> stackpage=cff5f000)
> Apr 30 19:17:47 cs865114-a kernel: Stack: c01da9b1 c01dabdf 00000068
> c100072c c1
> 000710 cff5ffa0 000003a0 c1000738
> Apr 30 19:17:47 cs865114-a kernel: c1000738 00000282 00000023
> 000003a0 c0
> 124f27 00000020 00000006 00000004
> Apr 30 19:17:47 cs865114-a kernel: c020e6ec cff5ffa8 cff5ffa0
> 00000000 cf
> f5ff98 cff5ff98 cff5ffa0 cff5ffa0
> Apr 30 19:17:47 cs865114-a kernel: Call Trace: [tvecs+12321/67856]
> [tvecs+12879/
> 67856] [shrink_mmap+455/688] [do_try_to_free_pages+44/144]
> [kswapd+154/288] [ker
> nel_thread+40/64]
> Apr 30 19:17:47 cs865114-a kernel: Code: 0f 0b 83 c4 0c 89 f6 89 d8 2b
> 05 2c e3
> 20 c0 69 c0 39 8e e3
> =================================================
> Ksymoops output:
>
> ksymoops 0.7c on i686 2.3.99-pre7. Options used
> -v /usr/src/linux/vmlinux (specified)
> -k /proc/ksyms (default)
> -l /proc/modules (default)
> -o /lib/modules/2.3.99-pre7/ (default)
> -m /usr/src/linux/System.map (specified)
>
> Apr 30 19:17:47 cs865114-a kernel: invalid operand: 0000
> Apr 30 19:17:47 cs865114-a kernel: CPU: 0
> Apr 30 19:17:47 cs865114-a kernel: EIP: 0010:[__free_pages_ok+73/672]
> Apr 30 19:17:47 cs865114-a kernel: EFLAGS: 00010286
> Apr 30 19:17:47 cs865114-a kernel: eax: 00000020 ebx: c1000710 ecx:
> 00000012
> edx: 00000000
> Apr 30 19:17:47 cs865114-a kernel: esi: c1000710 edi: cff5ffa0 ebp:
> 00000000
> esp: cff5ff48
> Apr 30 19:17:47 cs865114-a kernel: ds: 0018 es: 0018 ss: 0018
> Apr 30 19:17:47 cs865114-a kernel: Process kswapd (pid: 3,
> stackpage=cff5f000)
> Apr 30 19:17:47 cs865114-a kernel: Stack: c01da9b1 c01dabdf 00000068
> c100072c c1
> 000710 cff5ffa0 000003a0 c1000738
> Apr 30 19:17:47 cs865114-a kernel: c1000738 00000282 00000023
> 000003a0 c0
> 124f27 00000020 00000006 00000004
> Apr 30 19:17:47 cs865114-a kernel: c020e6ec cff5ffa8 cff5ffa0
> 00000000 cf
> f5ff98 cff5ff98 cff5ffa0 cff5ffa0
> Apr 30 19:17:47 cs865114-a kernel: Call Trace: [tvecs+12321/67856]
> [tvecs+12879/
> 67856] [shrink_mmap+455/688] [do_try_to_free_pages+44/144]
> [kswapd+154/288] [ker
> nel_thread+40/64]
> Apr 30 19:17:47 cs865114-a kernel: Code: 0f 0b 83 c4 0c 89 f6 89 d8 2b
> 05 2c e3
> 20 c0 69 c0 39 8e e3
> Using defaults from ksymoops -t elf32-i386 -a i386
>
> Code; 00000000 Before first symbol
> 00000000 <_EIP>:
> Code; 00000000 Before first symbol
> 0: 0f 0b ud2a
> Code; 00000002 Before first symbol
> 2: 83 c4 0c add $0xc,%esp
> Code; 00000005 Before first symbol
> 5: 89 f6 mov %esi,%esi
> Code; 00000007 Before first symbol
> 7: 89 d8 mov %ebx,%eax
> Code; 00000009 Before first symbol
> 9: 2b 05 2c e3 20 c0 sub 0xc020e32c,%eax
> Code; 0000000f Before first symbol
> f: 69 c0 39 8e e3 00 imul $0xe38e39,%eax,%eax
>
>
> =================================================================
> My system:
> PIII-450
> 256MB RAM
> IDE - PIIX4
> hda=WDC AC313000
> hdb=MATSHITA CR-589
> hdc=MITSBICDRW4420a (ide-scsi)
> eth0=eepro100
> eth1=3Com PCI 3c900
> sound=es1370
>
> -
> 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/
>

------------------------------------------------------------------------------
Grumpf.

-
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/



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:08 EST