2.1.125 OOPS: mmap_exit

Joonas Lehtinen (phoenix@jole.fi)
Wed, 21 Oct 1998 08:04:40 +0300 (EEST)


I have problems with following configuration:
2.1.125, Double P2 400, BX, 512M 100Mhz Ram
/home is on ATA-RAID0, There is 2 SCSI controllers
(aic7890 and aic7850), but they are not used actively to
reduce number possible problems..

Problem is that kernel randomly locks up. This is however so rare,
that I have not yet figured out how to reproduce the problem.

First kernel gives:

Oct 20 18:20:19 monster kernel: Unable to handle kernel paging request at virtual address 45a249e8
Oct 20 18:20:19 monster kernel: current->tss.cr3 = 0a807000, %cr3 = 0a807000
Oct 20 18:20:19 monster kernel: *pde = 00000000
Oct 20 18:20:19 monster kernel: Oops: 0000
Oct 20 18:20:19 monster kernel: CPU: 1
Oct 20 18:20:19 monster kernel: EIP: 0010:[<c0128276>]
Oct 20 18:20:19 monster kernel: EFLAGS: 00010206
Oct 20 18:20:19 monster kernel: eax: 45a249e8 ebx: 0004c3b8 ecx: 00000901 edx: 45a249e8
Oct 20 18:20:19 monster kernel: esi: 00000400 edi: 00000400 ebp: 0004c3b8 esp: ca187e0c
Oct 20 18:20:19 monster kernel: ds: 0018 es: 0018 ss: 0018
Oct 20 18:20:19 monster kernel: Process kfft (pid: 12076, process nr: 82, stackpage=ca187000)
Oct 20 18:20:19 monster kernel: Stack: c01282af 00000901 0004c3b8 00000400 0004c3b8 00000400 0004c3b8 de690901
Oct 20 18:20:19 monster kernel: c0128993 00000901 0004c3b8 00000400 0004c3b8 00000000 00000001 de69a96c
Oct 20 18:20:19 monster kernel: 00000901 c01414d0 00000901 0004c3b8 00000400 000000bb 0000e2bb 00000001
Oct 20 18:20:19 monster kernel: Call Trace: [<c01282af>] [<c0128993>] [<c01414d0>] [<c01418c9>] [<c013faea>] [<c0123386>] [<c01126d5>]
Oct 20 18:20:19 monster kernel: [<c0119355>] [<c010a56d>] [<c0108cb4>] [<c0126bba>] [<c0126fa5>] [<c0108c18>] [<c010002b>]
Oct 20 18:20:19 monster kernel: Code: 8b 12 39 58 04 75 f3 39 70 08 75 ee 66 39 48 0c 75 e8 89 c2
Oct 20 18:23:33 monster kernel: eth0: Transmit error, Tx status register 82.
Oct 20 18:29:19 monster kernel: eth0: Transmit error, Tx status register 82.
Oct 20 18:42:24 monster kernel: eth0: Transmit error, Tx status register 82.

With gives with ksymoops

