From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Sriram Raghunathan <sraghuna@in.ibm.com>,
user-mode-linux-user@lists.sourceforge.net
Subject: Re: [uml-devel] Problem running SMP-UML (both skas & tt)
Date: Mon, 6 Jun 2005 18:13:34 +0200 [thread overview]
Message-ID: <200506061813.34693.blaisorblade@yahoo.it> (raw)
In-Reply-To: <OF2C0F2572.688466F1-ON65257018.00480279-65257018.0048CBFD@in.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 1280 bytes --]
On Monday 06 June 2005 15:26, Sriram Raghunathan wrote:
> Hi,
> We're having problems running UML with SMP enabled...(ie ncpus>1) on Suse
> Linux 9.0 with
> 2.6.5-7.97-smp (host kernel)
> We've built UML with linux-2.6.11.7 & have been unsuccessful running linux
> in either skas nor tt modes
> for SMP.
Well, for SKAS mode there is no support yet... for TT mode the support used to
work until recently, but is not very used because SKAS mode is usually
faster, so it's less debugged than it should be...
> Of-course, we have absolutely no problems when we're in single cpu
> mode with npcus=1.
> Here I would need to mention that when we enable debug, we get the
> following error message during
> linking stage:
> kernel/profile.c:387: undefined reference to `profile_pc".
> We went ahead & commented this out to get the build to work..would
> appreciate if somebody could point
> us to a patch. However this is not the crux of the problem we're facing.
The fixlet for this is attached... Sadly I cannot help for now on the bigger
picture, but I'll have a look on it.
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade
[-- Attachment #2: uml-add-profile-pc-i386.patch --]
[-- Type: text/x-diff, Size: 659 bytes --]
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
---
diff -puN include/asm-um/ptrace-i386.h~uml-add-profile-pc-i386 include/asm-um/ptrace-i386.h
--- clean-linux-2.6.11/include/asm-um/ptrace-i386.h~uml-add-profile-pc-i386 2005-06-06 17:57:23.000000000 +0200
+++ clean-linux-2.6.11-paolo/include/asm-um/ptrace-i386.h 2005-06-06 17:57:24.000000000 +0200
@@ -30,6 +30,10 @@
#define PT_REGS_SYSCALL_RET(r) PT_REGS_EAX(r)
#define PT_FIX_EXEC_STACK(sp) do ; while(0)
+/* Cope with a conditional i386 definition. */
+#undef profile_pc
+#define profile_pc(regs) PT_REGS_IP(regs)
+
#define user_mode(r) UPT_IS_USER(&(r)->regs)
#endif
_
prev parent reply other threads:[~2005-06-06 16:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-06 13:26 [uml-devel] Problem running SMP-UML (both skas & tt) Sriram Raghunathan
2005-06-06 16:13 ` Blaisorblade [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200506061813.34693.blaisorblade@yahoo.it \
--to=blaisorblade@yahoo.it \
--cc=sraghuna@in.ibm.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
--cc=user-mode-linux-user@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox