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

From: William Lee Irwin III
Date: Thu Nov 20 2003 - 18:04:50 EST


On Thu, Nov 20, 2003 at 11:53:54PM +0100, Jose Luis Domingo Lopez wrote:
> I untarred it to /tmp and, as root, I run:
> /tmp/vmware-any-any-update45/runme.pl
> Then the script stopped VMware services, went to recompile both vmnet.o
> and vmmon.o, and then started the services again.
> Launched VMware as usual, tried to boot the same guest operating system
> I used on yesterday's BUG report, and got the messages in the log.
> What I am going to try now is to completely uninstall VMware, install it
> from scratch and apply vmware-any-any-update45.tar.gz and see how it goes
> (to avoid previously applied patches or manual modifications to VMware
> sources done by me making some difference).
[...]

Okay, try this fix:


diff -prauN mm4-2.6.0-test9-1/mm/memory.c mm4-2.6.0-test9-default-2/mm/memory.c
--- mm4-2.6.0-test9-1/mm/memory.c 2003-11-19 00:07:15.000000000 -0800
+++ mm4-2.6.0-test9-default-2/mm/memory.c 2003-11-19 18:08:49.000000000 -0800
@@ -1424,7 +1424,7 @@ do_no_page(struct mm_struct *mm, struct
pte_t entry;
struct pte_chain *pte_chain;
int sequence = 0;
- int ret;
+ int ret = VM_FAULT_MINOR;

if (!vma->vm_ops || !vma->vm_ops->nopage)
return do_anonymous_page(mm, vma, page_table,
-
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/