Menu

#3 kernel access bad area if low memory

open
None
7
2004-04-21
2004-04-15
Anonymous
No

Using kernel 2.4.24 for ppc
in situations where memory is going very low
we got:
__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
Oops: kernel access of bad area, sig:
11
...
Decoded NIP and BACKTRACE are at:
(gdb) info symbol 0xc003c36c
try_to_free_buffers + 20 in section
.text
(gdb) info symbol 0xc0069df8
ext2_get_cluster_extra_pages + 320 in section
.text
(gdb) info symbol 0xc0063c38
ext2_readpage + 1128 in section
.text
...
Some error paths in inode.c
and compress.c are erroneous
but easy to fix.
Some variables are unsigned and
test for negative does not work.

I uploaded the patch.
Contact me if more info needed.
Thanks

guy.bilodeau@colubris.com

Discussion

  • Nobody/Anonymous

    fix low memory path inode.c/compress.c

     
  • Paul Whittaker

    Paul Whittaker - 2004-04-21
    • priority: 5 --> 7
    • assigned_to: nobody --> whitpa
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.