Re: [Libguestfs] libguestfs powerpc package
by Richard W.M. Jones
[Please keep message on the list]
On Mon, Sep 30, 2013 at 12:58:38AM +0200, Roberto Innocenti wrote:
> [libguestfs on ppc]
You should be able to compile from the latest source on ppc64, since I
spent some time a few weeks ago getting it to work:
http://comments.gmane.org/gmane.linux.redhat.fedora.virtualization/2268
Start with git (not 1.22), read the README file, and let us know on
the mailing list what precise errors you get when you try to compile it.
Note you'll require the latest supermin (from git) first, and qemu
from git, and IIRC there was an endianness bug in hivex too which is
fixed in git. The latest hivex isn't required unless you're doing
Widows guest inspection.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
10 years, 8 months
enable build for ocaml bytecode
by Olaf Hering
This is a first attempt to build libguestfs with just a ocaml bytecode
compiler. The three tools written in ocaml will be build only when an
ocamlopt compiler is available.
Olaf
---
Makefile.am | 5 ++++-
configure.ac | 2 ++
ocaml/Makefile.am | 20 +++++++++++++++++---
resize/Makefile.am | 2 +-
sparsify/Makefile.am | 2 +-
sysprep/Makefile.am | 2 +-
6 files changed, 26 insertions(+), 7 deletions(-)
Index: libguestfs-1.20.1/Makefile.am
===================================================================
--- libguestfs-1.20.1.orig/Makefile.am
+++ libguestfs-1.20.1/Makefile.am
@@ -74,7 +74,10 @@ if HAVE_PERL
SUBDIRS += perl perl/examples
endif
if HAVE_OCAML
-SUBDIRS += ocaml ocaml/examples
+SUBDIRS += ocaml
+endif
+if HAVE_OCAMLOPT
+SUBDIRS += ocaml/examples
endif
if HAVE_PYTHON
SUBDIRS += python python/examples
Index: libguestfs-1.20.1/configure.ac
===================================================================
--- libguestfs-1.20.1.orig/configure.ac
+++ libguestfs-1.20.1/configure.ac
@@ -865,6 +865,8 @@ AS_IF([test "x$enable_ocaml" != "xno"],
])
AM_CONDITIONAL([HAVE_OCAML],
[test "x$OCAMLC" != "xno" && test "x$OCAMLFIND" != "xno"])
+AM_CONDITIONAL([HAVE_OCAMLOPT],
+ [test "x$OCAMLOPT" != "xno" && test "x$OCAMLC" != "xno" && test "x$OCAMLFIND" != "xno"])
AM_CONDITIONAL([HAVE_OCAMLDOC],
[test "x$OCAMLDOC" != "xno"])
Index: libguestfs-1.20.1/ocaml/Makefile.am
===================================================================
--- libguestfs-1.20.1.orig/ocaml/Makefile.am
+++ libguestfs-1.20.1/ocaml/Makefile.am
@@ -43,10 +43,20 @@ CLEANFILES += t/*.cmi t/*.cmo t/*.cmx t/
if HAVE_OCAML
+DATA_HOOK_FILES = META *.so *.a *.cma \
+ *.cmi $(srcdir)/*.mli
+if HAVE_OCAMLOPT
+DATA_HOOK_FILES += *.cmx *.cmxa
+endif
+
OCAMLCFLAGS = -g -warn-error CDEFLMPSUVYZX
OCAMLOPTFLAGS = $(OCAMLCFLAGS)
-noinst_DATA = mlguestfs.cma mlguestfs.cmxa META
+noinst_DATA = mlguestfs.cma
+if HAVE_OCAMLOPT
+noinst_DATA += mlguestfs.cmxa
+endif
+noinst_DATA += META
# Build the C part into a library, so that automake handles the C
# compilation step for us. Note that we don't directly use this
@@ -101,9 +111,13 @@ TESTS = run-bindtests \
$(patsubst %,%.opt,$(test_progs)))
noinst_DATA += \
- bindtests.bc bindtests.opt \
+ bindtests.bc
+if HAVE_OCAMLOPT
+noinst_DATA += \
+ bindtests.opt \
$(test_progs:%=%.bc) \
$(test_progs:%=%.opt)
+endif
bindtests.bc: bindtests.cmo mlguestfs.cma
mkdir -p t
@@ -217,7 +231,7 @@ install-data-hook:
$(OCAMLFIND) install \
-ldconf ignore -destdir $(DESTDIR)$(OCAMLLIB) \
guestfs \
- META *.so *.a *.cma *.cmx *.cmxa *.cmi $(srcdir)/*.mli
+ $(DATA_HOOK_FILES)
rm $(DESTDIR)$(OCAMLLIB)/guestfs/bindtests.*
rm $(DESTDIR)$(OCAMLLIB)/guestfs/libguestfsocaml.a
Index: libguestfs-1.20.1/resize/Makefile.am
===================================================================
--- libguestfs-1.20.1.orig/resize/Makefile.am
+++ libguestfs-1.20.1/resize/Makefile.am
@@ -40,7 +40,7 @@ SOURCES = \
resize_utils.ml \
resize_utils_tests.ml
-if HAVE_OCAML
+if HAVE_OCAMLOPT
# Note this list must be in dependency order.
OBJECTS = \
Index: libguestfs-1.20.1/sparsify/Makefile.am
===================================================================
--- libguestfs-1.20.1.orig/sparsify/Makefile.am
+++ libguestfs-1.20.1/sparsify/Makefile.am
@@ -36,7 +36,7 @@ SOURCES = \
sparsify_gettext.ml \
sparsify_utils.ml
-if HAVE_OCAML
+if HAVE_OCAMLOPT
# Note this list must be in dependency order.
OBJECTS = \
Index: libguestfs-1.20.1/sysprep/Makefile.am
===================================================================
--- libguestfs-1.20.1.orig/sysprep/Makefile.am
+++ libguestfs-1.20.1/sysprep/Makefile.am
@@ -86,7 +86,7 @@ SOURCES = \
utils.ml \
utils.mli
-if HAVE_OCAML
+if HAVE_OCAMLOPT
# Note this list must be in dependency order.
OBJECTS = \
10 years, 10 months
[PATCH] builder: add index-struct.h as dependency for index-parser-c.c
by Pino Toscano
Just like with index-parse.h, also index-struct.h is a dependency of
index-parser-c.c which automake cannot generate correctly.
Thus, add it manually.
---
builder/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builder/Makefile.am b/builder/Makefile.am
index fc4c552..6565abb 100644
--- a/builder/Makefile.am
+++ b/builder/Makefile.am
@@ -231,7 +231,7 @@ CLEANFILES += \
# Fix dependencies which automake doesn't generate correctly.
if HAVE_OCAML
-index-parser-c.o: index-parse.h
+index-parser-c.o: index-parse.h index-struct.h
index-scan.o: index-parse.h
endif
index-validate.o: index-parse.h
--
1.8.3.1
10 years, 10 months
Re: [Libguestfs] Double fault panic in L2 upon v2v conversion
by Rom Freiman
Kashyap, just to be sure - it happens to you during the v2v
conversion? on L2? While L1 and L0 works fine afterwords, right?
Thanks
On Fri, Jan 17, 2014 at 4:45 PM, Kashyap Chamarthy <kchamart(a)redhat.com> wrote:
> On 01/17/2014 03:38 PM, Richard W.M. Jones wrote:
>> On Fri, Jan 17, 2014 at 04:14:03PM +0200, Rom Freiman wrote:
>>> How do you know that the problem is with KVM/QEMU and not with libguestfs?
>>
>> The guestfsd daemon is simply running the regular 'mount' command.
>> The mount command causes the kernel to panic. There should be no
>> circumstances where running an ordinary command like that, albeit as
>> root, should cause the kernel to panic. Unless the kernel (or in this
>> case, something underneath the kernel) is broken.
>>
>> mount -o ro /dev/sdb /sysroot/
>> [ 12.645305] PANIC: double fault, error_code: 0x0
>> [ 12.645305] CPU: 0 PID: 141 Comm: mount Not tainted
>> 3.11.8-200.strato0002.fc19.strato.c3850ae03e9d.x86_64 #1
>> [ 12.645305] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
>> [ 12.645305] task: ffff88001cc816e0 ti: ffff88001cde6000 task.ti:
>> ffff88001cde6000
>> [ 12.645305] RIP: 0033:[<00007fa602c5b99b>] [<00007fa602c5b99b>]
>> 0x7fa602c5b99a
>> [ 12.645305] RSP: 002b:00007fff4f5884a0 EFLAGS: 00010216
>> [ 12.645305] RAX: 00007fa602008ff8 RBX: 00007fa601ff0000 RCX: 00007fa601ff0000
>> [ 12.645305] RDX: 00000000003b7068 RSI: 00007fff4f588560 RDI: 00007fa601ff3d18
>> [ 12.645305] RBP: 00007fff4f5885d0 R08: 00007fa60200f310 R09: 0000000000000000
>> [ 12.645305] R10: 0000000000000022 R11: 00007fa60200f310 R12: 00007fa60200e9b0
>> [ 12.645305] R13: 0000000000000000 R14: 0000000000000000 R15: 00007fa602e6e990
>> [ 12.645305] FS: 00007fa602e69880(0000) GS:ffff88001f000000(0000)
>> knlGS:0000000000000000
>> [ 12.645305] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
>> [ 12.645305] CR2: 0000000000000000 CR3: 000000001d7fb000 CR4: 00000000000006f0
>> [ 12.645305]
>> [ 12.645305] Kernel panic - not syncing: Machine halted.
>> [ 12.645305] CPU: 0 PID: 141 Comm: mount Not tainted
>> 3.11.8-200.strato0002.fc19.strato.c3850ae03e9d.x86_64 #1
>> [ 12.645305] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
>> [ 12.645305] ffff88001f005f58 ffff88001f005e90 ffffffff8164024b
>> ffffffff819e89dc
>> [ 12.645305] ffff88001f005f08 ffffffff8163c272 0000000000000008
>> ffff88001f005f18
>> [ 12.645305] ffff88001f005eb8 ffffffff8163c8e5 0000000000000046
>> 00000000000000b1
>> [ 12.645305] Call Trace:
>> [ 12.645305] <#DF> [<ffffffff8164024b>] dump_stack+0x45/0x56
>> [ 12.645305] [<ffffffff8163c272>] panic+0xc8/0x1d7
>> [ 12.645305] [<ffffffff8163c8e5>] ? printk+0x67/0x69
>> [ 12.645305] [<ffffffff81048ae1>] df_debug+0x31/0x40
>> [ 12.645305] [<ffffffff810132ed>] do_double_fault+0x5d/0x80
>> [ 12.645305] [<ffffffff81650b88>] double_fault+0x28/0x30
>> [ 12.645305] <<EOE>>
>
> Correct.
>
> I encountered this same double_fault panic a week ago:
>
>
> http://kashyapc.fedorapeople.org/temp/double-fault-panic-nested-kvm-envir...
>
> With these versions:
>
> $ uname -r ; rpm -q libvirt qemu-system-x86
> 3.11.10-301.fc20.x86_64
> libvirt-1.1.3.1-2.fc20.x86_64
> qemu-system-x86-1.6.1-2.fc20.x86_64
>
> When I briefly discussed this double fault panic with Paolo Bonzini (KVM
> maintainer), he mentioned it is probably a host hypervisor bug. But this
> needs more investigation (ftrace for nested guest, x86info in L1 and L2
> - if possible).
>
>
> Answering Rom's earlier question ("Kashyap, can you please share your
> experience?"): Yes, ested virtualization with KVM and Intel is not
> *really* the most stable, but there's on going work upstream to improve
> this and fix bbugs.
>
> Refer these recent bugs I filed while in a nested KVM environment:
>
> https://bugzilla.kernel.org/show_bug.cgi?id=67761
> https://bugzilla.kernel.org/show_bug.cgi?id=68051
> https://bugzilla.kernel.org/show_bug.cgi?id=67751
>
>
>
> --
> /kashyap
10 years, 11 months
libguestfs-test-tool hangs on Btrfs
by Kashyap Chamarthy
A simple libguestfs-test-tool invocation on Btrfs machine hangs as noted
below.
Versions and related details here:
https://bugzilla.redhat.com/show_bug.cgi?id=1060126
Complete strace:
http://kashyapc.fedorapeople.org/temp/qemu-strace.log
----------------
$ libguestfs-test-tool
************************************************************
* IMPORTANT NOTICE
*
* When reporting bugs, include the COMPLETE, UNEDITED
* output below in your bug report.
*
************************************************************
LIBGUESTFS_QEMU=/root/qemu-strace.sh
LIBGUESTFS_BACKEND=direct
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/root/bin
SELinux: Enforcing
guestfs_get_append: (null)
guestfs_get_autosync: 1
guestfs_get_backend: direct
guestfs_get_backend_settings: []
guestfs_get_cachedir: /var/tmp
guestfs_get_direct: 0
guestfs_get_hv: /root/qemu-strace.sh
guestfs_get_memsize: 500
guestfs_get_network: 0
guestfs_get_path: /usr/lib64/guestfs
guestfs_get_pgroup: 0
guestfs_get_program: libguestfs-test-tool
guestfs_get_recovery_proc: 1
guestfs_get_selinux: 0
guestfs_get_smp: 1
guestfs_get_tmpdir: /tmp
guestfs_get_trace: 0
guestfs_get_verbose: 1
host_cpu: x86_64
Launching appliance, timeout set to 600 seconds.
libguestfs: launch: program=libguestfs-test-tool
libguestfs: launch: version=1.25.29fedora=21,release=1.fc21,libvirt
libguestfs: launch: backend registered: unix
libguestfs: launch: backend registered: uml
libguestfs: launch: backend registered: libvirt
libguestfs: launch: backend registered: direct
libguestfs: launch: backend=direct
libguestfs: launch: tmpdir=/tmp/libguestfshdxOLe
libguestfs: launch: umask=0022
libguestfs: launch: euid=0
libguestfs: command: run: /usr/bin/supermin-helper
libguestfs: command: run: \ --verbose
libguestfs: command: run: \ -f checksum
libguestfs: command: run: \ --host-cpu x86_64
libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d
supermin helper [00000ms] whitelist = (not specified)
supermin helper [00000ms] host_cpu = x86_64
supermin helper [00000ms] dtb_wildcard = (not specified)
supermin helper [00000ms] inputs:
supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d
supermin helper [00000ms] outputs:
supermin helper [00000ms] kernel = (none)
supermin helper [00000ms] dtb = (none)
supermin helper [00000ms] initrd = (none)
supermin helper [00000ms] appliance = (none)
checking modpath /lib/modules/3.14.0-0.rc0.git12.1.fc21.x86_64 is a
directory
checking modpath /lib/modules/3.11.10-301.fc20.x86_64 is a directory
checking modpath /lib/modules/3.12.8-300.fc20.x86_64 is a directory
picked kernel vmlinuz-3.14.0-0.rc0.git12.1.fc21.x86_64
supermin helper [00013ms] finished creating kernel
supermin helper [00015ms] visiting /usr/lib64/guestfs/supermin.d
supermin helper [00016ms] visiting /usr/lib64/guestfs/supermin.d/base.img.gz
supermin helper [00020ms] visiting
/usr/lib64/guestfs/supermin.d/daemon.img.gz
supermin helper [00024ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles
supermin helper [05285ms] visiting /usr/lib64/guestfs/supermin.d/init.img
supermin helper [05291ms] visiting
/usr/lib64/guestfs/supermin.d/udev-rules.img
supermin helper [05294ms] adding kernel modules
supermin helper [09466ms] finished creating appliance
libguestfs: checksum of existing appliance:
6528eb9d1b1b320de069e8331ddaffec806488dc13e45c11baf260a423b803ba
libguestfs: [09657ms] begin building supermin appliance
libguestfs: [09747ms] run supermin-helper
libguestfs: command: run: /usr/bin/supermin-helper
libguestfs: command: run: \ --verbose
libguestfs: command: run: \ --copy-kernel
libguestfs: command: run: \ -f ext2
libguestfs: command: run: \ --host-cpu x86_64
libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d
libguestfs: command: run: \ --output-kernel /var/tmp/guestfs.Xvcxiu/kernel
libguestfs: command: run: \ --output-initrd /var/tmp/guestfs.Xvcxiu/initrd
libguestfs: command: run: \ --output-appliance /var/tmp/guestfs.Xvcxiu/root
supermin helper [00000ms] whitelist = (not specified)
supermin helper [00000ms] host_cpu = x86_64
supermin helper [00000ms] dtb_wildcard = (not specified)
supermin helper [00000ms] inputs:
supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d
supermin helper [00000ms] outputs:
supermin helper [00000ms] kernel = /var/tmp/guestfs.Xvcxiu/kernel
supermin helper [00000ms] dtb = (none)
supermin helper [00000ms] initrd = /var/tmp/guestfs.Xvcxiu/initrd
supermin helper [00000ms] appliance = /var/tmp/guestfs.Xvcxiu/root
checking modpath /lib/modules/3.14.0-0.rc0.git12.1.fc21.x86_64 is a
directory
checking modpath /lib/modules/3.11.10-301.fc20.x86_64 is a directory
checking modpath /lib/modules/3.12.8-300.fc20.x86_64 is a directory
picked kernel vmlinuz-3.14.0-0.rc0.git12.1.fc21.x86_64
picked kernel vmlinuz-3.14.0-0.rc0.git12.1.fc21.x86_64
supermin helper [00473ms] finished creating kernel
supermin helper [05225ms] finished mke2fs
supermin helper [05227ms] visiting /usr/lib64/guestfs/supermin.d
supermin helper [05227ms] visiting /usr/lib64/guestfs/supermin.d/base.img.gz
supermin helper [57383ms] visiting
/usr/lib64/guestfs/supermin.d/daemon.img.gz
supermin helper [57795ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles
supermin helper [128017ms] visiting /usr/lib64/guestfs/supermin.d/init.img
supermin helper [128020ms] visiting
/usr/lib64/guestfs/supermin.d/udev-rules.img
supermin helper [128033ms] adding kernel modules
supermin helper [192314ms] closing ext2 filesystem
supermin helper [192368ms] finished creating appliance
libguestfs: [202159ms] finished building supermin appliance
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /var/tmp/guestfs.Xvcxiu
libguestfs: [202426ms] begin testing qemu features
libguestfs: command: run: /root/qemu-strace.sh
libguestfs: command: run: \ -display none
libguestfs: command: run: \ -help
libguestfs: command: run: /root/qemu-strace.sh
libguestfs: command: run: \ -display none
libguestfs: command: run: \ -version
libguestfs: qemu version 1.7
libguestfs: command: run: /root/qemu-strace.sh
libguestfs: command: run: \ -display none
libguestfs: command: run: \ -machine accel=kvm:tcg
libguestfs: command: run: \ -device ?
libguestfs: [204130ms] finished testing qemu features
[204141ms] /root/qemu-strace.sh \
-global virtio-blk-pci.scsi=off \
-nodefconfig \
-enable-fips \
-nodefaults \
-display none \
-machine accel=kvm:tcg \
-m 500 \
-no-reboot \
-rtc driftfix=slew \
-no-hpet \
-global kvm-pit.lost_tick_policy=discard \
-kernel /var/tmp/.guestfs-0/kernel.48091 \
-initrd /var/tmp/.guestfs-0/initrd.48091 \
-device virtio-scsi-pci,id=scsi \
-drive
file=/tmp/libguestfshdxOLe/scratch.1,cache=unsafe,format=raw,id=hd0,if=none
\
-device scsi-hd,drive=hd0 \
-drive
file=/var/tmp/.guestfs-0/root.48091,snapshot=on,id=appliance,cache=unsafe,if=none
\
-device scsi-hd,drive=appliance \
-device virtio-serial-pci \
-serial stdio \
-device sga \
-chardev socket,path=/tmp/libguestfshdxOLe/guestfsd.sock,id=channel0 \
-device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
-append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check
acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0
guestfs_verbose=1 TERM=screen'
\x1b[1;256r\x1b[256;256H\x1b[6n
Google, Inc.
Serial Graphics Adapter 08/14/13
SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild@) Wed
Aug 14 23:57:08 UTC 2013
Term: 80x24
4 0
SeaBIOS (version ?-20130815_004056-)
Booting from ROM...
Probing EDD (edd=off to disable)... ok
\x1b[2J[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.14.0-0.rc0.git12.1.fc21.x86_64
(mockbuild(a)bkernel01.phx2.fedoraproject.org) (gcc version 4.8.2 20140120
(Red Hat 4.8.2-13) (GCC) ) #1 SMP Mon Jan
27 20:02:51 UTC 2014
[ 0.000000] Command line: panic=1 console=ttyS0 udevtimeout=600
no_timer_check acpi=off printk.time=1 cgroup_disable=memory
root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=sc
reen
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff]
reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff]
reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001f3fdfff] usable
[ 0.000000] BIOS-e820: [mem 0x000000001f3fe000-0x000000001f3fffff]
reserved
[ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff]
reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff]
reserved
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] SMBIOS 2.4 present.
[ 0.000000] Hypervisor detected: KVM
[ 0.000000] e820: last_pfn = 0x1f3fe max_arch_pfn = 0x400000000
[ 0.000000] PAT not supported by CPU.
[ 0.000000] found SMP MP-table at [mem 0x000f17f0-0x000f17ff] mapped
at [ffff8800000f17f0]
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[ 0.000000] init_memory_mapping: [mem 0x1f000000-0x1f1fffff]
[ 0.000000] init_memory_mapping: [mem 0x1c000000-0x1effffff]
[ 0.000000] init_memory_mapping: [mem 0x00100000-0x1bffffff]
[ 0.000000] init_memory_mapping: [mem 0x1f200000-0x1f3fdfff]
[ 0.000000] RAMDISK: [mem 0x1f255000-0x1f3effff]
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000001f3fdfff]
[ 0.000000] Initmem setup node 0 [mem 0x00000000-0x1f3fdfff]
[ 0.000000] NODE_DATA [mem 0x1f22e000-0x1f254fff]
[ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[ 0.000000] kvm-clock: cpu 0, msr 0:1f1ae001, boot clock
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x00001000-0x00ffffff]
[ 0.000000] DMA32 [mem 0x01000000-0xffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00001000-0x0009efff]
[ 0.000000] node 0: [mem 0x00100000-0x1f3fdfff]
[ 0.000000] SFI: Simple Firmware Interface v0.81
http://simplefirmware.org
[ 0.000000] Intel MultiProcessor Specification v1.4
[ 0.000000] MPTABLE: OEM ID: BOCHSCPU
[ 0.000000] MPTABLE: Product ID: 0.1
[ 0.000000] MPTABLE: APIC at: 0xFEE00000
[ 0.000000] Processor #0 (Bootup-CPU)
[ 0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI
0-23
[ 0.000000] Processors: 1
[ 0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[ 0.000000] e820: [mem 0x1f400000-0xfeffbfff] available for PCI devices
[ 0.000000] Booting paravirtualized kernel on KVM
[ 0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:1 nr_cpu_ids:1
nr_node_ids:1
[ 0.000000] PERCPU: Embedded 478 pages/cpu @ffff88001ee00000 s1926912
[ 0.000000] KVM setup async PF for cpu 0
[ 0.000000] kvm-stealtime: cpu 0, msr 1ee0e280
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on.
Total pages: 125879
[ 0.000000] Policy zone: DMA32
[ 0.000000] Kernel command line: panic=1 console=ttyS0
udevtimeout=600 no_timer_check acpi=off printk.time=1
cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1
TERM=screen
[ 0.000000] Disabling memory control group subsystem
[ 0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.000000] Memory: 467848K/511600K available (7875K kernel code,
1605K rwdata, 3292K rodata, 3688K init, 12860K bss, 43752K reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] \tRCU lockdep checking is enabled.
[ 0.000000] \tRCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS:524544 nr_irqs:256 16
[ 0.000000] Console: colour *CGA 80x25
[ 0.000000] console [ttyS0] enabled
[ 0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat,
Inc., Ingo Molnar
[ 0.000000] ... MAX_LOCKDEP_SUBCLASSES: 8
[ 0.000000] ... MAX_LOCK_DEPTH: 48
[ 0.000000] ... MAX_LOCKDEP_KEYS: 8191
[ 0.000000] ... CLASSHASH_SIZE: 4096
[ 0.000000] ... MAX_LOCKDEP_ENTRIES: 16384
[ 0.000000] ... MAX_LOCKDEP_CHAINS: 32768
[ 0.000000] ... CHAINHASH_SIZE: 16384
[ 0.000000] memory used by lock dependency info: 6367 kB
[ 0.000000] per task-struct memory footprint: 2688 bytes
[ 0.000000] kmemleak: Kernel memory leak detector disabled
[ 0.000000] tsc: Detected 1864.644 MHz processor
[ 0.003000] Calibrating delay loop (skipped) preset value.. 3729.28
BogoMIPS (lpj=1864644)
[ 0.004012] pid_max: default: 32768 minimum: 301
[ 0.005454] Security Framework initialized
[ 0.006024] SELinux: Disabled at boot.
[ 0.008249] Dentry cache hash table entries: 65536 (order: 7, 524288
bytes)
[ 0.009431] Inode-cache hash table entries: 32768 (order: 6, 262144
bytes)
[ 0.010204] Mount-cache hash table entries: 256
[ 0.014358] Initializing cgroup subsys memory
[ 0.015052] Initializing cgroup subsys devices
[ 0.016047] Initializing cgroup subsys freezer
[ 0.017066] Initializing cgroup subsys net_cls
[ 0.018024] Initializing cgroup subsys blkio
[ 0.019014] Initializing cgroup subsys perf_event
[ 0.020026] Initializing cgroup subsys hugetlb
[ 0.021332] mce: CPU supports 10 MCE banks
[ 0.022122] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 0.022122] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[ 0.022122] tlb_flushall_shift: 6
[ 0.041195] Freeing SMP alternatives memory: 24K (ffffffff8212d000 -
ffffffff82133000)
[ 0.051525] ftrace: allocating 26492 entries in 104 pages
[ 0.093233] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.094009] smpboot: CPU0: Intel QEMU Virtual CPU version 1.7.0 (fam:
06, model: 06, stepping: 03)
[ 0.201485] Performance Events: Broken PMU hardware detected, using
software events only.
[ 0.203007] Failed to access perfctr msr (MSR c1 is 0)
[ 0.214943] watchdog: disabled (inside virtual machine)
[ 0.215008] x86: Booted up 1 node, 1 CPUs
[ 0.216008] smpboot: Total of 1 processors activated (3729.28 BogoMIPS)
[ 0.226504] devtmpfs: initialized
[ 0.253274] atomic64 test passed for x86-64 platform with CX8 and
with SSE
[ 0.254007] pinctrl core: initialized pinctrl subsystem
[ 0.256008] RTC time: 12:52:48, date: 01/30/14
[ 0.258350] NET: Registered protocol family 16
[ 0.262951] cpuidle: using governor menu
[ 0.267208] PCI: Using configuration type 1 for base access
[ 0.334798] bio: create slab <bio-0> at 0
[ 0.337679] ACPI: Interpreter disabled.
[ 0.341059] vgaarb: loaded
[ 0.345200] SCSI subsystem initialized
[ 0.349069] usbcore: registered new interface driver usbfs
[ 0.351505] usbcore: registered new interface driver hub
[ 0.352455] usbcore: registered new device driver usb
[ 0.355416] PCI: Probing PCI hardware
[ 0.358544] PCI host bridge to bus 0000:00
[ 0.359039] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.360033] pci_bus 0000:00: root bus resource [mem
0x00000000-0xffffffffff]
[ 0.361028] pci_bus 0000:00: No busn resource found for root bus,
will use [bus 00-ff]
[ 0.445614] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by
PIIX4 ACPI
[ 0.447013] pci 0000:00:01.3: quirk: [io 0xb100-0xb10f] claimed by
PIIX4 SMB
[ 0.564029] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000]
[ 0.575594] NetLabel: Initializing
[ 0.576010] NetLabel: domain hash size = 128
[ 0.577009] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.578447] NetLabel: unlabeled traffic allowed by default
[ 0.580158] Switched to clocksource kvm-clock
[ 0.902603] pnp: PnP ACPI: disabled
[ 0.975164] NET: Registered protocol family 2
[ 1.004421] TCP established hash table entries: 4096 (order: 3, 32768
bytes)
[ 1.048847] TCP bind hash table entries: 4096 (order: 6, 327680 bytes)
[ 1.090508] TCP: Hash tables configured (established 4096 bind 4096)
[ 1.131774] TCP: reno registered
[ 1.152934] UDP hash table entries: 256 (order: 3, 49152 bytes)
[ 1.191682] UDP-Lite hash table entries: 256 (order: 3, 49152 bytes)
[ 1.234673] NET: Registered protocol family 1
[ 1.263534] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 1.302265] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 1.340404] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 1.382754] Unpacking initramfs...
[ 1.418595] Freeing initrd memory: 1644K (ffff88001f255000 -
ffff88001f3f0000)
[ 1.850647] DMA-API: preallocated 65536 debug entries
[ 1.882459] DMA-API: debugging enabled by
kernel config
[ 1.915462] platform rtc_cmos: registered platform RTC device (no PNP
device found)
[ 1.965703] Scanning for low memory corruption every 60 seconds
[ 2.009128] futex hash table entries: 256 (order: 3, 32768 bytes)
[ 2.046660] Initialise system trusted keyring
[ 2.073801] audit: initializing netlink subsys (disabled)
[ 2.108215] audit: type=2000 audit(1391086366.512:1): initialized
[ 2.147940] cryptomgr_test (22) used greatest stack depth: 6064 bytes
left
[ 2.233170] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 2.447917] zbud: loaded
[ 2.492945] VFS: Disk quotas dquot_6.5.2
[ 2.534006] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 2.630740] msgmni has been set to 917
[ 2.670799] Key type big_key registered
[ 2.711529] cryptomgr_test (29) used greatest stack depth: 5568 bytes
left
[ 2.780489] cryptomgr_test (30) used greatest stack depth: 5456 bytes
left
[ 2.855684] alg: No test for stdrng (krng)
[ 2.897483] NET: Registered protocol family 38
[ 2.942895] Key type asymmetric registered
[ 2.985258] Asymmetric key parser 'x509' registered
[ 3.036583] Block layer SCSI generic (bsg) driver version 0.4 loaded
(major 252)
[ 3.113914] io scheduler noop registered
[ 3.154148] io scheduler deadline registered
[ 3.201794] io scheduler cfq registered (default)
[ 3.271552] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 3.328952] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[ 3.379990] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 3.806415] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud =
115200) is a 16550A
[ 3.866087] Non-volatile memory driver v1.3
[ 3.891731] Linux agpgart interface v0.103
[ 3.940806] scsi0 : ata_piix
[ 3.964614] scsi1 : ata_piix
[ 3.986166] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc060 irq 14
[ 4.033308] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc068 irq 15
[ 4.093497] libphy: Fixed MDIO Bus: probed
[ 4.123711] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.169294] ehci-pci: EHCI PCI platform driver
[ 4.200497] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 4.252699] ohci-pci: OHCI PCI platform driver
[ 4.284003] uhci_hcd: USB Universal Host Controller Interface driver
[ 4.330629] usbcore: registered new interface driver usbserial
[ 4.371607] usbcore: registered new interface driver usbserial_generic
[ 4.417311] usbserial: USB Serial support registered for generic
[ 4.459691] i8042: PNP: No PS/2 controller found. Probing ports directly.
[ 4.529412] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 4.564378] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 4.604447] mousedev: PS/2 mouse device common for all mice
[ 4.668687] input: AT Translated Set 2 keyboard as
/devices/platform/i8042/serio0/input/input0
[ 4.862948] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[ 4.933103] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram
[ 4.991265] device-mapper: uevent: version 1.0.3
[ 5.021853] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30)
initialised: dm-devel(a)redhat.com
[ 5.101194] hidraw: raw HID events driver (C) Jiri Kosina
[ 5.151753] usbcore: registered new interface driver usbhid
[ 5.200003] usbhid: USB HID core driver
[ 5.236106] drop_monitor: Initializing network drop monitor service
[ 5.292475] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 5.383915] TCP: cubic registered
[ 5.413656] Initializing XFRM netlink socket
[ 5.463432] NET: Registered protocol family 10
[ 5.498953] mip6: Mobile IPv6
[ 5.517005] NET: Registered protocol family 17
[ 5.551408] Loading compiled-in X.509 certificates
[ 5.581979] Loaded X.509 cert 'Fedora kernel signing key:
dd3bc3da7114e8641d00e979366e5d4789375e97'
[ 5.646980] registered taskstats version 1
[ 5.684460] Magic number: 14:833:886
[ 5.712426] rtc_cmos rtc_cmos: setting system clock to 2014-01-30
12:52:55 UTC (1391086375)
[ 5.796741] Freeing unused kernel memory: 3688K (ffffffff81d93000 -
ffffffff8212d000)
[ 5.857914] Write protecting the kernel read-only data: 12288k
[ 5.964875] input: ImExPS/2 Generic Explorer Mouse as
/devices/platform/i8042/serio1/input/input2
[ 6.024409] Freeing unused kernel memory: 304K (ffff8800017b4000 -
ffff880001800000)
[ 6.073136] Freeing unused kernel memory: 804K (ffff880001b37000 -
ffff880001c00000)
supermin: mounting /proc
supermin: uptime: 6.13 0.06
supermin: ext2 mini initrd starting up: 4.1.5 zlib
supermin: cmdline: panic=1 console=ttyS0 udevtimeout=600 no_timer_check
acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0
guestfs_verbose=1 TERM=screen
supermin: mounting /sys
supermin: internal insmod megaraid_mm.ko
[ 6.296185] megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03
EST 2006)
supermin: internal insmod megaraid_mbox.ko
[ 6.376830] megaraid: 2.20.5.1 (Release Date: Thu Nov 16 15:32:35 EST
2006)
supermin: internal insmod megaraid_sas.ko
[ 6.471953] megasas: 06.700.06.00-rc1 Sat. Aug. 31 17:00:00 PDT 2013
supermin: internal insmod megaraid.ko
supermin: internal insmod libcrc32c.ko
supermin: internal insmod crc32c-intel.ko
insmod: init_module: crc32c-intel.ko: No such device
supermin: internal insmod crc32-pclmul.ko
[ 6.720847] PCLMULQDQ-NI instructions are not detected.
insmod: init_module: crc32-pclmul.ko: No such device
supermin: internal insmod crct10dif-pclmul.ko
insmod: init_module: crct10dif-pclmul.ko: No such device
supermin: internal insmod crc-itu-t.ko
supermin: internal insmod crc32.ko
[ 6.970365] alg: No test for crc32 (crc32-table)
supermin: internal insmod crc-ccitt.ko
supermin: internal insmod crc8.ko
supermin: internal insmod scsi_transport_spi.ko
supermin: internal insmod sym53c8xx.ko
supermin: internal insmod ideapad_slidebar.ko
[ 7.213294] ideapad_slidebar: DMI does not match
insmod: init_module: ideapad_slidebar.ko: No such device
supermin: internal insmod rfkill.ko
supermin: internal insmod sparse-keymap.ko
supermin: internal insmod ideapad-laptop.ko
supermin: internal insmod virtio.ko
supermin: internal insmod virtio_ring.ko
supermin: internal insmod virtio_ring.ko
[475/1059]
supermin: internal insmod virtio-rng.ko
supermin: internal insmod virtio_console.ko
supermin: internal insmod virtio_blk.ko
supermin: internal insmod virtio_scsi.ko
supermin: internal insmod virtio_net.ko
supermin: internal insmod virtio_mmio.ko
supermin: internal insmod virtio_pci.ko
[ 7.800770] virtio-pci 0000:00:02.0: PCI->APIC IRQ transform: INT A
-> IRQ 34
[ 7.920641] scsi2 : Virtio SCSI HBA
[ 7.979552] scsi 2:0:0:0: Direct-Access QEMU QEMU HARDDISK
1.7. PQ: 0 ANSI: 5
[ 8.028903] virtio-pci 0000:00:03.0: PCI->APIC IRQ transform: INT A
-> IRQ 35
[ 8.291014] scsi 2:0:1:0: Direct-Access QEMU QEMU HARDDISK
1.7. PQ: 0 ANSI: 5
[ 9.230438] sd 2:0:0:0: Attached scsi generic sg0 type 0
[ 9.292898] sd 2:0:0:0: [sda] 204800 512-byte logical blocks: (104
MB/100 MiB)
[ 9.375684] sd 2:0:1:0: Attached scsi generic sg1 type 0
[ 9.434672] sd 2:0:1:0: [sdb] 8388608 512-byte logical blocks: (4.29
GB/4.00 GiB)
[ 9.523174] sd 2:0:1:0: [sdb] Write Protect is off
[ 9.571519] sd 2:0:0:0: [sda] Write Protect is off
[ 9.624403] sd 2:0:1:0: [sdb] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 9.716420] sd 2:0:0:0: [sda] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 9.878898] sdb: unknown partition table
[ 9.934558] sda: unknown partition table
[ 10.005688] sd 2:0:1:0: [sdb] Attached SCSI disk
[ 10.063564] sd 2:0:0:0: [sda] Attached SCSI disk
supermin: internal insmod virtio_balloon.ko
supermin: picked /sys/block/sdb/dev as root device
supermin: creating /dev/root as block special 8:16
supermin: mounting new root on /root
[ 10.289492] EXT4-fs (sdb): mounting ext2 file system using the ext4
subsystem
[ 10.528512] EXT4-fs (sdb): mounted filesystem without journal. Opts:
supermin: chroot
[ 11.120538] random: nonblocking pool is initialized
Starting /init script ...
[ 12.145622] mkdir (55) used greatest stack depth: 3120 bytes left
[ 13.091400] systemd-udevd[65]: starting version 208
[ 14.301723] microcode: CPU0 sig=0x663, pf=0x1, revision=0x1
[ 14.485635] ACPI Exception: AE_BAD_PARAMETER, Thread 433822384 could
not acquire Mutex [0x1] (20131218/utmutex-285)
[ 14.614592] piix4_smbus 0000:00:01.3: SMBus Host Controller at
0xb100, revision 0
[ 14.882860] microcode: Microcode Update Driver: v2.00
<tigran(a)aivazian.fsnet.co.uk>, Peter Oruba
[ 14.970000] input: PC Speaker as /devices/platform/pcspkr/input/input3
[/usr/lib/tmpfiles.d/systemd.conf:28] Failed to replace specifiers:
/var/log/journal/%m
[/usr/lib/tmpfiles.d/systemd.conf:30] Failed to replace specifiers:
/run/log/journal/%m
/init: line 69: /sys/block/hd*/queue/scheduler: No such file or directory
/init: line 69: /sys/block/ubd*/queue/scheduler: No such file or directory
/init: line 69: /sys/block/vd*/queue/scheduler: No such file or directory
Cannot find device "eth0"
Cannot find device "eth0"
RTNETLINK answers: Network is unreachable
mdadm: No arrays found in config file or automatically
Configuration setting "allocation/use_blkid_wiping" unknown.
Configuration setting
"allocation/wipe_signatures_when_zeroing_new_lvs" unknown.
Configuration setting "devices/ignore_lvm_mirrors" unknown.
/run/lvm/lvmetad.socket: connect failed: No such file or directory
WARNING: Failed to connect to lvmetad: No such file or directory.
Falling back to internal scanning.
Reading all physical volumes. This may take a while...
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
No volume groups found
Configuration setting "allocation/use_blkid_wiping" unknown.
Configuration setting
"allocation/wipe_signatures_when_zeroing_new_lvs" unknown.
Configuration setting "devices/ignore_lvm_mirrors" unknown.
/run/lvm/lvmetad.socket: connect failed: No such file or directory
WARNING: Failed to connect to lvmetad: No such file or directory.
Falling back to internal scanning.
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
No volume groups found
[
]
Linux (none) 3.14.0-0.rc0.git12.1.fc21.x86_64 #1 SMP Mon Jan 27 20:02:51
UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
/dev:
total 0
crw------- 1 root root 10, 235 Jan 30 07:53 autofs
drwxr-xr-x 2 root root 80 Jan 30 07:53 block
drwxr-xr-x 2 root root 80 Jan 30 07:52 bsg
crw------- 1 root root 10, 234 Jan 30 07:53 btrfs-control
drwxr-xr-x 2 root root 2300 Jan 30 07:53 char
crw------- 1 root root 5, 1 Jan 30 07:53 console
lrwxrwxrwx 1 root root 11 Jan 30 07:53 core -> /proc/kcore
drwxr-xr-x 3 root root 80 Jan 30 07:53 cpu
crw------- 1 root root 10, 62 Jan 30 07:53 cpu_dma_latency
drwxr-xr-x 5 root root 100 Jan 30 07:53 disk
lrwxrwxrwx 1 root root 13 Jan 30 07:53 fd -> /proc/self/fd
crw-rw-rw- 1 root root 1, 7 Jan 30 07:53 full
crw------- 1 root root 10, 229 Jan 30 07:53 fuse
drwxr-xr-x 3 root root 160 Jan 30 07:53 input
crw-r--r-- 1 root root 1, 11 Jan 30 07:53 kmsg
crw------- 1 root root 10, 237 Jan 30 07:53 loop-control
drwxr-xr-x 2 root root 60 Jan 30 07:52 mapper
crw------- 1 root root 10, 227 Jan 30 07:53 mcelog
crw------- 1 root root 10, 59 Jan 30 07:53 megadev0
crw------- 1 root root 1, 1 Jan 30 07:53 mem
drwxr-xr-x 2 root root 60 Jan 30 07:53 net
crw------- 1 root root 10, 61 Jan 30 07:53 network_latency
crw------- 1 root root 10, 60 Jan 30 07:53 network_throughput
crw-rw-rw- 1 root root 1, 3 Jan 30 07:53 null
crw------- 1 root root 10, 144 Jan 30 07:53 nvram
crw------- 1 root root 1, 4 Jan 30 07:53 port
crw------- 1 root root 108, 0 Jan 30 07:53 ppp
crw-rw-rw- 1 root root 5, 2 Jan 30 07:53 ptmx
crw-rw-rw- 1 root root 1, 8 Jan 30 07:53 random
drwxr-xr-x 2 root root 60 Jan 30 07:52 raw
crw------- 1 root root 10, 58 Jan 30 07:53 rfkill
lrwxrwxrwx 1 root root 4 Jan 30 07:53 rtc -> rtc0
crw------- 1 root root 254, 0 Jan 30 07:53 rtc0
brw------- 1 root root 8, 0 Jan 30 07:53 sda
brw------- 1 root root 8, 16 Jan 30 07:53 sdb
crw------- 1 root root 21, 0 Jan 30 07:53 sg0
crw------- 1 root root 21, 1 Jan 30 07:53 sg1
crw------- 1 root root 10, 231 Jan 30 07:53 snapshot
drwxr-xr-x 3 root root 140 Jan 30 07:53 snd
lrwxrwxrwx 1 root root 15 Jan 30 07:53 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Jan 30 07:53 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Jan 30 07:53 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root root 5, 0 Jan 30 07:53 tty
crw------- 1 root root 4, 0 Jan 30 07:53 tty0
crw------- 1 root root 4, 1 Jan 30 07:53 tty1
crw------- 1 root root 4, 10 Jan 30 07:53 tty10
crw------- 1 root root 4, 11 Jan 30 07:53 tty11
crw------- 1 root root 4, 12 Jan 30 07:53 tty12
crw------- 1 root root 4, 13 Jan 30 07:53 tty13
crw------- 1 root root 4, 14 Jan 30 07:53 tty14
crw------- 1 root root 4, 15 Jan 30 07:53 tty15
crw------- 1 root root 4, 16 Jan 30 07:53 tty16
crw------- 1 root root 4, 17 Jan 30 07:53 tty17
crw------- 1 root root 4, 18 Jan 30 07:53 tty18
crw------- 1 root root 4, 19 Jan 30 07:53 tty19
crw------- 1 root root 4, 2 Jan 30 07:53 tty2
crw------- 1 root root 4, 20 Jan 30 07:53 tty20
crw------- 1 root root 4, 21 Jan 30 07:53 tty21
crw------- 1 root root 4, 22 Jan 30 07:53 tty22
crw------- 1 root root 4, 23 Jan 30 07:53 tty23
crw------- 1 root root 4, 24 Jan 30 07:53 tty24
crw------- 1 root root 4, 25 Jan 30 07:53 tty25
crw------- 1 root root 4, 26 Jan 30 07:53 tty26
crw------- 1 root root 4, 27 Jan 30 07:53 tty27
crw------- 1 root root 4, 28 Jan 30 07:53 tty28
crw------- 1 root root 4, 29 Jan 30 07:53 tty29
crw------- 1 root root 4, 3 Jan 30 07:53 tty3
crw------- 1 root root 4, 30 Jan 30 07:53 tty30
crw------- 1 root root 4, 31 Jan 30 07:53 tty31
crw------- 1 root root 4, 32 Jan 30 07:53 tty32
crw------- 1 root root 4, 33 Jan 30 07:53 tty33
crw------- 1 root root 4, 34 Jan 30 07:53 tty34
crw------- 1 root root 4, 35 Jan 30 07:53 tty35
crw------- 1 root root 4, 36 Jan 30 07:53 tty36
crw------- 1 root root 4, 37 Jan 30 07:53 tty37
crw------- 1 root root 4, 38 Jan 30 07:53 tty38
crw------- 1 root root 4, 39 Jan 30 07:53 tty39
crw------- 1 root root 4, 4 Jan 30 07:53 tty4
crw------- 1 root root 4, 40 Jan 30 07:53 tty40
crw------- 1 root root 4, 41 Jan 30 07:53 tty41
crw------- 1 root root 4, 42 Jan 30 07:53 tty42
crw------- 1 root root 4, 43 Jan 30 07:53 tty43
crw------- 1 root root 4, 44 Jan 30 07:53 tty44
crw------- 1 root root 4, 45 Jan 30 07:53 tty45
crw------- 1 root root 4, 46 Jan 30 07:53 tty46
crw------- 1 root root 4, 47 Jan 30 07:53 tty47
crw------- 1 root root 4, 48 Jan 30 07:53 tty48
crw------- 1 root root 4, 49 Jan 30 07:53 tty49
crw------- 1 root root 4, 5 Jan 30 07:53 tty5
crw------- 1 root root 4, 50 Jan 30 07:53 tty50
crw------- 1 root root 4, 51 Jan 30 07:53 tty51
crw------- 1 root root 4, 52 Jan 30 07:53 tty52
crw------- 1 root root 4, 53 Jan 30 07:53 tty53
crw------- 1 root root 4, 54 Jan 30 07:53 tty54
crw------- 1 root root 4, 55 Jan 30 07:53 tty55
crw------- 1 root root 4, 56 Jan 30 07:53 tty56
crw------- 1 root root 4, 57 Jan 30 07:53 tty57
crw------- 1 root root 4, 58 Jan 30 07:53 tty58
crw------- 1 root root 4, 59 Jan 30 07:53 tty59
crw------- 1 root root 4, 6 Jan 30 07:53 tty6
crw------- 1 root root 4, 60 Jan 30 07:53 tty60
crw------- 1 root root 4, 61 Jan 30 07:53 tty61
crw------- 1 root root 4, 62 Jan 30 07:53 tty62
crw------- 1 root root 4, 63 Jan 30 07:53 tty63
crw------- 1 root root 4, 7 Jan 30 07:53 tty7
crw------- 1 root root 4, 8 Jan 30 07:53 tty8
crw------- 1 root root 4, 9 Jan 30 07:53 tty9
crw------- 1 root root 4, 64 Jan 30 07:53 ttyS0
crw------- 1 root root 4, 65 Jan 30 07:53 ttyS1
crw------- 1 root root 4, 66 Jan 30 07:53 ttyS2
crw------- 1 root root 4, 67 Jan 30 07:53 ttyS3
crw------- 1 root root 10, 239 Jan 30 07:53 uhid
crw------- 1 root root 10, 223 Jan 30 07:53 uinput
crw-rw-rw- 1 root root 1, 9 Jan 30 07:53 urandom
crw------- 1 root root 251, 0 Jan 30 07:53 usbmon0
crw------- 1 root root 7, 0 Jan 30 07:53 vcs
crw------- 1 root root 7, 1 Jan 30 07:53 vcs1
crw------- 1 root root 7, 128 Jan 30 07:53 vcsa
crw------- 1 root root 7, 129 Jan 30 07:53 vcsa1
drwxr-xr-x 2 root root 60 Jan 30 07:53 vfio
crw------- 1 root root 10, 63 Jan 30 07:53 vga_arbiter
crw------- 1 root root 10, 238 Jan 30 07:53 vhost-net
drwxr-xr-x 2 root root 60 Jan 30 07:53 virtio-ports
crw------- 1 root root 247, 1 Jan 30 07:53 vport1p1
crw-rw-rw- 1 root root 1, 5 Jan 30 07:53 zero
/dev/block:
total 0
lrwxrwxrwx 1 root root 6 Jan 30 07:53 8:0 -> ../sda
lrwxrwxrwx 1 root root 6 Jan 30 07:53 8:16 -> ../sdb
/dev/bsg:
total 0
crw------- 1 root root 252, 0 Jan 30 07:53 2:0:0:0
crw------- 1 root root 252, 1 Jan 30 07:53 2:0:1:0
/dev/char:
total 0
lrwxrwxrwx 1 root root 8 Jan 30 07:53 10:144 -> ../nvram
lrwxrwxrwx 1 root root 16 Jan 30 07:53 10:184 -> ../cpu/microcode
lrwxrwxrwx 1 root root 9 Jan 30 07:53 10:227 -> ../mcelog
lrwxrwxrwx 1 root root 11 Jan 30 07:53 10:231 -> ../snapshot
lrwxrwxrwx 1 root root 9 Jan 30 07:53 10:235 -> ../autofs
lrwxrwxrwx 1 root root 17 Jan 30 07:53 10:236 -> ../mapper/control
lrwxrwxrwx 1 root root 9 Jan 30 07:53 10:58 -> ../rfkill
lrwxrwxrwx 1 root root 11 Jan 30 07:53 10:59 -> ../megadev0
lrwxrwxrwx 1 root root 21 Jan 30 07:53 10:60 -> ../network_throughput
lrwxrwxrwx 1 root root 18 Jan 30 07:53 10:61 -> ../network_latency
lrwxrwxrwx 1 root root 18 Jan 30 07:53 10:62 -> ../cpu_dma_latency
lrwxrwxrwx 1 root root 14 Jan 30 07:53 10:63 -> ../vga_arbiter
lrwxrwxrwx 1 root root 15 Jan 30 07:53 116:2 -> ../snd/pcmC0D0p
lrwxrwxrwx 1 root root 16 Jan 30 07:53 116:3 -> ../snd/controlC0
lrwxrwxrwx 1 root root 12 Jan 30 07:53 116:33 -> ../snd/timer
lrwxrwxrwx 1 root root 15 Jan 30 07:53 13:32 -> ../input/mouse0
lrwxrwxrwx 1 root root 13 Jan 30 07:53 13:63 -> ../input/mice
lrwxrwxrwx 1 root root 15 Jan 30 07:53 13:64 -> ../input/event0
lrwxrwxrwx 1 root root 15 Jan 30 07:53 13:65 -> ../input/event1
lrwxrwxrwx 1 root root 15 Jan 30 07:53 13:66 -> ../input/event2
lrwxrwxrwx 1 root root 13 Jan 30 07:53 162:0 -> ../raw/rawctl
lrwxrwxrwx 1 root root 6 Jan 30 07:53 1:1 -> ../mem
lrwxrwxrwx 1 root root 7 Jan 30 07:53 1:11 -> ../kmsg
lrwxrwxrwx 1 root root 7 Jan 30 07:53 1:3 -> ../null
lrwxrwxrwx 1 root root 7 Jan 30 07:53 1:4 -> ../port
lrwxrwxrwx 1 root root 7 Jan 30 07:53 1:5 -> ../zero
lrwxrwxrwx 1 root root 7 Jan 30 07:53 1:7 -> ../full
lrwxrwxrwx 1 root root 9 Jan 30 07:53 1:8 -> ../random
lrwxrwxrwx 1 root root 10 Jan 30 07:53 1:9 -> ../urandom
lrwxrwxrwx 1 root root 12 Jan 30 07:53 202:0 -> ../cpu/0/msr
lrwxrwxrwx 1 root root 14 Jan 30 07:53 203:0 -> ../cpu/0/cpuid
lrwxrwxrwx 1 root root 6 Jan 30 07:53 21:0 -> ../sg0
lrwxrwxrwx 1 root root 6 Jan 30 07:53 21:1 -> ../sg1
lrwxrwxrwx 1 root root 11 Jan 30 07:53 247:1 -> ../vport1p1
lrwxrwxrwx 1 root root 10 Jan 30 07:53 251:0 -> ../usbmon0
lrwxrwxrwx 1 root root 14 Jan 30 07:53 252:0 -> ../bsg/2:0:0:0
lrwxrwxrwx 1 root root 14 Jan 30 07:53 252:1 -> ../bsg/2:0:1:0
rwxrwxrwx 1 root root 7 Jan 30 07:53 254:0 -> ../rtc0
[228/1059]
lrwxrwxrwx 1 root root 7 Jan 30 07:53 4:0 -> ../tty0
lrwxrwxrwx 1 root root 7 Jan 30 07:53 4:1 -> ../tty1
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:10 -> ../tty10
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:11 -> ../tty11
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:12 -> ../tty12
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:13 -> ../tty13
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:14 -> ../tty14
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:15 -> ../tty15
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:16 -> ../tty16
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:17 -> ../tty17
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:18 -> ../tty18
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:19 -> ../tty19
lrwxrwxrwx 1 root root 7 Jan 30 07:53 4:2 -> ../tty2
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:20 -> ../tty20
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:21 -> ../tty21
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:22 -> ../tty22
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:23 -> ../tty23
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:24 -> ../tty24
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:25 -> ../tty25
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:26 -> ../tty26
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:27 -> ../tty27
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:28 -> ../tty28
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:29 -> ../tty29
lrwxrwxrwx 1 root root 7 Jan 30 07:53 4:3 -> ../tty3
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:30 -> ../tty30
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:31 -> ../tty31
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:32 -> ../tty32
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:33 -> ../tty33
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:34 -> ../tty34
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:35 -> ../tty35
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:36 -> ../tty36
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:37 -> ../tty37
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:38 -> ../tty38
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:39 -> ../tty39
lrwxrwxrwx 1 root root 7 Jan 30 07:53 4:4 -> ../tty4
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:40 -> ../tty40
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:41 -> ../tty41
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:42 -> ../tty42
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:43 -> ../tty43
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:44 -> ../tty44
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:45 -> ../tty45
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:46 -> ../tty46
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:47 -> ../tty47
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:48 -> ../tty48
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:49 -> ../tty49
lrwxrwxrwx 1 root root 7 Jan 30 07:53 4:5 -> ../tty5
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:50 -> ../tty50
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:51 -> ../tty51
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:52 -> ../tty52
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:53 -> ../tty53
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:54 -> ../tty54
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:55 -> ../tty55
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:56 -> ../tty56
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:57 -> ../tty57
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:58 -> ../tty58
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:59 -> ../tty59
lrwxrwxrwx 1 root root 7 Jan 30 07:53 4:6 -> ../tty6
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:60 -> ../tty60
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:61 -> ../tty61
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:62 -> ../tty62
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:63 -> ../tty63
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:64 -> ../ttyS0
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:65 -> ../ttyS1
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:66 -> ../ttyS2
lrwxrwxrwx 1 root root 8 Jan 30 07:53 4:67 -> ../ttyS3
lrwxrwxrwx 1 root root 7 Jan 30 07:53 4:7 -> ../tty7
lrwxrwxrwx 1 root root 7 Jan 30 07:53 4:8 -> ../tty8
lrwxrwxrwx 1 root root 7 Jan 30 07:53 4:9 -> ../tty9
lrwxrwxrwx 1 root root 6 Jan 30 07:53 5:0 -> ../tty
lrwxrwxrwx 1 root root 10 Jan 30 07:53 5:1 -> ../console
lrwxrwxrwx 1 root root 7 Jan 30 07:53 5:2 -> ../ptmx
lrwxrwxrwx 1 root root 6 Jan 30 07:53 7:0 -> ../vcs
lrwxrwxrwx 1 root root 7 Jan 30 07:53 7:1 -> ../vcs1
lrwxrwxrwx 1 root root 7 Jan 30 07:53 7:128 -> ../vcsa
lrwxrwxrwx 1 root root 8 Jan 30 07:53 7:129 -> ../vcsa1
/dev/cpu:
total 0
drwxr-xr-x 2 root root 80 Jan 30 07:52 0
crw------- 1 root root 10, 184 Jan 30 07:53 microcode
/dev/cpu/0:
total 0
crw------- 1 root root 203, 0 Jan 30 07:53 cpuid
crw------- 1 root root 202, 0 Jan 30 07:53 msr
/dev/disk:
total 0
drwxr-xr-x 2 root root 80 Jan 30 07:53 by-id
drwxr-xr-x 2 root root 80 Jan 30 07:53 by-path
drwxr-xr-x 2 root root 60 Jan 30 07:53 by-uuid
/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root 9 Jan 30 07:53 scsi-0QEMU_QEMU_HARDDISK_appliance
-> ../../sdb
lrwxrwxrwx 1 root root 9 Jan 30 07:53 scsi-0QEMU_QEMU_HARDDISK_hd0 ->
../../sda
/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root 9 Jan 30 07:53
pci-0000:00:02.0-virtio-pci-virtio0-scsi-0:0:0:0 -> ../../sda
lrwxrwxrwx 1 root root 9 Jan 30 07:53
pci-0000:00:02.0-virtio-pci-virtio0-scsi-0:0:1:0 -> ../../sdb
/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 9 Jan 30 07:53
1a3b8f7c-4b38-4aff-a871-3bb09d7bd3b9 -> ../../sdb
/dev/input:
total 0
drwxr-xr-x 2 root root 120 Jan 30 07:53 by-path
crw------- 1 root root 13, 64 Jan 30 07:53 event0
crw------- 1 root root 13, 65 Jan 30 07:53 event1
crw------- 1 root root 13, 66 Jan 30 07:53 event2
crw------- 1 root root 13, 63 Jan 30 07:53 mice
crw------- 1 root root 13, 32 Jan 30 07:53 mouse0
/dev/input/by-path:
total 0
lrwxrwxrwx 1 root root 9 Jan 30 07:53 platform-i8042-serio-0-event-kbd
-> ../event0
lrwxrwxrwx 1 root root 9 Jan 30 07:53 platform-i8042-serio-1-event-mouse
-> ../event1
lrwxrwxrwx 1 root root 9 Jan 30 07:53 platform-i8042-serio-1-mouse ->
../mouse0
lrwxrwxrwx 1 root root 9 Jan 30 07:53 platform-pcspkr-event-spkr ->
../event2
/dev/mapper:
total 0
crw------- 1 root root 10, 236 Jan 30 07:53 control
/dev/net:
total 0
crw------- 1 root root 10, 200 Jan 30 07:53 tun
/dev/raw:
total 0
crw------- 1 root root 162, 0 Jan 30 07:53 rawctl
/dev/snd:
total 0
drwxr-xr-x 2 root root 60 Jan 30 07:53 by-path
crw-rw---- 1 root audio 116, 3 Jan 30 07:53 controlC0
crw-rw---- 1 root audio 116, 2 Jan 30 07:53 pcmC0D0p
crw------- 1 root root 116, 1 Jan 30 07:53 seq
crw------- 1 root audio 116, 33 Jan 30 07:53 timer
/dev/snd/by-path:
total 0
lrwxrwxrwx 1 root root 12 Jan 30 07:53 platform-pcspkr -> ../controlC0
/dev/vfio:
total 0
crw------- 1 root root 10, 196 Jan 30 07:53 vfio
/dev/virtio-ports:
total 0
lrwxrwxrwx 1 root root 11 Jan 30 07:53 org.libguestfs.channel.0 ->
../vport1p1
rootfs / rootfs rw 0 0
proc /proc proc rw,relatime 0 0
/dev/root / ext2 rw,noatime 0 0
/proc /proc proc rw,relatime 0 0
/sys /sys sysfs rw,relatime 0 0
tmpfs /run tmpfs rw,nosuid,relatime,size=94864k,mode=755 0 0
/dev /dev devtmpfs rw,relatime,size=233936k,nr_inodes=58484,mode=755 0 0
Configuration setting "allocation/use_blkid_wiping" unknown.
Configuration setting
"allocation/wipe_signatures_when_zeroing_new_lvs" unknown.
Configuration setting "devices/ignore_lvm_mirrors" unknown.
/run/lvm/lvmetad.socket: connect failed: No such file or directory
WARNING: Failed to connect to lvmetad: No such file or directory.
Falling back to internal scanning.
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
Configuration setting "allocation/use_blkid_wiping" unknown.
Configuration setting
"allocation/wipe_signatures_when_zeroing_new_lvs" unknown.
Configuration setting "devices/ignore_lvm_mirrors" unknown.
/run/lvm/lvmetad.socket: connect failed: No such file or directory
WARNING: Failed to connect to lvmetad: No such file or directory.
Falling back to internal scanning.
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
No volume groups found
Configuration setting "allocation/use_blkid_wiping" unknown.
Configuration setting
"allocation/wipe_signatures_when_zeroing_new_lvs" unknown.
Configuration setting "devices/ignore_lvm_mirrors" unknown.
/run/lvm/lvmetad.socket: connect failed: No such file or directory
WARNING: Failed to connect to lvmetad: No such file or directory.
Falling back to internal scanning.
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/run/lvm/lvmetad.socket: connect failed: No such file or directory
No volume groups found
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
Module Size Used by
snd_pcsp 18835 0
snd_pcm 99406 1 snd_pcsp
snd_timer 28806 1 snd_pcm
snd 79565 3 snd_timer,snd_pcm,snd_pcsp
i2c_piix4 22155 0
soundcore 14491 1 snd
i2c_core 38554 1 i2c_piix4
ata_generic 12910 0
microcode 216608 0
serio_raw 13413 0
pata_acpi 13038 0
virtio_balloon 13530 0
virtio_pci 17713 0
virtio_mmio 13193 0
virtio_net 28415 0
virtio_scsi 18515 1
virtio_blk 18080 0
virtio_console 28110 0
virtio_rng 13135 0
virtio_ring 20004 8
virtio_blk,virtio_net,virtio_pci,virtio_rng,virtio_balloon,virtio_console,virtio_mmio,virtio_scsi
virtio 14172 8
virtio_blk,virtio_net,virtio_pci,virtio_rng,virtio_balloon,virtio_console,virtio_mmio,virtio_scsi
ideapad_laptop 18216 0
sparse_keymap 13584 1 ideapad_laptop
rfkill 22195 1 ideapad_laptop
sym53c8xx 80734 0
scsi_transport_spi 30274 1 sym53c8xx
crc8 12750 0
crc_ccitt 12613 0
crc32 12714 0
crc_itu_t 12613 0
libcrc32c 12603 0
megaraid 48287 0
megaraid_sas 99663 0
megaraid_mbox 40368 0
megaraid_mm 18221 1 megaraid_mbox
Thu Jan 30 07:53:21 EST 2014
clocksource: kvm-clock
uptime: 31.93 0.09
verbose daemon enabled
linux commmand line: panic=1 console=ttyS0 udevtimeout=600
no_timer_check acpi=off printk.time=1 cgroup_disable=memory
root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=screen
trying to open virtio-serial channel
'/dev/virtio-ports/org.libguestfs.channel.0'
udevadm settle
libguestfs: recv_from_daemon: received GUESTFS_LAUNCH_FLAG
libguestfs: [264424ms] appliance is up
Guest launched OK.
guestfsd: main_loop: new request, len 0x3c
udevadm settle
parted -s -- /dev/sda mklabel msdos mkpart primary 128s -128s
Warning: The resulting partition is not properly aligned for best
performance.
udevadm settle
guestfsd: main_loop: proc 210 (part_disk) took 1.94 seconds
guestfsd: main_loop: new request, len 0x50
wipefs --help
wipefs -a --force /dev/sda1
mke2fs -t ext2 -F /dev/sda1
mke2fs 1.42.8 (20-Jun-2013)
guestfsd: main_loop: proc 278 (mkfs) took 1.81 seconds
guestfsd: main_loop: new request, len 0x40
mount -o /dev/sda1 /sysroot/
[ 37.766446] EXT4-fs (sda1): mounting ext2 file system using the ext4
subsystem
[ 37.926018] EXT4-fs (sda1): mounted filesystem without journal. Opts:
(null)
guestfsd: main_loop: proc 1 (mount) took 0.90 seconds
guestfsd: main_loop: new request, len 0x34
guestfsd: main_loop: proc 3 (touch) took 0.06 seconds
guestfsd: main_loop: new request, len 0x28
umount /sysroot
fsync /dev/sda
libguestfs: sending SIGTERM to process 48146
----------------
--
/kashyap
10 years, 11 months
Next virt-manager release?
by Daniel Lipsitt
Does anybody know if there are plans to tag a new release of virt-manager any time soon? That would help with distro packaging.
10 years, 11 months
[PATCH] builder: remove unused variables
by Pino Toscano
Leftovers of the list_entries_short+list_entries_long split done in
91aae893c70b3877b31803800ba77836fd7a45e8.
---
builder/list_entries.ml | 3 ---
1 file changed, 3 deletions(-)
diff --git a/builder/list_entries.ml b/builder/list_entries.ml
index 2f47231..80a309d 100644
--- a/builder/list_entries.ml
+++ b/builder/list_entries.ml
@@ -47,9 +47,6 @@ let rec list_entries ~list_format ~sources index =
and list_entries_short index =
List.iter (
fun (name, { Index_parser.printable_name = printable_name;
- size = size;
- compressed_size = compressed_size;
- notes = notes;
hidden = hidden }) ->
if not hidden then (
printf "%-24s" name;
--
1.8.3.1
10 years, 11 months
[PATCH] builder: output translated notes
by Pino Toscano
Output all the translations available for the notes in the "verbose"
output and the JSON output, while trying to match the system langauge in
the "show notes" output.
The JSON output is slightly changed to handle translations, with the
"untranslated" notes being matched as "C". The version is not bumped
though, since there have been no stable releases with the former output
yet.
---
builder/Makefile.am | 5 ++++
builder/index_parser.ml | 11 ++++----
builder/list_entries.ml | 55 +++++++++++++++++++++++++++++++-----
builder/setlocale-c.c | 59 +++++++++++++++++++++++++++++++++++++++
builder/setlocale.ml | 29 +++++++++++++++++++
builder/setlocale.mli | 30 ++++++++++++++++++++
builder/test-virt-builder-list.sh | 28 ++++++++++++++-----
po/POTFILES | 1 +
po/POTFILES-ml | 1 +
9 files changed, 200 insertions(+), 19 deletions(-)
create mode 100644 builder/setlocale-c.c
create mode 100644 builder/setlocale.ml
create mode 100644 builder/setlocale.mli
diff --git a/builder/Makefile.am b/builder/Makefile.am
index 4777619..2be495b 100644
--- a/builder/Makefile.am
+++ b/builder/Makefile.am
@@ -51,6 +51,9 @@ SOURCES = \
pxzcat.ml \
pxzcat.mli \
pxzcat-c.c \
+ setlocale.ml \
+ setlocale.mli \
+ setlocale-c.c \
sigchecker.mli \
sigchecker.ml
@@ -83,6 +86,8 @@ OBJECTS = \
index-parser-c.o \
pxzcat-c.o \
pxzcat.cmx \
+ setlocale-c.o \
+ setlocale.cmx \
get_kernel.cmx \
downloader.cmx \
sigchecker.cmx \
diff --git a/builder/index_parser.ml b/builder/index_parser.ml
index d5b48ae..2d4a642 100644
--- a/builder/index_parser.ml
+++ b/builder/index_parser.ml
@@ -91,11 +91,12 @@ let print_entry chan (name, { printable_name = printable_name;
| None -> ()
| Some lvexpand -> fp "lvexpand=%s\n" lvexpand
);
- (match notes with
- | ("", notes) :: _ -> fp "notes=%s\n" notes
- | _ :: _
- | [] -> ()
- );
+ List.iter (
+ fun (lang, notes) ->
+ match lang with
+ | "" -> fp "notes=%s\n" notes
+ | lang -> fp "notes[%s]=%s\n" lang notes
+ ) notes;
if hidden then fp "hidden=true\n"
(* Types returned by the C index parser. *)
diff --git a/builder/list_entries.ml b/builder/list_entries.ml
index b947cc8..2f47231 100644
--- a/builder/list_entries.ml
+++ b/builder/list_entries.ml
@@ -21,6 +21,23 @@ open Common_utils
open Printf
+let split_locale loc =
+ let regex = Str.regexp "^\\([A-Za-z]+\\)\\(_\\([A-Za-z]+\\)\\)?\\(\\.\\([A-Za-z0-9-]+\\)\\)?\\(@\\([A-Za-z]+\\)\\)?$" in
+ let l = ref [] in
+ if Str.string_match regex loc 0 then (
+ let match_or_empty n =
+ try Str.matched_group n loc with
+ | Not_found -> "" in
+ let lang = Str.matched_group 1 loc in
+ let territory = match_or_empty 3 in
+ (match territory with
+ | "" -> ()
+ | territory -> l := (lang ^ "_" ^ territory) :: !l);
+ l := lang :: !l;
+ );
+ l := "" :: !l;
+ List.rev !l
+
let rec list_entries ~list_format ~sources index =
match list_format with
| `Short -> list_entries_short index
@@ -45,6 +62,10 @@ and list_entries_short index =
) index
and list_entries_long ~sources index =
+ let langs = match Setlocale.setlocale Setlocale.LC_MESSAGES None with
+ | None -> [""]
+ | Some locale -> split_locale locale in
+
List.iter (
fun (source, fingerprint) ->
printf (f_"Source URI: %s\n") source;
@@ -70,11 +91,21 @@ and list_entries_long ~sources index =
| Some size ->
printf "%-24s %s\n" (s_"Download size:") (human_size size);
);
- (match notes with
- | ("", notes) :: _ ->
+ let notes = List.fold_left (
+ fun acc lang ->
+ match List.filter (
+ fun (langkey, _) ->
+ match langkey with
+ | "C" -> lang = ""
+ | langkey -> langkey = lang
+ ) notes with
+ | (_, noteskey) :: _ -> noteskey :: acc
+ | [] -> acc
+ ) [] langs in
+ (match List.rev notes with
+ | notes :: _ ->
printf "\n";
printf (f_"Notes:\n\n%s\n") notes
- | _ :: _
| [] -> ()
);
printf "\n"
@@ -108,10 +139,20 @@ and list_entries_json ~sources index =
| Some n ->
printf " \"%s\": \"%Ld\",\n" key n in
let print_notes = function
- | ("", notes) :: _ ->
- printf " \"notes\": \"%s\",\n" (json_string_escape notes)
- | _ :: _
- | _ -> () in
+ | [] -> ()
+ | notes ->
+ printf " \"notes\": {\n";
+ iteri (
+ fun i (lang, langnotes) ->
+ let lang =
+ match lang with
+ | "" -> "C"
+ | x -> x in
+ printf " \"%s\": \"%s\"%s\n"
+ (json_string_escape lang) (json_string_escape langnotes)
+ (trailing_comma i (List.length notes))
+ ) notes;
+ printf " },\n" in
printf "{\n";
printf " \"version\": %d,\n" 1;
diff --git a/builder/setlocale-c.c b/builder/setlocale-c.c
new file mode 100644
index 0000000..e1ad75d
--- /dev/null
+++ b/builder/setlocale-c.c
@@ -0,0 +1,59 @@
+/* virt-builder
+ * Copyright (C) 2014 Red Hat Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#include <config.h>
+
+#include <locale.h>
+
+#include <caml/alloc.h>
+#include <caml/fail.h>
+#include <caml/memory.h>
+#include <caml/mlvalues.h>
+
+static const int lc_string_table[7] = {
+ LC_ALL,
+ LC_CTYPE,
+ LC_NUMERIC,
+ LC_TIME,
+ LC_COLLATE,
+ LC_MONETARY,
+ LC_MESSAGES
+};
+
+#define Val_none (Val_int (0))
+
+value
+virt_builder_setlocale (value val_category, value val_name)
+{
+ CAMLparam2 (val_category, val_name);
+ CAMLlocal2 (rv, rv2);
+ char *ret, *locstring;
+ int category;
+
+ category = lc_string_table[Int_val (val_category)];
+ locstring = val_name == Val_none ? NULL : String_val (Field (val_name, 0));
+ ret = setlocale (category, locstring);
+ if (ret) {
+ rv2 = caml_copy_string (ret);
+ rv = caml_alloc (1, 0);
+ Store_field (rv, 0, rv2);
+ } else
+ rv = Val_none;
+
+ CAMLreturn (rv);
+}
diff --git a/builder/setlocale.ml b/builder/setlocale.ml
new file mode 100644
index 0000000..9b3289d
--- /dev/null
+++ b/builder/setlocale.ml
@@ -0,0 +1,29 @@
+(* virt-builder
+ * Copyright (C) 2014 Red Hat Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ *)
+
+type localecategory =
+ | LC_ALL
+ | LC_CTYPE
+ | LC_NUMERIC
+ | LC_TIME
+ | LC_COLLATE
+ | LC_MONETARY
+ | LC_MESSAGES
+;;
+
+external setlocale : localecategory -> string option -> string option = "virt_builder_setlocale"
diff --git a/builder/setlocale.mli b/builder/setlocale.mli
new file mode 100644
index 0000000..1e34204
--- /dev/null
+++ b/builder/setlocale.mli
@@ -0,0 +1,30 @@
+(* virt-builder
+ * Copyright (C) 2014 Red Hat Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ *)
+
+type localecategory =
+ | LC_ALL
+ | LC_CTYPE
+ | LC_NUMERIC
+ | LC_TIME
+ | LC_COLLATE
+ | LC_MONETARY
+ | LC_MESSAGES
+;;
+
+val setlocale : localecategory -> string option -> string option
+(** [setlocale category newlocale] Tiny wrapper to the C [setlocale]. *)
diff --git a/builder/test-virt-builder-list.sh b/builder/test-virt-builder-list.sh
index c3b791f..634254d 100755
--- a/builder/test-virt-builder-list.sh
+++ b/builder/test-virt-builder-list.sh
@@ -119,49 +119,63 @@ if [ "$json_list" != "{
\"os-version\": \"phony-debian\",
\"full-name\": \"Phony Debian\",
\"size\": 536870912,
- \"notes\": \"Phony Debian look-alike used for testing.\",
+ \"notes\": {
+ \"C\": \"Phony Debian look-alike used for testing.\"
+ },
\"hidden\": false
},
{
\"os-version\": \"phony-fedora\",
\"full-name\": \"Phony Fedora\",
\"size\": 1073741824,
- \"notes\": \"Phony Fedora look-alike used for testing.\",
+ \"notes\": {
+ \"C\": \"Phony Fedora look-alike used for testing.\"
+ },
\"hidden\": false
},
{
\"os-version\": \"phony-fedora-qcow2\",
\"full-name\": \"Phony Fedora qcow2\",
\"size\": 1073741824,
- \"notes\": \"Phony Fedora look-alike used for testing.\",
+ \"notes\": {
+ \"C\": \"Phony Fedora look-alike used for testing.\"
+ },
\"hidden\": false
},
{
\"os-version\": \"phony-fedora-qcow2-uncompressed\",
\"full-name\": \"Phony Fedora qcow2 uncompressed\",
\"size\": 1073741824,
- \"notes\": \"Phony Fedora look-alike used for testing.\",
+ \"notes\": {
+ \"C\": \"Phony Fedora look-alike used for testing.\"
+ },
\"hidden\": false
},
{
\"os-version\": \"phony-fedora-no-format\",
\"full-name\": \"Phony Fedora\",
\"size\": 1073741824,
- \"notes\": \"Phony Fedora look-alike used for testing.\",
+ \"notes\": {
+ \"C\": \"Phony Fedora look-alike used for testing.\"
+ },
\"hidden\": false
},
{
\"os-version\": \"phony-ubuntu\",
\"full-name\": \"Phony Ubuntu\",
\"size\": 536870912,
- \"notes\": \"Phony Ubuntu look-alike used for testing.\",
+ \"notes\": {
+ \"C\": \"Phony Ubuntu look-alike used for testing.\"
+ },
\"hidden\": false
},
{
\"os-version\": \"phony-windows\",
\"full-name\": \"Phony Windows\",
\"size\": 536870912,
- \"notes\": \"Phony Windows look-alike used for testing.\",
+ \"notes\": {
+ \"C\": \"Phony Windows look-alike used for testing.\"
+ },
\"hidden\": false
}
]
diff --git a/po/POTFILES b/po/POTFILES
index 7ded4c4..c0d20f0 100644
--- a/po/POTFILES
+++ b/po/POTFILES
@@ -5,6 +5,7 @@ builder/index-scan.c
builder/index-struct.c
builder/index-validate.c
builder/pxzcat-c.c
+builder/setlocale-c.c
cat/cat.c
cat/filesystems.c
cat/ls.c
diff --git a/po/POTFILES-ml b/po/POTFILES-ml
index ea73c8b..cd869fb 100644
--- a/po/POTFILES-ml
+++ b/po/POTFILES-ml
@@ -5,6 +5,7 @@ builder/get_kernel.ml
builder/index_parser.ml
builder/list_entries.ml
builder/pxzcat.ml
+builder/setlocale.ml
builder/sigchecker.ml
mllib/common_gettext.ml
mllib/common_utils.ml
--
1.8.3.1
10 years, 11 months
Notes on building libguestfs in a systemd-nspawn container
by Kashyap Chamarthy
Last night I was tinkering with `systemd-nspawn` -- namespace based
container for testing, I thought I'll post what I tried with libguestfs
here:
Prerequisite
------------
Because of an audit subsystem incompatibility bug - rhbz#966807[1], turn
off auditing by booting the host w/ 'audit=0' on Kernel command line.
(NOTE: There's work in progress[2] in upstream Kernel to fix this.)
Create container
----------------
On the host, specify an installroot (/srv) and install a minimal Fedora
20 distribution:
$ yum -y --releasever=20 --nogpg \
--installroot=/srv/testcontainer \
--disablerepo='*' --enablerepo=fedora \
install systemd passwd yum \
fedora-release vim-minimal
Boot into the container, set a password:
$ systemd-nspawn -D /srv/testcontainer
[. . .]
-bash-4.2# passwd
Start the container w/ systemd:
$ systemd-nspawn -bD /srv/testcontainer
[. . .]
-bash-4.2#
Building Libguestfs
-------------------
Inside the minimal Fedora 20 container, install libguestfs dependencies,
clone the libguestfs git repository:
-bash-4.2# yum-builddep libguestfs -y
-bash-4.2# git clone git://github.com/libguestfs/libguestfs.git
Build and test libguestfs in the container:
-bash-4.2# cd libguestfs
-bash-4.2# ./autogen.sh && time make 2>&1 \
| tee /tmp/libguestfs-compile.log
-bash-4.2# time make -k check \
LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 2>&1 \
| tee /tmp/libguestfs-test.log
Notes
-----
- If you need to build a container without networking (once all the
relevant dependencies are cloned/and network related operations
are done), the container can be invoked with no network
devices (except loopback):
$ systemd-nspawn -bD /srv/testcontainer --private-network
[. . .]
-bash-4.2#
- Single `make` job timing to compile everything:
real 31m9.792s
user 17m18.359s
sys 13m17.868s
- `make -k check` is still running as I write this, albeit
a bit slow.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=966807
[2] https://www.redhat.com/archives/linux-audit/2013-May/msg00065.html
--
/kashyap
10 years, 11 months