All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: Jeff Dike <jdike@addtoit.com>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Am I doing something wrong with -skas0?
Date: Wed, 13 Jul 2005 16:56:37 -0500	[thread overview]
Message-ID: <200507131656.37695.rob@landley.net> (raw)
In-Reply-To: <20050713121520.GA4460@ccure.user-mode-linux.org>

On Wednesday 13 July 2005 07:15, Jeff Dike wrote:
> On Tue, Jul 12, 2005 at 11:46:40PM -0500, Rob Landley wrote:
> > VFS: Mounted root (hostfs filesystem) readonly.
> > Kernel panic - not syncing: get_skas_faultinfo : failed to wait for
> > SIGUSR1/SIGTRAP, pid = 7944, n = 7944, errno = 0, status = 0xb
>
> A bunch of people are seeing this.  What's supposed to happen when the
> segfault hits is that it's supposed to continue into the segfault handler.
>
> The fact that it is terminating with SIGSEGV immediately after stopping
> with SIGSEGV means that the signal handler couldn't be delivered for some
> reason.
>
> Either the signal stack or handler aren't present, or the stack isn't
> writable.
>
> So, maybe the stubs aren't being set up properly.  Can you gdb the thing,
> put a breakpoint in get_skas_faultinfo, and look at /proc/<pid>/maps, where
> pid is the pid being ptraced?
>
> The last two pages, at 0x7fffe000 and 7ffff000 are the stubs.  The first
> should be mapped in from the temp VM file with permissions r-x, and the
> second should be anonymous with permissions rwx.
>
>     Jeff

It broke with SIGUSR1 in __kernel_vsyscall(), which I assume is close enough.  
(I typed "go" until it reached the end and it never broke in 
get_skas_faultinfo, but then my gdb is a bit shaky so I'm possibly doing 
something wrong.)

Here's the maps:

landley@driftwood:/proc/7972$ cat maps
08048000-08132000 rwxp 00000000 03:05 
2801050    /home/landley/linux-2.6.12.2/linux
08132000-08165000 rw-p 08132000 00:00 0
08800000-0a000000 rw-s 00800000 03:05 4922001    /tmp/vm_file-gYGr1Q (deleted)
b7eb7000-b7eb9000 rw-p b7eb7000 00:00 0
b7eb9000-b7fdb000 r-xp 00000000 03:05 
2371242    /lib/tls/i686/cmov/libc-2.3.2.so
b7fdb000-b7fe4000 rw-p 00121000 03:05 
2371242    /lib/tls/i686/cmov/libc-2.3.2.so
b7fe4000-b7fe6000 rw-p b7fe4000 00:00 0
b7fe6000-b7fe8000 r-xp 00000000 03:05 
2371260    /lib/tls/i686/cmov/libutil-2.3.2.so
b7fe8000-b7fe9000 rw-p 00001000 03:05 
2371260    /lib/tls/i686/cmov/libutil-2.3.2.so
b7fe9000-b7feb000 rw-p b7fe9000 00:00 0
b7feb000-b8000000 r-xp 00000000 03:05 2371080    /lib/ld-2.3.2.so
b8000000-b8001000 rw-p 00015000 03:05 2371080    /lib/ld-2.3.2.so
bffeb000-c0000000 rwxp bffeb000 00:00 0
ffffe000-fffff000 ---p 00000000 00:00 0

Rob


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
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-07-13 21:56 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-13  4:46 [uml-devel] Am I doing something wrong with -skas0? Rob Landley
2005-07-13 12:11 ` Bodo Stroesser
2005-07-13 21:47   ` Rob Landley
2005-07-14 10:59     ` Bodo Stroesser
2005-07-14 12:05       ` Bodo Stroesser
2005-07-14 13:43         ` Jeff Dike
2005-07-14 14:11           ` Bodo Stroesser
2005-07-14 14:23             ` Jeff Dike
2005-07-14 18:19               ` Rob Landley
2005-07-14 14:13           ` Bodo Stroesser
2005-07-14 18:02         ` Rob Landley
2005-07-14 13:40       ` Jeff Dike
2005-07-14 17:58       ` Rob Landley
2005-07-13 21:51   ` Rob Landley
2005-07-13 12:15 ` Jeff Dike
2005-07-13 21:56   ` Rob Landley [this message]
2005-07-13 23:29     ` Jeff Dike
2005-07-14  2:02       ` Rob Landley
2005-07-14 12:37         ` Jeff Dike
2005-07-14 18:16           ` Rob Landley
2005-07-14 20:30             ` Rob Landley
2005-07-15 16:10               ` Blaisorblade
2005-07-15 16:25                 ` Bodo Stroesser
2005-07-15 19:40                 ` Rob Landley

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=200507131656.37695.rob@landley.net \
    --to=rob@landley.net \
    --cc=jdike@addtoit.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.