linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] 2.6.12-bs7 vs 2.6.12-bb8
       [not found] <20050721220839.F01B389B90@sc8-sf-spam1.sourceforge.net>
@ 2005-07-22 11:35 ` antoine
  2005-07-22 18:20   ` Blaisorblade
  0 siblings, 1 reply; 5+ messages in thread
From: antoine @ 2005-07-22 11:35 UTC (permalink / raw)
  To: UML devel, Blaisorblade

Paolo,

I've just stared testing your latest patches on a amd64 box running
2.6.13-rc3-git4, bb8 seems to run (so far) but bs7 comes up with:
./vmlinux mem=128M root=/dev/ubda ubd0=./root_fs
(...)
[42949373.440000] Initializing software serial port version 1
[42949373.440000]  ubda: unknown partition table
[42949373.810000] kjournald starting.  Commit interval 5 seconds
[42949373.810000] EXT3-fs: mounted filesystem with ordered data mode.
[42949373.810000] VFS: Mounted root (ext3 filesystem) readonly.
[42949374.110000] Kernel panic - not syncing: Kernel mode fault at addr
0x0, ip 0x0
[42949374.110000]
[42949374.110000] Modules linked in:
[42949374.110000] Pid: 1, comm: init Not tainted 2.6.12-bs7
[42949374.110000] RIP: 4000:[<0000000000000000>]
[42949374.110000] RSP: 00000000604a7c30  EFLAGS: 00010202
[42949374.110000] RAX: 0000000000000001 RBX: 0000000000000000 RCX:
00000000601a14ea
[42949374.110000] RDX: 00000000600108de RSI: 0000000000000001 RDI:
00000000604a7b00
[42949374.110000] RBP: 0000000000000000 R08: 0000000000000000 R09:
00000000ffffffff
[42949374.110000] R10: 0000000000000008 R11: 0000000000000246 R12:
0000000000000000
[42949374.110000] R13: 0000000000000000 R14: 000000000000000a R15:
0000000000000009
[42949374.110000] Call Trace:
[42949374.110000] 604a7708:  [<600163cf>] panic_exit+0x2f/0x50
[42949374.110000] 604a7728:  [<6004f6eb>] notifier_call_chain+0x2b/0x50
[42949374.110000] 604a7758:  [<6003d104>] panic+0xe4/0x180
[42949374.110000] 604a7798:  [<601a14ea>] sigprocmask+0x4a/0xb0
[42949374.110000] 604a77d8:  [<6001529f>] handle_page_fault+0x9f/0x2b0
[42949374.110000] 604a7848:  [<60015663>] segv+0x1b3/0x270
[42949374.110000] 604a78d8:  [<60012fc1>] change_signals+0x51/0x80
[42949374.110000] 604a7928:  [<60015af9>] segv_handler+0x169/0x1f0
[42949374.110000] 604a7978:  [<6001928a>] sig_handler_common_tt
+0xfa/0x1a0
[42949374.110000] 604a79e8:  [<601a1270>] __restore_rt+0x0/0x10
[42949374.110000] 604a7a78:  [<600108de>] run_kernel_thread+0x2e/0x50
[42949374.110000] 604a7a88:  [<601a14ea>] sigprocmask+0x4a/0xb0
[42949374.110000] 604a7ae8:  [<600108f1>] run_kernel_thread+0x41/0x50
[42949374.110000] 604a7af8:  [<6000d190>] init+0x0/0xf0
[42949374.110000] 604a7b38:  [<600108de>] run_kernel_thread+0x2e/0x50
[42949374.110000] 604a7be8:  [<60017773>] new_thread_handler+0x113/0x130
[42949374.110000] 604a7cd8:  [<601a14ea>] sigprocmask+0x4a/0xb0
[42949374.110000]
[42949374.110000]

I haven't got much time at the moment to help with testing but things
should get back to normal in the next few days.

