linux-um archives
 help / color / mirror / Atom feed
From: Antoine Martin <antoine@nagafix.co.uk>
To: Andrew Sinclair <Andrew.Sinclair@elprotech.com>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Building a UML uClinux(Busybox/uClibc) filesystem
Date: Thu, 07 Jun 2007 10:04:33 +0100	[thread overview]
Message-ID: <4667CA21.80506@nagafix.co.uk> (raw)
In-Reply-To: <7EDC24AB1ED682439657D3B7790609D39825E6@deepthought.Elpro.local>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Andrew Sinclair wrote:
> Hello all,
> 
> I've been able to use the pre-built Busybox 1.5.0 filesystem at
> http://uml.nagafix.co.uk/ perfectly with the same UML kernel I am using.
> 
> 
> Unfortunately, when trying to generate my own filesystem, my kernel no
> longer works. It basically stops after mounting the filesystem. 
You may want to diff the config I used with yours:
http://uml.nagafix.co.uk/BusyBox-1.5.0/amd64.config
And see if anything major turns up.

> When I try and use gdb to debug I get stuck in
> arch/um/include/um_uaccess.h:50
> 
> static inline int copy_to_user(void __user *to, const void *from, int n)
> {
>         return(CHOOSE_MODE_PROC(copy_to_user_tt, copy_to_user_skas, to, 
>                                 from, n));
> }
> 
> If I put the kernel in tracing thread mode, to avoid this, it falls over
> even with the prebuilt nagafix filesystem.
> 
> I have been unable to build the automated Busybox root filesystem
> builder (based on buildroot) on
> http://user-mode-linux.sourceforge.net/contrib.html
> A number of the package download links in the makefile no longer exist,
> so I searched the web for the packages from other locations. Perhaps I
> have the wrong packages. I have got it to the point where it is looking
> for a uml-gcc that is not in the build folder.
> 
> I've noticed that the nagafix prebuilt filesystem has no lib folder. I
> guess this means that the pre-built filesystem was built with glibc?
> (Unlike the mine or the buildroot variant which use uClibc)
IIRC, that's because it was built with the static option.

Antoine
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGZ8ohGK2zHPGK1rsRCsvVAJ41jb7jbHZw43BDZOFcijTAcOdqiQCcCac2
sAL2R+IFI5FTd4IbGmrdRnA=
=ODDY
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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:[~2007-06-07  9:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-07  7:57 [uml-devel] Building a UML uClinux(Busybox/uClibc) filesystem Andrew Sinclair
2007-06-07  9:04 ` Antoine Martin [this message]
2007-07-01 23:38   ` [uml-devel] Problems with dynamic linking applications for UML Andrew Sinclair
2007-07-02 17:55     ` Jeff Dike
2007-06-07 13:09 ` [uml-devel] Building a UML uClinux(Busybox/uClibc) filesystem Jeff Dike

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=4667CA21.80506@nagafix.co.uk \
    --to=antoine@nagafix.co.uk \
    --cc=Andrew.Sinclair@elprotech.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