[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 30, 2014 at 8:19 PM, Toralf Förster <toralf.foerster@xxxxxx> wrote:
> -or- it uncovers a bug in kernel v3.15-rc3 for UML:

UML most not panic. :)

Do you have the trinity logs?
I'd like to know the syscalls parameters.

It looks like trinity managed it to crash a thread on the host side.
This is why ptrace() failed with ESRCH.

>
>
> commit 23dc478aba4134db51584d19e4783ec87ce87b88
> Author: Dave Jones <davej@xxxxxxxxxx>
> 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@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel



-- 
Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux