Re: Oops iee1394 video1394 rmap

Lawrence Walton (lawrence@the-penguin.otak.com)
Tue, 1 Oct 2002 14:08:41 -0700


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/