Richard W.M. Jones
2014-Mar-23 15:19 UTC
Re: [Libguestfs] About Guest running Tiny Core Linux
On Sun, Mar 23, 2014 at 12:26:28PM +0000, Richard W.M. Jones wrote:> Secondly, we should be able to inspect all Linux guests, including > Tiny Core Linux, but it looks like in this case it is failing. This > is a bug.I had a look at how the Tiny Core Linux ISO is arranged. It loads the main operating system root partition as a single large initramfs, with optional modules loaded [somehow -- not sure of the exact mechanism] as squashfs filesystems. There's nothing wrong with that of course, but it makes it challenging to have 'guestfish -i' open with the TCL root filesystem, and thus programs like 'virt-cat', 'virt-ls' etc are unlikely to work in the way you expect. There's probably not much we can do except have inspection simply identify that it is TCL. I have filed a bug about this: https://bugzilla.redhat.com/show_bug.cgi?id=1079734 Rich. ---------------------------------------------------------------------- Opening the ISO file: $ guestfish --ro -a TinyCore-current.iso Welcome to guestfish, the guest filesystem shell for editing virtual machine filesystems and disk images. Type: 'help' for help on commands 'man' to read the manual 'quit' to quit the shell><fs> run ><fs> list-filesystems/dev/sda1: iso9660><fs> mount /dev/sda1 / ><fs> ll /boottotal 8720 dr-xr-xr-x 3 root root 2048 May 26 2013 . dr-xr-xr-x 4 root root 2048 Jan 24 13:49 .. -r--r--r-- 1 root root 5981138 Jan 24 13:49 core.gz dr-xr-xr-x 2 root root 2048 May 26 2013 isolinux -r--r--r-- 1 root root 2941168 Jan 24 13:49 vmlinuz><fs> download /boot/core.gz /tmp/core.gz ><fs> ll /cde/optionaltotal 4590 dr-xr-xr-x 2 root root 10240 Jan 24 13:49 . dr-xr-xr-x 3 root root 2048 Jan 24 13:49 .. -r--r--r-- 1 root root 1273856 Jan 24 13:49 Xlibs.tcz -r--r--r-- 1 root root 44 Jan 24 13:49 Xlibs.tcz.md5.txt [etc]><fs> download /cde/optional/Xlibs.tcz /tmp/Xlibs.tcz ><fs> exitThe core initramfs: $ zcat core.gz | cpio -it | grep etc/ 17678 blocks etc/hostname etc/init.d etc/init.d/tc-functions etc/init.d/tc-restore.sh etc/init.d/tc_noscan.lst etc/init.d/dhcp.sh etc/init.d/tc-config etc/init.d/rc.shutdown etc/init.d/settime.sh etc/init.d/rcS etc/init.d/services etc/init.d/services/dhcp etc/init.d/services/tftpd etc/init.d/services/crond etc/modprobe.conf etc/passwd etc/gshadow [etc] An optional module: $ guestfish -a Xlibs.tcz Welcome to guestfish, the guest filesystem shell for editing virtual machine filesystems and disk images. Type: 'help' for help on commands 'man' to read the manual 'quit' to quit the shell><fs> run ><fs> list-filesystems/dev/sda: squashfs><fs> mount /dev/sda / ><fs> ll /usr/bin/total 137 drwxr-sr-x 2 root root 243 Aug 16 2013 . drwxr-sr-x 6 root root 63 Dec 15 2011 .. -rwxr-xr-x 1 root root 530 Jan 14 2011 desktop.sh -rwxr-xr-x 1 root root 873 Jan 14 2011 getRGB -rwxr-xr-x 1 root root 14000 Mar 8 2010 hsetroot -rwxr-xr-x 1 root root 7156 May 20 2010 mcookie -rwxr-xr-x 1 root root 649 Feb 8 2012 setupdesktop -rwxr-xr-x 1 root root 4052 Mar 4 2010 showrgb -rwxr-xr-x 1 root root 1234 Dec 22 2011 startx -rwxr-xr-x 1 root root 1932 Jun 9 2009 waitforX -rwxr-xr-x 1 root root 29672 Apr 18 2009 xauth -rwxr-xr-x 1 root root 7196 Apr 18 2009 xkill -rwxr-xr-x 1 root root 14376 Apr 18 2009 xlsfonts -rwxr-xr-x 1 root root 21852 Apr 18 2009 xmodmap -rwxr-xr-x 1 root root 29800 Apr 18 2009 xset lrwxrwxrwx 1 root root 9 Nov 7 16:13 xsetup -> xsetup.sh -rwxr-xr-x 1 root root 2820 Jan 14 2011 xsetup.sh -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
Hi Richard, Thanks a lot for your prompt response. I am enumerating the steps that I followed during the provisioning, if it helps. -Arup 1. These are the commands that I used to create the disk image. qemu-img create -f qcow2 base_VM.qcow2 512M kvm -m 512 -cdrom Core-current.iso -hda base_VM.qcow2 -boot d -net nic,macaddr=00:00:00:00:cc:10 -net tap,script=/etc/ovs-ifup0,downscript=/etc/ovs-ifdown0 2. a) The output of qemu-img qemu-img info base_VM.qcow2 image: images/base_VM.qcow2 file format: qcow2 virtual size: 512M (536870912 bytes) disk size: 46M cluster_size: 65536 2. b) virt-filesystems --all --long -h -a base_VM.qcow2 Name Type VFS Label MBR Size Parent /dev/sda1 filesystem ext4 - - 512M - /dev/sda1 partition - - 83 512M /dev/sda /dev/sda device - - - 512M - 3. The trace report: a. I am trying to run virt-ls for the disk image of the guest. The guest runs Tiny Core Linux version: 4.7.7 with kernel 3.0.21-tinycore. b. virt-ls -a images/base_VM.qcow2 / c. virt-ls: no operating system was found on this disk If using guestfish '-i' option, remove this option and instead use the commands 'run' followed by 'list-filesystems'. You can then mount filesystems you want by hand using the 'mount' or 'mount-ro' command. If using guestmount '-i', remove this option and choose the filesystem(s) you want to see by manually adding '-m' option(s). Use 'virt-filesystems' to see what filesystems are available. If using other virt tools, this disk image won't work with these tools. Use the guestfish equivalent commands (see the virt tool manual page). d. i) The version of libguestfs: guestfish --version guestfish 1.14.8 ii) The host is Ubuntu 12.04.4 LTS with kernel 3.2.0-58-generic iii) libguestfs is installed using apt-get. iv) The detail test report libguestfs: new guestfs handle 0x86c1f0 libguestfs: trace: add_drive_opts "images/base_VM.qcow2" "readonly:true" libguestfs: trace: add_drive_opts = 0 libguestfs: trace: launch libguestfs: [00000ms] febootstrap-supermin-helper --verbose -f checksum '/usr/lib/guestfs/supermin.d' x86_64 supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null) supermin helper [00000ms] inputs[0] = /usr/lib/guestfs/supermin.d checking modpath /lib/modules/3.2.0-58-generic is a directory picked vmlinuz-3.2.0-58-generic because modpath /lib/modules/3.2.0-58-generic exists supermin helper [00000ms] finished creating kernel supermin helper [00000ms] visiting /usr/lib/guestfs/supermin.d supermin helper [00000ms] visiting /usr/lib/guestfs/supermin.d/base.img supermin helper [00000ms] visiting /usr/lib/guestfs/supermin.d/daemon.img supermin helper [00000ms] visiting /usr/lib/guestfs/supermin.d/hostfiles supermin helper [00021ms] visiting /usr/lib/guestfs/supermin.d/init.img supermin helper [00021ms] adding kernel modules supermin helper [00186ms] finished creating appliance libguestfs: [00189ms] begin testing qemu features libguestfs: [00226ms] finished testing qemu features libguestfs: accept_from_daemon: 0x86c1f0 g->state = 1 [00227ms] /usr/bin/kvm \ -global virtio-blk-pci.scsi=off \ -drive file=images/base_VM.qcow2,snapshot=on,if=virtio \ -nodefconfig \ -machine accel=kvm:tcg \ -nodefaults \ -nographic \ -m 500 \ -no-reboot \ -no-hpet \ -device virtio-serial \ -serial stdio \ -chardev socket,path=/tmp/libguestfsl1fLIR/guestfsd.sock,id=channel0 \ -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -kernel /var/tmp/.guestfs-0/kernel.2016 \ -initrd /var/tmp/.guestfs-0/initrd.2016 \ -append 'panic=1 console=ttyS0 udevtimeout=300 no_timer_check acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm ' \ -drive file=/var/tmp/.guestfs-0/root.2016,snapshot=on,if=virtio,cache=unsafe[ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.2.0-58-generic (buildd@allspice) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #88-Ubuntu SMP Tue Dec 3 17:37:58 UTC 2013 (Ubuntu 3.2.0-58.88-generic 3.2.53) [ 0.000000] Command line: panic=1 console=ttyS0 udevtimeout=300 no_timer_check acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] Centaur CentaurHauls [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009bc00 (usable) [ 0.000000] BIOS-e820: 000000000009bc00 - 00000000000a0000 (reserved) [ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) [ 0.000000] BIOS-e820: 0000000000100000 - 000000001f3fd000 (usable) [ 0.000000] BIOS-e820: 000000001f3fd000 - 000000001f400000 (reserved) [ 0.000000] BIOS-e820: 00000000feffc000 - 00000000ff000000 (reserved) [ 0.000000] BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved) [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] SMBIOS 2.4 present. [ 0.000000] No AGP bridge found [ 0.000000] last_pfn = 0x1f3fd max_arch_pfn = 0x400000000 [ 0.000000] PAT not supported by CPU. [ 0.000000] found SMP MP-table at [ffff8800000fdaf0] fdaf0 [ 0.000000] init_memory_mapping: 0000000000000000-000000001f3fd000 [ 0.000000] RAMDISK: 1f2e9000 - 1f3f0000 [ 0.000000] No NUMA configuration found [ 0.000000] Faking a node at 0000000000000000-000000001f3fd000 [ 0.000000] Initmem setup node 0 0000000000000000-000000001f3fd000 [ 0.000000] NODE_DATA [000000001f3f5000 - 000000001f3f9fff] [ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00 [ 0.000000] kvm-clock: cpu 0, msr 0:1cfa741, boot clock [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0x00000010 -> 0x00001000 [ 0.000000] DMA32 0x00001000 -> 0x00100000 [ 0.000000] Normal empty [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[2] active PFN ranges [ 0.000000] 0: 0x00000010 -> 0x0000009b [ 0.000000] 0: 0x00000100 -> 0x0001f3fd [ 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 1, version 17, address 0xfec00000, GSI 0-23 [ 0.000000] Processors: 1 [ 0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs [ 0.000000] PM: Registered nosave memory: 000000000009b000 - 000000000009c000 [ 0.000000] PM: Registered nosave memory: 000000000009c000 - 00000000000a0000 [ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000 [ 0.000000] PM: Registered nosave memory: 00000000000f0000 - 0000000000100000 [ 0.000000] Allocating PCI resources starting at 1f400000 (gap: 1f400000:dfbfc000) [ 0.000000] Booting paravirtualized kernel on KVM [ 0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:1 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 28 pages/cpu @ffff88001f000000 s83136 r8192 d23360 u2097152 [ 0.000000] kvm-clock: cpu 0, msr 0:1f013741, primary cpu clock [ 0.000000] KVM setup async PF for cpu 0 [ 0.000000] kvm-stealtime: cpu 0, msr 1f00ddc0 [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 125875 [ 0.000000] Policy zone: DMA32 [ 0.000000] Kernel command line: panic=1 console=ttyS0 udevtimeout=300 no_timer_check acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm [ 0.000000] Disabling memory control group subsystem [ 0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes) [ 0.000000] Checking aperture... [ 0.000000] No AGP bridge found [ 0.000000] Memory: 486360k/511988k available (6588k kernel code, 468k absent, 25160k reserved, 6617k data, 924k init) [ 0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] \tRCU dyntick-idle grace-period acceleration is enabled. [ 0.000000] NR_IRQS:16640 nr_irqs:256 16 [ 0.000000] Console: colour *CGA 80x25 [ 0.000000] console [ttyS0] enabled [ 0.000000] Detected 2133.408 MHz processor. [ 0.008000] Calibrating delay loop (skipped) preset value.. 4266.81 BogoMIPS (lpj=8533632) [ 0.008000] pid_max: default: 32768 minimum: 301 [ 0.008000] Security Framework initialized [ 0.008000] AppArmor: AppArmor initialized [ 0.008000] Yama: becoming mindful. [ 0.008000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.008000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) [ 0.008059] Mount-cache hash table entries: 256 [ 0.008607] Initializing cgroup subsys cpuacct [ 0.009046] Initializing cgroup subsys memory [ 0.009483] Initializing cgroup subsys devices [ 0.009921] Initializing cgroup subsys freezer [ 0.010365] Initializing cgroup subsys blkio [ 0.010778] Initializing cgroup subsys perf_event [ 0.011297] mce: CPU supports 10 MCE banks [ 0.012159] SMP alternatives: switching to UP code [ 0.029324] Freeing SMP alternatives: 24k freed [ 0.029828] ftrace: allocating 26602 entries in 105 pages [ 0.037316] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.037919] CPU0: Intel QEMU Virtual CPU version 1.0 stepping 03 [ 0.144065] Performance Events: unsupported p6 CPU model 2 no PMU driver, software events only. [ 0.145018] NMI watchdog disabled (cpu0): hardware events not enabled [ 0.145617] Brought up 1 CPUs [ 0.145893] Total of 1 processors activated (4266.81 BogoMIPS). [ 0.146806] devtmpfs: initialized [ 0.148008] EVM: security.selinux [ 0.148012] EVM: security.SMACK64 [ 0.148324] EVM: security.capability [ 0.149453] print_constraints: dummy: [ 0.149921] RTC time: 12:06:59, date: 03/24/14 [ 0.150369] NET: Registered protocol family 16 [ 0.150988] PCI: Using configuration type 1 for base access [ 0.152659] bio: create slab <bio-0> at 0 [ 0.153145] ACPI: Interpreter disabled. [ 0.153575] vgaarb: loaded [ 0.153921] i2c-core: driver [aat2870] using legacy suspend method [ 0.154500] i2c-core: driver [aat2870] using legacy resume method [ 0.155104] SCSI subsystem initialized [ 0.155527] usbcore: registered new interface driver usbfs [ 0.156026] usbcore: registered new interface driver hub [ 0.156527] usbcore: registered new device driver usb [ 0.157068] PCI: Probing PCI hardware [ 0.158950] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI [ 0.159653] pci 0000:00:01.3: quirk: [io 0xb100-0xb10f] claimed by PIIX4 SMB [ 0.176584] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000] [ 0.177887] NetLabel: Initializing [ 0.178527] NetLabel: domain hash size = 128 [ 0.179218] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.180033] NetLabel: unlabeled traffic allowed by default [ 0.181006] Switching to clocksource kvm-clock [ 0.189971] AppArmor: AppArmor Filesystem Enabled [ 0.190461] pnp: PnP ACPI: disabled [ 0.192409] NET: Registered protocol family 2 [ 0.192942] IP route cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.193737] TCP established hash table entries: 16384 (order: 6, 262144 bytes) [ 0.194452] TCP bind hash table entries: 16384 (order: 6, 262144 bytes) [ 0.195091] TCP: Hash tables configured (established 16384 bind 16384) [ 0.195678] TCP reno registered [ 0.195966] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.196510] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.197124] NET: Registered protocol family 1 [ 0.197581] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 0.198119] pci 0000:00:01.0: PIIX3: Enabling Passive Release [ 0.198644] pci 0000:00:01.0: Activating ISA DMA hang workarounds [ 0.199312] platform rtc_cmos: registered platform RTC device (no PNP device found) [ 0.200227] audit: initializing netlink socket (disabled) [ 0.200744] type=2000 audit(1395662820.196:1): initialized [ 0.224979] Trying to unpack rootfs image as initramfs... [ 0.226470] Freeing initrd memory: 1052k freed [ 0.227190] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 0.229435] VFS: Disk quotas dquot_6.5.2 [ 0.229915] Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.230961] fuse init (API version 7.17) [ 0.231482] msgmni has been set to 952 [ 0.232113] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 0.232815] io scheduler noop registered [ 0.233186] io scheduler deadline registered [ 0.233607] io scheduler cfq registered (default) [ 0.234115] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 0.234634] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 [ 0.235381] virtio-pci 0000:00:02.0: PCI->APIC IRQ transform: INT A -> IRQ 34 [ 0.236210] virtio-pci 0000:00:03.0: PCI->APIC IRQ transform: INT A -> IRQ 35 [ 0.237561] virtio-pci 0000:00:04.0: PCI->APIC IRQ transform: INT A -> IRQ 35 [ 0.238550] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled [ 0.260387] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 0.262182] Linux agpgart interface v0.103 [ 0.263803] brd: module loaded [ 0.264844] loop: module loaded [ 0.273988] vda: vda1 [ 0.277929] vdb: unknown partition table [ 0.280064] scsi0 : ata_piix [ 0.280707] scsi1 : ata_piix [ 0.281257] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc0a0 irq 14 [ 0.282340] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc0a8 irq 15 [ 0.284233] Fixed MDIO Bus: probed [ 0.284924] tun: Universal TUN/TAP device driver, 1.6 [ 0.285731] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 0.287057] PPP generic driver version 2.4.2 [ 0.287907] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.289036] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.290051] uhci_hcd: USB Universal Host Controller Interface driver [ 0.291120] usbcore: registered new interface driver libusual [ 0.292105] i8042: PNP: No PS/2 controller found. Probing ports directly. [ 0.294153] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 0.295014] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 0.295996] mousedev: PS/2 mouse device common for all mice [ 0.297140] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 [ 0.298283] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0 [ 0.298977] rtc0: alarms up to one day, 114 bytes nvram [ 0.299519] device-mapper: uevent: version 1.0.3 [ 0.300028] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com [ 0.300801] cpuidle: using governor ladder [ 0.301172] cpuidle: using governor menu [ 0.301527] EFI Variables Facility v0.08 2004-May-17 [ 0.302184] TCP cubic registered [ 0.302600] NET: Registered protocol family 10 [ 0.303447] NET: Registered protocol family 17 [ 0.303871] Registering the dns_resolver key type [ 0.304413] registered taskstats version 1 [ 0.305283] Magic number: 6:122:128 [ 0.305759] rtc_cmos rtc_cmos: setting system clock to 2014-03-24 12:06:59 UTC (1395662819) [ 0.306527] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found [ 0.307078] EDD information not available. [ 0.443339] Freeing unused kernel memory: 924k freed [ 0.444441] Write protecting the kernel read-only data: 12288k [ 0.454143] Freeing unused kernel memory: 1584k freed [ 0.458958] Freeing unused kernel memory: 1188k freed febootstrap: mounting /proc febootstrap: uptime: 0.46 0.17 febootstrap: ext2 mini initrd starting up: 3.14 febootstrap: mounting /sys febootstrap: internal insmod libcrc32c.ko febootstrap: internal insmod crc-itu-t.ko febootstrap: internal insmod crc-ccitt.ko febootstrap: internal insmod crc7.ko febootstrap: internal insmod crc8.ko febootstrap: internal insmod sparse-keymap.ko febootstrap: internal insmod ideapad-laptop.ko insmod: init_module: ideapad-laptop.ko: No such device febootstrap: internal insmod virtio_mmio.ko febootstrap: internal insmod virtio_balloon.ko febootstrap: internal insmod virtio-rng.ko febootstrap: internal insmod virtio_console.ko febootstrap: internal insmod ext2.ko febootstrap: picked /sys/block/vdb/dev as root device febootstrap: creating /dev/root as block special 253:16 febootstrap: mounting new root on /root febootstrap: chroot /proc/uptime: No such file or directory Starting /init script ... rm: cannot remove `/proc': Is a directory mkdir: cannot create directory `/proc': File exists rm: cannot remove `/sys': Is a directory mkdir: cannot create directory `/sys': File exists cannot open /dev/null FATAL: Module pci:v00008086d00007000sv00001AF4sd00001100bc06sc01i00 not found. FATAL: Module platform:Fixed not found. WARNING: Not loading blacklisted module snd_pcsp WARNING: Not loading blacklisted module pcspkr FATAL: Module platform:pcspkr not found. FATAL: Module pci:v00008086d00001237sv00001AF4sd00001100bc06sc00i00 not found. insmod /lib/modules/3.2.0-58-generic/kernel/drivers/input/serio/serio_raw.ko insmod /lib/modules/3.2.0-58-generic/kernel/drivers/input/serio/serio_raw.ko insmod /lib/modules/3.2.0-58-generic/kernel/drivers/i2c/busses/i2c-piix4.ko [ 1.017725] piix4_smbus 0000:00:01.3: SMBus Host Controller at 0xb100, revision 0 insmod /lib/modules/3.2.0-58-generic/kernel/drivers/input/mouse/psmouse.ko [ 1.468107] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input1 SIOCSIFADDR: No such device eth0: ERROR while getting interface flags: No such device SIOCADDRT: No such process Reading all physical volumes. This may take a while... No volume groups found No volume groups found /dev: total 36 crw------T 1 0 0 10, 235 Mar 24 12:07 autofs drwxr-xr-x 2 0 0 4096 Mar 24 12:07 block crw------T 1 0 0 10, 234 Mar 24 12:07 btrfs-control drwxr-xr-x 2 0 0 4096 Mar 24 12:07 char crw------- 1 0 0 5, 1 Mar 24 12:07 console lrwxrwxrwx 1 0 0 11 Mar 24 12:07 core -> /proc/kcore drwxr-xr-x 2 0 0 4096 Mar 24 12:07 cpu crw------- 1 0 0 10, 60 Mar 24 12:07 cpu_dma_latency drwxr-xr-x 4 0 0 4096 Mar 24 12:07 disk crw------- 1 0 0 10, 61 Mar 24 12:07 ecryptfs lrwxrwxrwx 1 0 0 13 Mar 24 12:07 fd -> /proc/self/fd crw-rw-rw- 1 0 0 1, 7 Mar 24 12:07 full crw------T 1 0 0 10, 229 Mar 24 12:07 fuse drwxr-xr-x 3 0 0 4096 Mar 24 12:07 input crw------- 1 0 0 1, 11 Mar 24 12:07 kmsg crw------- 1 0 0 10, 237 Mar 24 12:07 loop-control brw------- 1 0 0 7, 0 Mar 24 12:07 loop0 brw------- 1 0 0 7, 1 Mar 24 12:07 loop1 brw------- 1 0 0 7, 2 Mar 24 12:07 loop2 brw------- 1 0 0 7, 3 Mar 24 12:07 loop3 brw------- 1 0 0 7, 4 Mar 24 12:07 loop4 brw------- 1 0 0 7, 5 Mar 24 12:07 loop5 brw------- 1 0 0 7, 6 Mar 24 12:07 loop6 brw------- 1 0 0 7, 7 Mar 24 12:07 loop7 drwxr-xr-x 2 0 0 4096 Mar 24 12:07 mapper crw------- 1 0 0 10, 227 Mar 24 12:07 mcelog crw-r----- 1 0 0 1, 1 Mar 24 12:07 mem drwxr-xr-x 2 0 0 4096 Mar 24 12:07 net crw------- 1 0 0 10, 59 Mar 24 12:07 network_latency crw------- 1 0 0 10, 58 Mar 24 12:07 network_throughput crw-rw-rw- 1 0 0 1, 3 Mar 24 12:07 null crw------- 1 0 0 1, 12 Mar 24 12:07 oldmem crw-r----- 1 0 0 1, 4 Mar 24 12:07 port crw------- 1 0 0 108, 0 Mar 24 12:07 ppp crw------- 1 0 0 10, 1 Mar 24 12:07 psaux crw-rw-rw- 1 0 0 5, 2 Mar 24 12:07 ptmx brw------- 1 0 0 1, 0 Mar 24 12:07 ram0 brw------- 1 0 0 1, 1 Mar 24 12:07 ram1 brw------- 1 0 0 1, 10 Mar 24 12:07 ram10 brw------- 1 0 0 1, 11 Mar 24 12:07 ram11 brw------- 1 0 0 1, 12 Mar 24 12:07 ram12 brw------- 1 0 0 1, 13 Mar 24 12:07 ram13 brw------- 1 0 0 1, 14 Mar 24 12:07 ram14 brw------- 1 0 0 1, 15 Mar 24 12:07 ram15 brw------- 1 0 0 1, 2 Mar 24 12:07 ram2 brw------- 1 0 0 1, 3 Mar 24 12:07 ram3 brw------- 1 0 0 1, 4 Mar 24 12:07 ram4 brw------- 1 0 0 1, 5 Mar 24 12:07 ram5 brw------- 1 0 0 1, 6 Mar 24 12:07 ram6 brw------- 1 0 0 1, 7 Mar 24 12:07 ram7 brw------- 1 0 0 1, 8 Mar 24 12:07 ram8 brw------- 1 0 0 1, 9 Mar 24 12:07 ram9 crw-rw-rw- 1 0 0 1, 8 Mar 24 12:07 random crw-r--r-- 1 0 0 10, 62 Mar 24 12:07 rfkill lrwxrwxrwx 1 0 0 4 Mar 24 12:07 rtc -> rtc0 crw------- 1 0 0 254, 0 Mar 24 12:07 rtc0 crw------- 1 0 0 10, 231 Mar 24 12:07 snapshot drwxr-xr-x 2 0 0 4096 Mar 24 12:07 snd lrwxrwxrwx 1 0 0 15 Mar 24 12:07 stderr -> /proc/self/fd/2 lrwxrwxrwx 1 0 0 15 Mar 24 12:07 stdin -> /proc/self/fd/0 lrwxrwxrwx 1 0 0 15 Mar 24 12:07 stdout -> /proc/self/fd/1 crw-rw-rw- 1 0 0 5, 0 Mar 24 12:07 tty crw--w---- 1 0 0 4, 0 Mar 24 12:07 tty0 crw--w---- 1 0 0 4, 1 Mar 24 12:07 tty1 crw--w---- 1 0 0 4, 10 Mar 24 12:07 tty10 crw--w---- 1 0 0 4, 11 Mar 24 12:07 tty11 crw--w---- 1 0 0 4, 12 Mar 24 12:07 tty12 crw--w---- 1 0 0 4, 13 Mar 24 12:07 tty13 crw--w---- 1 0 0 4, 14 Mar 24 12:07 tty14 crw--w---- 1 0 0 4, 15 Mar 24 12:07 tty15 crw--w---- 1 0 0 4, 16 Mar 24 12:07 tty16 crw--w---- 1 0 0 4, 17 Mar 24 12:07 tty17 crw--w---- 1 0 0 4, 18 Mar 24 12:07 tty18 crw--w---- 1 0 0 4, 19 Mar 24 12:07 tty19 crw--w---- 1 0 0 4, 2 Mar 24 12:07 tty2 crw--w---- 1 0 0 4, 20 Mar 24 12:07 tty20 crw--w---- 1 0 0 4, 21 Mar 24 12:07 tty21 crw--w---- 1 0 0 4, 22 Mar 24 12:07 tty22 crw--w---- 1 0 0 4, 23 Mar 24 12:07 tty23 crw--w---- 1 0 0 4, 24 Mar 24 12:07 tty24 crw--w---- 1 0 0 4, 25 Mar 24 12:07 tty25 crw--w---- 1 0 0 4, 26 Mar 24 12:07 tty26 crw--w---- 1 0 0 4, 27 Mar 24 12:07 tty27 crw--w---- 1 0 0 4, 28 Mar 24 12:07 tty28 crw--w---- 1 0 0 4, 29 Mar 24 12:07 tty29 crw--w---- 1 0 0 4, 3 Mar 24 12:07 tty3 crw--w---- 1 0 0 4, 30 Mar 24 12:07 tty30 crw--w---- 1 0 0 4, 31 Mar 24 12:07 tty31 crw--w---- 1 0 0 4, 32 Mar 24 12:07 tty32 crw--w---- 1 0 0 4, 33 Mar 24 12:07 tty33 crw--w---- 1 0 0 4, 34 Mar 24 12:07 tty34 crw--w---- 1 0 0 4, 35 Mar 24 12:07 tty35 crw--w---- 1 0 0 4, 36 Mar 24 12:07 tty36 crw--w---- 1 0 0 4, 37 Mar 24 12:07 tty37 crw--w---- 1 0 0 4, 38 Mar 24 12:07 tty38 crw--w---- 1 0 0 4, 39 Mar 24 12:07 tty39 crw--w---- 1 0 0 4, 4 Mar 24 12:07 tty4 crw--w---- 1 0 0 4, 40 Mar 24 12:07 tty40 crw--w---- 1 0 0 4, 41 Mar 24 12:07 tty41 crw--w---- 1 0 0 4, 42 Mar 24 12:07 tty42 crw--w---- 1 0 0 4, 43 Mar 24 12:07 tty43 crw--w---- 1 0 0 4, 44 Mar 24 12:07 tty44 crw--w---- 1 0 0 4, 45 Mar 24 12:07 tty45 crw--w---- 1 0 0 4, 46 Mar 24 12:07 tty46 crw--w---- 1 0 0 4, 47 Mar 24 12:07 tty47 crw--w---- 1 0 0 4, 48 Mar 24 12:07 tty48 crw--w---- 1 0 0 4, 49 Mar 24 12:07 tty49 crw--w---- 1 0 0 4, 5 Mar 24 12:07 tty5 crw--w---- 1 0 0 4, 50 Mar 24 12:07 tty50 crw--w---- 1 0 0 4, 51 Mar 24 12:07 tty51 crw--w---- 1 0 0 4, 52 Mar 24 12:07 tty52 crw--w---- 1 0 0 4, 53 Mar 24 12:07 tty53 crw--w---- 1 0 0 4, 54 Mar 24 12:07 tty54 crw--w---- 1 0 0 4, 55 Mar 24 12:07 tty55 crw--w---- 1 0 0 4, 56 Mar 24 12:07 tty56 crw--w---- 1 0 0 4, 57 Mar 24 12:07 tty57 crw--w---- 1 0 0 4, 58 Mar 24 12:07 tty58 crw--w---- 1 0 0 4, 59 Mar 24 12:07 tty59 crw--w---- 1 0 0 4, 6 Mar 24 12:07 tty6 crw--w---- 1 0 0 4, 60 Mar 24 12:07 tty60 crw--w---- 1 0 0 4, 61 Mar 24 12:07 tty61 crw--w---- 1 0 0 4, 62 Mar 24 12:07 tty62 crw--w---- 1 0 0 4, 63 Mar 24 12:07 tty63 crw--w---- 1 0 0 4, 7 Mar 24 12:07 tty7 crw--w---- 1 0 0 4, 8 Mar 24 12:07 tty8 crw--w---- 1 0 0 4, 9 Mar 24 12:07 tty9 crw------- 1 0 0 4, 64 Mar 24 12:07 ttyS0 crw------- 1 0 0 4, 65 Mar 24 12:07 ttyS1 crw------- 1 0 0 4, 74 Mar 24 12:07 ttyS10 crw------- 1 0 0 4, 75 Mar 24 12:07 ttyS11 crw------- 1 0 0 4, 76 Mar 24 12:07 ttyS12 crw------- 1 0 0 4, 77 Mar 24 12:07 ttyS13 crw------- 1 0 0 4, 78 Mar 24 12:07 ttyS14 crw------- 1 0 0 4, 79 Mar 24 12:07 ttyS15 crw------- 1 0 0 4, 80 Mar 24 12:07 ttyS16 crw------- 1 0 0 4, 81 Mar 24 12:07 ttyS17 crw------- 1 0 0 4, 82 Mar 24 12:07 ttyS18 crw------- 1 0 0 4, 83 Mar 24 12:07 ttyS19 crw------- 1 0 0 4, 66 Mar 24 12:07 ttyS2 crw------- 1 0 0 4, 84 Mar 24 12:07 ttyS20 crw------- 1 0 0 4, 85 Mar 24 12:07 ttyS21 crw------- 1 0 0 4, 86 Mar 24 12:07 ttyS22 crw------- 1 0 0 4, 87 Mar 24 12:07 ttyS23 crw------- 1 0 0 4, 88 Mar 24 12:07 ttyS24 crw------- 1 0 0 4, 89 Mar 24 12:07 ttyS25 crw------- 1 0 0 4, 90 Mar 24 12:07 ttyS26 crw------- 1 0 0 4, 91 Mar 24 12:07 ttyS27 crw------- 1 0 0 4, 92 Mar 24 12:07 ttyS28 crw------- 1 0 0 4, 93 Mar 24 12:07 ttyS29 crw------- 1 0 0 4, 67 Mar 24 12:07 ttyS3 crw------- 1 0 0 4, 94 Mar 24 12:07 ttyS30 crw------- 1 0 0 4, 95 Mar 24 12:07 ttyS31 crw------- 1 0 0 4, 68 Mar 24 12:07 ttyS4 crw------- 1 0 0 4, 69 Mar 24 12:07 ttyS5 crw------- 1 0 0 4, 70 Mar 24 12:07 ttyS6 crw------- 1 0 0 4, 71 Mar 24 12:07 ttyS7 crw------- 1 0 0 4, 72 Mar 24 12:07 ttyS8 crw------- 1 0 0 4, 73 Mar 24 12:07 ttyS9 crw------- 1 0 0 5, 3 Mar 24 12:07 ttyprintk crw-r----- 1 0 0 10, 223 Mar 24 12:07 uinput crw-rw-rw- 1 0 0 1, 9 Mar 24 12:07 urandom crw------- 1 0 0 252, 0 Mar 24 12:07 usbmon0 crw------- 1 0 0 7, 0 Mar 24 12:07 vcs crw------- 1 0 0 7, 1 Mar 24 12:07 vcs1 crw------- 1 0 0 7, 128 Mar 24 12:07 vcsa crw------- 1 0 0 7, 129 Mar 24 12:07 vcsa1 brw------- 1 0 0 253, 0 Mar 24 12:07 vda brw------- 1 0 0 253, 1 Mar 24 12:07 vda1 brw------- 1 0 0 253, 16 Mar 24 12:07 vdb crw------- 1 0 0 10, 63 Mar 24 12:07 vga_arbiter drwxr-xr-x 2 0 0 4096 Mar 24 12:07 virtio-ports crw------- 1 0 0 251, 1 Mar 24 12:07 vport0p1 crw-rw-rw- 1 0 0 1, 5 Mar 24 12:07 zero /dev/block: total 0 lrwxrwxrwx 1 0 0 7 Mar 24 12:07 1:0 -> ../ram0 lrwxrwxrwx 1 0 0 7 Mar 24 12:07 1:1 -> ../ram1 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 1:10 -> ../ram10 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 1:11 -> ../ram11 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 1:12 -> ../ram12 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 1:13 -> ../ram13 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 1:14 -> ../ram14 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 1:15 -> ../ram15 lrwxrwxrwx 1 0 0 7 Mar 24 12:07 1:2 -> ../ram2 lrwxrwxrwx 1 0 0 7 Mar 24 12:07 1:3 -> ../ram3 lrwxrwxrwx 1 0 0 7 Mar 24 12:07 1:4 -> ../ram4 lrwxrwxrwx 1 0 0 7 Mar 24 12:07 1:5 -> ../ram5 lrwxrwxrwx 1 0 0 7 Mar 24 12:07 1:6 -> ../ram6 lrwxrwxrwx 1 0 0 7 Mar 24 12:07 1:7 -> ../ram7 lrwxrwxrwx 1 0 0 7 Mar 24 12:07 1:8 -> ../ram8 lrwxrwxrwx 1 0 0 7 Mar 24 12:07 1:9 -> ../ram9 lrwxrwxrwx 1 0 0 6 Mar 24 12:07 253:0 -> ../vda lrwxrwxrwx 1 0 0 7 Mar 24 12:07 253:1 -> ../vda1 lrwxrwxrwx 1 0 0 6 Mar 24 12:07 253:16 -> ../vdb lrwxrwxrwx 1 0 0 8 Mar 24 12:07 7:0 -> ../loop0 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 7:1 -> ../loop1 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 7:2 -> ../loop2 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 7:3 -> ../loop3 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 7:4 -> ../loop4 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 7:5 -> ../loop5 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 7:6 -> ../loop6 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 7:7 -> ../loop7 /dev/char: total 0 lrwxrwxrwx 1 0 0 6 Mar 24 12:07 108:0 -> ../ppp lrwxrwxrwx 1 0 0 8 Mar 24 12:07 10:1 -> ../psaux lrwxrwxrwx 1 0 0 10 Mar 24 12:07 10:200 -> ../net/tun lrwxrwxrwx 1 0 0 9 Mar 24 12:07 10:223 -> ../uinput lrwxrwxrwx 1 0 0 9 Mar 24 12:07 10:227 -> ../mcelog lrwxrwxrwx 1 0 0 7 Mar 24 12:07 10:229 -> ../fuse lrwxrwxrwx 1 0 0 11 Mar 24 12:07 10:231 -> ../snapshot lrwxrwxrwx 1 0 0 17 Mar 24 12:07 10:236 -> ../mapper/control lrwxrwxrwx 1 0 0 15 Mar 24 12:07 10:237 -> ../loop-control lrwxrwxrwx 1 0 0 21 Mar 24 12:07 10:58 -> ../network_throughput lrwxrwxrwx 1 0 0 18 Mar 24 12:07 10:59 -> ../network_latency lrwxrwxrwx 1 0 0 18 Mar 24 12:07 10:60 -> ../cpu_dma_latency lrwxrwxrwx 1 0 0 11 Mar 24 12:07 10:61 -> ../ecryptfs lrwxrwxrwx 1 0 0 9 Mar 24 12:07 10:62 -> ../rfkill lrwxrwxrwx 1 0 0 14 Mar 24 12:07 10:63 -> ../vga_arbiter lrwxrwxrwx 1 0 0 15 Mar 24 12:07 13:32 -> ../input/mouse0 lrwxrwxrwx 1 0 0 13 Mar 24 12:07 13:63 -> ../input/mice lrwxrwxrwx 1 0 0 15 Mar 24 12:07 13:64 -> ../input/event0 lrwxrwxrwx 1 0 0 15 Mar 24 12:07 13:65 -> ../input/event1 lrwxrwxrwx 1 0 0 6 Mar 24 12:07 1:1 -> ../mem lrwxrwxrwx 1 0 0 7 Mar 24 12:07 1:11 -> ../kmsg lrwxrwxrwx 1 0 0 9 Mar 24 12:07 1:12 -> ../oldmem lrwxrwxrwx 1 0 0 7 Mar 24 12:07 1:3 -> ../null lrwxrwxrwx 1 0 0 7 Mar 24 12:07 1:4 -> ../port lrwxrwxrwx 1 0 0 7 Mar 24 12:07 1:5 -> ../zero lrwxrwxrwx 1 0 0 7 Mar 24 12:07 1:7 -> ../full lrwxrwxrwx 1 0 0 9 Mar 24 12:07 1:8 -> ../random lrwxrwxrwx 1 0 0 10 Mar 24 12:07 1:9 -> ../urandom lrwxrwxrwx 1 0 0 11 Mar 24 12:07 251:1 -> ../vport0p1 lrwxrwxrwx 1 0 0 10 Mar 24 12:07 252:0 -> ../usbmon0 lrwxrwxrwx 1 0 0 7 Mar 24 12:07 254:0 -> ../rtc0 lrwxrwxrwx 1 0 0 7 Mar 24 12:07 4:0 -> ../tty0 lrwxrwxrwx 1 0 0 7 Mar 24 12:07 4:1 -> ../tty1 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:10 -> ../tty10 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:11 -> ../tty11 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:12 -> ../tty12 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:13 -> ../tty13 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:14 -> ../tty14 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:15 -> ../tty15 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:16 -> ../tty16 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:17 -> ../tty17 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:18 -> ../tty18 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:19 -> ../tty19 lrwxrwxrwx 1 0 0 7 Mar 24 12:07 4:2 -> ../tty2 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:20 -> ../tty20 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:21 -> ../tty21 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:22 -> ../tty22 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:23 -> ../tty23 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:24 -> ../tty24 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:25 -> ../tty25 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:26 -> ../tty26 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:27 -> ../tty27 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:28 -> ../tty28 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:29 -> ../tty29 lrwxrwxrwx 1 0 0 7 Mar 24 12:07 4:3 -> ../tty3 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:30 -> ../tty30 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:31 -> ../tty31 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:32 -> ../tty32 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:33 -> ../tty33 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:34 -> ../tty34 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:35 -> ../tty35 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:36 -> ../tty36 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:37 -> ../tty37 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:38 -> ../tty38 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:39 -> ../tty39 lrwxrwxrwx 1 0 0 7 Mar 24 12:07 4:4 -> ../tty4 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:40 -> ../tty40 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:41 -> ../tty41 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:42 -> ../tty42 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:43 -> ../tty43 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:44 -> ../tty44 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:45 -> ../tty45 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:46 -> ../tty46 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:47 -> ../tty47 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:48 -> ../tty48 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:49 -> ../tty49 lrwxrwxrwx 1 0 0 7 Mar 24 12:07 4:5 -> ../tty5 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:50 -> ../tty50 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:51 -> ../tty51 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:52 -> ../tty52 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:53 -> ../tty53 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:54 -> ../tty54 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:55 -> ../tty55 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:56 -> ../tty56 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:57 -> ../tty57 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:58 -> ../tty58 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:59 -> ../tty59 lrwxrwxrwx 1 0 0 7 Mar 24 12:07 4:6 -> ../tty6 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:60 -> ../tty60 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:61 -> ../tty61 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:62 -> ../tty62 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:63 -> ../tty63 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:64 -> ../ttyS0 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:65 -> ../ttyS1 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:66 -> ../ttyS2 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:67 -> ../ttyS3 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:68 -> ../ttyS4 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:69 -> ../ttyS5 lrwxrwxrwx 1 0 0 7 Mar 24 12:07 4:7 -> ../tty7 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:70 -> ../ttyS6 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:71 -> ../ttyS7 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:72 -> ../ttyS8 lrwxrwxrwx 1 0 0 8 Mar 24 12:07 4:73 -> ../ttyS9 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 4:74 -> ../ttyS10 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 4:75 -> ../ttyS11 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 4:76 -> ../ttyS12 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 4:77 -> ../ttyS13 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 4:78 -> ../ttyS14 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 4:79 -> ../ttyS15 lrwxrwxrwx 1 0 0 7 Mar 24 12:07 4:8 -> ../tty8 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 4:80 -> ../ttyS16 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 4:81 -> ../ttyS17 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 4:82 -> ../ttyS18 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 4:83 -> ../ttyS19 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 4:84 -> ../ttyS20 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 4:85 -> ../ttyS21 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 4:86 -> ../ttyS22 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 4:87 -> ../ttyS23 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 4:88 -> ../ttyS24 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 4:89 -> ../ttyS25 lrwxrwxrwx 1 0 0 7 Mar 24 12:07 4:9 -> ../tty9 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 4:90 -> ../ttyS26 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 4:91 -> ../ttyS27 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 4:92 -> ../ttyS28 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 4:93 -> ../ttyS29 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 4:94 -> ../ttyS30 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 4:95 -> ../ttyS31 lrwxrwxrwx 1 0 0 6 Mar 24 12:07 5:0 -> ../tty lrwxrwxrwx 1 0 0 10 Mar 24 12:07 5:1 -> ../console lrwxrwxrwx 1 0 0 7 Mar 24 12:07 5:2 -> ../ptmx lrwxrwxrwx 1 0 0 12 Mar 24 12:07 5:3 -> ../ttyprintk lrwxrwxrwx 1 0 0 6 Mar 24 12:07 7:0 -> ../vcs lrwxrwxrwx 1 0 0 7 Mar 24 12:07 7:1 -> ../vcs1 lrwxrwxrwx 1 0 0 7 Mar 24 12:07 7:128 -> ../vcsa lrwxrwxrwx 1 0 0 8 Mar 24 12:07 7:129 -> ../vcsa1 /dev/cpu: total 0 crw------T 1 0 0 10, 184 Mar 24 12:07 microcode /dev/disk: total 8 drwxr-xr-x 2 0 0 4096 Mar 24 12:07 by-path drwxr-xr-x 2 0 0 4096 Mar 24 12:07 by-uuid /dev/disk/by-path: total 0 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 pci-0000:00:03.0-virtio-pci-virtio1 -> ../../vda lrwxrwxrwx 1 0 0 10 Mar 24 12:07 pci-0000:00:03.0-virtio-pci-virtio1-part1 -> ../../vda1 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 pci-0000:00:04.0-virtio-pci-virtio2 -> ../../vdb /dev/disk/by-uuid: total 0 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 8ebe3a71-4155-49f2-b2f4-11fd0ace63cb -> ../../vdb lrwxrwxrwx 1 0 0 10 Mar 24 12:07 f0a6c6df-5e2d-4a7f-9bd9-72111ca78a13 -> ../../vda1 /dev/input: total 4 drwxr-xr-x 2 0 0 4096 Mar 24 12:07 by-path crw-r----- 1 0 0 13, 64 Mar 24 12:07 event0 crw-r----- 1 0 0 13, 65 Mar 24 12:07 event1 crw-r----- 1 0 0 13, 63 Mar 24 12:07 mice crw-r----- 1 0 0 13, 32 Mar 24 12:07 mouse0 /dev/input/by-path: total 0 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 platform-i8042-serio-0-event-kbd -> ../event0 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 platform-i8042-serio-1-event-mouse -> ../event1 lrwxrwxrwx 1 0 0 9 Mar 24 12:07 platform-i8042-serio-1-mouse -> ../mouse0 /dev/mapper: total 0 crw------- 1 0 0 10, 236 Mar 24 12:07 control /dev/net: total 0 crw-rw-rwT 1 0 0 10, 200 Mar 24 12:07 tun /dev/snd: total 0 crw------T 1 0 0 116, 1 Mar 24 12:07 seq crw------T 1 0 0 116, 33 Mar 24 12:07 timer /dev/virtio-ports: total 0 lrwxrwxrwx 1 0 0 11 Mar 24 12:07 org.libguestfs.channel.0 -> ../vport0p1 rootfs / rootfs rw 0 0 proc /proc proc rw,relatime 0 0 /dev/root / ext2 rw,noatime,errors=continue,user_xattr,acl 0 0 /proc /proc proc rw,relatime 0 0 /sys /sys sysfs rw,relatime 0 0 tmpfs /run tmpfs rw,nosuid,relatime,size=98228k,mode=755 0 0 No volume groups found No volume groups found lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface Module Size Used by mac_hid 13253 0 psmouse 97519 0 i2c_piix4 13301 0 serio_raw 13211 0 ext2 73795 1 virtio_console 23104 0 virtio_rng 12963 0 virtio_balloon 13108 0 virtio_mmio 13191 0 sparse_keymap 13890 0 crc8 12893 0 crc7 12703 0 crc_ccitt 12707 0 crc_itu_t 12707 0 libcrc32c 12644 0 Mon Mar 24 12:07:01 UTC 2014 uptime: 2.04 0.93 verbose daemon enabled linux commmand line: panic=1 console=ttyS0 udevtimeout=300 no_timer_check acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm libguestfs: recv_from_daemon: received GUESTFS_LAUNCH_FLAG libguestfs: [04754ms] appliance is up libguestfs: trace: launch = 0 libguestfs: trace: list_partitions libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 08 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x28 guestfsd: main_loop: proc 8 (list_partitions) took 0.00 seconds libguestfs: recv_from_daemon: 60 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 08 | 00 00 00 01 | 00 12 34 00 | ... libguestfs: trace: list_partitions = ["/dev/vda1"] libguestfs: trace: vfs_type "/dev/vda1" libguestfs: send_to_daemon: 60 bytes: 00 00 00 38 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c6 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x38 blkid -c /dev/null -o value -s TYPE /dev/vda1 libguestfs: recv_from_daemon: 48 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c6 | 00 00 00 01 | 00 12 34 01 | ... libguestfs: trace: vfs_type = "ext4" libguestfs: trace: inspect_os libguestfs: trace: umount_all libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 2f | 00 00 00 00 | ... guestfsd: main_loop: proc 198 (vfs_type) took 0.02 seconds guestfsd: main_loop: new request, len 0x28 guestfsd: main_loop: proc 47 (umount_all) took 0.00 seconds libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 2f | 00 00 00 01 | 00 12 34 02 | ... libguestfs: trace: umount_all = 0 libguestfs: trace: list_devices libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 07 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x28 guestfsd: main_loop: proc 7 (list_devices) took 0.00 seconds libguestfs: recv_from_daemon: 56 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 07 | 00 00 00 01 | 00 12 34 03 | ... libguestfs: trace: list_devices = ["/dev/vda"] libguestfs: trace: vfs_type "/dev/vda" libguestfs: send_to_daemon: 56 bytes: 00 00 00 34 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c6 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x34 blkid -c /dev/null -o value -s TYPE /dev/vda libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c6 | 00 00 00 01 | 00 12 34 04 | ... libguestfs: trace: vfs_type = "" libguestfs: check_for_filesystem_on: /dev/vda 1 0 () libguestfs: trace: mount_ro "/dev/vda" "/" libguestfs: send_to_daemon: 64 bytes: 00 00 00 3c | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 49 | 00 00 00 00 | ... guestfsd: main_loop: proc 198 (vfs_type) took 0.02 seconds guestfsd: main_loop: new request, len 0x3c mount -o ro /dev/vda /sysroot/ [ 2.157680] EXT3-fs (vda): error: can't find ext3 filesystem on dev vda. [ 2.160394] EXT4-fs (vda): VFS: Can't find ext4 filesystem [ 2.164624] EXT2-fs (vda): error: can't find an ext2 filesystem on dev vda. mount: you must specify the filesystem type guestfsd: error: /dev/vda on /: mount: you must specify the filesystem type guestfsd: main_loop: proc 73 (mount_ro) took 0.03 seconds libguestfs: recv_from_daemon: 108 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 49 | 00 00 00 01 | 00 12 34 05 | ... libguestfs: trace: mount_ro = -1 (error) libguestfs: trace: list_partitions libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 08 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x28 guestfsd: main_loop: proc 8 (list_partitions) took 0.00 seconds libguestfs: recv_from_daemon: 60 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 08 | 00 00 00 01 | 00 12 34 06 | ... libguestfs: trace: list_partitions = ["/dev/vda1"] libguestfs: trace: vfs_type "/dev/vda1" libguestfs: send_to_daemon: 60 bytes: 00 00 00 38 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c6 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x38 blkid -c /dev/null -o value -s TYPE /dev/vda1 libguestfs: recv_from_daemon: 48 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c6 | 00 00 00 01 | 00 12 34 07 | ... libguestfs: trace: vfs_type = "ext4" libguestfs: check_for_filesystem_on: /dev/vda1 0 1 (ext4) libguestfs: trace: mount_ro "/dev/vda1" "/" libguestfs: send_to_daemon: 68 bytes: 00 00 00 40 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 49 | 00 00 00 00 | ... guestfsd: main_loop: proc 198 (vfs_type) took 0.02 seconds guestfsd: main_loop: new request, len 0x40 mount -o ro /dev/vda1 /sysroot/ [ 2.227429] EXT4-fs (vda1): INFO: recovery required on readonly filesystem [ 2.228602] EXT4-fs (vda1): write access will be enabled during recovery [ 2.238240] EXT4-fs (vda1): recovery complete [ 2.240435] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null) guestfsd: main_loop: proc 73 (mount_ro) took 0.03 seconds libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 49 | 00 00 00 01 | 00 12 34 08 | ... libguestfs: trace: mount_ro = 0 libguestfs: trace: is_dir "/etc" libguestfs: send_to_daemon: 52 bytes: 00 00 00 30 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 26 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x30 guestfsd: main_loop: proc 38 (is_dir) took 0.00 seconds libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 26 | 00 00 00 01 | 00 12 34 09 | ... libguestfs: trace: is_dir = 0 libguestfs: trace: is_dir "/bin" libguestfs: send_to_daemon: 52 bytes: 00 00 00 30 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 26 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x30 guestfsd: main_loop: proc 38 (is_dir) took 0.00 seconds libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 26 | 00 00 00 01 | 00 12 34 0a | ... libguestfs: trace: is_dir = 0 libguestfs: trace: is_dir "/share" libguestfs: send_to_daemon: 56 bytes: 00 00 00 34 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 26 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x34 guestfsd: main_loop: proc 38 (is_dir) took 0.00 seconds libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 26 | 00 00 00 01 | 00 12 34 0b | ... libguestfs: trace: is_dir = 0 libguestfs: trace: is_file "/grub/menu.lst" libguestfs: send_to_daemon: 64 bytes: 00 00 00 3c | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 25 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x3c guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 25 | 00 00 00 01 | 00 12 34 0c | ... libguestfs: trace: is_file = 0 libguestfs: trace: is_file "/grub/grub.conf" libguestfs: send_to_daemon: 64 bytes: 00 00 00 3c | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 25 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x3c guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 25 | 00 00 00 01 | 00 12 34 0d | ... libguestfs: trace: is_file = 0 libguestfs: trace: is_dir "/log" libguestfs: send_to_daemon: 52 bytes: 00 00 00 30 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 26 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x30 guestfsd: main_loop: proc 38 (is_dir) took 0.00 seconds libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 26 | 00 00 00 01 | 00 12 34 0e | ... libguestfs: trace: is_dir = 0 libguestfs: trace: case_sensitive_path "/windows" libguestfs: send_to_daemon: 56 bytes: 00 00 00 34 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c5 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x34 guestfsd: error: windows: no file or directory found with this name guestfsd: main_loop: proc 197 (case_sensitive_path) took 0.00 seconds libguestfs: recv_from_daemon: 100 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c5 | 00 00 00 01 | 00 12 34 0f | ... libguestfs: trace: case_sensitive_path = NULL (error) libguestfs: trace: case_sensitive_path "/winnt" libguestfs: send_to_daemon: 56 bytes: 00 00 00 34 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c5 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x34 guestfsd: error: winnt: no file or directory found with this name guestfsd: main_loop: proc 197 (case_sensitive_path) took 0.00 seconds libguestfs: recv_from_daemon: 96 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c5 | 00 00 00 01 | 00 12 34 10 | ... libguestfs: trace: case_sensitive_path = NULL (error) libguestfs: trace: case_sensitive_path "/win32" libguestfs: send_to_daemon: 56 bytes: 00 00 00 34 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c5 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x34 guestfsd: error: win32: no file or directory found with this name guestfsd: main_loop: proc 197 (case_sensitive_path) took 0.00 seconds libguestfs: recv_from_daemon: 96 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c5 | 00 00 00 01 | 00 12 34 11 | ... libguestfs: trace: case_sensitive_path = NULL (error) libguestfs: trace: case_sensitive_path "/win" libguestfs: send_to_daemon: 52 bytes: 00 00 00 30 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c5 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x30 guestfsd: error: win: no file or directory found with this name guestfsd: main_loop: proc 197 (case_sensitive_path) took 0.00 seconds libguestfs: recv_from_daemon: 96 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c5 | 00 00 00 01 | 00 12 34 12 | ... libguestfs: trace: case_sensitive_path = NULL (error) libguestfs: trace: case_sensitive_path "/System Volume Information" libguestfs: send_to_daemon: 76 bytes: 00 00 00 48 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c5 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x48 guestfsd: error: System Volume Information: no file or directory found with this name guestfsd: main_loop: proc 197 (case_sensitive_path) took 0.00 seconds libguestfs: recv_from_daemon: 116 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c5 | 00 00 00 01 | 00 12 34 13 | ... libguestfs: trace: case_sensitive_path = NULL (error) libguestfs: trace: case_sensitive_path "/System Volume Information" libguestfs: send_to_daemon: 76 bytes: 00 00 00 48 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c5 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x48 guestfsd: error: System Volume Information: no file or directory found with this name guestfsd: main_loop: proc 197 (case_sensitive_path) took 0.00 seconds libguestfs: recv_from_daemon: 116 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c5 | 00 00 00 01 | 00 12 34 14 | ... libguestfs: trace: case_sensitive_path = NULL (error) libguestfs: trace: is_file "/isolinux/isolinux.cfg" libguestfs: send_to_daemon: 72 bytes: 00 00 00 44 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 25 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x44 guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 25 | 00 00 00 01 | 00 12 34 15 | ... libguestfs: trace: is_file = 0 libguestfs: trace: is_dir "/EFI/BOOT" libguestfs: send_to_daemon: 60 bytes: 00 00 00 38 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 26 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x38 guestfsd: main_loop: proc 38 (is_dir) took 0.00 seconds libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 26 | 00 00 00 01 | 00 12 34 16 | ... libguestfs: trace: is_dir = 0 libguestfs: trace: is_file "/images/install.img" libguestfs: send_to_daemon: 68 bytes: 00 00 00 40 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 25 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x40 guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 25 | 00 00 00 01 | 00 12 34 17 | ... libguestfs: trace: is_file = 0 libguestfs: trace: is_dir "/.disk" libguestfs: send_to_daemon: 56 bytes: 00 00 00 34 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 26 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x34 guestfsd: main_loop: proc 38 (is_dir) took 0.00 seconds libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 26 | 00 00 00 01 | 00 12 34 18 | ... libguestfs: trace: is_dir = 0 libguestfs: trace: is_file "/.discinfo" libguestfs: send_to_daemon: 60 bytes: 00 00 00 38 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 25 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x38 guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 25 | 00 00 00 01 | 00 12 34 19 | ... libguestfs: trace: is_file = 0 libguestfs: trace: is_file "/i386/txtsetup.sif" libguestfs: send_to_daemon: 68 bytes: 00 00 00 40 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 25 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x40 guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 25 | 00 00 00 01 | 00 12 34 1a | ... libguestfs: trace: is_file = 0 libguestfs: trace: is_file "/amd64/txtsetup.sif" libguestfs: send_to_daemon: 68 bytes: 00 00 00 40 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 25 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x40 guestfsd: main_loop: proc 37 (is_file) took 0.00 seconds libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 25 | 00 00 00 01 | 00 12 34 1b | ... libguestfs: trace: is_file = 0 libguestfs: trace: umount_all libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 2f | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x28 umount /sysroot libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 2f | 00 00 00 01 | 00 12 34 1c | ... libguestfs: trace: umount_all = 0 libguestfs: trace: available "lvm2" libguestfs: send_to_daemon: 56 bytes: 00 00 00 34 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 d8 | 00 00 00 00 | ... guestfsd: main_loop: proc 47 (umount_all) took 0.00 seconds guestfsd: main_loop: new request, len 0x34 guestfsd: main_loop: proc 216 (available) took 0.00 seconds libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 d8 | 00 00 00 01 | 00 12 34 1d | ... libguestfs: trace: available = 0 libguestfs: trace: lvs libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 0b | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x28 lvm lvs -o vg_name,lv_name --noheadings --separator / No volume groups found guestfsd: main_loop: proc 11 (lvs) took 0.00 seconds libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 0b | 00 00 00 01 | 00 12 34 1e | ... libguestfs: trace: lvs = [] libguestfs: trace: inspect_os = [] virt-ls: no operating system was found on this disk If using guestfish '-i' option, remove this option and instead use the commands 'run' followed by 'list-filesystems'. You can then mount filesystems you want by hand using the 'mount' or 'mount-ro' command. If using guestmount '-i', remove this option and choose the filesystem(s) you want to see by manually adding '-m' option(s). Use 'virt-filesystems' to see what filesystems are available. If using other virt tools, this disk image won't work with these tools. Use the guestfish equivalent commands (see the virt tool manual page). libguestfs: trace: close libguestfs: closing guestfs handle 0x86c1f0 (state 2) libguestfs: trace: internal_autosync libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00 00 04 | 00 00 01 1a | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x28 libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 01 1a | 00 00 00 01 | 00 12 34 1f | ... libguestfs: trace: internal_autosync = 0 libguestfs: trace: kill_subprocess libguestfs: sending SIGTERM to process 2027 libguestfs: trace: kill_subprocess = 0 Regards Arup Raton Roy Graduate Student David R. Cheriton School of Computer Science University of Waterloo, Ontario, Canada On Sun, Mar 23, 2014 at 11:19 AM, Richard W.M. Jones <rjones@redhat.com>wrote:> On Sun, Mar 23, 2014 at 12:26:28PM +0000, Richard W.M. Jones wrote: > > Secondly, we should be able to inspect all Linux guests, including > > Tiny Core Linux, but it looks like in this case it is failing. This > > is a bug. > > I had a look at how the Tiny Core Linux ISO is arranged. It loads the > main operating system root partition as a single large initramfs, with > optional modules loaded [somehow -- not sure of the exact mechanism] > as squashfs filesystems. There's nothing wrong with that of course, > but it makes it challenging to have 'guestfish -i' open with the TCL > root filesystem, and thus programs like 'virt-cat', 'virt-ls' etc are > unlikely to work in the way you expect. There's probably not much we > can do except have inspection simply identify that it is TCL. > > I have filed a bug about this: > > https://bugzilla.redhat.com/show_bug.cgi?id=1079734 > > Rich. > > ---------------------------------------------------------------------- > > Opening the ISO file: > > $ guestfish --ro -a TinyCore-current.iso > > Welcome to guestfish, the guest filesystem shell for > editing virtual machine filesystems and disk images. > > Type: 'help' for help on commands > 'man' to read the manual > 'quit' to quit the shell > > ><fs> run > ><fs> list-filesystems > /dev/sda1: iso9660 > ><fs> mount /dev/sda1 / > ><fs> ll /boot > total 8720 > dr-xr-xr-x 3 root root 2048 May 26 2013 . > dr-xr-xr-x 4 root root 2048 Jan 24 13:49 .. > -r--r--r-- 1 root root 5981138 Jan 24 13:49 core.gz > dr-xr-xr-x 2 root root 2048 May 26 2013 isolinux > -r--r--r-- 1 root root 2941168 Jan 24 13:49 vmlinuz > ><fs> download /boot/core.gz /tmp/core.gz > ><fs> ll /cde/optional > total 4590 > dr-xr-xr-x 2 root root 10240 Jan 24 13:49 . > dr-xr-xr-x 3 root root 2048 Jan 24 13:49 .. > -r--r--r-- 1 root root 1273856 Jan 24 13:49 Xlibs.tcz > -r--r--r-- 1 root root 44 Jan 24 13:49 Xlibs.tcz.md5.txt > [etc] > ><fs> download /cde/optional/Xlibs.tcz /tmp/Xlibs.tcz > ><fs> exit > > The core initramfs: > > $ zcat core.gz | cpio -it | grep etc/ > 17678 blocks > etc/hostname > etc/init.d > etc/init.d/tc-functions > etc/init.d/tc-restore.sh > etc/init.d/tc_noscan.lst > etc/init.d/dhcp.sh > etc/init.d/tc-config > etc/init.d/rc.shutdown > etc/init.d/settime.sh > etc/init.d/rcS > etc/init.d/services > etc/init.d/services/dhcp > etc/init.d/services/tftpd > etc/init.d/services/crond > etc/modprobe.conf > etc/passwd > etc/gshadow > [etc] > > An optional module: > > $ guestfish -a Xlibs.tcz > > Welcome to guestfish, the guest filesystem shell for > editing virtual machine filesystems and disk images. > > Type: 'help' for help on commands > 'man' to read the manual > 'quit' to quit the shell > > ><fs> run > ><fs> list-filesystems > /dev/sda: squashfs > ><fs> mount /dev/sda / > ><fs> ll /usr/bin/ > total 137 > drwxr-sr-x 2 root root 243 Aug 16 2013 . > drwxr-sr-x 6 root root 63 Dec 15 2011 .. > -rwxr-xr-x 1 root root 530 Jan 14 2011 desktop.sh > -rwxr-xr-x 1 root root 873 Jan 14 2011 getRGB > -rwxr-xr-x 1 root root 14000 Mar 8 2010 hsetroot > -rwxr-xr-x 1 root root 7156 May 20 2010 mcookie > -rwxr-xr-x 1 root root 649 Feb 8 2012 setupdesktop > -rwxr-xr-x 1 root root 4052 Mar 4 2010 showrgb > -rwxr-xr-x 1 root root 1234 Dec 22 2011 startx > -rwxr-xr-x 1 root root 1932 Jun 9 2009 waitforX > -rwxr-xr-x 1 root root 29672 Apr 18 2009 xauth > -rwxr-xr-x 1 root root 7196 Apr 18 2009 xkill > -rwxr-xr-x 1 root root 14376 Apr 18 2009 xlsfonts > -rwxr-xr-x 1 root root 21852 Apr 18 2009 xmodmap > -rwxr-xr-x 1 root root 29800 Apr 18 2009 xset > lrwxrwxrwx 1 root root 9 Nov 7 16:13 xsetup -> xsetup.sh > -rwxr-xr-x 1 root root 2820 Jan 14 2011 xsetup.sh > > > > -- > Richard Jones, Virtualization Group, Red Hat > http://people.redhat.com/~rjones > libguestfs lets you edit virtual machines. Supports shell scripting, > bindings from many languages. http://libguestfs.org >
Richard W.M. Jones
2014-Mar-24 13:02 UTC
Re: [Libguestfs] About Guest running Tiny Core Linux
On Mon, Mar 24, 2014 at 08:22:46AM -0400, Arup Raton Roy wrote:> Hi Richard, > > Thanks a lot for your prompt response. I am enumerating the steps that I > followed during the provisioning, if it helps.Thanks ...> 1. These are the commands that I used to create the disk image. > > qemu-img create -f qcow2 base_VM.qcow2 512M > kvm -m 512 -cdrom Core-current.iso -hda base_VM.qcow2 -boot d -net > nic,macaddr=00:00:00:00:cc:10 -net > tap,script=/etc/ovs-ifup0,downscript=/etc/ovs-ifdown0 > > 2. a) The output of qemu-img > qemu-img info base_VM.qcow2 > image: images/base_VM.qcow2 > file format: qcow2 > virtual size: 512M (536870912 bytes) > disk size: 46M > cluster_size: 65536 > 2. b) virt-filesystems --all --long -h -a base_VM.qcow2 > Name Type VFS Label MBR Size Parent > /dev/sda1 filesystem ext4 - - 512M - > /dev/sda1 partition - - 83 512M /dev/sda > /dev/sda device - - - 512M -In my previous analysis I didn't see that TCL actually installs itself to a persistent disk. As shown above and in your trace, it's creating an ext4 partition on the persistent disk. I installed TCL to a disk to see what happens. $ guestfish --ro -a tcl.qcow2 Welcome to guestfish, the guest filesystem shell for editing virtual machine filesystems and disk images. Type: 'help' for help on commands 'man' to read the manual 'quit' to quit the shell><fs> run ><fs> list-filesystems/dev/sda1: ext4><fs> mount /dev/sda1 / ><fs> ll /total 28 drwxr-xr-x 4 root root 4096 Mar 24 12:56 . drwxr-xr-x 19 root root 4096 Mar 24 12:57 .. drwx------ 2 root root 16384 Mar 24 12:56 lost+found drwxr-xr-x 4 1001 ftp 4096 Mar 24 12:56 tce><fs> ll /tce/total 20 drwxr-xr-x 4 1001 ftp 4096 Mar 24 12:56 . drwxr-xr-x 4 root root 4096 Mar 24 12:56 .. drwxr-xr-x 3 1001 ftp 4096 Mar 24 12:56 boot -rw-r--r-- 1 root root 0 Mar 24 12:56 mydata.tgz -rw-r--r-- 1 1001 ftp 449 Mar 24 12:56 onboot.lst drwxr-xr-x 2 1001 ftp 4096 Mar 24 12:56 optional It's still using an initramfs, so it's unlikely we can make inspection show the real TCL filesystem. But we should certainly be able to improve on current behaviour (ie fix RHBZ#1079734). Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top