linux-um archives
 help / color / mirror / Atom feed
From: stian@nixia.no
To: Jeff Chua <jeff98@silk.corp.fedex.com>
Cc: Jeff Dike <jdike@addtoit.com>,
	UserModeLinux  <user-mode-linux-devel@lists.sourceforge.net>,
	Johannes Formann <johannes@formann.de>
Subject: Re: [uml-devel] Kernel mode fault at addr 0x48965000, ip 0x400e51a4
Date: Tue, 6 Jan 2004 17:15:40 +0100 (CET)	[thread overview]
Message-ID: <33237.193.212.97.12.1073405740.squirrel@pluto.nixia.no> (raw)
In-Reply-To: <Pine.LNX.4.58.0401070150290.1840@boston.corp.fedex.com>

strace -f klogd

so we can see what happens in the child after the fork could be usefull,
since the parent after the fork just exists.



Stian


> Ok, here's the strace results.
>
> 1st is the working one (without lvm2), 2nd is the problem one (with lvm2
> -- loaded by "vgscan", "vgchange -a y", "mount /u0/v0").
>
> Without loading lvm2, uml works just fine.
>
> Host:   	2.4.25-pre4
> Guest:  	2.4.25-pre4-1um
> Gcc:		2.95.3 20010315
> Glibc:		2.2.5-34
> Binutils:	2.14.90.0.7
>
>
> Both traces are starting the same command "klog" ...
>
>
>
> Trace 1 (without lvm2)
>
> # strace klogd
> execve("/usr/sbin/klogd", ["klogd"], [/* 34 vars */]) = 0
> brk(0)                                  = 0x804e750
> open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
> directory)
> open("/etc/ld.so.cache", O_RDONLY)      = 3
> SYS_197(0x3, 0xbfffec98, 0x40015604, 0x400156ec, 0x3) = 0
> mmap(0, 1628, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
> close(3)                                = 0
> open("/lib/libc.so.6", O_RDONLY)        = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 1024) = 1024
> SYS_197(0x3, 0xbfffece8, 0x40015604, 0x400156ec, 0x3) = 0
> mmap(0, 1190528, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40017000
> mprotect(0x40130000, 39552, PROT_NONE)  = 0
> mmap(0x40130000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
> 0x119000) = 0x40130000
> mmap(0x40136000, 14976, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40136000
> close(3)                                = 0
> mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
> 0x4013a000
> munmap(0x40016000, 1628)                = 0
> brk(0)                                  = 0x804e750
> brk(0x804e780)                          = 0x804e780
> brk(0x804f000)                          = 0x804f000
> chdir("/")                              = 0
> open("/var/run/klogd.pid", O_RDONLY)    = -1 ENOENT (No such file or
> directory)
> fork()                                  = 112
> _exit(0)                                = ?
>
>
>
>
>
> Trace 2 (with lvm2)
> # strace klogd
> execve("/usr/sbin/klogd", ["klogd"], [/* 34 vars */]) = 0
> brk(0)                                  = 0x804e750
> open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
> directory)
> open("/etc/ld.so.cache", O_RDONLY)      = 3
> SYS_197(0x3, 0xbfffec98, 0x40015604, 0x400156ec, 0x3) = 0
> mmap(0, 1628, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
> close(3)                                = 0
> open("/lib/libc.so.6", O_RDONLY)        = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 1024) = 1024
> SYS_197(0x3, 0xbfffece8, 0x40015604, 0x400156ec, 0x3) = 0
> mmap(0, 1190528, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40017000
> mprotect(0x40130000, 39552, PROT_NONE)  = 0
> mmap(0x40130000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
> 0x119000) = 0x40130000
> mmap(0x40136000, 14976, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40136000
> close(3)                                = 0
> mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
> 0x4013a000
> munmap(0x40016000, 1628)                = 0
> brk(0)                                  = 0x804e750
> brk(0x804e780)                          = 0x804e780
> brk(0x804f000)                          = 0x804f000
> chdir("/")                              = 0
> open("/var/run/klogd.pid", O_RDONLY)    = -1 ENOENT (No such file or
> directory)
> fork()                                  = 147
> Kernel panic: Kernel mode fault at addr 0x488b5000, ip 0x400df1a4
>
>
>
> Thanks,
> Jeff
>
> On Tue, 6 Jan 2004, Johannes Formann wrote:
>
>> At 21:58 Uhr -0500 05.01.2004, Jeff Dike wrote:
>> >jchua@fedex.com said:
>> >>  Starting daemons: syslogd klogd inetd namedKernel panic: Kernel mode
>> >>  fault at addr 0x48965000, ip 0x400e51a4
>> >
>> >Can you get a stack trace from the panic?
>>
>> a simple strace $comand_to_run_uml?
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> User-mode-linux-devel mailing list
> User-mode-linux-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
>
>
> This mail has been scanned for known viruses on an open, Linux-based
> mailsystem
> developed by http://Knowledge-Network.no and http://Nixia.no.
>



This mail has been scanned for known viruses on an open, Linux-based mailsystem
developed by http://Knowledge-Network.no and http://Nixia.no.


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
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:[~2004-01-07 10:40 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-29 16:32 [uml-devel] Kernel mode fault at addr 0x48965000, ip 0x400e51a4 Jeff Chua
     [not found] ` <200401060258.i 062wuFI023117@ccure.user-mode-linux.org>
     [not found] ` <200401061718.i 06HILtd002620@ccure.user-mode-linux.org>
     [not found] ` <200401061718.i  06HILtd002620@ccure.user-mode-linux.org>
2003-12-30 18:06 ` BlaisorBlade
2004-01-01  6:14   ` Jeff Chua
2004-01-06  2:58 ` Jeff Dike
2004-01-06 15:57   ` Johannes Formann
2004-01-06 17:18     ` Jeff Dike
2004-01-06 18:11       ` Johannes Formann
2004-01-06 18:18         ` BlaisorBlade
2004-01-06 18:49           ` Johannes Formann
2004-01-06 16:33             ` [uml-devel] Kernel mode fault at addr 0x48965000, ip0x400e51a4 stian
2004-01-06 19:06               ` Johannes Formann
2004-01-06 19:40                 ` Johannes Formann
2004-01-06 19:34                   ` Jeff Chua
2004-01-06 21:00                     ` Johannes Formann
2004-01-06 20:47                       ` Jeff Chua
2004-01-06 21:47                         ` Johannes Formann
2004-01-06 21:32                           ` Jeff Chua
2004-01-06 21:55                             ` Johannes Formann
2004-01-06 21:39                               ` Jeff Chua
2004-01-07  5:53                                 ` Johannes Formann
2004-01-07 17:10                                   ` Jeff Chua
2004-01-07 19:18                                     ` Johannes Formann
2004-01-07 19:25                     ` BlaisorBlade
2004-01-10 20:33                       ` Johannes Formann
2004-01-11 12:34                         ` BlaisorBlade
2004-01-11 15:25                           ` Johannes Formann
2004-01-11 15:46                             ` BlaisorBlade
2004-01-11 18:04                               ` Johannes Formann
2004-02-21 11:23                                 ` Johannes Formann
2004-02-21 15:34                                   ` BlaisorBlade
2004-01-11 23:04                               ` Jeff Chua
2004-01-13 18:14                                 ` BlaisorBlade
2004-01-06 20:55                   ` Jeff Dike
2004-03-04  2:16                   ` Jeff Dike
2004-03-04 22:46                     ` [uml-devel] compile issue when removing CONFIG_MODE_TT roland
2004-01-06 19:07             ` [uml-devel] Kernel mode fault at addr 0x48965000, ip 0x400e51a4 BlaisorBlade
2004-01-06 18:00     ` Jeff Chua
2004-01-06 16:15       ` stian [this message]
2004-01-07 17:08         ` Jeff Chua
2004-01-07 19:18           ` Adam Heath
2004-01-08 17:34             ` [uml-devel] [tracked down] Kernel mode fault with /dev/kmem BlaisorBlade
2004-03-04  2:16 ` [uml-devel] Kernel mode fault at addr 0x48965000, ip 0x400e51a4 Jeff Dike
2004-03-04  2:19   ` Jeff Chua
2004-03-07 10:54     ` 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=33237.193.212.97.12.1073405740.squirrel@pluto.nixia.no \
    --to=stian@nixia.no \
    --cc=jdike@addtoit.com \
    --cc=jeff98@silk.corp.fedex.com \
    --cc=johannes@formann.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