From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GASMM-0007B9-1s for user-mode-linux-devel@lists.sourceforge.net; Tue, 08 Aug 2006 07:15:06 -0700 Received: from mx1.suse.de ([195.135.220.2]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GASMJ-0000Bc-HH for user-mode-linux-devel@lists.sourceforge.net; Tue, 08 Aug 2006 07:15:05 -0700 From: Andi Kleen Date: Tue, 8 Aug 2006 16:14:47 +0200 References: <20060808140335.81959.qmail@web25219.mail.ukl.yahoo.com> In-Reply-To: <20060808140335.81959.qmail@web25219.mail.ukl.yahoo.com> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200608081614.47518.ak@suse.de> Subject: Re: [uml-devel] [PATCH 1/3] uml: use -mcmodel=kernel for x86_64 List-Id: The user-mode Linux development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: user-mode-linux-devel-bounces@lists.sourceforge.net Errors-To: user-mode-linux-devel-bounces@lists.sourceforge.net To: Paolo Giarrusso Cc: Jeff Dike , linux-kernel@vger.kernel.org, user-mode-linux-devel@lists.sourceforge.net On Tuesday 08 August 2006 16:03, Paolo Giarrusso wrote: > Andi Kleen ha scritto: > > > Paolo 'Blaisorblade' Giarrusso writes: > > > > > From: Paolo 'Blaisorblade' Giarrusso > > > > > > We have never used this flag and recently one user experienced a > > complaining > > > warning about this (there was a symbol in the positive half of > > the address space > > > IIRC). So fix it. > > > > You can't use kernel cmodel in user space. It requires running on > > negative > > virtual addresses. I would be surprised if it worked for you. > > Argh, yes, I didn't test the patch and I didn't think to it a lot. So > what about the following bug? Should we hack our own module loader > based on x86-64's one? Add the positive relocations to the standard x86-64 loader and send me a patch. Then you can reuse it. That should be cleaner than forking it -Andi ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964893AbWHHOPB (ORCPT ); Tue, 8 Aug 2006 10:15:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964907AbWHHOPB (ORCPT ); Tue, 8 Aug 2006 10:15:01 -0400 Received: from ns.suse.de ([195.135.220.2]:50084 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S964893AbWHHOPA (ORCPT ); Tue, 8 Aug 2006 10:15:00 -0400 From: Andi Kleen To: Paolo Giarrusso Subject: Re: [PATCH 1/3] uml: use -mcmodel=kernel for x86_64 Date: Tue, 8 Aug 2006 16:14:47 +0200 User-Agent: KMail/1.9.3 Cc: Jeff Dike , linux-kernel@vger.kernel.org, user-mode-linux-devel@lists.sourceforge.net References: <20060808140335.81959.qmail@web25219.mail.ukl.yahoo.com> In-Reply-To: <20060808140335.81959.qmail@web25219.mail.ukl.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608081614.47518.ak@suse.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 08 August 2006 16:03, Paolo Giarrusso wrote: > Andi Kleen ha scritto: > > > Paolo 'Blaisorblade' Giarrusso writes: > > > > > From: Paolo 'Blaisorblade' Giarrusso > > > > > > We have never used this flag and recently one user experienced a > > complaining > > > warning about this (there was a symbol in the positive half of > > the address space > > > IIRC). So fix it. > > > > You can't use kernel cmodel in user space. It requires running on > > negative > > virtual addresses. I would be surprised if it worked for you. > > Argh, yes, I didn't test the patch and I didn't think to it a lot. So > what about the following bug? Should we hack our own module loader > based on x86-64's one? Add the positive relocations to the standard x86-64 loader and send me a patch. Then you can reuse it. That should be cleaner than forking it -Andi