From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268236AbUHUG3e (ORCPT ); Sat, 21 Aug 2004 02:29:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268424AbUHUG3e (ORCPT ); Sat, 21 Aug 2004 02:29:34 -0400 Received: from herkules.viasys.com ([194.100.28.129]:16578 "HELO mail.viasys.com") by vger.kernel.org with SMTP id S268236AbUHUG3a (ORCPT ); Sat, 21 Aug 2004 02:29:30 -0400 Date: Sat, 21 Aug 2004 09:29:27 +0300 From: Ville Herva To: Andrew Morton Cc: petr@vandrovec.name, linux-kernel@vger.kernel.org, Arjan van de Ven Subject: Re: 2.6.8.1-mm2 breaks vmware Message-ID: <20040821062927.GM23741@viasys.com> Reply-To: vherva@viasys.com References: <20040820104230.GH23741@viasys.com> <20040820035142.3bcdb1cb.akpm@osdl.org> <20040820131825.GI23741@viasys.com> <20040820144304.GF8307@viasys.com> <20040820151621.GJ23741@viasys.com> <20040820114518.49a65b69.akpm@osdl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040820114518.49a65b69.akpm@osdl.org> User-Agent: Mutt/1.4.1i X-Operating-System: Linux herkules.viasys.com 2.4.27 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 20, 2004 at 11:45:18AM -0700, you [Andrew Morton] wrote: > > > > --8<----------------------------------------------------------------------- > > vmmon: Your kernel is br0ken. get_user_pages(current, current->mm, b7dd1000, 1, 1, 0, &page, NULL) returned -14. > > vmmon: I'll try accessing page tables directly, but you should know that your > > vmmon: kernel is br0ken and you should uninstall all additional patches you vmmon: have installed! > > vmmon: FYI, copy_from_user(b7dd1000) returns 0 (if not 0 maybe your kernel is not br0ken) > > --8<----------------------------------------------------------------------- > > > > warning, but vmware appears to work now (well apart from altgr not working, > > but that has been broken since 2.4 -> 2.6 transition.) > > > > I'm still not 100% which of the patches causes that get_user_pages() > > warning. > > If you could work that out sometime, it would help. * 2.6.8.1-mm2 minus just dev-mem-restriction-patch.patch fixes the "cannot allocate memory" problem. * 2.6.8.1-mm2 minus dev-mem-restriction-patch.patch and get_user_pages-handle-VM_IO.patch fixes both the "cannot allocate memory" and "get_user_pages() returns -EFAULT" problems. "Cannot allocate memory" may be specific to older vmware 3.2.0 since it hasn't been reported by anyone else (even though the patch is present in Fedora). -- v -- v@iki.fi