Re: Oops iee1394 video1394 rmap

From: Lawrence Walton (lawrence@the-penguin.otak.com)
Date: Tue Oct 01 2002 - 16:08:41 EST


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/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:28 EST