Using `s' to map addresses to symbols.

>>EIP: c0128276 <find_buffer+2a/44>
Trace: c01282af <get_hash_table+1f/60>
Trace: c0128993 <getblk+1f/32c>
Trace: c01414d0 <block_getblk+a4/27c>
Trace: c01418c9 <ext2_getblk+221/22c>
Trace: c013faea <ext2_file_write+1ee/4d8>
Trace: c0123386 <swap_tick+16/9c>
Trace: c01126d5 <timer_bh+129/394>
Trace: c0119355 <do_bottom_half+85/a8>
Trace: c010a56d <do_IRQ+45/4c>
Trace: c0108cb4 <ret_from_intr>
Trace: c0126bba <sys_lseek+a2/10c>
Trace: c0126fa5 <sys_write+cd/138>
Trace: c0108c18 <system_call+34/38>
Trace: c010002b <startup_32+2b/a4>
Code: c0128276 <find_buffer+2a/44>
Code: c0128276 <find_buffer+2a/44> 8b 12 movl (%edx),%edx
Code: c0128278 <find_buffer+2c/44> 39 58 04 cmpl %ebx,0x4(%eax)
Code: c012827b <find_buffer+2f/44> 75 f3 jne fffffffa <_EIP+0xfffffffa>
Code: c012827d <find_buffer+31/44> 39 70 08 cmpl %esi,0x8(%eax)
Code: c0128280 <find_buffer+34/44> 75 ee jne fffffffa <_EIP+0xfffffffa>
Code: c0128282 <find_buffer+36/44> 66 39 48 0c cmpw %cx,0xc(%eax)
Code: c0128286 <find_buffer+3a/44> 75 e8 jne fffffffa <_EIP+0xfffffffa>
Code: c0128288 <find_buffer+3c/44> 89 c2 movl %eax,%edx

After that kernel oopses several (15) as follows (only minor differeneces
in oopses and exact same ksymoops output) :

Oct 20 18:56:01 monster kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000008
Oct 20 18:56:01 monster kernel: current->tss.cr3 = 00101000, %cr3 = 00101000
Oct 20 18:56:01 monster kernel: *pde = 00000000
Oct 20 18:56:01 monster kernel: Oops: 0000
Oct 20 18:56:01 monster kernel: CPU: 1
Oct 20 18:56:01 monster kernel: EIP: 0010:[<c011d804>]
Oct 20 18:56:01 monster kernel: EFLAGS: 00010202
Oct 20 18:56:01 monster kernel: eax: 00000000 ebx: 080af000 ecx: dbb9b600 edx: dbb9be3c
Oct 20 18:56:01 monster kernel: esi: dbb9b480 edi: 00003000 ebp: d21a53a0 esp: ce9cbf7c
Oct 20 18:56:01 monster kernel: ds: 0018 es: 0018 ss: 0018
Oct 20 18:56:01 monster kernel: Process sh (pid: 20908, process nr: 43, stackpage=ce9cb000)
Oct 20 18:56:01 monster kernel: Stack: 4000b6a0 bffff2d8 dbb9b600 c0113797 d21a53a0 d21a53a0 d21a53a0 c011829d
Oct 20 18:56:01 monster kernel: d21a53a0 ce9ca000 bffff30c 4000b6a0 bffff2d8 ce9ca000 ce9ca000 c011842e
Oct 20 18:56:01 monster kernel: 00007f00 c0108c18 0000007f 00000000 4000aec8 bffff30c 4000b6a0 bffff2d8
Oct 20 18:56:01 monster kernel: Call Trace: [<c0113797>] [<c011829d>] [<c011842e>] [<c0108c18>]
Oct 20 18:56:01 monster kernel: Code: 8b 40 08 ff 80 90 00 00 00 8b 56 1c 85 d2 74 06 8b 46 20 89

Using `s' to map addresses to symbols.

>>EIP: c011d804 <exit_mmap+84/12c>
Trace: c0113797 <mmput+1f/38>
Trace: c011829d <do_exit+fd/280>
Trace: c011842e <sys_exit+e/10>
Trace: c0108c18 <system_call+34/38>
Code: c011d804 <exit_mmap+84/12c>
Code: c011d804 <exit_mmap+84/12c> 8b 40 08 movl 0x8(%eax),%eax
Code: c011d807 <exit_mmap+87/12c> ff 80 90 00 00 incl 0x90(%eax)
Code: c011d80d <exit_mmap+8d/12c> 8b 56 1c movl 0x1c(%esi),%edx
Code: c011d810 <exit_mmap+90/12c> 85 d2 testl %edx,%edx
Code: c011d812 <exit_mmap+92/12c> 74 06 je c011d81a <exit_mmap+9a/12c>
Code: c011d814 <exit_mmap+94/12c> 8b 46 20 movl 0x20(%esi),%eax
Code: c011d817 <exit_mmap+97/12c> 89 00 movl %eax,(%eax)
Code: c011d819 <exit_mmap+99/12c> 90 nop
Code: c011d81a <exit_mmap+9a/12c> 90 nop
Code: c011d81b <exit_mmap+9b/12c> 90 nop

If you have any ideas, where to look for solution or something, *PLEASE*
mail to me directly (jole@jole.fi) as I am not on the kernel-list.

--- Joonas

==-- Joonas Lehtinen -=- jole@jole.fi -=- http://www.jole.fi --==
===-- TUCS (www.tucs.fi) & University of Turku (www.utu.fi) --===
====--- GSM/SMS +358-40-5035001 -=*=- FAX +358-40-6035001 ---====

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