linux-um archives
 help / color / mirror / Atom feed
From: "Miao Qingjun" <qmiao@centecnetworks.com>
To: Jeff Dike <jdike@addtoit.com>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] [uml-user] UML 2.6.17 problems (section mismatch, get_skas_faultinfo : failed to wait for SIGUSR1/SIGTRAP)
Date: Sat, 1 Jul 2006 08:38:20 +0800	[thread overview]
Message-ID: <007401c69ca6$a6e00040$d4190a0a@centecnetworks.com> (raw)
In-Reply-To: 20060630134509.GA3510@ccure.user-mode-linux.org

Hi, 
For first one problem, why .exit.text symbol's address seems overlapped with .text section
(I use GDB add-symbol-file to load lkm symbols, and section addresses are get from /sys/module/<lkm>/sections)

For the second problem,

082c90c8 <stub_segv_handler>:
 82c90c8:       55                      push   %ebp
 82c90c9:       89 e5                   mov    %esp,%ebp
 82c90cb:       83 ec 14                sub    $0x14,%esp
 82c90ce:       8d 45 0c                lea    0xc(%ebp),%eax
 82c90d1:       89 45 fc                mov    %eax,0xfffffffc(%ebp)
 82c90d4:       8b 45 fc                mov    0xfffffffc(%ebp),%eax
 82c90d7:       83 c0 54                add    $0x54,%eax
 82c90da:       8b 00                   mov    (%eax),%eax
 82c90dc:       a3 04 f0 ff bf          mov    %eax,0xbffff004
 82c90e1:       8b 45 fc                mov    0xfffffffc(%ebp),%eax
 82c90e4:       83 c0 34                add    $0x34,%eax
 82c90e7:       8b 00                   mov    (%eax),%eax
 82c90e9:       a3 00 f0 ff bf          mov    %eax,0xbffff000
 82c90ee:       8b 45 fc                mov    0xfffffffc(%ebp),%eax
 82c90f1:       83 c0 30                add    $0x30,%eax
 82c90f4:       8b 00                   mov    (%eax),%eax
 82c90f6:       a3 08 f0 ff bf          mov    %eax,0xbffff008
 82c90fb:       c7 04 24 14 00 00 00    movl   $0x14,(%esp)
 82c9102:       e8 93 ae db ff          call   8083f9a <stub_syscall0>
 82c9107:       89 45 f8                mov    %eax,0xfffffff8(%ebp)
 82c910a:       c7 44 24 08 0a 00 00    movl   $0xa,0x8(%esp)
 82c9111:       00 
 82c9112:       8b 45 f8                mov    0xfffffff8(%ebp),%eax
 82c9115:       89 44 24 04             mov    %eax,0x4(%esp)
 82c9119:       c7 04 24 25 00 00 00    movl   $0x25,(%esp)
 82c9120:       e8 57 ae db ff          call   8083f7c <stub_syscall2>
 82c9125:       8b 45 fc                mov    0xfffffffc(%ebp),%eax
 82c9128:       89 c4                   mov    %eax,%esp
 82c912a:       b8 77 00 00 00          mov    $0x77,%eax
 82c912f:       cd 80                   int    $0x80
 82c9131:       c9                      leave  
 82c9132:       c3                      ret    

Thanks!

----- Original Message ----- 
From: "Jeff Dike" <jdike@addtoit.com>
To: "Miao Qingjun" <qmiao@centecnetworks.com>
Cc: <user-mode-linux-user@lists.sourceforge.net>; <user-mode-linux-devel@lists.sourceforge.net>
Sent: Friday, June 30, 2006 9:45 PM
Subject: Re: [uml-user] UML 2.6.17 problems (section mismatch, get_skas_faultinfo : failed to wait for SIGUSR1/SIGTRAP)


> On Fri, Jun 30, 2006 at 03:50:56PM +0800, Miao Qingjun wrote:
>> WARNING: vmlinux - Section mismatch: reference to .init.text: from .plt after '' (at offset 0x8347e44)
> 
> These are harmless.
> 
>> Second one,
>> 
>> when run uml compiled with "-g" and without "-O2",
>> uml crashed
>> 
>> VFS: Mounted root (ext2 filesystem).
>> Stub registers -
>>         0 - 0
>>         1 - 0
>>         2 - 0
>>         3 - 0
>>         4 - 0
>>         5 - bffffd1c
>>         6 - e
>>         7 - 7b
>>         8 - 7b
>>         9 - 0
>>         10 - 0
>>         11 - ffffffff
>>         12 - bfdb8f9a
>>         13 - 73
>>         14 - 10282
>>         15 - bffffd04
>>         16 - 7b
>> Kernel panic - not syncing: get_skas_faultinfo : failed to wait for SIGUSR1/SIGTRAP, pid = 7760, n = 7760, errno = 0, status = 0xb7f
> 
> Can you send the disassembly of stub_segv_handler?
> 
> Jeff
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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:[~2006-07-01  0:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-30  7:50 [uml-devel] UML 2.6.17 problems (section mismatch, get_skas_faultinfo : failed to wait for SIGUSR1/SIGTRAP) Miao Qingjun
2006-06-30 13:45 ` [uml-devel] [uml-user] " Jeff Dike
2006-07-01  0:38   ` Miao Qingjun [this message]
2006-07-07  0:45     ` Jeff Dike
2006-07-07  2:22       ` Daniel Gryniewicz
2006-07-07  3:15         ` Jeff Dike
2006-07-09 13:56         ` Blaisorblade
2006-07-09 13:47 ` [uml-devel] " Blaisorblade

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='007401c69ca6$a6e00040$d4190a0a@centecnetworks.com' \
    --to=qmiao@centecnetworks.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox