From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DNybQ-0003IA-EB for user-mode-linux-devel@lists.sourceforge.net; Tue, 19 Apr 2005 12:41:44 -0700 Received: from smtp003.mail.ukl.yahoo.com ([217.12.11.34]) by sc8-sf-mx2.sourceforge.net with smtp (Exim 4.41) id 1DNybM-00019g-K3 for user-mode-linux-devel@lists.sourceforge.net; Tue, 19 Apr 2005 12:41:44 -0700 From: Blaisorblade Subject: Re: [uml-devel] Problems with UML on Debian Sarge 64 host References: <200504142307.11927.blaisorblade@yahoo.it> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200504191805.35299.blaisorblade@yahoo.it> Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue, 19 Apr 2005 18:05:35 +0200 To: Ian McDonald Cc: user-mode-linux-devel@lists.sourceforge.net On Friday 15 April 2005 06:56, Ian McDonald wrote: > Comments inline > > On 15/04/05, Blaisorblade wrote: > > On Thursday 14 April 2005 06:25, Ian McDonald wrote: > > > Hi there, > > > The problem is that my bootup dies very early on and this is the total > > > output: Checking for /proc/mm...not found > > > Checking PROT_EXEC mmap in /tmp...OK > > > tracing thread pid = 20981 > > > OP_FORK failed to attach pid > > > I suspect that this is something to do with my mixed 32/64 bit > > > environment but I am not sure... Can anybody shed some light on this? > > > > I've seen that *sometimes* too on 64-bit envs., tried doing a "setarch > > i386 linux" or something like that, to force a 32-bit emulation? > setarch isn't on this machine and I can't find the equivalent command for > sarge. Tried installing the needed package? On SUSE it's called "linux32". Also, tried compiling UML itself on a real 32-bit box (with static linking, obviously)? > > Tried disabling the ptrace proxy in compilation, as the first thing? > Tried that and no difference. Note that 2.6.11.x with bs4 doesn't > compile with this option showing unless you set FRAME_POINTER to n. > You get an error such as: > kernel/built-in.o(.text+0x83f4): In function `profile_tick': > kernel/profile.c:387: undefined reference to `profile_pc' Hmm, interesting... However, the more likely culprit is CONFIG_SMP: include/asm-i386/ptrace.h #if defined(CONFIG_SMP) && defined(CONFIG_FRAME_POINTER) extern unsigned long profile_pc(struct pt_regs *regs); #else #define profile_pc(regs) instruction_pointer(regs) #endif instruction_pointer is defined, profile_pc is not. > The only way I could find to set this option to n was hacking the > autoconf.h file... Disable CONFIG_DEBUG_INFO and FRAME_POINTER should become 'n'. > So still no 32 bit UML... will try 64 bit (once I get access to the 64 > bit compiler) and see if I can get that to work.... Let me recall: you *did* succeed on your older fully-32bit Debian Woody system, right? Or did I leave something unfixed behind? -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel