linux-um archives
 help / color / mirror / Atom feed
From: Jeff Dike <jdike@addtoit.com>
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, 7 Jun 2007 09:09:12 -0400	[thread overview]
Message-ID: <20070607130912.GA5408@c2.user-mode-linux.org> (raw)
In-Reply-To: <7EDC24AB1ED682439657D3B7790609D39825E6@deepthought.Elpro.local>

On Thu, Jun 07, 2007 at 05:57:19PM +1000, Andrew Sinclair wrote:
> Unfortunately, when trying to generate my own filesystem, my kernel no
> longer works. It basically stops after mounting the filesystem. 
> 
> 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));
> }

I'm guessing gdb is stopping because it sees a segfault there:

(gdb) handle SIGSEGV pass nostop noprint

Segfaults within UML are normal, and gdb should just ignore them.

				Jeff

-- 
Work email - jdike at linux dot intel dot com

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

      parent reply	other threads:[~2007-06-07 13:18 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
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 ` Jeff Dike [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=20070607130912.GA5408@c2.user-mode-linux.org \
    --to=jdike@addtoit.com \
    --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