public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: marcel cotta <mc123@mail.ru>
To: Hugh Dickins <hugh@veritas.com>
Cc: Good Oleg <olecom.gnu-linux@mail.ru>,
	Andrew Morton <akpm@osdl.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [BUG]: kernel BUG at mm/swapfile.c:806! (2.6)
Date: Fri, 06 Feb 2004 16:57:21 +0100	[thread overview]
Message-ID: <4023B961.2090103@mail.ru> (raw)
In-Reply-To: <Pine.LNX.4.44.0402060701290.2888-100000@localhost.localdomain>

Hugh Dickins wrote:
> On Fri, 6 Feb 2004, [koi8-r] "Good Oleg[koi8-r] "  wrote:
> 
> 
>>PC(see below) 256Mib of RAM, linux-2.6.2, 300Mib swap file (swapon /mnt/swap/swap)
>>When programs cause big memory usage i have this
>>(since my 2.4.22 to 2.6.0-test11 migration):
>>
>>Feb  6 02:26:27 gluon kernel: ------------[ cut here ]------------
>>Feb  6 02:26:27 gluon kernel: kernel BUG at mm/swapfile.c:806!
>>Feb  6 02:26:27 gluon kernel: invalid operand: 0000 [#1]
>>Feb  6 02:26:27 gluon kernel: CPU:    0
>>Feb  6 02:26:27 gluon kernel: EIP:    0060:[<c015c7c4>]    Tainted: PFS
>>Feb  6 02:26:27 gluon kernel: EFLAGS: 00010246
>>Feb  6 02:26:27 gluon kernel: EIP is at map_swap_page+0x34/0x60
> 
> 
> [ helpful info snipped ]
> 
> Interesting, thank you.  That's the second report (first on 16 Jan,
> and in that case Not Tainted).  I looked around and found some bugs in
> the swapfile page accounting (if swapfile filesystem blocksize < 4k:
> is yours?  never heard back from Marcel on that) - still intermittently
> working on and testing the fixes there - but in the end nothing which
> would actually cause this BUG.  Was rather thinking it came from slab
> corruption, but a second report makes that (a little) less likely.
> I'll look again later on, but other eyes may find it sooner.
> 
> Hugh
> 
> 
> 

oops, i thought i told you that my blocksize is exactly 4k - sorry

btw, i hit this bug again a few days after i reported it
one time it went crazy and oopsed 8 times in about 8 minutes

i think it only happened when the system was swapping heavily
(swapd creating new swapfiles as fast as it could) and i manually
swapon'ed another (bigger, ~50MB) swapfile by hand

marcel

  reply	other threads:[~2004-02-06 15:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-06  1:29 [BUG]: kernel BUG at mm/swapfile.c:806! (2.6) "Good Oleg" 
2004-02-06  1:57 ` Andrew Morton
2004-02-06  2:40 ` Rik van Riel
2004-02-06  7:21 ` Hugh Dickins
2004-02-06 15:57   ` marcel cotta [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-02-06 18:36 "Good Oleg" 
2004-02-06 21:36 ` Hugh Dickins

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=4023B961.2090103@mail.ru \
    --to=mc123@mail.ru \
    --cc=akpm@osdl.org \
    --cc=hugh@veritas.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olecom.gnu-linux@mail.ru \
    /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