From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HTZTc-0001Vo-17 for user-mode-linux-devel@lists.sourceforge.net; Tue, 20 Mar 2007 01:13:52 -0700 Received: from sainfoin.extra.cea.fr ([132.166.172.103]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HTZTb-0007yV-7K for user-mode-linux-devel@lists.sourceforge.net; Tue, 20 Mar 2007 01:13:51 -0700 Received: from nephilia.intra.cea.fr (nephilia.intra.cea.fr [132.166.88.33]) by sainfoin.extra.cea.fr (8.13.7/8.13.4/CEAnet-Internet.7.0) with ESMTP id l2K8DcDt022986 for ; Tue, 20 Mar 2007 09:13:38 +0100 (MET) Received: from muguet.saclay.cea.fr (muguet.saclay.cea.fr [132.166.192.6]) by nephilia.intra.cea.fr (8.13.8/8.13.8) with ESMTP id l2K8Db3H003453 for ; Tue, 20 Mar 2007 09:13:37 +0100 (envelope-from jc.lafoucriere@cea.fr) Received: from zia.bruyeres.cea.fr (esteban.dam.intra.cea.fr [132.165.76.10]) by muguet.saclay.cea.fr (8.13.8/8.13.4/CEAnet-internes.7.0) with SMTP id l2K8Dbr5013307 for ; Tue, 20 Mar 2007 09:13:37 +0100 (MET) Message-ID: <45FF977C.7050605@cea.fr> Date: Tue, 20 Mar 2007 09:12:44 +0100 From: Jacques-Charles Lafoucriere MIME-Version: 1.0 References: <45FE5141.3030007@cea.fr> <20070319174857.GE11790@c2.user-mode-linux.org> In-Reply-To: <20070319174857.GE11790@c2.user-mode-linux.org> Subject: Re: [uml-devel] 2.6.18 UML machine on FC6 host List-Id: The user-mode Linux development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0631701865==" Sender: user-mode-linux-devel-bounces@lists.sourceforge.net Errors-To: user-mode-linux-devel-bounces@lists.sourceforge.net To: Jeff Dike Cc: user-mode-linux-devel@lists.sourceforge.net This is a multi-part message in MIME format. --===============0631701865== Content-Type: multipart/alternative; boundary="------------030605060009030803010903" This is a multi-part message in MIME format. --------------030605060009030803010903 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I applied the patch to a 2.6.20 kernel and tried the 2.6.21-rc4 and still have the issue The UML machine is in an infinite loop ptrace(PTRACE_GETREGS, 16641, 0, 0x9dc5974) = 0 ptrace(PTRACE_GETFPXREGS, 16641, 0, 0x9dc5a24) = 0 ptrace(PTRACE_CONT, 16641, 0, SIGSEGV) = 0 waitpid(16641, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGUSR1}], WSTOPPED) = 16641 --- SIGCHLD (Child exited) @ 0 (0) --- ptrace(PTRACE_SETREGS, 16641, 0, 0x9dc5974) = 0 ptrace(PTRACE_SETFPXREGS, 16641, 0, 0x9dc5a24) = 0 ptrace(0x1f /* PTRACE_??? */, 16641, 0, 0) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(16641, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGSEGV}], WSTOPPED) = 16641 ptrace(PTRACE_GETREGS, 16641, 0, 0x9dc5974) = 0 ptrace(PTRACE_GETFPXREGS, 16641, 0, 0x9dc5a24) = 0 ptrace(PTRACE_CONT, 16641, 0, SIGSEGV) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- Do I have to change things on my host machine ? (I use 2.6.18-1.2798 with no skas3 patch) Jeff Dike wrote: > On Mon, Mar 19, 2007 at 10:00:49AM +0100, Jacques-Charles Lafoucriere wrote: > >> I am trying to build and run a UML 2.6.18 machine on a FC6 host. >> (2.6.18-1.2798) >> > > Why are you insisting on a 2.6.18 UML? > > >> I have tried many patches from the list and was not able to be successful >> (hang after VFS: Mounted root (ext3 filesystem) readonly.) >> > > Try 2.6.21-rc4 or this patch: > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=14251809b1921b1216568700f1be2f91a1cbb5c7 > > >> Does the host need a special patch to run recent UML kernel or is it >> only an issue in the UML machine ? >> > > It was a bug in UML's handing of newer host VDSOs. > > Jeff > > --------------030605060009030803010903 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi,

I applied the patch to a 2.6.20 kernel and tried the 2.6.21-rc4 and still have the issue

The UML machine is in an infinite loop

ptrace(PTRACE_GETREGS, 16641, 0, 0x9dc5974) = 0
ptrace(PTRACE_GETFPXREGS, 16641, 0, 0x9dc5a24) = 0
ptrace(PTRACE_CONT, 16641, 0, SIGSEGV)  = 0
waitpid(16641, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGUSR1}], WSTOPPED) = 16641
--- SIGCHLD (Child exited) @ 0 (0) ---
ptrace(PTRACE_SETREGS, 16641, 0, 0x9dc5974) = 0
ptrace(PTRACE_SETFPXREGS, 16641, 0, 0x9dc5a24) = 0
ptrace(0x1f /* PTRACE_??? */, 16641, 0, 0) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(16641, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGSEGV}], WSTOPPED) = 16641
ptrace(PTRACE_GETREGS, 16641, 0, 0x9dc5974) = 0
ptrace(PTRACE_GETFPXREGS, 16641, 0, 0x9dc5a24) = 0
ptrace(PTRACE_CONT, 16641, 0, SIGSEGV)  = 0
--- SIGCHLD (Child exited) @ 0 (0) ---

Do I have to change things on my host machine ? (I use 2.6.18-1.2798 with no skas3 patch)


Jeff Dike wrote:
On Mon, Mar 19, 2007 at 10:00:49AM +0100, Jacques-Charles Lafoucriere wrote:
  
I am trying to build and run a UML 2.6.18 machine on a FC6 host. 
(2.6.18-1.2798)
    

Why are you insisting on a 2.6.18 UML?

  
I have tried many patches from the list and was not able to be successful
(hang after VFS: Mounted root (ext3 filesystem) readonly.)
    

Try 2.6.21-rc4 or this patch:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=14251809b1921b1216568700f1be2f91a1cbb5c7

  
Does the host need a special patch to run recent UML kernel or is it 
only an issue in the UML machine ?
    

It was a bug in UML's handing of newer host VDSOs.

				Jeff

  
--------------030605060009030803010903-- --===============0631701865== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV --===============0631701865== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel --===============0631701865==--