Re: 2.6.0-test9-mm4 (only) and vmware

From: William Lee Irwin III
Date: Wed Nov 19 2003 - 20:48:38 EST


On Wed, Nov 19, 2003 at 05:34:25PM -0500, Christopher Li wrote:
> Can you send me a few more lines of the log file before and after that message? I can take
> a look at what is going on there. Most likely vmmon driver get confused.

You should have a vm_ops->nopage() method that didn't get updated.
The formerly-unused argument got turned into a status return pointer,
so you need to do something like:

struct page *vmmon_nopage(struct vm_area_struct *vma, unsigned long addr, int *type)
{
...
if (type)
*type = VM_FAULT_MINOR;
return page;
}

It should also give off a big fat warning about initialization from
incompatible pointer types when compiled.


-- wli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/