linux-um archives
 help / color / mirror / Atom feed
From: BlaisorBlade <blaisorblade_spam@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Jeff Garzik <jgarzik@pobox.com>, Jeff Dike <jdike@addtoit.com>
Subject: Re: [uml-devel] Current state of UML
Date: Mon, 6 Sep 2004 19:56:34 +0200	[thread overview]
Message-ID: <200409061956.34557.blaisorblade_spam@yahoo.it> (raw)
In-Reply-To: <413B76DB.5010600@pobox.com>

On Sunday 05 September 2004 22:28, Jeff Garzik wrote:
> Just a FWIW...

Thanks a lot anyway! We need eagerly mainline developer which help us, in any 
way (even comments).

> Using the latest UML code in 2.6.x BitKeeper (2.6.9-rc1-bk), things are
> looking pretty darn good.  I was able to boot a Fedora Core userland
> with "init=/bin/sh", set up networking easily [uml_net helper worked],
> and ssh into my virtual host.

> To problems, one major and two minor:

> (major)
> 1) Using standard Fedora Core SysvInit, rc.sysinit will proceed to
> completion, then the userland boot halts.  ps shows the virtual host's
> /sbin/init process in constant run state, chewing CPU time like mad.
> Didn't investigate further, simply booted with init=/bin/sh and moved on.

> (minor)
> 2) The Makefiles appear to add "-um1" to the kernel version for some
> reason, and IMHO violates the Principle of Least Surprise.  This breaks
> several of my scripts :(

Yes, this should not have gone in mainline (it made sense when releasing 
separate UML patches). I'm queueing the fix to Andrew Morton.

I guess that future separate UML patches (just for updates) will have to 
insert their extraversion to Makefile rather than arch/um/Makefile.

> 3) The arch/um build is verbose, showing each gcc command line as it is
> executed.  This is incorrect when KBUILD_VERBOSE or similar setting are
> not enabled.  As a result, the arch/um is verbose, but the rest is not,
> by default.
There is a ton of problems with kbuild in UML - actually it must build a lot 
of files against userspace headers, and there isn't a kbuild support for 
that. This means for instance that files are not rebuilt when CONFIG_* 
changes, when a header changes and so on.

I've just implemented a patch which simply makes the output nice, but I'm not 
sure whether it should be included.

Some time ago I implemented a rough version of a good patch (which fixed all 
the above problems, but in an unclean way), but nobody liked it, and moreover 
Jeff Dike said that:
1) he did not want to modify kbuild for UML only

2) he was going to build an abstraction layer, which would build with 
userspace includes and would be restricted to arch/um/os-*/, and then the 
Makefile hacks would have been done only for that folder.

> Overall I am really impressed.  Like other arches in the Linux kernel,
> it is IMO very important to be able to work "out of the box", without
> patches.

-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&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:[~2004-09-06 18:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-19  3:00 [uml-devel] uml-patch-2.6.7-2 Jeff Dike
2004-08-27  7:10 ` Werner Almesberger
2004-09-05 19:35   ` BlaisorBlade
2004-09-08 23:15     ` Jeff Dike
2004-09-05 15:35 ` BlaisorBlade
2004-09-05 20:28   ` [uml-devel] Current state of UML Jeff Garzik
2004-09-06 17:56     ` BlaisorBlade [this message]
2004-09-07  4:40       ` Jeff Garzik
2004-09-07  5:05         ` Adam Heath
2004-09-07  5:13           ` Jeff Garzik
2004-09-07  5:39             ` Adam Heath
2004-09-07 18:13       ` [uml-devel] Current state of UML - some help needed from mainline BlaisorBlade
2004-09-09  5:30         ` Jeff Garzik
2004-09-08 20:40     ` [uml-devel] Re: Current state of UML Jeff Dike
2004-09-09  0:35   ` [uml-devel] uml-patch-2.6.7-2 Jeff Dike
2004-09-11 14:41     ` BlaisorBlade
2004-09-07 21:16 ` [uml-devel] Compiling UML 2.6.8.1 with Static Linking results in segfault Michael Ralston
2004-09-08  0:18   ` Jeff Dike
2004-09-07 23:57     ` Michael Ralston

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=200409061956.34557.blaisorblade_spam@yahoo.it \
    --to=blaisorblade_spam@yahoo.it \
    --cc=jdike@addtoit.com \
    --cc=jgarzik@pobox.com \
    --cc=user-mode-linux-devel@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