[Pkg-libvirt-maintainers] Bug#748703: strace output
Bob Weber
bob2969685 at gmail.com
Sat May 24 18:29:00 UTC 2014
I ran strace with the following arguments as you requested:
# strace -f -s 2048 -otrace.log -efile -p $(pidof libvirtd)
Process 1419 attached with 11 threads - interrupt to quit
^CProcess 1419 detached
Process 2225 detached
Process 2226 detached
Process 2227 detached
Process 2228 detached
Process 2229 detached
Process 2230 detached
Process 2231 detached
Process 2232 detached
Process 2233 detached
Process 2234 detached
-----------
While it was running I tried to view the "SATA Disk 1" properties under the
Virtual Machine Details View window of Virtual Machine Manager which failed as
before.
These lines in the trace.log file show where the successful opening of
Debian-7.4.img and the failure of lstat to find Debian-7.4-base.img. Notice the
complete path is missing for Debian-7.4-base.img.
2234 lstat("/home/img/MyMachines/Debian-7.4/Debian-7.4.img",
{st_mode=S_IFREG|0644, st_size=1881473024, ...}) = 0
2231 stat("/etc/modprobe.conf", <unfinished ...>
2234 open("/home/img/MyMachines/Debian-7.4/Debian-7.4.img",
O_RDONLY|O_NOCTTY|O_NONBLOCK <unfinished ...>
2231 <... stat resumed> 0x7fd0909a1ff0) = -1 ENOENT (No such file or directory)
2234 <... open resumed> ) = 25
2231 stat("/etc/modprobe.d/alsa-base.conf", {st_mode=S_IFREG|0644,
st_size=1186, ...}) = 0
2231 stat("/etc/modprobe.d/alsa-base-blacklist.conf", {st_mode=S_IFREG|0644,
st_size=229, ...}) = 0
2231 stat("/etc/modprobe.d/fbdev-blacklist.conf", <unfinished ...>
2234 lstat("Debian-7.4-base.img", <unfinished ...>
2231 <... stat resumed> {st_mode=S_IFREG|0644, st_size=456, ...}) = 0
2234 <... lstat resumed> 0x7fd08f19f570) = -1 ENOENT (No such file or directory)
A second run of strace:
# strace -f -s 2048 -otrace2.log -efile -p $(pidof libvirtd)
Process 1419 attached with 11 threads - interrupt to quit
^CProcess 1419 detached
Process 2225 detached
Process 2226 detached
Process 2227 detached
Process 2228 detached
Process 2229 detached
Process 2230 detached
Process 2231 detached
Process 2232 detached
Process 2233 detached
Process 2234 detached
While running this strace I re-ran this command under virsh (virsh was already
open from the tests yesterday).
virsh # vol-info --pool Debian-7.4 Debian-7.4.img
Name: Debian-7.4.img
error: cannot stat file 'Debian-7.4-base.img': No such file or directory
virsh #
Again trace2.log shows a successful lstat and open of Debian-7.4.img and the
failure of lstat to find Debian-7.4-base.img with the full path missing.
2231 lstat("/home/img/MyMachines/Debian-7.4/Debian-7.4.img",
{st_mode=S_IFREG|0644, st_size=1881473024, ...}) = 0
2231 open("/home/img/MyMachines/Debian-7.4/Debian-7.4.img",
O_RDONLY|O_NOCTTY|O_NONBLOCK) = 25
2231 lstat("Debian-7.4-base.img", 0x7fd0909a2560) = -1 ENOENT (No such file or
directory)
trace.log and strace2.log are attached.
Thanks for your help.
...Bob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trace.log
Type: text/x-log
Size: 1384124 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20140524/b3341bd4/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trace2.log
Type: text/x-log
Size: 528286 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20140524/b3341bd4/attachment-0003.bin>
More information about the Pkg-libvirt-maintainers
mailing list