You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Entire system freezes on Google Compute Engine VM #114
I'm trying to get dtrace working on a Linux VM running on Google Cloud Engine. I can successfully load the kernel module, but the moment I run dtrace my SSH session stops responding (and eventually fails with "Broken pipe"). I can't SSH in again until I reboot the VM.
GCE is a kvm instance, I recall testing dtrace in a kvm instance on my machine
and it caused repeatable kernel panics but I didn't investigate it much further.
According to Paul it's something about linux behaving different because it is in
a VM but I was under the impression KVM was a full hardware virtualization so it
should not even really be aware that it is virtualized...
On 06/05/2015 01:35 PM, Aaron Jacobs wrote:
I'm trying to get dtrace working on a Linux VM running on Google Cloud Engine. I can successfully load the kernel module, but the moment I run dtrace my SSH session stops responding (and eventually fails with "Broken pipe"). I can't SSH in again until I reboot the VM.
its possibly its Xen causing the issue. Best thing to try is on an Ubuntu
kvm running on top of a Xen host (I think Ubuntu defaults to this).
When a panic/freeze occurs, likely the kernel is double-faulted - it can be
helpful to try some other syscall you can control (like chdir) and tail -f
/var/log/kernel.log in the background or run on the VM's console. The panic
messages will hit the console, but if you are in an X session or solely
ssh'd in you will never see the console.
If you are lucky, after a reboot /var/log/kern.log will have the trail end
of the death of the VM before the reboot.
Be helpful to see /proc/dtrace/trace before doing any dtrace activity - it
might hilite what is missing in the kernel.
GCE is a kvm instance, I recall testing dtrace in a kvm instance on my
machine
and it caused repeatable kernel panics but I didn't investigate it much
further.
According to Paul it's something about linux behaving different because it
is in
a VM but I was under the impression KVM was a full hardware virtualization
so it
should not even really be aware that it is virtualized...
On 06/05/2015 01:35 PM, Aaron Jacobs wrote:
I'm trying to get dtrace working on a Linux VM running on Google Cloud
Engine. I can successfully load the kernel module, but the moment I run
dtrace my SSH session stops responding (and eventually fails with "Broken
pipe"). I can't SSH in again until I reboot the VM.
and the SSH session on which I ran it immediately froze up, with dtrace not responding to Ctrl-C, and eventually timed out. Other sessions continued to work, but the system would no longer respond to new SSH connections. I got this NMI watchdog message in /var/log/kern.log.
Activity
cjdelisle commentedon Jun 5, 2015
GCE is a kvm instance, I recall testing dtrace in a kvm instance on my machine
and it caused repeatable kernel panics but I didn't investigate it much further.
According to Paul it's something about linux behaving different because it is in
a VM but I was under the impression KVM was a full hardware virtualization so it
should not even really be aware that it is virtualized...
On 06/05/2015 01:35 PM, Aaron Jacobs wrote:
Satire is the escape hatch from the cycle of sorrow, hatred and violence. #JeSuisCharlie
dtrace4linux commentedon Jun 5, 2015
its possibly its Xen causing the issue. Best thing to try is on an Ubuntu
kvm running on top of a Xen host (I think Ubuntu defaults to this).
When a panic/freeze occurs, likely the kernel is double-faulted - it can be
helpful to try some other syscall you can control (like chdir) and tail -f
/var/log/kernel.log in the background or run on the VM's console. The panic
messages will hit the console, but if you are in an X session or solely
ssh'd in you will never see the console.
If you are lucky, after a reboot /var/log/kern.log will have the trail end
of the death of the VM before the reboot.
Be helpful to see /proc/dtrace/trace before doing any dtrace activity - it
might hilite what is missing in the kernel.
On 5 June 2015 at 13:02, Caleb James DeLisle notifications@github.com
wrote:
jacobsa commentedon Jun 8, 2015
Thanks for the tips. I ran this:
and the SSH session on which I ran it immediately froze up, with dtrace not responding to Ctrl-C, and eventually timed out. Other sessions continued to work, but the system would no longer respond to new SSH connections. I got this NMI watchdog message in
/var/log/kern.log.