linux-um archives
 help / color / mirror / Atom feed
From: Oleg Drokin <green@linuxhacker.ru>
To: lmb@suse.de, user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] "Kernel panic: Segfault with no mm"
Date: Tue, 9 Sep 2003 23:14:06 +0400	[thread overview]
Message-ID: <200309091914.h89JE6ja000983@car.linuxhacker.ru> (raw)
In-Reply-To: 20030909180126.GC10485@marowsky-bree.de

Hello!

Lars Marowsky-Bree <lmb@suse.de> wrote:

LMB> with the UML kernel on 2.4.21 I am seeing the above. I can trigger it by
LMB> a NULL pointer dereference in the kernel (ie, my buggy code / module
LMB> ;-).

Well. This is expected.

LMB> Instead of a regular panic, I get the above. It appears something is
LMB> going astray with the mm handling.
LMB> #0  panic (fmt=0xa01b8ad2 "Segfault with no mm") at panic.c:59

So it said you had segfault in kernel.

LMB> #1  0xa00af3b4 in segv (address=1074944004, ip=2706132208, is_write=0, 
LMB>     is_user=0, sc=0xa1468280) at trap_kern.c:119
LMB> #2  0xa00af866 in segv_handler (sig=11, regs=0xa1468280) at trap_user.c:69
LMB> #3  0xa00b351c in sig_handler_common_tt (sig=11, sc_ptr=0x58) at trap_user.c:37
LMB> #4  0xa00af990 in sig_handler (sig=1, sc=
LMB>       {gs = 0, __gsh = 0, fs = 0, __fsh = 0, es = 43, __esh = 0, ds = 43, __dsh = 0, edi = 2694189056, esi = 2694189056, ebp = 2705767004, esp = 2705766988, ebx = 4294967295, edx = 0, ecx = 2705766824, eax = 2706243584, trapno = 13, err = 0, eip = 2706132208, cs = 35, __csh = 0, eflags = 66118, esp_at_signal = 2705766988, ss = 43, __ssh = 0, fpstate = 0x0, oldmask = 436281344, cr2 = 1074944004})
LMB>     at trap_user.c:104
LMB> #5  <signal handler called>

This is signal kernel and one step up is your buggy code.
You just need to go up to that point to see what's wrong.

LMB> I wonder whether anyone has seen that before or whether it is something
LMB> peculiar to my setup. (Which also includes the aa patches for the VM)

I always see this stuff when kernel does such bad things and I sort of
understand that it should be this way.


Bye,
    Oleg


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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:[~2003-09-09 19:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-09 18:01 [uml-devel] "Kernel panic: Segfault with no mm" Lars Marowsky-Bree
2003-09-09 19:14 ` Oleg Drokin [this message]
2003-09-09 19:34   ` Lars Marowsky-Bree
2003-09-09 22:33     ` Jeff Dike
2003-09-10  7:49       ` Lars Marowsky-Bree

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=200309091914.h89JE6ja000983@car.linuxhacker.ru \
    --to=green@linuxhacker.ru \
    --cc=lmb@suse.de \
    --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