Thanks
Antoine



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [uml-devel] 2.6.12-bs7 vs 2.6.12-bb8
  2005-07-22 11:35 ` [uml-devel] 2.6.12-bs7 vs 2.6.12-bb8 antoine
@ 2005-07-22 18:20   ` Blaisorblade
  2005-08-03 17:40     ` antoine
  0 siblings, 1 reply; 5+ messages in thread
From: Blaisorblade @ 2005-07-22 18:20 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: antoine

On Friday 22 July 2005 13:35, antoine wrote:
> Paolo,

> I've just stared testing your latest patches on a amd64 box running
> 2.6.13-rc3-git4, bb8 seems to run (so far)
Using TT or SKAS0 mode? And is this specific to that host release wrt 2.6.12?
> but bs7 comes up with: 

> ./vmlinux mem=128M root=/dev/ubda ubd0=./root_fs

> [42949373.810000] VFS: Mounted root (ext3 filesystem) readonly.
> [42949374.110000] Kernel panic - not syncing: Kernel mode fault at addr
> 0x0, ip 0x0

> [42949374.110000]
> [42949374.110000] Modules linked in:
> [42949374.110000] Pid: 1, comm: init Not tainted 2.6.12-bs7
> [42949374.110000] RIP: 4000:[<0000000000000000>]
> [42949374.110000] RSP: 00000000604a7c30  EFLAGS: 00010202
> [42949374.110000] RAX: 0000000000000001 RBX: 0000000000000000 RCX:
> 00000000601a14ea
> [42949374.110000] RDX: 00000000600108de RSI: 0000000000000001 RDI:
> 00000000604a7b00
> [42949374.110000] RBP: 0000000000000000 R08: 0000000000000000 R09:
> 00000000ffffffff
> [42949374.110000] R10: 0000000000000008 R11: 0000000000000246 R12:
> 0000000000000000
> [42949374.110000] R13: 0000000000000000 R14: 000000000000000a R15:
> 0000000000000009
> [42949374.110000] Call Trace:
> [42949374.110000] 604a7708:  [<600163cf>] panic_exit+0x2f/0x50
> [42949374.110000] 604a7728:  [<6004f6eb>] notifier_call_chain+0x2b/0x50
> [42949374.110000] 604a7758:  [<6003d104>] panic+0xe4/0x180
> [42949374.110000] 604a7798:  [<601a14ea>] sigprocmask+0x4a/0xb0
> [42949374.110000] 604a77d8:  [<6001529f>] handle_page_fault+0x9f/0x2b0
> [42949374.110000] 604a7848:  [<60015663>] segv+0x1b3/0x270
> [42949374.110000] 604a78d8:  [<60012fc1>] change_signals+0x51/0x80
> [42949374.110000] 604a7928:  [<60015af9>] segv_handler+0x169/0x1f0
> [42949374.110000] 604a7978:  [<6001928a>] sig_handler_common_tt
> +0xfa/0x1a0
> [42949374.110000] 604a79e8:  [<601a1270>] __restore_rt+0x0/0x10

> [42949374.110000] 604a7a78:  [<600108de>] run_kernel_thread+0x2e/0x50
> [42949374.110000] 604a7a88:  [<601a14ea>] sigprocmask+0x4a/0xb0

> [42949374.110000] 604a7ae8:  [<600108f1>] run_kernel_thread+0x41/0x50
> [42949374.110000] 604a7af8:  [<6000d190>] init+0x0/0xf0
> [42949374.110000] 604a7b38:  [<600108de>] run_kernel_thread+0x2e/0x50
> [42949374.110000] 604a7be8:  [<60017773>] new_thread_handler+0x113/0x130
> [42949374.110000] 604a7cd8:  [<601a14ea>] sigprocmask+0x4a/0xb0

> I haven't got much time at the moment to help with testing but things
> should get back to normal in the next few days.

> Thanks
> Antoine

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [uml-devel] 2.6.12-bs7 vs 2.6.12-bb8
  2005-07-22 18:20   ` Blaisorblade
@ 2005-08-03 17:40     ` antoine
  2005-08-04 18:56       ` antoine
  0 siblings, 1 reply; 5+ messages in thread
From: antoine @ 2005-08-03 17:40 UTC (permalink / raw)
  To: Blaisorblade; +Cc: user-mode-linux-devel

> > I've just stared testing your latest patches on a amd64 box running
> > 2.6.13-rc3-git4, bb8 seems to run (so far)
> Using TT or SKAS0 mode? And is this specific to that host release wrt 2.6.12?
> > but bs7 comes up with: 
(...)
bs works fine on 2.6.13-rc4 now, must have been a host bug?
But all guest 64-bit kernels are still loosing memory fast, gentoo's
"emerge --sync" is enough to eat 300+ MB of ram! (in about 5 minutes)

Antoine



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [uml-devel] 2.6.12-bs7 vs 2.6.12-bb8
  2005-08-04 18:56       ` antoine
@ 2005-08-04 18:48         ` Blaisorblade
  0 siblings, 0 replies; 5+ messages in thread
From: Blaisorblade @ 2005-08-04 18:48 UTC (permalink / raw)
  To: antoine; +Cc: user-mode-linux-devel, Jeff Dike

On Thursday 04 August 2005 20:56, antoine wrote:
> On Wed, 2005-08-03 at 18:40 +0100, antoine wrote:
> > > > I've just stared testing your latest patches on a amd64 box running
> > > > 2.6.13-rc3-git4, bb8 seems to run (so far)
> > >
> > > Using TT or SKAS0 mode? And is this specific to that host release wrt
> > > 2.6.12?
> > >
> > > > but bs7 comes up with:
> >
> > (...)
> > bs works fine on 2.6.13-rc4 now, must have been a host bug?
> > But all guest 64-bit kernels are still loosing memory fast, gentoo's
> > "emerge --sync" is enough to eat 300+ MB of ram! (in about 5 minutes)
>
> I can get a similar behavior from 2.6.12.3-bs9 guest (compiled with
> SUBARCH=i386) on a 2.6.13-rc5 host!
Ehr - can you bug Jeff for these? After trying on a 2.6.12.3 host - I wouldn't 
call -rc5 "stable", by just looking at the changelog *after* the release.

I'm going to be *offline* so unable to handle this stuff.
> The strange thing is that the same config file, same guest source but
> compiled without SUBARCH (ie: regular 64-bit guest) works ok (well still
> loosing memory fast - but at least it runs)
>
> strace ./vmlinux-2.6.12.3-bs9-x86 gives:
> (...)
Which test is it performing when it locks up? It is printing "ok" below, so...

> open("/home/antoine/.uml/pX0UwE/pid", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE,
> 0644) = 6
> getpid()                                = 18680
> write(6, "18680\n", 6)                  = 6
> close(6)                                = 0
> mprotect(0xa0256000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC) = 0

//Here
> write(1, "OK\n", 3)                     = 3

> rt_sigaction(SIGPIPE, {0x1000000000000001, [], 0}, {SIG_DFL}, 8) = 0
> socketcall(0x8, 0xffffcb70)             = 0
> fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
> fcntl64(7, F_SETFD, FD_CLOEXEC)         = 0
> rt_sigaction(SIGWINCH, {0x10000000a0019a60, [], 0}, {SIG_DFL}, 8) = 0
> getpid()                                = 18680
> clone(child_stack=0xa0257fd4, flags=CLONE_FILES|SIGCHLD) = 18681
> waitpid(18681, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGSTOP}], WSTOPPED) =
> 18681
> --- SIGCHLD (Child exited) @ 0 (0) ---
> ptrace(0x15 /* PTRACE_??? */, 18681, 0, 0x1) = 0
> ptrace(PTRACE_CONT, 18681, 0, SIG_0)    = 0
> rt_sigaction(SIGSEGV, {0x10000000a0019be0, [], 0}, {SIG_DFL}, 8) = 0
> rt_sigaction(SIGUSR1, {0x10000000a00184f0, [], 0}, {SIG_DFL}, 8) = 0
Ok, the below is actually a 32-bit "-1" value (not verified), so it shouldn't 
be bogus.
> waitpid(4294967295, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGSEGV}],
> WSTOPPED) = 18681
> --- SIGCHLD (Child exited) @ 0 (0) ---
> ptrace(PTRACE_CONT, 18681, 0, SIGSEGV)  = 0
Same here
> waitpid(4294967295, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGUSR1}],
> WSTOPPED) = 18681
> --- SIGCHLD (Child exited) @ 0 (0) ---
The below *is* IMHO bogus (munmap from 0 is useless).
> munmap(0, 2692743168)                   = 0

> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++

> Antoine

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [uml-devel] 2.6.12-bs7 vs 2.6.12-bb8
  2005-08-03 17:40     ` antoine
@ 2005-08-04 18:56       ` antoine
  2005-08-04 18:48         ` Blaisorblade
  0 siblings, 1 reply; 5+ messages in thread
From: antoine @ 2005-08-04 18:56 UTC (permalink / raw)
  To: Blaisorblade; +Cc: user-mode-linux-devel

On Wed, 2005-08-03 at 18:40 +0100, antoine wrote:
> > > I've just stared testing your latest patches on a amd64 box running
> > > 2.6.13-rc3-git4, bb8 seems to run (so far)
> > Using TT or SKAS0 mode? And is this specific to that host release wrt 2.6.12?
> > > but bs7 comes up with: 
> (...)
> bs works fine on 2.6.13-rc4 now, must have been a host bug?
> But all guest 64-bit kernels are still loosing memory fast, gentoo's
> "emerge --sync" is enough to eat 300+ MB of ram! (in about 5 minutes)
I can get a similar behavior from 2.6.12.3-bs9 guest (compiled with
SUBARCH=i386) on a 2.6.13-rc5 host!
The strange thing is that the same config file, same guest source but
compiled without SUBARCH (ie: regular 64-bit guest) works ok (well still
loosing memory fast - but at least it runs)

strace ./vmlinux-2.6.12.3-bs9-x86 gives:
(...)
open("/home/antoine/.uml/pX0UwE/pid", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE,
0644) = 6
getpid()                                = 18680
write(6, "18680\n", 6)                  = 6
close(6)                                = 0
mprotect(0xa0256000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
write(1, "OK\n", 3)                     = 3
rt_sigaction(SIGPIPE, {0x1000000000000001, [], 0}, {SIG_DFL}, 8) = 0
socketcall(0x8, 0xffffcb70)             = 0
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
fcntl64(7, F_SETFD, FD_CLOEXEC)         = 0
rt_sigaction(SIGWINCH, {0x10000000a0019a60, [], 0}, {SIG_DFL}, 8) = 0
getpid()                                = 18680
clone(child_stack=0xa0257fd4, flags=CLONE_FILES|SIGCHLD) = 18681
waitpid(18681, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGSTOP}], WSTOPPED) =
18681
--- SIGCHLD (Child exited) @ 0 (0) ---
ptrace(0x15 /* PTRACE_??? */, 18681, 0, 0x1) = 0
ptrace(PTRACE_CONT, 18681, 0, SIG_0)    = 0
rt_sigaction(SIGSEGV, {0x10000000a0019be0, [], 0}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGUSR1, {0x10000000a00184f0, [], 0}, {SIG_DFL}, 8) = 0
waitpid(4294967295, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGSEGV}],
WSTOPPED) = 18681
--- SIGCHLD (Child exited) @ 0 (0) ---
ptrace(PTRACE_CONT, 18681, 0, SIGSEGV)  = 0
waitpid(4294967295, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGUSR1}],
WSTOPPED) = 18681
--- SIGCHLD (Child exited) @ 0 (0) ---
munmap(0, 2692743168)                   = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


Antoine



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-04 18:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20050721220839.F01B389B90@sc8-sf-spam1.sourceforge.net>
2005-07-22 11:35 ` [uml-devel] 2.6.12-bs7 vs 2.6.12-bb8 antoine
2005-07-22 18:20   ` Blaisorblade
2005-08-03 17:40     ` antoine
2005-08-04 18:56       ` antoine
2005-08-04 18:48         ` Blaisorblade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox