lkml.org 
[lkml]   [2004]   [Feb]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 06 Feb 2004 16:57:21 +0100
Frommarcel cotta <>
SubjectRe: [BUG]: kernel BUG at mm/swapfile.c:806! (2.6)
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:00    [from the cache]
©2003-2008