panic: pmap_page_protect: illegal for unmanaged page

Simon 'corecode' Schubert corecode at
Sat Jan 12 16:31:23 PST 2008

Matthew Dillon wrote:
:>    p.s. what are doing that is creating a device mapping in the first place?
:I'm trying and porting the nvidia binary graphics driver.  Right now I'm stuck debugging a memory overwrite error which seems to happen on the physical page level, but I'm not sure.
    That's gonna be really hard to port.  Those NVidia binary-only drivers
    are known to be full of bugs and without source there's no way to track
    them down or fix them.
Well, turned out it was my fault.  mmap_ops carries a_result as page frame number, not as byte offset.  I think that should be changed, but I have the feeling that you only recently changed this in the other way?  Using byte offsets would be easier to reason about, tho.

Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |      Against  HTML   \
Dude 2c 2 the max   !       Mail + News   / \

More information about the Bugs mailing list