lkml.org 
[lkml]   [2002]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Oops iee1394 video1394 rmap
Rik van Riel [riel@conectiva.com.br] wrote:
> On Tue, 1 Oct 2002, Andrew Morton wrote:
>
> > This would appear to be a page which was mapped by remap_page_range().
> > It's not PageReserved, and it has no reverse mapping.
> >
> > I believe the right fix is to just delete the BUG check at rmap.c:280.
>
> Yes. I used to have this bugcheck in 2.4-rmap but removed it
> ages ago. I have no idea why it was reintroduced in 2.5...
>
It works fine, no surprises at all, I am doing a fresh mozilla compile, burning a CD,
playing music, and the camera works great!

Here is my pitiful patch. :)

--- mm/rmap.c.org 2002-10-01 13:28:54.000000000 -0700
+++ mm/rmap.c 2002-10-01 13:29:07.000000000 -0700
@@ -277,8 +277,6 @@

pte_chain_lock(page);

- BUG_ON(page->pte.direct == 0);
-
if (PageDirect(page)) {
if (page->pte.direct == pte_paddr) {
page->pte.direct = 0;
--
*--* Mail: lawrence@otak.com
*--* Voice: 425.739.4247
*--* Fax: 425.827.9577
*--* HTTP://www.otak-k.com/~lawrence/
--------------------------------------
- - - - - - O t a k i n c . - - - - -

-
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:29    [from the cache]
©2003-2011 Jasper Spaans