Skip to content

make test hangs entire machine during profile-5 test on an Ubuntu 12.04 KVM VM #73

Open

Description

@gnosek

Tested on 1-CPU and 2-CPU machines, the test:

20140305 13:41:28 Test: profile-5
build/dtrace -n '   int cnt_1ms, cnt_1s, cnt_fbt;
    fbt::: {cnt_fbt++;}
    tick-1ms { cnt_1ms++; } 
    tick-1s { cnt_1s++; 
        printf("tick-1ms=%d tick-1s=%d fbt=%d", cnt_1ms, cnt_1s, cnt_fbt);
        }
    tick-5s { 
        printf("the end: got %d + %d, fbt=%d\n", cnt_1ms, cnt_1s, cnt_fbt);
        exit(0); 
        }
' >/tmp/test-root.profile-5.log 2>&1

makes one CPU spin at 100% (visible via virt-manager) and the whole machine is totally dead (no response via keyboard or ssh, no kernel messages on the console).

Is this expected? AIUI, this test is tracing every single function in the kernel, which does scream "don't do that".

Both the host and the guest (virtualized via KVM) are running Ubuntu 12.04. Host kernel: 3.5.0-45-generic, guest kernel: 3.2.0-59-virtual

Activity

  1. dtrace4linux commented on Mar 5, 2014

    @dtrace4linux
    Owner

    Yes, the test does scream "dont do that!" - but thats the point. The driver
    has builtin protection and a blacklist of functions to trace. Its fairly
    painful to figure out which function(s) cause this - diagnostics will be in
    /var/log/kern.log - its useful to run the test on the console and if
    necessary tail -f /var/log/kern.log and to keep catting /proc/dtrace/trace

    • it may show the issue. (If one cpu is blocked and the other isnt - your
      system is irrecoverable, but the non-blocked cpus may help to get some data
      before you do a reboot).

    In general, you should be able to trace everything (excluding the blacklist

    • which is those few functions dtrace is hooking to get the interrupts).
      However given many variations in kernel and loadable drivers, you would
      seem to have hit a race.

    If you can - see what you can dig up - I will need to run on my 12.04
    kernel to see if I can easily reproduce.

    thanks

    On 5 March 2014 12:54, Grzegorz Nosek notifications@github.com wrote:

    Tested on 1-CPU and 2-CPU machines, the test:

    20140305 13:41:28 Test: profile-5
    build/dtrace -n ' int cnt_1ms, cnt_1s, cnt_fbt;
    fbt::: {cnt_fbt++;}
    tick-1ms { cnt_1ms++; }
    tick-1s { cnt_1s++;
    printf("tick-1ms=%d tick-1s=%d fbt=%d", cnt_1ms, cnt_1s, cnt_fbt);
    }
    tick-5s {
    printf("the end: got %d + %d, fbt=%d\n", cnt_1ms, cnt_1s, cnt_fbt);
    exit(0);
    }
    ' >/tmp/test-root.profile-5.log 2>&1

    makes one CPU spin at 100% (visible via virt-manager) and the whole
    machine is totally dead (no response via keyboard or ssh, no kernel
    messages on the console).

    Is this expected? AIUI, this test is tracing every single function in the
    kernel, which does scream "don't do that".

    Both the host and the guest (virtualized via KVM) are running Ubuntu
    12.04. Host kernel: 3.5.0-45-generic, guest kernel: 3.2.0-59-virtual

    Reply to this email directly or view it on GitHubhttps://github.com//issues/73
    .

  2. gnosek commented on Mar 6, 2014

    @gnosek
    Author

    The other CPU being idle didn't help as the VM was completely unresponsive (no keyboard/ssh/etc).

    watch -n1 tail -20 /proc/dtrace/trace in the (vnc) console makes the tests pass (tested a few times). Periodically catting it to a file also helped (tests pass).

    Here's the whole dmesg (after boot, from make load on). All this appeared around the first make test run (subsequent ones were quiet AFAICT). I also have the dump of /proc/dtrace/trace but it's quite large and doesn't seem suspicious apart from a few warnings (below). If you need the whole dump, I can put it somewhere online.

    This line in dmesg looks suspicious but I have no idea what a dtb_xamot is ;)

    [73649.758459] /root/linux/build-3.2.0-59-virtual/driver/dtrace.c:dtrace_ioctl:16858: assertion failure buf->dtb_xamot != cached
    

    Also, even while not catting I cannot reproduce the issue any more. After a reboot the behavior changed to something somewhat more interesting:

    Halfway through systrace-stringof-bad4 I got an oops (memory allocation error? screenshots attached) and the machine is halfway dead, i.e. the interrupts are working (keyboard, network), but login failed with an obscure error indicating things are deeply wrong (another screenshot attached)

    zrzut ekranu 2014-03-06 10 37 46
    zrzut ekranu 2014-03-06 10 37 53

    Apparently I lost the middle part of the stack trace which might have been interesting as it did involve dtrace_something :(

    zrzut ekranu 2014-03-06 10 39 27

    Rebooting again, with 4GB of memory (used 1 GB previously) throws the same assertion failed error but makes the tests pass. Now running while true ; do make test ; done, will let it run for a few hours and see if it crashes. Still, my smallest VMs are 512MB/1 CPU each and I'd love to use dtrace there too. Or at least, not kill the machine if it can't ;)

    [  147.500303] dtracedrv: module license 'CDDL' taints kernel.
    [  147.500308] Disabling lock debugging due to kernel taint
    [  147.502134] ------------[ cut here ]------------
    [  147.502141] WARNING: at /build/buildd/linux-3.2.0/kernel/trace/ftrace.c:1498 ftrace_bug+0x28f/0x2e0()
    [  147.502144] Hardware name: Bochs
    [  147.502145] Modules linked in: dtracedrv(P+) xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack iptable_filter ip_tables x_tables virtio_balloon psmouse serio_raw floppy
    [  147.502157] Pid: 931, comm: insmod Tainted: P           O 3.2.0-59-virtual #90-Ubuntu
    [  147.502160] Call Trace:
    [  147.502165]  [<ffffffff81066e3f>] warn_slowpath_common+0x7f/0xc0
    [  147.502169]  [<ffffffff8111af57>] ? __probe_kernel_read+0x47/0x70
    [  147.502184]  [<ffffffffa00cf729>] ? xen_send_ipi+0x9/0x64 [dtracedrv]
    [  147.502199]  [<ffffffffa00cf729>] ? xen_send_ipi+0x9/0x64 [dtracedrv]
    [  147.502202]  [<ffffffff81066e9a>] warn_slowpath_null+0x1a/0x20
    [  147.502205]  [<ffffffff810e7b1f>] ftrace_bug+0x28f/0x2e0
    [  147.502209]  [<ffffffff810e7e0a>] ftrace_update_code+0x15a/0x1e0
    [  147.502224]  [<ffffffffa00cf729>] ? xen_send_ipi+0x9/0x64 [dtracedrv]
    [  147.502227]  [<ffffffff810e87cd>] ftrace_process_locs+0x7d/0xc0
    [  147.502231]  [<ffffffff810e884f>] ftrace_module_notify_enter+0x3f/0x50
    [  147.502236]  [<ffffffff8165f79d>] notifier_call_chain+0x4d/0x70
    [  147.502239]  [<ffffffff8108fed8>] __blocking_notifier_call_chain+0x58/0x80
    [  147.502243]  [<ffffffff8108ff16>] blocking_notifier_call_chain+0x16/0x20
    [  147.502246]  [<ffffffff810a8101>] sys_init_module+0x71/0x230
    [  147.502250]  [<ffffffff81663e82>] system_call_fastpath+0x16/0x1b
    [  147.502253] ---[ end trace 83a2818c3956f9e4 ]---
    [  147.502254] ftrace failed to modify [<ffffffffa00cf729>] xen_send_ipi+0x9/0x64 [dtracedrv]
    [  147.502270]  actual: e8:7b:7c:ff:ff
    [  152.186317] Pid: 944, comm: dtrace Tainted: P        W  O 3.2.0-59-virtual #90-Ubuntu
    [  152.186321] Call Trace:
    [  152.186341]  [<ffffffffa00c7626>] mutex_enter_common+0x36/0x130 [dtracedrv]
    [  152.186345]  [<ffffffff816685d6>] ? bad_from_user+0x6/0x6
    [  152.186348]  [<ffffffff81668dcc>] ? bad_to_user+0x7f6/0x7f6
    [  152.186361]  [<ffffffffa00c773b>] dmutex_enter+0x1b/0x20 [dtracedrv]
    [  152.186371]  [<ffffffffa00baebe>] par_alloc+0x2e/0x110 [dtracedrv]
    [  152.186384]  [<ffffffffa00c50ae>] instr_provide_module+0x3e/0x250 [dtracedrv]
    [  152.186394]  [<ffffffffa00b7f99>] ? dtrace_casptr+0x9/0x20 [dtracedrv]
    [  152.186406]  [<ffffffffa00c7657>] ? mutex_enter_common+0x67/0x130 [dtracedrv]
    [  152.186416]  [<ffffffffa00ab69f>] dtrace_probe_provide+0x8f/0x140 [dtracedrv]
    [  152.186425]  [<ffffffffa00b3835>] dtrace_open+0x65/0x140 [dtracedrv]
    [  152.186436]  [<ffffffffa00b8f85>] dtracedrv_open+0x55/0x60 [dtracedrv]
    [  152.186440]  [<ffffffff813e218d>] misc_open+0x17d/0x350
    [  152.186444]  [<ffffffff8117b7b0>] ? mount_fs+0x1b0/0x1b0
    [  152.186448]  [<ffffffff8117c1f9>] chrdev_open+0xd9/0x250
    [  152.186451]  [<ffffffff81175660>] __dentry_open+0x2b0/0x380
    [  152.186454]  [<ffffffff8117c120>] ? cdev_put+0x30/0x30
    [  152.186458]  [<ffffffff8129cbcc>] ? security_inode_permission+0x1c/0x30
    [  152.186462]  [<ffffffff8118361a>] ? inode_permission+0x4a/0x110
    [  152.186465]  [<ffffffff81175dfd>] vfs_open+0x3d/0x40
    [  152.186468]  [<ffffffff81176ec0>] nameidata_to_filp+0x40/0x50
    [  152.186471]  [<ffffffff81185e58>] do_last+0x3f8/0x730
    [  152.186474]  [<ffffffff81187531>] path_openat+0xd1/0x3f0
    [  152.186478]  [<ffffffff81187972>] do_filp_open+0x42/0xa0
    [  152.186482]  [<ffffffff81319181>] ? strncpy_from_user+0x31/0x40
    [  152.186485]  [<ffffffff81182cda>] ? do_getname+0x10a/0x180
    [  152.186488]  [<ffffffff8165b82e>] ? _raw_spin_lock+0xe/0x20
    [  152.186491]  [<ffffffff81194a87>] ? alloc_fd+0xf7/0x150
    [  152.186494]  [<ffffffff81176fc8>] do_sys_open+0xf8/0x240
    [  152.186497]  [<ffffffff81177130>] sys_open+0x20/0x30
    [  152.186500]  [<ffffffff81663e82>] system_call_fastpath+0x16/0x1b
    [73582.884384] Pid: 2952, comm: dtrace Tainted: P        W  O 3.2.0-59-virtual #90-Ubuntu
    [73582.884389] Call Trace:
    [73582.884409]  [<ffffffffa0176626>] mutex_enter_common+0x36/0x130 [dtracedrv]
    [73582.884413]  [<ffffffff816685d6>] ? bad_from_user+0x6/0x6
    [73582.884416]  [<ffffffff81668dcc>] ? bad_to_user+0x7f6/0x7f6
    [73582.884429]  [<ffffffffa017673b>] dmutex_enter+0x1b/0x20 [dtracedrv]
    [73582.884441]  [<ffffffffa0169ebe>] par_alloc+0x2e/0x110 [dtracedrv]
    [73582.884453]  [<ffffffffa01740ae>] instr_provide_module+0x3e/0x250 [dtracedrv]
    [73582.884463]  [<ffffffffa0166f99>] ? dtrace_casptr+0x9/0x20 [dtracedrv]
    [73582.884475]  [<ffffffffa0176657>] ? mutex_enter_common+0x67/0x130 [dtracedrv]
    [73582.884485]  [<ffffffffa015a69f>] dtrace_probe_provide+0x8f/0x140 [dtracedrv]
    [73582.884495]  [<ffffffffa0162835>] dtrace_open+0x65/0x140 [dtracedrv]
    [73582.884505]  [<ffffffffa0167f85>] dtracedrv_open+0x55/0x60 [dtracedrv]
    [73582.884510]  [<ffffffff813e218d>] misc_open+0x17d/0x350
    [73582.884514]  [<ffffffff8117b7b0>] ? mount_fs+0x1b0/0x1b0
    [73582.884518]  [<ffffffff8117c1f9>] chrdev_open+0xd9/0x250
    [73582.884521]  [<ffffffff81175660>] __dentry_open+0x2b0/0x380
    [73582.884525]  [<ffffffff8117c120>] ? cdev_put+0x30/0x30
    [73582.884529]  [<ffffffff8129cbcc>] ? security_inode_permission+0x1c/0x30
    [73582.884532]  [<ffffffff8118361a>] ? inode_permission+0x4a/0x110
    [73582.884535]  [<ffffffff81175dfd>] vfs_open+0x3d/0x40
    [73582.884538]  [<ffffffff81176ec0>] nameidata_to_filp+0x40/0x50
    [73582.884541]  [<ffffffff81185e58>] do_last+0x3f8/0x730
    [73582.884545]  [<ffffffff81187531>] path_openat+0xd1/0x3f0
    [73582.884549]  [<ffffffff81187972>] do_filp_open+0x42/0xa0
    [73582.884553]  [<ffffffff81319181>] ? strncpy_from_user+0x31/0x40
    [73582.884556]  [<ffffffff81182cda>] ? do_getname+0x10a/0x180
    [73582.884559]  [<ffffffff8165b82e>] ? _raw_spin_lock+0xe/0x20
    [73582.884563]  [<ffffffff81194a87>] ? alloc_fd+0xf7/0x150
    [73582.884566]  [<ffffffff81176fc8>] do_sys_open+0xf8/0x240
    [73582.884569]  [<ffffffff81177130>] sys_open+0x20/0x30
    [73582.884572]  [<ffffffff81663e82>] system_call_fastpath+0x16/0x1b
    [73649.758459] /root/linux/build-3.2.0-59-virtual/driver/dtrace.c:dtrace_ioctl:16858: assertion failure buf->dtb_xamot != cached
    [73649.759928] Pid: 3189, comm: dtrace Tainted: P        W  O 3.2.0-59-virtual #90-Ubuntu
    [73649.760842] Call Trace:
    [73649.756016] Pid: 3438, comm: du Tainted: P        W  O 3.2.0-59-virtual #90-Ubuntu
    [73649.756016] Call Trace:
    [73649.756016]  <IRQ>  [<ffffffffa016892d>] dump_cpu_stack+0x3d/0x50 [dtracedrv]
    [73649.756016]  [<ffffffff810a1cf6>] generic_smp_call_function_single_interrupt+0xc6/0x120
    [73649.756016]  [<ffffffff81031667>] smp_call_function_single_interrupt+0x27/0x40
    [73649.756016]  [<ffffffff81665b5e>] call_function_single_interrupt+0x6e/0x80
    [73649.756016]  <EOI>  [<ffffffff81663e82>] ? system_call_fastpath+0x16/0x1b
    [73649.770541]  [<ffffffffa0166a75>] dtrace_ioctl+0x2775/0x2830 [dtracedrv]
    [73649.771174]  [<ffffffff810504e4>] ? check_preempt_curr+0x84/0xa0
    [73649.771776]  [<ffffffff8105053d>] ? ttwu_do_wakeup+0x3d/0x120
    [73649.772410]  [<ffffffff81055e4e>] ? update_curr+0x1de/0x1f0
    [73649.773014]  [<ffffffff810528b6>] ? ttwu_do_activate.constprop.179+0x66/0x70
    [73649.773599]  [<ffffffff81056145>] ? reweight_entity+0x165/0x180
    [73649.774178]  [<ffffffff810561df>] ? update_cfs_shares+0x7f/0x90
    [73649.774760]  [<ffffffff8105566d>] ? set_next_entity+0xad/0xd0
    [73649.775293]  [<ffffffff8105580a>] ? finish_task_switch+0x4a/0xf0
    [73649.775867]  [<ffffffff816595bc>] ? __schedule+0x3cc/0x6f0
    [73649.776432]  [<ffffffff8103dc39>] ? default_spin_lock_flags+0x9/0x10
    [73649.781248]  [<ffffffff8165babe>] ? _raw_spin_lock_irqsave+0x2e/0x40
    [73649.781874]  [<ffffffff8108e280>] ? lock_hrtimer_base.isra.24+0x30/0x60
    [73649.782519]  [<ffffffff8108e540>] ? hrtimer_try_to_cancel+0x50/0xc0
    [73649.783126]  [<ffffffff8108e5d2>] ? hrtimer_cancel+0x22/0x30
    [73649.783706]  [<ffffffff8109e42f>] ? futex_wait+0x15f/0x210
    [73649.784363]  [<ffffffff8109e04e>] ? get_futex_key+0x14e/0x2e0
    [73649.784970]  [<ffffffff8165b82e>] ? _raw_spin_lock+0xe/0x20
    [73649.785506]  [<ffffffff8109e643>] ? futex_wake+0x113/0x130
    [73649.786067]  [<ffffffffa0168a31>] dtracedrv_ioctl.isra.2+0x61/0x70 [dtracedrv]
    [73649.786926]  [<ffffffffa0168a6e>] dtracedrv_unlocked_ioctl+0xe/0x20 [dtracedrv]
    [73649.787774]  [<ffffffff81189d29>] do_vfs_ioctl+0x89/0x300
    [73649.788382]  [<ffffffff8103ce59>] ? kvm_clock_read+0x19/0x20
    [73649.796606]  [<ffffffff8103ce69>] ? kvm_clock_get_cycles+0x9/0x10
    [73649.797226]  [<ffffffff8118a031>] sys_ioctl+0x91/0xa0
    [73649.797778]  [<ffffffff81088731>] ? posix_clock_realtime_get+0x11/0x20
    [73649.798362]  [<ffffffff81663e82>] system_call_fastpath+0x16/0x1b
    [73662.628770] hrtimer: interrupt took 12478573 ns
    [73670.433697] sched: RT throttling activated
    
    #0 2936:<4>dtracedrv loaded: /dev/dtrace available, dtrace_here=0 nr_cpus=2
    #0 2936:vmem_create(dtrace) ffff8800349c5840
    #0 2936:vmem_create(dtrace_minor) ffff8800349c59c0
    #0 2936:__alloc_workqueue_key_ptr=ffffffff810854d0
    #0 2936:dtrace_linux.c:get_proc_addr: Failed to find 'lockdep_init_map' (warn=1)
    #0 2936:queue_delayed_work_ptr=ffffffff81082ba0
    #0 2936:destroy_workqueue_ptr=ffffffff81083900
    #0 2936:flush_workqueue_ptr=ffffffff810832c0
    #0 2936:delayed_work_timer_fn_ptr=ffffffff810828b0
    #0 2936:ctf loaded: /dev/ctf now available
    #0 2925:dtrace_linux.c:get_proc_addr: Failed to find 'sysrq_showregs_othercpus' (warn=2)
    #0 2925:dtrace_linux.c:get_proc_addr: Failed to find 'xtime_cache' (warn=3)
    
  3. dtrace4linux commented on Mar 6, 2014

    @dtrace4linux
    Owner

    Thanks for this info - really helpful. I normally have 500-700MB VMs and it
    typically works, but it will depend on what else the VM is doing. dtrace
    can have a large footprint when doing an fbt::: (trace all functions) for
    the overhead-per-function. How many probes does dtrace -l show on
    installing the driver? I typically see 20-40,000 depending on kernel and
    loaded drivers.

    Running out of memory is bad - dtrace code typically handles OOM but it may
    not do so properly in some instances (either their fault or mine) - as it
    typically would run (in solaris) on larger machines. The assertion failure
    may be memory related or some other.

    The erratic works/failure is also bad of course.

    What VM are you using ? virtualbox? kvm?

    On 6 March 2014 09:53, Grzegorz Nosek notifications@github.com wrote:

    The other CPU being idle didn't help as the VM was completely unresponsive
    (no keyboard/ssh/etc).

    watch -n1 tail -20 /proc/dtrace/trace in the (vnc) console makes the
    tests pass (tested a few times). Periodically catting it to a file also
    helped (tests pass).

    Here's the whole dmesg (after boot, from make load on). All this appeared
    around the first make test run (subsequent ones were quiet AFAICT). I
    also have the dump of /proc/dtrace/trace but it's quite large and doesn't
    seem suspicious apart from a few warnings (below). If you need the whole
    dump, I can put it somewhere online.

    This line in dmesg looks suspicious but I have no idea what a dtb_xamot is
    ;)

    [73649.758459] /root/linux/build-3.2.0-59-virtual/driver/dtrace.c:dtrace_ioctl:16858: assertion failure buf->dtb_xamot != cached

    Also, even while not catting I cannot reproduce the issue any more. After
    a reboot the behavior changed to something somewhat more interesting:

    Halfway through systrace-stringof-bad4 I got an oops (memory allocation
    error? screenshots attached) and the machine is halfway dead, i.e. the
    interrupts are working (keyboard, network), but login failed with an
    obscure error indicating things are deeply wrong (another screenshot
    attached)

    [image: zrzut ekranu 2014-03-06 10 37 46]https://f.cloud.github.com/assets/3634/2343731/ca134d6e-a513-11e3-92a6-117c186ab529.png
    [image: zrzut ekranu 2014-03-06 10 37 53]https://f.cloud.github.com/assets/3634/2343733/ce0ca96a-a513-11e3-86e3-34b4379639d6.png

    Apparently I lost the middle part of the stack trace which might have been
    interesting as it did involve dtrace_something :(

    [image: zrzut ekranu 2014-03-06 10 39 27]https://f.cloud.github.com/assets/3634/2343734/cfe0445e-a513-11e3-864d-b570788f6c1c.png

    Rebooting again, with 4GB of memory (used 1 GB previously) throws the same
    assertion failed error but makes the tests pass. Now running while true ;
    do make test ; done, will let it run for a few hours and see if it
    crashes. Still, my smallest VMs are 512MB/1 CPU each and I'd love to use
    dtrace there too. Or at least, not kill the machine if it can't ;)

    [ 147.500303] dtracedrv: module license 'CDDL' taints kernel.
    [ 147.500308] Disabling lock debugging due to kernel taint
    [ 147.502134] ------------[ cut here ]------------
    [ 147.502141] WARNING: at /build/buildd/linux-3.2.0/kernel/trace/ftrace.c:1498 ftrace_bug+0x28f/0x2e0()
    [ 147.502144] Hardware name: Bochs
    [ 147.502145] Modules linked in: dtracedrv(P+) xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack iptable_filter ip_tables x_tables virtio_balloon psmouse serio_raw floppy
    [ 147.502157] Pid: 931, comm: insmod Tainted: P O 3.2.0-59-virtual #90-Ubuntu
    [ 147.502160] Call Trace:
    [ 147.502165] [] warn_slowpath_common+0x7f/0xc0
    [ 147.502169] [] ? __probe_kernel_read+0x47/0x70
    [ 147.502184] [] ? xen_send_ipi+0x9/0x64 [dtracedrv]
    [ 147.502199] [] ? xen_send_ipi+0x9/0x64 [dtracedrv]
    [ 147.502202] [] warn_slowpath_null+0x1a/0x20
    [ 147.502205] [] ftrace_bug+0x28f/0x2e0
    [ 147.502209] [] ftrace_update_code+0x15a/0x1e0
    [ 147.502224] [] ? xen_send_ipi+0x9/0x64 [dtracedrv]
    [ 147.502227] [] ftrace_process_locs+0x7d/0xc0
    [ 147.502231] [] ftrace_module_notify_enter+0x3f/0x50
    [ 147.502236] [] notifier_call_chain+0x4d/0x70
    [ 147.502239] [] __blocking_notifier_call_chain+0x58/0x80
    [ 147.502243] [] blocking_notifier_call_chain+0x16/0x20
    [ 147.502246] [] sys_init_module+0x71/0x230
    [ 147.502250] [] system_call_fastpath+0x16/0x1b
    [ 147.502253] ---[ end trace 83a2818c3956f9e4 ]---
    [ 147.502254] ftrace failed to modify [] xen_send_ipi+0x9/0x64 [dtracedrv]
    [ 147.502270] actual: e8:7b:7c:ff:ff
    [ 152.186317] Pid: 944, comm: dtrace Tainted: P W O 3.2.0-59-virtual #90-Ubuntu
    [ 152.186321] Call Trace:
    [ 152.186341] [] mutex_enter_common+0x36/0x130 [dtracedrv]
    [ 152.186345] [] ? bad_from_user+0x6/0x6
    [ 152.186348] [] ? bad_to_user+0x7f6/0x7f6
    [ 152.186361] [] dmutex_enter+0x1b/0x20 [dtracedrv]
    [ 152.186371] [] par_alloc+0x2e/0x110 [dtracedrv]
    [ 152.186384] [] instr_provide_module+0x3e/0x250 [dtracedrv]
    [ 152.186394] [] ? dtrace_casptr+0x9/0x20 [dtracedrv]
    [ 152.186406] [] ? mutex_enter_common+0x67/0x130 [dtracedrv]
    [ 152.186416] [] dtrace_probe_provide+0x8f/0x140 [dtracedrv]
    [ 152.186425] [] dtrace_open+0x65/0x140 [dtracedrv]
    [ 152.186436] [] dtracedrv_open+0x55/0x60 [dtracedrv]
    [ 152.186440] [] misc_open+0x17d/0x350
    [ 152.186444] [] ? mount_fs+0x1b0/0x1b0
    [ 152.186448] [] chrdev_open+0xd9/0x250
    [ 152.186451] [] __dentry_open+0x2b0/0x380
    [ 152.186454] [] ? cdev_put+0x30/0x30
    [ 152.186458] [] ? security_inode_permission+0x1c/0x30
    [ 152.186462] [] ? inode_permission+0x4a/0x110
    [ 152.186465] [] vfs_open+0x3d/0x40
    [ 152.186468] [] nameidata_to_filp+0x40/0x50
    [ 152.186471] [] do_last+0x3f8/0x730
    [ 152.186474] [] path_openat+0xd1/0x3f0
    [ 152.186478] [] do_filp_open+0x42/0xa0
    [ 152.186482] [] ? strncpy_from_user+0x31/0x40
    [ 152.186485] [] ? do_getname+0x10a/0x180
    [ 152.186488] [] ? _raw_spin_lock+0xe/0x20
    [ 152.186491] [] ? alloc_fd+0xf7/0x150
    [ 152.186494] [] do_sys_open+0xf8/0x240
    [ 152.186497] [] sys_open+0x20/0x30
    [ 152.186500] [] system_call_fastpath+0x16/0x1b
    [73582.884384] Pid: 2952, comm: dtrace Tainted: P W O 3.2.0-59-virtual #90-Ubuntu
    [73582.884389] Call Trace:
    [73582.884409] [] mutex_enter_common+0x36/0x130 [dtracedrv]
    [73582.884413] [] ? bad_from_user+0x6/0x6
    [73582.884416] [] ? bad_to_user+0x7f6/0x7f6
    [73582.884429] [] dmutex_enter+0x1b/0x20 [dtracedrv]
    [73582.884441] [] par_alloc+0x2e/0x110 [dtracedrv]
    [73582.884453] [] instr_provide_module+0x3e/0x250 [dtracedrv]
    [73582.884463] [] ? dtrace_casptr+0x9/0x20 [dtracedrv]
    [73582.884475] [] ? mutex_enter_common+0x67/0x130 [dtracedrv]
    [73582.884485] [] dtrace_probe_provide+0x8f/0x140 [dtracedrv]
    [73582.884495] [] dtrace_open+0x65/0x140 [dtracedrv]
    [73582.884505] [] dtracedrv_open+0x55/0x60 [dtracedrv]
    [73582.884510] [] misc_open+0x17d/0x350
    [73582.884514] [] ? mount_fs+0x1b0/0x1b0
    [73582.884518] [] chrdev_open+0xd9/0x250
    [73582.884521] [] __dentry_open+0x2b0/0x380
    [73582.884525] [] ? cdev_put+0x30/0x30
    [73582.884529] [] ? security_inode_permission+0x1c/0x30
    [73582.884532] [] ? inode_permission+0x4a/0x110
    [73582.884535] [] vfs_open+0x3d/0x40
    [73582.884538] [] nameidata_to_filp+0x40/0x50
    [73582.884541] [] do_last+0x3f8/0x730
    [73582.884545] [] path_openat+0xd1/0x3f0
    [73582.884549] [] do_filp_open+0x42/0xa0
    [73582.884553] [] ? strncpy_from_user+0x31/0x40
    [73582.884556] [] ? do_getname+0x10a/0x180
    [73582.884559] [] ? _raw_spin_lock+0xe/0x20
    [73582.884563] [] ? alloc_fd+0xf7/0x150
    [73582.884566] [] do_sys_open+0xf8/0x240
    [73582.884569] [] sys_open+0x20/0x30
    [73582.884572] [] system_call_fastpath+0x16/0x1b
    [73649.758459] /root/linux/build-3.2.0-59-virtual/driver/dtrace.c:dtrace_ioctl:16858: assertion failure buf->dtb_xamot != cached
    [73649.759928] Pid: 3189, comm: dtrace Tainted: P W O 3.2.0-59-virtual #90-Ubuntu
    [73649.760842] Call Trace:
    [73649.756016] Pid: 3438, comm: du Tainted: P W O 3.2.0-59-virtual #90-Ubuntu
    [73649.756016] Call Trace:
    [73649.756016] [] dump_cpu_stack+0x3d/0x50 [dtracedrv]
    [73649.756016] [] generic_smp_call_function_single_interrupt+0xc6/0x120
    [73649.756016] [] smp_call_function_single_interrupt+0x27/0x40
    [73649.756016] [] call_function_single_interrupt+0x6e/0x80
    [73649.756016] [] ? system_call_fastpath+0x16/0x1b
    [73649.770541] [] dtrace_ioctl+0x2775/0x2830 [dtracedrv]
    [73649.771174] [] ? check_preempt_curr+0x84/0xa0
    [73649.771776] [] ? ttwu_do_wakeup+0x3d/0x120
    [73649.772410] [] ? update_curr+0x1de/0x1f0
    [73649.773014] [] ? ttwu_do_activate.constprop.179+0x66/0x70
    [73649.773599] [] ? reweight_entity+0x165/0x180
    [73649.774178] [] ? update_cfs_shares+0x7f/0x90
    [73649.774760] [] ? set_next_entity+0xad/0xd0
    [73649.775293] [] ? finish_task_switch+0x4a/0xf0
    [73649.775867] [] ? __schedule+0x3cc/0x6f0
    [73649.776432] [] ? default_spin_lock_flags+0x9/0x10
    [73649.781248] [] ? _raw_spin_lock_irqsave+0x2e/0x40
    [73649.781874] [] ? lock_hrtimer_base.isra.24+0x30/0x60
    [73649.782519] [] ? hrtimer_try_to_cancel+0x50/0xc0
    [73649.783126] [] ? hrtimer_cancel+0x22/0x30
    [73649.783706] [] ? futex_wait+0x15f/0x210
    [73649.784363] [] ? get_futex_key+0x14e/0x2e0
    [73649.784970] [] ? _raw_spin_lock+0xe/0x20
    [73649.785506] [] ? futex_wake+0x113/0x130
    [73649.786067] [] dtracedrv_ioctl.isra.2+0x61/0x70 [dtracedrv]
    [73649.786926] [] dtracedrv_unlocked_ioctl+0xe/0x20 [dtracedrv]
    [73649.787774] [] do_vfs_ioctl+0x89/0x300
    [73649.788382] [] ? kvm_clock_read+0x19/0x20
    [73649.796606] [] ? kvm_clock_get_cycles+0x9/0x10
    [73649.797226] [] sys_ioctl+0x91/0xa0
    [73649.797778] [] ? posix_clock_realtime_get+0x11/0x20
    [73649.798362] [] system_call_fastpath+0x16/0x1b
    [73662.628770] hrtimer: interrupt took 12478573 ns
    [73670.433697] sched: RT throttling activated

    #0 2936:<4>dtracedrv loaded: /dev/dtrace available, dtrace_here=0 nr_cpus=2
    #0 2936:vmem_create(dtrace) ffff8800349c5840
    #0 2936:vmem_create(dtrace_minor) ffff8800349c59c0
    #0 2936:__alloc_workqueue_key_ptr=ffffffff810854d0
    #0 2936:dtrace_linux.c:get_proc_addr: Failed to find 'lockdep_init_map' (warn=1)
    #0 2936:queue_delayed_work_ptr=ffffffff81082ba0
    #0 2936:destroy_workqueue_ptr=ffffffff81083900
    #0 2936:flush_workqueue_ptr=ffffffff810832c0
    #0 2936:delayed_work_timer_fn_ptr=ffffffff810828b0
    #0 2936:ctf loaded: /dev/ctf now available
    #0 2925:dtrace_linux.c:get_proc_addr: Failed to find 'sysrq_showregs_othercpus' (warn=2)
    #0 2925:dtrace_linux.c:get_proc_addr: Failed to find 'xtime_cache' (warn=3)

    Reply to this email directly or view it on GitHubhttps://github.com//issues/73#issuecomment-36839952
    .

  4. dtrace4linux commented on Mar 6, 2014

    @dtrace4linux
    Owner

    fyi .. i just fell over on a 12.04 ubuntu (3.4 kernel) quite early on. my
    kernel shows about 290k probes and my VM is about 900MB in size.

    [ 1010.916778] BUG: unable to handle kernel paging request at
    00000000001cd223
    [ 1010.916779] IP: []
    cpu_core_exec+0x13f/0xfffffffffffbcfa0 [dtracedrv]
    [ 1010.920200] PGD 3462b067 PUD 1651a067 PMD 0
    [ 1010.920200] Oops: 0002 [#1] SMP
    [ 1010.920200] CPU 1
    [ 1010.920200] Modules linked in: dtracedrv(PO) nfsd nfs lockd fscache
    auth_rpcgss nfs_acl sunrpc psmouse microcode i2c_piix4 serio_raw e1000
    [ 1010.920200]
    [ 1010.920200] Pid: 8508, comm: du Tainted: P W O 3.4.0 #1 innotek
    GmbH VirtualBox/VirtualBox
    [ 1010.920200] RIP: e030:[] []
    cpu_core_exec+0x13f/0xfffffffffffbcfa0 [dtracedrv]
    [ 1010.920200] RSP: e02b:ffff8800158a5e58 EFLAGS: 00010182
    [ 1010.920200] RAX: ffffffff81a65fa0 RBX: ffff880013819cc0 RCX:
    00000000001cd223
    [ 1010.920200] RDX: ffff8800158a5f00 RSI: ffff880013819cc0 RDI:
    ffff88003339a020
    [ 1010.920200] RBP: ffff8800158a5e68 R08: 0000000000016570 R09:
    ffff880013819cf8
    [ 1010.920200] R10: ffff880013819cc0 R11: 0000000000000004 R12:
    ffff88003339a020
    [ 1010.920200] R13: ffff880013955630 R14: ffff8800158a5f00 R15:
    0000000000000001
    [ 1010.920200] FS: 00002aeb33bd4b40(0000) GS:ffff88003ae80000(0000)
    knlGS:0000000000000000
    [ 1010.920200] CS: e033 DS: 0000 ES: 0000 CR0: 000000008005003b
    [ 1010.920200] CR2: 00000000001cd223 CR3: 0000000014935000 CR4:
    0000000000000660
    [ 1010.920200] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
    0000000000000000
    [ 1010.920200] DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7:
    0000000000000400
    [ 1010.920200] Process du (pid: 8508, threadinfo ffff8800158a4000, task
    ffff8800149a4440)

    My kernel is a Xen guest. So I need to do more homework to see whats
    happening.

    On 6 March 2014 22:34, Paul Fox paul.d.fox@gmail.com wrote:

    Thanks for this info - really helpful. I normally have 500-700MB VMs and
    it typically works, but it will depend on what else the VM is doing. dtrace
    can have a large footprint when doing an fbt::: (trace all functions) for
    the overhead-per-function. How many probes does dtrace -l show on
    installing the driver? I typically see 20-40,000 depending on kernel and
    loaded drivers.

    Running out of memory is bad - dtrace code typically handles OOM but it
    may not do so properly in some instances (either their fault or mine) - as
    it typically would run (in solaris) on larger machines. The assertion
    failure may be memory related or some other.

    The erratic works/failure is also bad of course.

    What VM are you using ? virtualbox? kvm?

    On 6 March 2014 09:53, Grzegorz Nosek notifications@github.com wrote:

    The other CPU being idle didn't help as the VM was completely
    unresponsive (no keyboard/ssh/etc).

    watch -n1 tail -20 /proc/dtrace/trace in the (vnc) console makes the
    tests pass (tested a few times). Periodically catting it to a file also
    helped (tests pass).

    Here's the whole dmesg (after boot, from make load on). All this
    appeared around the first make test run (subsequent ones were quiet
    AFAICT). I also have the dump of /proc/dtrace/trace but it's quite large
    and doesn't seem suspicious apart from a few warnings (below). If you need
    the whole dump, I can put it somewhere online.

    This line in dmesg looks suspicious but I have no idea what a dtb_xamot
    is ;)

    [73649.758459] /root/linux/build-3.2.0-59-virtual/driver/dtrace.c:dtrace_ioctl:16858: assertion failure buf->dtb_xamot != cached

    Also, even while not catting I cannot reproduce the issue any more. After
    a reboot the behavior changed to something somewhat more interesting:

    Halfway through systrace-stringof-bad4 I got an oops (memory allocation
    error? screenshots attached) and the machine is halfway dead, i.e. the
    interrupts are working (keyboard, network), but login failed with an
    obscure error indicating things are deeply wrong (another screenshot
    attached)

    [image: zrzut ekranu 2014-03-06 10 37 46]https://f.cloud.github.com/assets/3634/2343731/ca134d6e-a513-11e3-92a6-117c186ab529.png
    [image: zrzut ekranu 2014-03-06 10 37 53]https://f.cloud.github.com/assets/3634/2343733/ce0ca96a-a513-11e3-86e3-34b4379639d6.png

    Apparently I lost the middle part of the stack trace which might have
    been interesting as it did involve dtrace_something :(

    [image: zrzut ekranu 2014-03-06 10 39 27]https://f.cloud.github.com/assets/3634/2343734/cfe0445e-a513-11e3-864d-b570788f6c1c.png

    Rebooting again, with 4GB of memory (used 1 GB previously) throws the
    same assertion failed error but makes the tests pass. Now running while
    true ; do make test ; done, will let it run for a few hours and see if
    it crashes. Still, my smallest VMs are 512MB/1 CPU each and I'd love to use
    dtrace there too. Or at least, not kill the machine if it can't ;)

    [ 147.500303] dtracedrv: module license 'CDDL' taints kernel.
    [ 147.500308] Disabling lock debugging due to kernel taint
    [ 147.502134] ------------[ cut here ]------------
    [ 147.502141] WARNING: at /build/buildd/linux-3.2.0/kernel/trace/ftrace.c:1498 ftrace_bug+0x28f/0x2e0()
    [ 147.502144] Hardware name: Bochs
    [ 147.502145] Modules linked in: dtracedrv(P+) xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack iptable_filter ip_tables x_tables virtio_balloon psmouse serio_raw floppy
    [ 147.502157] Pid: 931, comm: insmod Tainted: P O 3.2.0-59-virtual #90-Ubuntu
    [ 147.502160] Call Trace:
    [ 147.502165] [] warn_slowpath_common+0x7f/0xc0
    [ 147.502169] [] ? __probe_kernel_read+0x47/0x70
    [ 147.502184] [] ? xen_send_ipi+0x9/0x64 [dtracedrv]
    [ 147.502199] [] ? xen_send_ipi+0x9/0x64 [dtracedrv]
    [ 147.502202] [] warn_slowpath_null+0x1a/0x20
    [ 147.502205] [] ftrace_bug+0x28f/0x2e0
    [ 147.502209] [] ftrace_update_code+0x15a/0x1e0
    [ 147.502224] [] ? xen_send_ipi+0x9/0x64 [dtracedrv]
    [ 147.502227] [] ftrace_process_locs+0x7d/0xc0
    [ 147.502231] [] ftrace_module_notify_enter+0x3f/0x50
    [ 147.502236] [] notifier_call_chain+0x4d/0x70
    [ 147.502239] [] __blocking_notifier_call_chain+0x58/0x80
    [ 147.502243] [] blocking_notifier_call_chain+0x16/0x20
    [ 147.502246] [] sys_init_module+0x71/0x230
    [ 147.502250] [] system_call_fastpath+0x16/0x1b
    [ 147.502253] ---[ end trace 83a2818c3956f9e4 ]---
    [ 147.502254] ftrace failed to modify [] xen_send_ipi+0x9/0x64 [dtracedrv]
    [ 147.502270] actual: e8:7b:7c:ff:ff
    [ 152.186317] Pid: 944, comm: dtrace Tainted: P W O 3.2.0-59-virtual #90-Ubuntu
    [ 152.186321] Call Trace:
    [ 152.186341] [] mutex_enter_common+0x36/0x130 [dtracedrv]
    [ 152.186345] [] ? bad_from_user+0x6/0x6
    [ 152.186348] [] ? bad_to_user+0x7f6/0x7f6
    [ 152.186361] [] dmutex_enter+0x1b/0x20 [dtracedrv]
    [ 152.186371] [] par_alloc+0x2e/0x110 [dtracedrv]
    [ 152.186384] [] instr_provide_module+0x3e/0x250 [dtracedrv]
    [ 152.186394] [] ? dtrace_casptr+0x9/0x20 [dtracedrv]
    [ 152.186406] [] ? mutex_enter_common+0x67/0x130 [dtracedrv]
    [ 152.186416] [] dtrace_probe_provide+0x8f/0x140 [dtracedrv]
    [ 152.186425] [] dtrace_open+0x65/0x140 [dtracedrv]
    [ 152.186436] [] dtracedrv_open+0x55/0x60 [dtracedrv]
    [ 152.186440] [] misc_open+0x17d/0x350
    [ 152.186444] [] ? mount_fs+0x1b0/0x1b0
    [ 152.186448] [] chrdev_open+0xd9/0x250
    [ 152.186451] [] __dentry_open+0x2b0/0x380
    [ 152.186454] [] ? cdev_put+0x30/0x30
    [ 152.186458] [] ? security_inode_permission+0x1c/0x30
    [ 152.186462] [] ? inode_permission+0x4a/0x110
    [ 152.186465] [] vfs_open+0x3d/0x40
    [ 152.186468] [] nameidata_to_filp+0x40/0x50
    [ 152.186471] [] do_last+0x3f8/0x730
    [ 152.186474] [] path_openat+0xd1/0x3f0
    [ 152.186478] [] do_filp_open+0x42/0xa0
    [ 152.186482] [] ? strncpy_from_user+0x31/0x40
    [ 152.186485] [] ? do_getname+0x10a/0x180
    [ 152.186488] [] ? _raw_spin_lock+0xe/0x20
    [ 152.186491] [] ? alloc_fd+0xf7/0x150
    [ 152.186494] [] do_sys_open+0xf8/0x240
    [ 152.186497] [] sys_open+0x20/0x30
    [ 152.186500] [] system_call_fastpath+0x16/0x1b
    [73582.884384] Pid: 2952, comm: dtrace Tainted: P W O 3.2.0-59-virtual #90-Ubuntu
    [73582.884389] Call Trace:
    [73582.884409] [] mutex_enter_common+0x36/0x130 [dtracedrv]
    [73582.884413] [] ? bad_from_user+0x6/0x6
    [73582.884416] [] ? bad_to_user+0x7f6/0x7f6
    [73582.884429] [] dmutex_enter+0x1b/0x20 [dtracedrv]
    [73582.884441] [] par_alloc+0x2e/0x110 [dtracedrv]
    [73582.884453] [] instr_provide_module+0x3e/0x250 [dtracedrv]
    [73582.884463] [] ? dtrace_casptr+0x9/0x20 [dtracedrv]
    [73582.884475] [] ? mutex_enter_common+0x67/0x130 [dtracedrv]
    [73582.884485] [] dtrace_probe_provide+0x8f/0x140 [dtracedrv]
    [73582.884495] [] dtrace_open+0x65/0x140 [dtracedrv]
    [73582.884505] [] dtracedrv_open+0x55/0x60 [dtracedrv]
    [73582.884510] [] misc_open+0x17d/0x350
    [73582.884514] [] ? mount_fs+0x1b0/0x1b0
    [73582.884518] [] chrdev_open+0xd9/0x250
    [73582.884521] [] __dentry_open+0x2b0/0x380
    [73582.884525] [] ? cdev_put+0x30/0x30
    [73582.884529] [] ? security_inode_permission+0x1c/0x30
    [73582.884532] [] ? inode_permission+0x4a/0x110
    [73582.884535] [] vfs_open+0x3d/0x40
    [73582.884538] [] nameidata_to_filp+0x40/0x50
    [73582.884541] [] do_last+0x3f8/0x730
    [73582.884545] [] path_openat+0xd1/0x3f0
    [73582.884549] [] do_filp_open+0x42/0xa0
    [73582.884553] [] ? strncpy_from_user+0x31/0x40
    [73582.884556] [] ? do_getname+0x10a/0x180
    [73582.884559] [] ? _raw_spin_lock+0xe/0x20
    [73582.884563] [] ? alloc_fd+0xf7/0x150
    [73582.884566] [] do_sys_open+0xf8/0x240
    [73582.884569] [] sys_open+0x20/0x30
    [73582.884572] [] system_call_fastpath+0x16/0x1b
    [73649.758459] /root/linux/build-3.2.0-59-virtual/driver/dtrace.c:dtrace_ioctl:16858: assertion failure buf->dtb_xamot != cached
    [73649.759928] Pid: 3189, comm: dtrace Tainted: P W O 3.2.0-59-virtual #90-Ubuntu
    [73649.760842] Call Trace:
    [73649.756016] Pid: 3438, comm: du Tainted: P W O 3.2.0-59-virtual #90-Ubuntu
    [73649.756016] Call Trace:
    [73649.756016] [] dump_cpu_stack+0x3d/0x50 [dtracedrv]
    [73649.756016] [] generic_smp_call_function_single_interrupt+0xc6/0x120
    [73649.756016] [] smp_call_function_single_interrupt+0x27/0x40
    [73649.756016] [] call_function_single_interrupt+0x6e/0x80
    [73649.756016] [] ? system_call_fastpath+0x16/0x1b
    [73649.770541] [] dtrace_ioctl+0x2775/0x2830 [dtracedrv]
    [73649.771174] [] ? check_preempt_curr+0x84/0xa0
    [73649.771776] [] ? ttwu_do_wakeup+0x3d/0x120
    [73649.772410] [] ? update_curr+0x1de/0x1f0
    [73649.773014] [] ? ttwu_do_activate.constprop.179+0x66/0x70
    [73649.773599] [] ? reweight_entity+0x165/0x180
    [73649.774178] [] ? update_cfs_shares+0x7f/0x90
    [73649.774760] [] ? set_next_entity+0xad/0xd0
    [73649.775293] [] ? finish_task_switch+0x4a/0xf0
    [73649.775867] [] ? __schedule+0x3cc/0x6f0
    [73649.776432] [] ? default_spin_lock_flags+0x9/0x10
    [73649.781248] [] ? _raw_spin_lock_irqsave+0x2e/0x40
    [73649.781874] [] ? lock_hrtimer_base.isra.24+0x30/0x60
    [73649.782519] [] ? hrtimer_try_to_cancel+0x50/0xc0
    [73649.783126] [] ? hrtimer_cancel+0x22/0x30
    [73649.783706] [] ? futex_wait+0x15f/0x210
    [73649.784363] [] ? get_futex_key+0x14e/0x2e0
    [73649.784970] [] ? _raw_spin_lock+0xe/0x20
    [73649.785506] [] ? futex_wake+0x113/0x130
    [73649.786067] [] dtracedrv_ioctl.isra.2+0x61/0x70 [dtracedrv]
    [73649.786926] [] dtracedrv_unlocked_ioctl+0xe/0x20 [dtracedrv]
    [73649.787774] [] do_vfs_ioctl+0x89/0x300
    [73649.788382] [] ? kvm_clock_read+0x19/0x20
    [73649.796606] [] ? kvm_clock_get_cycles+0x9/0x10
    [73649.797226] [] sys_ioctl+0x91/0xa0
    [73649.797778] [] ? posix_clock_realtime_get+0x11/0x20
    [73649.798362] [] system_call_fastpath+0x16/0x1b
    [73662.628770] hrtimer: interrupt took 12478573 ns
    [73670.433697] sched: RT throttling activated

    #0 2936:<4>dtracedrv loaded: /dev/dtrace available, dtrace_here=0 nr_cpus=2
    #0 2936:vmem_create(dtrace) ffff8800349c5840
    #0 2936:vmem_create(dtrace_minor) ffff8800349c59c0
    #0 2936:__alloc_workqueue_key_ptr=ffffffff810854d0
    #0 2936:dtrace_linux.c:get_proc_addr: Failed to find 'lockdep_init_map' (warn=1)
    #0 2936:queue_delayed_work_ptr=ffffffff81082ba0
    #0 2936:destroy_workqueue_ptr=ffffffff81083900
    #0 2936:flush_workqueue_ptr=ffffffff810832c0
    #0 2936:delayed_work_timer_fn_ptr=ffffffff810828b0
    #0 2936:ctf loaded: /dev/ctf now available
    #0 2925:dtrace_linux.c:get_proc_addr: Failed to find 'sysrq_showregs_othercpus' (warn=2)
    #0 2925:dtrace_linux.c:get_proc_addr: Failed to find 'xtime_cache' (warn=3)

    Reply to this email directly or view it on GitHubhttps://github.com//issues/73#issuecomment-36839952
    .

  5. HenkPoley commented on Aug 14, 2014

    @HenkPoley

    Seeing a similar (same?) lockup problem on ubuntu 14.04.1

  6. dtrace4linux commented on Aug 14, 2014

    @dtrace4linux
    Owner

    I will have to give it a test. The test is a torture test and its obviously
    horrible to have something that can hang your machine. Often what I do is
    keep an eye on dmesg output, or /var/log/kern.log. If you have a multicpu
    machine/VM, sometimes the issue is one cpu locks up,a nd then the next... -
    so you can get in quick before it all dies.

    Or run from the console - more chance of catching a kernel panic or
    deadlock event.

    On 14 August 2014 11:48, HenkPoley notifications@github.com wrote:

    Seeing a similar (same?) lockup problem on ubuntu 14.04.1

    —
    Reply to this email directly or view it on GitHub
    #73 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions