linux-um archives
 help / color / mirror / Atom feed
From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net,
	William Stearns <wstearns@pobox.com>
Cc: Jeff Dike <jdike@addtoit.com>, Anthony Brock <Anthony_Brock@ous.edu>
Subject: Re: [uml-devel] Recent patches of note
Date: Mon, 20 Jun 2005 23:31:24 +0200	[thread overview]
Message-ID: <200506202331.26053.blaisorblade@yahoo.it> (raw)
In-Reply-To: <Pine.LNX.4.63.0506201233410.7343@sparrow>

On Monday 20 June 2005 19:59, William Stearns wrote:
> Good afternoon, all,
>
> On Mon, 20 Jun 2005, Jeff Dike wrote:
> > On Thu, Jun 16, 2005 at 03:36:24PM -0700, Anthony Brock wrote:
> >> Second, I'm once again enountering problems with launch the UML
> >> instance. It likes to hang at:
> >>
> >>
> >> Checking that ptrace can change system call numbers...OK
> >> Checking syscall emulation patch for ptrace...OK
> >> Checking advanced syscall emulation patch for ptrace...OK
> >> Checking if syscall restart handling in host can be skipped...OK
> >> Checking for the skas3 patch in the host:
> >>   - /proc/mm...found
> >>   - PTRACE_FAULTINFO...found
> >>   - PTRACE_LDT...found
> >> Checking PROT_EXEC mmap in /tmp...OK
> >
> > I remembered what this was about.  Disable CONFIG_I8042, under -
> > 	UML-specific options
> > 	Input device support
> > 	Hardware I/O ports
> > 	i8042 PC Keyboard controller
> >
> > This is a UML bug which I haven't tracked down yet.
>
>  	Just for reference, that's CONFIG_SERIO_I8042 on 2.6 kernels.
>  	I disabled that on the kernel that was giving me the same hang
> point on x86_64 and....  same hang.  I turned off all the other hardware
> options in that menu (serial port, game port) and.... hmmm.  A kernel that
> was at least successfully building before is now:
>
>    CC      arch/um/sys-x86_64/signal.o
> arch/um/sys-x86_64/signal.c: In function 'setup_signal_stack_si':
> arch/um/sys-x86_64/signal.c:171: error: invalid lvalue in assignment
> make[1]: *** [arch/um/sys-x86_64/signal.o] Error 1
> make: *** [arch/um/sys-x86_64] Error 2
>
>  	The line in question is the ((unsigned char... :

That's a removed extension with GCC 4, so upgrading to FC4 is exactly the 
reason...

Replace the offending line with

frame -= 128 / sizeof(*frame);

And it should compile. In which case, Jeff may like a patch (or at least an 
ACK to do it himself).

>          frame = (struct rt_sigframe __user *)
>                  round_down(stack_top - sizeof(struct rt_sigframe), 16) -
> 8; ((unsigned char *) frame) -= 128;
>
>          if (!access_ok(VERIFY_WRITE, fp, sizeof(struct _fpstate)))
>                  goto out;

>  	I'm reasonably sure this showed up because I upgraded to fc4 at
> the end of last week - sorry about that.

-- 
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

		
___________________________________ 
Yahoo! Messenger: chiamate gratuite in tutto il mondo 
http://it.beta.messenger.yahoo.com



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2005-06-20 21:26 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <s2b19c99.097@ORANGE.OUS.EDU>
2005-06-20 14:53 ` [uml-devel] Recent patches of note Jeff Dike
2005-06-20 17:59   ` William Stearns
2005-06-20 21:31     ` Blaisorblade [this message]
     [not found] <s2b6982e.048@ORANGE.OUS.EDU>
2005-06-20 20:11 ` Jeff Dike
     [not found] <s2b1a1ed.010@ORANGE.OUS.EDU>
2005-06-20 14:47 ` Jeff Dike
2005-06-16 22:59 Anthony Brock
     [not found] <s2b18c1b.063@ORANGE.OUS.EDU>
2005-06-16 22:13 ` Jeff Dike
  -- strict thread matches above, loose matches on Subject: below --
2005-06-16 16:07 Jeff Dike
2005-06-16 17:36 ` Bodo Stroesser
2005-06-16 17:47   ` Jeff Dike
2005-06-16 17:55     ` Bodo Stroesser
2005-06-16 18:02       ` Bodo Stroesser
2005-06-16 18:09       ` Blaisorblade
2005-06-16 18:31         ` Bodo Stroesser
2005-06-16 18:41           ` Blaisorblade
2005-06-16 18:40             ` Bodo Stroesser
2005-06-16 18:51               ` Blaisorblade
2005-06-16 22:23                 ` Jeff Dike
2005-06-17  9:09                   ` Bodo Stroesser
2005-06-17 18:36                   ` Blaisorblade
2005-06-17  0:35         ` Jeff Dike
2005-06-17 18:40           ` Blaisorblade

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=200506202331.26053.blaisorblade@yahoo.it \
    --to=blaisorblade@yahoo.it \
    --cc=Anthony_Brock@ous.edu \
    --cc=jdike@addtoit.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    --cc=wstearns@pobox.com \
    /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