2006-05-12 01:03:47

by Dhananjay Bhandari

[permalink] [raw]
Subject: SUSE 9 kernel dump an error midway of application run, making application to hang

When I try to run one of my applications, kernel dumps following error
in /var/log/messages, and my process hangs.
The error is as follows :
Apr 12 19:19:00 suse kernel: ------------[ cut here ]------------
Apr 12 19:19:00 suse kernel: kernel BUG at mm/memory.c:334!
Apr 12 19:19:00 suse kernel: invalid operand: 0000 [#6]
Apr 12 19:19:00 suse kernel: CPU: 0
Apr 12 19:19:00 suse kernel: EIP: 0060:[<c0149eca>] Not tainted
Apr 12 19:19:00 suse kernel: EFLAGS: 00213202 (2.6.5-7.97-default)
Apr 12 19:19:00 suse kernel: EIP is at copy_page_range+0x34a/0x354
Apr 12 19:19:00 suse kernel: eax: 00000001 ebx: 19da5065 ecx:
dcb57980 edx: 19da5045
Apr 12 19:19:00 suse kernel: esi: d21bb000 edi: c133b4a0 ebp:
cb642000 esp: d221dee8
Apr 12 19:19:00 suse kernel: ds: 007b es: 007b ss: 0068
Apr 12 19:19:00 suse kernel: Process nativeScan-linu (pid: 29414,
threadinfo=d221c000 task=cd4bb460)
Apr 12 19:19:00 suse kernel: Stack: cb484000 cf2fe000 00000001
00001000 00000000 d1c22a84 dcb57980 d1c22a84
Apr 12 19:19:00 suse kernel: 00000001 d1c22a9c d1c22154
c011eb48 d08dd9b0 de14b320 00000001 d1c22a9c
Apr 12 19:19:00 suse kernel: d1c22aa4 d1c22a90 de14b300
dcb57980 d08dda50 d08dd9b0 d221dfc4 bfffeacc
Apr 12 19:19:00 suse kernel: Call Trace:
Apr 12 19:19:00 suse kernel: [<c011eb48>] copy_process+0xb98/0xff0
Apr 12 19:19:00 suse kernel: [<c011f00a>] do_fork+0x6a/0x220
Apr 12 19:19:00 suse kernel: [<c01066b9>] sys_clone+0x29/0x30
Apr 12 19:19:00 suse kernel: [<c0107dc9>] sysenter_past_esp+0x52/0x79
Apr 12 19:19:00 suse kernel:
Apr 12 19:19:00 suse kernel: Code: 0f 0b 4e 01 d5 3c 30 c0 eb d7 e8 f7
ce fb ff e9 03 e8 ff ff
Apr 12 19:19:00 suse kernel: <6>note: nativeScan-linu[29414] exited
with preempt_count 2
Apr 12 19:19:00 suse kernel: bad: scheduling while atomic!
Apr 12 19:19:00 suse kernel: Call Trace:
Apr 12 19:19:00 suse kernel: [<c011cf17>] schedule+0x697/0x6d0
Apr 12 19:19:00 suse kernel: [<c011b311>] __wake_up_common+0x31/0x60
Apr 12 19:19:00 suse kernel: [<c01d7bcd>] rwsem_down_read_failed+0x6d/0x160
Apr 12 19:19:00 suse kernel: [<c011fe7d>] printk+0x11d/0x130
Apr 12 19:19:00 suse kernel: [<c01220ed>] .text.lock.exit+0x6b/0xce
Apr 12 19:19:00 suse kernel: [<c0108d48>] common_interrupt+0x18/0x20
Apr 12 19:19:00 suse kernel: [<c01099e8>] die+0x158/0x160
Apr 12 19:19:00 suse kernel: [<c0109d20>] do_invalid_op+0x0/0xb0
Apr 12 19:19:00 suse kernel: [<c0109dbf>] do_invalid_op+0x9f/0xb0
Apr 12 19:19:00 suse kernel: [<c0149eca>] copy_page_range+0x34a/0x354
Apr 12 19:19:00 suse kernel: [<c0118dfe>] pgd_alloc+0xe/0x40
Apr 12 19:19:00 suse kernel: [<c013fbc1>] __alloc_pages+0x321/0x360
Apr 12 19:19:00 suse kernel: [<c0108e0d>] error_code+0x2d/0x40
Apr 12 19:19:00 suse kernel: [<c0149eca>] copy_page_range+0x34a/0x354
Apr 12 19:19:00 suse kernel: [<c011eb48>] copy_process+0xb98/0xff0
Apr 12 19:19:00 suse kernel: [<c011f00a>] do_fork+0x6a/0x220
Apr 12 19:19:00 suse kernel: [<c01066b9>] sys_clone+0x29/0x30
Apr 12 19:19:00 suse kernel: [<c0107dc9>] sysenter_past_esp+0x52/0x79
Apr 12 19:19:00 suse kernel:

I am not sure what fomr the application is triggering it, and how can
I get around it.
The kernel version is : 2.6.5-7.97, and platform is X86.

I am in real desperate situation, hence any help would be greatly appreciated.


2006-05-12 11:28:36

by Jesper Juhl

[permalink] [raw]
Subject: Re: SUSE 9 kernel dump an error midway of application run, making application to hang

On 5/12/06, Dhananjay Bhandari <[email protected]> wrote:
> When I try to run one of my applications, kernel dumps following error
> in /var/log/messages, and my process hangs.
[snip]
> The kernel version is : 2.6.5-7.97, and platform is X86.
>
Have you tested a recent kernel like 2.6.16.16 or 2.6.17-rc4 (2.6.5 is
pretty old and the bug may have already been fixed)? Or would it be
possible to get a copy of your application so someone else could test
it on a recent kernel?


--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html

2006-05-12 11:47:27

by Gerd Hoffmann

[permalink] [raw]
Subject: Re: SUSE 9 kernel dump an error midway of application run, making application to hang

Hi,

> The kernel version is : 2.6.5-7.97, and platform is X86.

First, this is NOT the SLES-9 support channel.

Second, try installing the current service pack (SP3). The support will
ask you to do that anyway before even looking into that. And, no, I
will not answer further questions.

cheers,

Gerd

--
Gerd Hoffmann <[email protected]>
Erst mal heiraten, ein, zwei Kinder, und wenn alles l?uft
geh' ich nach drei Jahren mit der Familie an die B?rse.
http://www.suse.de/~kraxel/julika-dora.jpeg