DragonFly bugs List (threaded) for 2008-01
DragonFly BSD
DragonFly bugs List (threaded) for 2008-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: panic: pmap_page_protect: illegal for unmanaged page


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Sun, 13 Jan 2008 01:29:22 +0100

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.


cheers
 simon

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]