public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@suse.de>
To: Roman Zippel <zippel@linux-m68k.org>
Cc: Thunder from the hill <thunder@ngforever.de>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [CHECKER] 56 potential lock/unlock bugs in 2.5.8
Date: Fri, 12 Jul 2002 20:37:37 +0200	[thread overview]
Message-ID: <20020712203737.C18503@suse.de> (raw)
In-Reply-To: <Pine.LNX.4.44.0207122030040.8911-100000@serv>; from zippel@linux-m68k.org on Fri, Jul 12, 2002 at 08:32:20PM +0200

On Fri, Jul 12, 2002 at 08:32:20PM +0200, Roman Zippel wrote:
 > Which last few kernels? Was it a ffs or an ofs image? For ofs images you
 > have to call fsx with "-W -R" to disable mmap operations.

OFS afaik. Has this always been the case ? I'm sure I ran fsx without
disabling mmap before on this image, and it used to pass.

Second bad news, with the -W -R options, it goes splat in an
even more dramatic way.

    Dave.


Unable to handle kernel NULL pointer dereference at virtual address 00000008
c01f91a7
*pde = 00000000
Oops: 0000
CPU:    0
EIP:    0010:[<c01f91a7>]    Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010296
eax: c01f9198   ebx: 000006a0   ecx: cff6bea8   edx: 00000000
esi: c133acc0   edi: cd352524   ebp: cefb6c00   esp: cd0efe9c
ds: 0018   es: 0018   ss: 0018
Process fsx (pid: 908, stackpage=cd0ef000)
Stack: 000006a0 c133acc0 cd352524 cefb6c00 cd352524 c01f9a26 00000000 c133acc0        000006a0 000006a0 000186a0 00000000 cd352474 00000000 00000000 cd352474        00000000 000000cc c0123f01 00000002 c0123f60 cd352474 00000048 cd0eff74 Call Trace: [<c01f9a26>] [<c0123f01>] [<c0123f60>] [<c0144eab>] [<c01f7bdf>] 
   [<c0144fe0>] [<c0131669>] [<c0131907>] [<c0106b73>] 
Code: 8b 42 08 31 d2 8b 48 08 8b 74 24 1c 8b 46 18 a9 08 00 00 00 


>>EIP; c01f91a7 <affs_prepare_write_ofs+f/fc>   <=====

>>eax; c01f9198 <affs_prepare_write_ofs+0/fc>
>>ebx; 000006a0 Before first symbol
>>ecx; cff6bea8 <END_OF_CODE+fabb96c/????>
>>esi; c133acc0 <END_OF_CODE+e8a784/????>
>>edi; cd352524 <END_OF_CODE+cea1fe8/????>
>>ebp; cefb6c00 <END_OF_CODE+eb066c4/????>
>>esp; cd0efe9c <END_OF_CODE+cc3f960/????>

Trace; c01f9a26 <affs_truncate+a6/375>
Trace; c0123f01 <vmtruncate+9d/124>
Trace; c0123f60 <vmtruncate+fc/124>
Trace; c0144eab <inode_setattr+23/b0>
Trace; c01f7bdf <affs_notify_change+77/94>
Trace; c0144fe0 <notify_change+5c/dc>
Trace; c0131669 <do_truncate+4d/64>
Trace; c0131907 <sys_ftruncate+107/11c>
Trace; c0106b73 <system_call+33/40>

Code;  c01f91a7 <affs_prepare_write_ofs+f/fc>
00000000 <_EIP>:
Code;  c01f91a7 <affs_prepare_write_ofs+f/fc>   <=====
   0:   8b 42 08                  mov    0x8(%edx),%eax   <=====
Code;  c01f91aa <affs_prepare_write_ofs+12/fc>
   3:   31 d2                     xor    %edx,%edx
Code;  c01f91ac <affs_prepare_write_ofs+14/fc>
   5:   8b 48 08                  mov    0x8(%eax),%ecx
Code;  c01f91af <affs_prepare_write_ofs+17/fc>
   8:   8b 74 24 1c               mov    0x1c(%esp,1),%esi
Code;  c01f91b3 <affs_prepare_write_ofs+1b/fc>
   c:   8b 46 18                  mov    0x18(%esi),%eax
Code;  c01f91b6 <affs_prepare_write_ofs+1e/fc>
   f:   a9 08 00 00 00            test   $0x8,%eax



-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs

  reply	other threads:[~2002-07-12 18:34 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-11 21:35 [CHECKER] 56 potential lock/unlock bugs in 2.5.8 Dawson Engler
2002-07-11 21:54 ` Thunder from the hill
2002-07-11 22:21 ` Oliver Neukum
2002-07-11 23:14 ` Thunder from the hill
2002-07-11 23:32   ` Andreas Dilger
2002-07-11 23:45     ` Thunder from the hill
2002-07-11 23:41   ` Chris Wright
2002-07-12  0:21   ` Andrew Morton
2002-07-12  1:44     ` Arnaldo Carvalho de Melo
2002-07-12 17:40   ` Roman Zippel
2002-07-12 17:53     ` Thunder from the hill
2002-07-12 18:37       ` Roman Zippel
2002-07-12 18:05     ` Dave Jones
2002-07-12 18:32       ` Roman Zippel
2002-07-12 18:37         ` Dave Jones [this message]
2002-07-12 20:34           ` Roman Zippel
2002-07-12 20:48             ` Dave Jones
2002-07-12 21:30               ` Roman Zippel
2002-07-12 21:38                 ` Dave Jones
2002-07-12 21:56                   ` Roman Zippel
2002-07-12 22:14                     ` Dave Jones
2002-07-12 22:34                       ` Roman Zippel
2002-07-12 22:41                         ` Dave Jones
2002-07-12 13:17 ` David Woodhouse
2002-07-12 13:26   ` Thunder from the hill
  -- strict thread matches above, loose matches on Subject: below --
2002-07-11 22:32 Grover, Andrew
2002-07-11 23:26 ` Dawson Engler
     [not found] <200207112135.OAA03801@csl.Stanford.EDU.suse.lists.linux.kernel>
2002-07-11 22:34 ` Andi Kleen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020712203737.C18503@suse.de \
    --to=davej@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=thunder@ngforever.de \
    --cc=zippel@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox