linux-um.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Torsten Boob <ddflatrate@web.de>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] Kernel Panic
Date: Tue, 28 Oct 2003 23:02:44 +0100	[thread overview]
Message-ID: <20031028230244.0382a7e2.ddflatrate@web.de> (raw)

Hi,
i have a problem that i cant solve.

I'm coding a Module using UML. That module calls

tcp_alloc_pskb()

inside the kernel. That function allocates memory for a socket buffer inside the network sending path used inside the kernel. 
But iam calling it inside my module.

But calling it in my module gives me a:

Kernel panic: Kernel mode fault at addr 0x28, ip 0xa003d050

And then the whole UML goes down. No chance to make a backtrace, because gdb is killed too.


While playing with breakpoints i got that message, but only one time:

0xa0109d14 in sig_handler (sig=-1610608640, sc= {gs = 1024, __gsh = 0, fs = 64304, __fsh = 40959, es = 53718, __esh = 16406, ds = 28232, __dsh = 16417, edi = 1075922592, esi = 1075922592, ebp = 1073912488, esp = 1, ebx = 0, edx = 1073911876, ecx = 8, eax = 2, trapno = 2684353328, err = 1075922600, eip = 1412, cs = 18080, __csh = 16417, eflags = 0, esp_at_signal = 2684353276, ss = 9185, __ssh = 16405, fpstate = 0x9ffffb30, oldmask = 12, cr2 = 1075908832}) at trap_user.c:105 105 } (gdb)

That gave me the hint, that it could possibly a uml specific problem.

Can anybody please help me to solve my problem ?

Is there any chance to make a backtrace even if gdb was completly killed ?

What does that error message mean ? Where can i start searching for the error ?

Or any other ideas ?

Many Thanks
  Torsten Boob



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
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-10-28 22:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-28 22:02 Torsten Boob [this message]
2003-10-29  1:15 ` [uml-devel] Kernel Panic 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=20031028230244.0382a7e2.ddflatrate@web.de \
    --to=ddflatrate@web.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;
as well as URLs for NNTP newsgroup(s).