All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] trinity commit 23dc478aba breaks syscall "mremap" at a 32 bit user mode linux
@ 2014-04-30 18:19 ` Toralf Förster
  0 siblings, 0 replies; 29+ messages in thread
From: Toralf Förster @ 2014-04-30 18:19 UTC (permalink / raw)
  To: trinity; +Cc: UML devel

-or- it uncovers a bug in kernel v3.15-rc3 for UML:



commit 23dc478aba4134db51584d19e4783ec87ce87b88
Author: Dave Jones <davej@redhat.com>
Date:   Tue Apr 29 16:42:45 2014 -0400

    non-biarch arches aren't necessarily 32-bit.

diff --git a/children/random-syscalls.c b/children/random-syscalls.c
index 82e49f5..1d7e7ce 100644
--- a/children/random-syscalls.c
+++ b/children/random-syscalls.c
@@ -32,7 +32,6 @@ static bool choose_syscall_table(void)

        if (biarch == FALSE) {
                active_syscalls = shm->active_syscalls;
-               do32 = TRUE;
        } else {

                /* First, check that we have syscalls enabled in either table. */




I do get :


Kernel panic - not syncing: do_syscall_stub : PTRACE_SETREGS failed, errno = 3

CPU: 0 PID: 1303 Comm: trinity-c0 Not tainted 3.15.0-rc3 #1
Stack:
 085a4f54 085a4f54 4841fc48 00000004 086c8547 00002b58 00000003 00000011
 4841fc58 084eae75 00000000 00000000 4841fc80 084e72e0 085b08e8 08700960
 085ad7b4 4841fc90 00000000 00002b58 00000003 00000011 4841fcb4 080734c5
Call Trace:
 [<080734c5>] ? run_syscall_stub+0x125/0x2c0
 [<084eae75>] dump_stack+0x26/0x28
 [<084e72e0>] panic+0x7a/0x194
 [<080734c5>] run_syscall_stub+0x125/0x2c0
 [<08073b15>] unmap+0xf5/0x110
 [<08061047>] do_ops+0xb7/0x160
 [<080615f8>] fix_range_common+0x448/0x480
 [<080e50f4>] ? vma_interval_tree_insert+0x74/0x80
 [<0806193e>] flush_tlb_range+0x3e/0x40
 [<080f045e>] move_page_tables+0x24e/0x280
 [<080f0577>] move_vma+0xe7/0x230
 [<080eda20>] ? get_unmapped_area+0xa0/0xc0
 [<080f08b8>] SyS_mremap+0x1f8/0x4c0
 [<08062ab4>] handle_syscall+0x64/0x80
 [<0849d4f1>] ? ptrace+0x31/0x80
 [<080797a2>] ? get_fp_registers+0x22/0x40
 [<08074815>] userspace+0x475/0x5f0
 [<0849d4f1>] ? ptrace+0x31/0x80
 [<08079d06>] ? os_set_thread_area+0x26/0x40
 [<08078cd0>] ? do_set_thread_area+0x20/0x50
 [<08078e48>] ? arch_switch_tls+0xb8/0x100
 [<0805f770>] fork_handler+0x60/0x70

/home/tfoerste/workspace/bin/start_uml.sh: line 110:  9558 Aborted                 (core dumped) $LINUX earlyprintk ubda=$ROOTFS ubdb=$SWAP eth0=$NET mem=$MEM $TTY umid=uml_$NAME rootfstype=ext4 "$ARGS"


-- 
Toralf


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
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 related	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2014-07-26 21:21 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-30 18:19 [uml-devel] trinity commit 23dc478aba breaks syscall "mremap" at a 32 bit user mode linux Toralf Förster
2014-04-30 18:19 ` Toralf Förster
2014-05-01  9:22 ` [uml-devel] " Richard Weinberger
2014-05-01  9:22   ` Richard Weinberger
2014-05-01 10:29   ` Toralf Förster
2014-05-01 10:29     ` Toralf Förster
2014-05-01 12:33     ` Richard Weinberger
2014-05-01 12:33       ` Richard Weinberger
2014-05-01 15:15       ` Toralf Förster
2014-05-01 15:15         ` Toralf Förster
2014-05-01 20:57         ` Richard Weinberger
2014-05-01 20:57           ` Richard Weinberger
2014-05-01 21:34           ` Toralf Förster
2014-05-01 21:34             ` Toralf Förster
2014-05-02  7:21             ` Richard Weinberger
2014-05-02  7:21               ` Richard Weinberger
2014-05-02  7:46             ` Richard Weinberger
2014-05-02  7:46               ` Richard Weinberger
2014-05-02 14:07               ` Toralf Förster
2014-05-02 14:07                 ` Toralf Förster
2014-05-02 14:14                 ` Richard Weinberger
2014-05-02 14:14                   ` Richard Weinberger
2014-07-12 17:16                   ` Toralf Förster
2014-07-12 18:04                     ` Richard Weinberger
2014-05-02  6:43           ` stian
2014-05-02  9:48             ` Richard Weinberger
2014-07-26 20:01       ` Toralf Förster
2014-07-26 20:07         ` Richard Weinberger
2014-07-26 21:21           ` Toralf Förster

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.