From: Nick Piggin <nickpiggin@yahoo.com.au>
To: wixor <wixorpeek@gmail.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>,
Arjan van de Ven <arjan@infradead.org>,
JosephChan@via.com.tw, linux-kernel@vger.kernel.org
Subject: Re: viafb triggers BUG at mm/vmalloc.c:294 [kernel 2.6.28.3]
Date: Mon, 9 Feb 2009 16:59:20 +1100 [thread overview]
Message-ID: <200902091659.21446.nickpiggin@yahoo.com.au> (raw)
In-Reply-To: <c43b2e150902080225kefc3f0bk89aa270397bcc33f@mail.gmail.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1510 bytes --]
On Sunday 08 February 2009 21:25:13 wixor wrote:> No, it didn't help really. Even with vmalloc=300M after a couple> modprobe/rmmods i got the same BUG. And I didn't manage to get> anything on display. Moreover, rmmod doesn't bring back the vga> console.
Thanks for reporting. I have a fix for this bug which is anoverflow issue reported by XFS guys... I've just been holdingoff merging it because they still seem to have a problemwith vmap that I'm trying to track down.
But if you could test this patch, it would be appreciated.
Thanks,Nick
--- mm/vmalloc.c | 6 ++++++ 1 file changed, 6 insertions(+)
Index: linux-2.6/mm/vmalloc.c===================================================================--- linux-2.6.orig/mm/vmalloc.c+++ linux-2.6/mm/vmalloc.c@@ -334,6 +334,9 @@ retry: addr = ALIGN(vstart, align); spin_lock(&vmap_area_lock);+ if (addr + size < addr)+ goto overflow;+ /* XXX: could have a last_hole cache */ n = vmap_area_root.rb_node; if (n) {@@ -365,6 +368,8 @@ retry: while (addr + size > first->va_start && addr + size <= vend) { addr = ALIGN(first->va_end + PAGE_SIZE, align);+ if (addr + size < addr)+ goto overflow; n = rb_next(&first->rb_node); if (n)@@ -375,6 +380,7 @@ retry: } found: if (addr + size > vend) {+overflow: spin_unlock(&vmap_area_lock); if (!purged) { purge_vmap_area_lazy();\0ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
next prev parent reply other threads:[~2009-02-09 5:59 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-07 19:44 viafb triggers BUG at mm/vmalloc.c:294 [kernel 2.6.28.3] wixor
2009-02-07 20:06 ` Alexey Dobriyan
2009-02-07 20:17 ` wixor
2009-02-07 20:56 ` Alexey Dobriyan
2009-02-07 21:45 ` wixor
2009-02-07 22:46 ` Alexey Dobriyan
2009-02-07 22:52 ` wixor
2009-02-08 0:40 ` Arjan van de Ven
2009-02-08 10:09 ` wixor
2009-02-08 10:25 ` wixor
2009-02-09 5:59 ` Nick Piggin [this message]
2009-02-09 10:06 ` wixor
2009-02-09 10:54 ` Nick Piggin
2009-02-09 11:48 ` wixor
2009-02-09 12:34 ` Nick Piggin
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=200902091659.21446.nickpiggin@yahoo.com.au \
--to=nickpiggin@yahoo.com.au \
--cc=JosephChan@via.com.tw \
--cc=adobriyan@gmail.com \
--cc=arjan@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=wixorpeek@gmail.com \
/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