All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oleg Drokin <green@namesys.com>
To: Jeff Dike <jdike@karaya.com>
Cc: James Stevenson <james@stev.org>,
	linux-kernel@vger.kernel.org,
	user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] uml-patch-2.5.39
Date: Wed, 2 Oct 2002 09:54:01 +0400	[thread overview]
Message-ID: <20021002095401.A13850@namesys.com> (raw)
In-Reply-To: <200210011819.NAA02853@ccure.karaya.com>

Hello!

On Tue, Oct 01, 2002 at 01:19:36PM -0500, Jeff Dike wrote:

> > And then kernel mode fault at 0x5a5a5a5e 
> Can you get a stack trace from that crash?

Sure.

#0  panic (fmt=0xa0240900 "Kernel mode fault at addr 0x%lx, ip 0x%lx")
    at panic.c:45
#1  0xa00164e5 in segv (address=1515870814, ip=2684410784, is_write=0, 
    is_user=0, sc=0xaeeb33a0) at trap_kern.c:129
#2  0xa0017466 in segv_handler (sig=11, regs=0xaeea4390) at trap_user.c:437
#3  0xa001751b in sig_handler_common (sig=11, sc=0xaeeb33a0) at trap_user.c:488
#4  0xa0017596 in sig_handler (sig=11, sc=
      {gs = 0, __gsh = 0, fs = 0, __fsh = 0, es = 43, __esh = 0, ds = 43, __dsh = 0, edi = 10, esi = 872415233, ebp = 2934650508, esp = 2934650484, ebx = 1515870810, edx = 0, ecx = 2934650172, eax = 1, trapno = 14, err = 4, eip = 2684410784, cs = 35, __csh = 0, eflags = 66054, esp_at_signal = 2934650484, ss = 43, __ssh = 0, fpstate = 0x0, oldmask = 469827584, cr2 = 1515870814}) at trap_user.c:504
#5  <signal handler called>
#6  handle_IRQ_event (irq=10, regs=0xaeea4390, action=0xa03cc604) at irq.c:153
#7  0xa000dd81 in do_IRQ (irq=10, regs=0xaeea4390) at irq.c:324
#8  0xa000e4ac in sigio_handler (sig=29, regs=0xaeea4390) at irq_user.c:73
#9  0xa001751b in sig_handler_common (sig=29, sc=0xaeeb3788) at trap_user.c:488
#10 0xa0017596 in sig_handler (sig=29, sc=
      {gs = 0, __gsh = 0, fs = 0, __fsh = 0, es = 43, __esh = 0, ds = 43, __dsh = 0, edi = 2934651928, esi = 672274793, ebp = 2934651532, esp = 2934651488, ebx = 66, edx = 2688339692, ecx = 2934651356, eax = 0, trapno = 14, err = 4, eip = 2686504781, cs = 35, __csh = 0, eflags = 643, esp_at_signal = 2934651488, ss = 43, __ssh = 0, fpstate = 0x0, oldmask = 201392128, cr2 = 1074026496})
    at trap_user.c:504
#11 <signal handler called>
#12 0xa020cf4d in __libc_close ()
#13 0xa001fe51 in winch_cleanup () at line.c:441
#14 0xa0011268 in do_uml_exitcalls () at process_kern.c:622
#15 0xa0011feb in machine_power_off () at reboot.c:42
#16 0xa001201b in machine_halt () at reboot.c:50
#17 0xa0035eb5 in sys_reboot (magic1=-18751827, magic2=672274793, 
    cmd=3454992675, arg=0x8049644) at sys.c:386
#18 0xa001509d in execute_syscall (r=0xaeea4390) at syscall_kern.c:405
#19 0xa00151e0 in syscall_handler (sig=12, regs=0xaeea4390)
    at syscall_user.c:63
#20 0xa001751b in sig_handler_common (sig=12, sc=0xaeeb3d28) at trap_user.c:488
#21 0xa0017596 in sig_handler (sig=12, sc=
      {gs = 0, __gsh = 0, fs = 0, __fsh = 0, es = 43, __esh = 0, ds = 43, __dsh = 0, edi = 4276215469, esi = 134518340, ebp = 2684353868, esp = 2684353840, ebx = 4276215469, edx = 3454992675, ecx = 672274793, eax = 4294967258, trapno = 14, err = 4, eip = 1074697900, cs = 35, __csh = 0, eflags = 534, esp_at_signal = 2684353840, ss = 43, __ssh = 0, fpstate = 0xaeeb3d80, oldmask = 469827584, cr2 = 1074026496}) at trap_user.c:504
#22 <signal handler called>
#23 0x400e96ac in ?? ()
...
(gdb) 
#6  handle_IRQ_event (irq=10, regs=0xaeea4390, action=0xa03cc604) at irq.c:153
153                     status |= action->flags;
(gdb) p action
$1 = (struct irqaction *) 0x5a5a5a5a
(gdb) 

> > Just before the crash it warns about winch_interrupt : read failed,
> > errno = 9 fd 57 is losing SIGWINCH support 
> This looks different.  Is it consistently the same file descriptor?  If so,

No.
I just tried twice and got 65 for the first time and 53 for the second.

> put a breakpoint on close and see who's closing it who isn't supposed to.

Hm. May be I'll do it later.

Bye,
    Oleg

      parent reply	other threads:[~2002-10-02  5:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-30 19:55 uml-patch-2.5.39 Jeff Dike
2002-09-30 20:26 ` [uml-devel] uml-patch-2.5.39 James Stevenson
2002-10-01  7:44   ` Oleg Drokin
2002-10-01 18:19     ` Jeff Dike
2002-10-01 18:38       ` Oleg Drokin
2002-10-02  5:54       ` Oleg Drokin [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=20021002095401.A13850@namesys.com \
    --to=green@namesys.com \
    --cc=james@stev.org \
    --cc=jdike@karaya.com \
    --cc=linux-kernel@vger.kernel.org \
    --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.