Re: Bug? 100% load on core after physically removing USB storage from host

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

 



On 6/13/12, Stefan Hajnoczi <stefanha@xxxxxxxxx> wrote:
>Since system time is a large chunk you could use strace -f -p $(pgrep
>qemu-kvm) or other system call tracing tools to see what the qemu-kvm
>process is doing.

The command you gave didn't work so I replace $(pgrep) with PID of the
process running the VM after checking that -p was the PID option.

strace -f -p 19424 produces the following repeating lines

[pid 19424] ioctl(0, USBDEVFS_REAPURBNDELAY, 0x7fff8fc43d48) = -1
ENOTTY (Inappropriate ioctl for device)
[pid 19424] timer_gettime(0x2, {it_interval={0, 0}, it_value={0, 0}}) = 0
[pid 19424] timer_settime(0x2, 0, {it_interval={0, 0}, it_value={0,
250000}}, NULL) = 0
[pid 19424] timer_gettime(0x2, {it_interval={0, 0}, it_value={0, 196501}}) = 0
[pid 19424] select(27, [7 10 15 18 20 21 22 23 24 25 26], [16], [],
{1, 0}) = 3 (in [7 18], out [16], left {0, 999995})
[pid 19424] read(18, "\1\0\0\0\0\0\0\0", 4096) = 8
[pid 19424] read(18, 0x7fff8fc42d50, 4096) = -1 EAGAIN (Resource
temporarily unavailable)
[pid 19424] ioctl(0, USBDEVFS_REAPURBNDELAY, 0x7fff8fc43d48) = -1
ENOTTY (Inappropriate ioctl for device)
[pid 19424] read(7, "\0", 512)          = 1
[pid 19424] read(7, 0x7fff8fc43b50, 512) = -1 EAGAIN (Resource
temporarily unavailable)
[pid 19424] select(27, [7 10 15 18 20 21 22 23 24 25 26], [16], [],
{1, 0}) = 2 (in [20], out [16], left {0, 999994})
[pid 19424] read(20,
"\16\0\0\0\0\0\0\0\376\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\0\0\0\0"...,
128) = 128
[pid 19424] rt_sigaction(SIGALRM, NULL, {0x7f5d28f6faa0, ~[KILL STOP
RTMIN RT_1], SA_RESTORER, 0x7f5d288d94a0}, 8) = 0
[pid 19424] write(8, "\0", 1)           = 1
[pid 19424] write(19, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 19424] read(20, 0x7fff8fc43cc0, 128) = -1 EAGAIN (Resource
temporarily unavailable)
[pid 19424] ioctl(0, USBDEVFS_REAPURBNDELAY, 0x7fff8fc43d48) = -1
ENOTTY (Inappropriate ioctl for device)
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux