2002-09-06 01:00:15

by Axel H. Siebenwirth

[permalink] [raw]
Subject: [OOPS:2.5.33-mm3] Oops with syslogd in generic_file_write_nolock

Hi Andrew,

I just booted 2.5.33-mm3 and apparently when syslogd was started the
following oops occurred.
Kernel config is attached.

Unable to handle kernel NULL pointer dereference at virtual address 00000000
00000000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0060:[<00000000>] Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010206
eax: c11cc298 ebx: 00000000 ecx: 0000000f edx: c1387e20
esi: 0000000f edi: 00000000 ebp: c0320540 esp: c17efe08
ds: 0068 es: 0068 ss: 0068
Stack: c012fab3 c1387e20 c11cc298 00000000 0000000f 00000030 cbb4b080
c026f3a1
cbb4b080 cbb4b080 c17efea8 0000000f 00000000 00000000 08051b70
0000000f
c17eff54 0000000f 00000000 c11cc298 00000000 00000000 00000000
ffffffff
Call Trace: [<c012fab3>] [<c026f3a1>] [<c022e45c>] [<c022f818>] [<c0135b85>]
[<c014ef41>] [<c01301e3>] [<c013ef4c>] [<c013f125>] [<c010793f>]
Code: Bad EIP value.


>>EIP; 00000000 Before first symbol

>>eax; c11cc298 <_end+e8ead4/c5d883c>
>>edx; c1387e20 <_end+104a65c/c5d883c>
>>ebp; c0320540 <empty_aops.1+0/40>
>>esp; c17efe08 <_end+14b2644/c5d883c>

Trace; c012fab3 <generic_file_write_nolock+313/980>
Trace; c026f3a1 <unix_dgram_recvmsg+101/160>
Trace; c022e45c <sockfd_lookup+1c/80>
Trace; c022f818 <sys_recvfrom+d8/120>
Trace; c0135b85 <__get_free_pages+45/50>
Trace; c014ef41 <__pollwait+41/d0>
Trace; c01301e3 <generic_file_writev+43/60>
Trace; c013ef4c <do_readv_writev+14c/1f0>
Trace; c013f125 <sys_writev+95/a0>
Trace; c010793f <syscall_call+7/b>


Then I wanted to send you output of scripts/ver_linux and another oops
occurred with apparently the same cause:

Linux prester 2.5.33 #1 Fri Sep 6 02:43:45 CEST 2002 i686 unknown

Gnu C gcc (GCC) 3.2.1 20020904 (prerelease) Copyright (C)
2002
Free Software Foundation, Inc. This is free software; see the source for
copying conditions. There is NO warranty; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.
Gnu make 3.79.1
util-linux 2.11r
mount 2.11r
modutils 2.4.19
e2fsprogs 1.27
PPP 2.4.1

Unable to handle kernel NULL pointer dereference at virtual address 00000000
00000000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0060:[<00000000>] Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010202
eax: c118a000 ebx: 00000000 ecx: 00000002 edx: c2665620
esi: 00000002 edi: 00000000 ebp: c0320540 esp: c9d6be08
ds: 0068 es: 0068 ss: 0068
Stack: c012fab3 c2665620 c118a000 00000000 00000002 c9d6a000 c12e83d0
c13e5da0
cbeb22b8 c12e83d0 00000004 00000002 00000000 00000000 80010dd8
00000002
c9d6bf54 00000002 00000000 c118a000 00000000 00000000 00000000
ffffffff
Call Trace: [<c012fab3>] [<c012f58b>] [<c012bc2e>] [<c012c384>] [<c012bdf0>]
[<c01301e3>] [<c013ef4c>] [<c010d25e>] [<c013f125>] [<c010793f>]
Code: Bad EIP value.


>>EIP; 00000000 Before first symbol

>>eax; c118a000 <_end+e4c83c/c5d883c>
>>edx; c2665620 <_end+2327e5c/c5d883c>
>>ebp; c0320540 <empty_aops.1+0/40>
>>esp; c9d6be08 <_end+9a2e644/c5d883c>

Trace; c012fab3 <generic_file_write_nolock+313/980>
Trace; c012f58b <filemap_nopage+1ab/260>
Trace; c012bc2e <do_no_page+14e/2a0>
Trace; c012c384 <vm_enough_memory+34/d0>
Trace; c012bdf0 <handle_mm_fault+70/90>
Trace; c01301e3 <generic_file_writev+43/60>
Trace; c013ef4c <do_readv_writev+14c/1f0>
Trace; c010d25e <old_mmap+de/120>
Trace; c013f125 <sys_writev+95/a0>
Trace; c010793f <syscall_call+7/b>


Best regards,
Axel Siebenwirth


Attachments:
(No filename) (3.47 kB)
.config (21.04 kB)
Download all attachments

2002-09-06 01:09:41

by Andrew Morton

[permalink] [raw]
Subject: Re: [OOPS:2.5.33-mm3] Oops with syslogd in generic_file_write_nolock

Axel Siebenwirth wrote:
>
> Hi Andrew,
>
> I just booted 2.5.33-mm3 and apparently when syslogd was started the
> following oops occurred.

Yup. The readv/writev "improvements" are hilariously broken. Suggest
you do a `patch -R' of
http://www.zip.com.au/~akpm/linux/patches/2.5/2.5.33/2.5.33-mm3/broken-out/filemap-integration.patch
and generally think ill of me.