Skip to content

Instantly share code, notes, and snippets.

@goldmann
Created July 20, 2009 11:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goldmann/150259 to your computer and use it in GitHub Desktop.
Save goldmann/150259 to your computer and use it in GitHub Desktop.
[oddthesis@lolek-f11 management-appliance]$ guestfish -iv management-appliance-sda.raw
open /dev/kvm: No such file or directory
Could not initialize KVM, will disable KVM support
looking for supermin appliance in appliance
looking for supermin appliance in /usr/lib/guestfs
/usr/bin/qemu-kvm /usr/bin/qemu-kvm -drive file=management-appliance-sda.raw,cache=off,if=ide -m 500 -no-reboot -kernel /tmp/libguestfsG7CKWL/kernel -initrd /tmp/libguestfsG7CKWL/initrd -append panic=1 console=ttyS0 guestfs=10.0.2.4:6666 guestfs_verbose=1 -nographic -serial stdio -net channel,6666:unix:/tmp/libguestfsG7CKWL/sock,server,nowait -net user,vlan=0 -net nic,model=virtio,vlan=0 -no-hpet -rtc-td-hack
open /dev/kvm: No such file or directory
Could not initialize KVM, will disable KVM support
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 2.6.29.5-191.fc11.i686.PAE (mockbuild@xenbuilder4.fedora.phx.redhat.com) (gcc version 4.4.0 20090506 (Red Hat 4.4.0-4) (GCC) ) #1 SMP Tue Jun 16 23:19:53 EDT 2009
KERNEL supported cpus:
Intel GenuineIntel
AMD AuthenticAMD
NSC Geode by NSC
Cyrix CyrixInstead
Centaur CentaurHauls
Transmeta GenuineTMx86
Transmeta TransmetaCPU
UMC UMC UMC UMC
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e8000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001f3f0000 (usable)
BIOS-e820: 000000001f3f0000 - 000000001f400000 (ACPI data)
BIOS-e820: 00000000fffbc000 - 0000000100000000 (reserved)
DMI 2.4 present.
last_pfn = 0x1f3f0 max_arch_pfn = 0x1000000
x86 PAT enabled: cpu 0, old 0x0, new 0x7010600070106
NX (Execute Disable) protection: active
RAMDISK: 1b41a000 - 1f3ef200
ACPI: RSDP 000FBE30, 0014 (r0 QEMU )
ACPI: RSDT 1F3F0000, 002C (r1 QEMU QEMURSDT 1 QEMU 1)
ACPI: FACP 1F3F002C, 0074 (r1 QEMU QEMUFACP 1 QEMU 1)
FADT: X_PM1a_EVT_BLK.bit_width (16) does not match PM1_EVT_LEN (4)
ACPI: DSDT 1F3F0100, 2540 (r1 BXPC BXDSDT 1 INTL 20090123)
ACPI: FACS 1F3F00C0, 0040
ACPI: APIC 1F3F2640, 00E0 (r1 QEMU QEMUAPIC 1 QEMU 1)
0MB HIGHMEM available.
499MB LOWMEM available.
mapped low ram: 0 - 1f3f0000
low ram: 00000000 - 1f3f0000
bootmap 00002000 - 00005e80
(9 early reservations) ==> bootmem [0000000000 - 001f3f0000]
#0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
#1 [0000001000 - 0000002000] EX TRAMPOLINE ==> [0000001000 - 0000002000]
#2 [0000006000 - 0000007000] TRAMPOLINE ==> [0000006000 - 0000007000]
#3 [0000400000 - 0000a32594] TEXT DATA BSS ==> [0000400000 - 0000a32594]
#4 [001b41a000 - 001f3ef200] RAMDISK ==> [001b41a000 - 001f3ef200]
#5 [0000a33000 - 0000a3d000] INIT_PG_TABLE ==> [0000a33000 - 0000a3d000]
#6 [000009fc00 - 0000100000] BIOS reserved ==> [000009fc00 - 0000100000]
#7 [0000007000 - 000000a000] PGTABLE ==> [0000007000 - 000000a000]
#8 [0000002000 - 0000006000] BOOTMAP ==> [0000002000 - 0000006000]
found SMP MP-table at [c00fbd10] 000fbd10
Zone PFN ranges:
DMA 0x00000000 -> 0x00001000
Normal 0x00001000 -> 0x0001f3f0
HighMem 0x0001f3f0 -> 0x0001f3f0
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0x00000000 -> 0x0000009f
0: 0x00000100 -> 0x0001f3f0
Using APIC driver default
ACPI: PM-Timer IO Port: 0xb008
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] disabled)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x04] disabled)
ACPI: LAPIC (acpi_id[0x05] lapic_id[0x05] disabled)
ACPI: LAPIC (acpi_id[0x06] lapic_id[0x06] disabled)
ACPI: LAPIC (acpi_id[0x07] lapic_id[0x07] disabled)
ACPI: LAPIC (acpi_id[0x08] lapic_id[0x08] disabled)
ACPI: LAPIC (acpi_id[0x09] lapic_id[0x09] disabled)
ACPI: LAPIC (acpi_id[0x0a] lapic_id[0x0a] disabled)
ACPI: LAPIC (acpi_id[0x0b] lapic_id[0x0b] disabled)
ACPI: LAPIC (acpi_id[0x0c] lapic_id[0x0c] disabled)
ACPI: LAPIC (acpi_id[0x0d] lapic_id[0x0d] disabled)
ACPI: LAPIC (acpi_id[0x0e] lapic_id[0x0e] disabled)
ACPI: LAPIC (acpi_id[0x0f] lapic_id[0x0f] disabled)
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
Enabling APIC mode: Flat. Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
SMP: Allowing 16 CPUs, 15 hotplug CPUs
PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
PM: Registered nosave memory: 00000000000a0000 - 00000000000e8000
PM: Registered nosave memory: 00000000000e8000 - 0000000000100000
Allocating PCI resources starting at 20000000 (gap: 1f400000:e0bbc000)
NR_CPUS:32 nr_cpumask_bits:32 nr_cpu_ids:16 nr_node_ids:1
PERCPU: Allocating 45056 bytes of per cpu data
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 126887
Kernel command line: panic=1 console=ttyS0 guestfs=10.0.2.4:6666 guestfs_verbose=1
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Fast TSC calibration using PIT
Detected 2666.397 MHz processor.
Console: colour VGA+ 80x25
console [ttyS0] enabled
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
allocated 2559680 bytes of page_cgroup
please try cgroup_disable=memory option if you don't want
Memory: 431964k/511936k available (3178k kernel code, 79472k reserved, 1932k data, 436k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xffc57000 - 0xfffff000 (3744 kB)
pkmap : 0xff800000 - 0xffa00000 (2048 kB)
vmalloc : 0xdfbf0000 - 0xff7fe000 ( 508 MB)
lowmem : 0xc0000000 - 0xdf3f0000 ( 499 MB)
.init : 0xc0904000 - 0xc0971000 ( 436 kB)
.data : 0xc071a9f2 - 0xc08fdb78 (1932 kB)
.text : 0xc0400000 - 0xc071a9f2 (3178 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=16, Nodes=1
Calibrating delay loop (skipped), value calculated using timer frequency.. 5332.79 BogoMIPS (lpj=2666397)
Security Framework initialized
SELinux: Initializing.
Mount-cache hash table entries: 512
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys net_cls
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
ACPI: Core revision 20081204
ftrace: converting mcount calls to 0f 1f 44 00 00
ftrace: allocating 18373 entries in 73 pages
..TIMER: vector=0x30 apic1=0 pin1=0 apic2=-1 pin2=-1
CPU0: AMD QEMU Virtual CPU version 0.10.5 stepping 03
Brought up 1 CPUs
Total of 1 processors activated (5332.79 BogoMIPS).
net_namespace: 1064 bytes
Booting paravirtualized kernel on bare hardware
regulator: core version 0.5
Time: 11:11:52 Date: 07/20/09
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfb510, last bus=0
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
ACPI: Interpreter enabled
ACPI: (supports S0 S3 S4 S5)
ACPI: Using IOAPIC for interrupt routing
ACPI: No dock devices found.
ACPI: PCI Root Bridge [PCI0] (0000:00)
pci 0000:00:01.3: quirk: region b000-b03f claimed by PIIX4 ACPI
pci 0000:00:01.3: quirk: region b100-b10f claimed by PIIX4 SMB
ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
NetLabel: Initializing
NetLabel: domain hash size = 128
NetLabel: protocols = UNLABELED CIPSOv4
NetLabel: unlabeled traffic allowed by default
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 7 devices
ACPI: ACPI bus type pnp unregistered
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
NET: Registered protocol family 1
checking if image is initramfs... it is
Freeing initrd memory: 65364k freed
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: overridden by ACPI.
audit: initializing netlink socket (disabled)
type=2000 audit(1248088314.133:1): initialized
HugeTLB registered 2 MB page size, pre-allocated 0 pages
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
msgmni has been set to 971
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci 0000:00:00.0: Limiting direct PCI/PCI transfers
pci 0000:00:01.0: PIIX3: Enabling Passive Release
pci 0000:00:01.0: Activating ISA DMA hang workarounds
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.4
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
acpiphp_glue: can't get bus number, assuming 0
decode_hpp: Could not get hotplug parameters. Use defaults
acpiphp: Slot [1] registered
acpiphp: Slot [2] registered
acpiphp: Slot [3] registered
acpiphp: Slot [4] registered
acpiphp: Slot [5] registered
acpiphp: Slot [6] registered
acpiphp: Slot [7] registered
acpiphp: Slot [8] registered
acpiphp: Slot [9] registered
acpiphp: Slot [10] registered
acpiphp: Slot [11] registered
acpiphp: Slot [12] registered
acpiphp: Slot [13] registered
acpiphp: Slot [14] registered
acpiphp: Slot [15] registered
acpiphp: Slot [16] registered
acpiphp: Slot [17] registered
acpiphp: Slot [18] registered
acpiphp: Slot [19] registered
acpiphp: Slot [20] registered
acpiphp: Slot [21] registered
acpiphp: Slot [22] registered
acpiphp: Slot [23] registered
acpiphp: Slot [24] registered
acpiphp: Slot [25] registered
acpiphp: Slot [26] registered
acpiphp: Slot [27] registered
acpiphp: Slot [28] registered
acpiphp: Slot [29] registered
acpiphp: Slot [30] registered
acpiphp: Slot [31] registered
input: Power Button (FF) as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
ACPI: Power Button (FF) [PWRF]
processor ACPI_CPU:00: registered as cooling_device0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Non-volatile memory driver v1.3
Linux agpgart interface v0.103
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
?serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
brd: module loaded
loop: module loaded
Fixed MDIO Bus: probed
input: Macintosh mouse button emulation as /devices/virtual/input/input1
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
scsi0 : ata_piix
scsi1 : ata_piix
ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc000 irq 14
ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc008 irq 15
ata1.00: ATA-7: QEMU HARDDISK, 0.10.5, max UDMA/100
ata1.00: 4194304 sectors, multi 16: LBA48
ata1.00: configured for MWDMA2
scsi 0:0:0:0: Direct-Access ATA QEMU HARDDISK 0.10 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 4194304 512-byte hardware sectors: (2.14 GB/2.00 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 4194304 512-byte hardware sectors: (2.14 GB/2.00 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
ata2.00: ATAPI: QEMU DVD-ROM, 0.10.5, max UDMA/100
ata2.00: configured for MWDMA2
scsi 1:0:0:0: CD-ROM QEMU QEMU DVD-ROM 0.10 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 4x/4x xa/form2 tray
Uniform CD-ROM driver Revision: 3.20
sr 1:0:0:0: Attached scsi generic sg1 type 5
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver
PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2
rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one day, 114 bytes nvram
device-mapper: uevent: version 1.0.3
cpuidle: using governor ladder
cpuidle: using governor menu
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
nf_conntrack version 0.5.0 (7999 buckets, 31996 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
Using IPI No-Shortcut mode
registered taskstats version 1
Magic number: 1:291:176
acpi device:0c: hash matches
Initalizing network drop monitor service
Freeing unused kernel memory: 436k freed
Write protecting the kernel read-only data: 1464k
input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3
Starting /init script ...
Starting udev: /sbin/start_udev: line 257: cannot redirect standard input from /dev/null: No such file or directory
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
virtio-pci 0000:00:03.0: PCI INT A -> Link[LNKC] -> GSI 11 (level, high) -> IRQ 11
piix4_smbus 0000:00:01.3: SMBus Host Controller at 0xb100, revision 0
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10
virtio-pci 0000:00:04.0: PCI INT A -> Link[LNKD] -> GSI 10 (level, high) -> IRQ 10
[ OK ]
FATAL: Module dm_mod not found.
/proc on /proc type proc (rw)
/sys on /sys type sysfs (rw)
total 0
lrwxrwxrwx 1 root root 13 Jul 20 07:11 MAKEDEV -> /sbin/MAKEDEV
drwxr-xr-x 2 root root 580 Jul 20 11:12 block
drwxr-xr-x 2 root root 80 Jul 20 07:11 bsg
lrwxrwxrwx 1 root root 3 Jul 20 11:12 cdrom -> sr0
drwxr-xr-x 2 root root 2140 Jul 20 11:12 char
crw------- 1 root root 5, 1 Jul 20 11:12 console
lrwxrwxrwx 1 root root 11 Jul 20 07:11 core -> /proc/kcore
drwxr-xr-x 3 root root 60 Jul 20 11:12 cpu
crw-rw---- 1 root root 10, 62 Jul 20 11:12 cpu_dma_latency
drwxr-xr-x 6 root root 120 Jul 20 11:12 disk
lrwxrwxrwx 1 root root 13 Jul 20 07:11 fd -> /proc/self/fd
crw-rw-rw- 1 root root 1, 7 Jul 20 11:12 full
crw-rw---- 1 root root 10, 228 Jul 20 11:12 hpet
drwxr-xr-x 3 root root 200 Jul 20 11:12 input
crw-rw---- 1 root root 1, 11 Jul 20 11:12 kmsg
brw-rw---- 1 root disk 7, 0 Jul 20 07:11 loop0
brw-rw---- 1 root disk 7, 1 Jul 20 07:11 loop1
brw-rw---- 1 root disk 7, 2 Jul 20 07:11 loop2
brw-rw---- 1 root disk 7, 3 Jul 20 07:11 loop3
brw-rw---- 1 root disk 7, 4 Jul 20 07:11 loop4
brw-rw---- 1 root disk 7, 5 Jul 20 07:11 loop5
brw-rw---- 1 root disk 7, 6 Jul 20 07:11 loop6
brw-rw---- 1 root disk 7, 7 Jul 20 07:11 loop7
crw-rw---- 1 root lp 6, 0 Jul 20 07:11 lp0
crw-rw---- 1 root lp 6, 1 Jul 20 07:11 lp1
crw-rw---- 1 root lp 6, 2 Jul 20 07:11 lp2
crw-rw---- 1 root lp 6, 3 Jul 20 07:11 lp3
drwxr-xr-x 2 root root 60 Jul 20 11:12 mapper
crw-r----- 1 root kmem 1, 1 Jul 20 11:12 mem
drwxr-xr-x 2 root root 60 Jul 20 07:11 net
crw-rw---- 1 root root 10, 61 Jul 20 11:12 network_latency
crw-rw---- 1 root root 10, 60 Jul 20 11:12 network_throughput
crw-rw-rw- 1 root root 1, 3 Jul 20 11:12 null
crw-r----- 1 root kmem 10, 144 Jul 20 11:12 nvram
crw-rw---- 1 root root 1, 12 Jul 20 11:12 oldmem
crw-r----- 1 root kmem 1, 4 Jul 20 11:12 port
crw------- 1 root root 108, 0 Jul 20 07:11 ppp
crw-rw-rw- 1 root tty 5, 2 Jul 20 11:12 ptmx
drwxr-xr-x 2 root root 40 Jul 20 07:11 pts
brw-rw---- 1 root disk 1, 0 Jul 20 11:12 ram0
brw-rw---- 1 root disk 1, 1 Jul 20 11:12 ram1
brw-rw---- 1 root disk 1, 10 Jul 20 11:12 ram10
brw-rw---- 1 root disk 1, 11 Jul 20 11:12 ram11
brw-rw---- 1 root disk 1, 12 Jul 20 11:12 ram12
brw-rw---- 1 root disk 1, 13 Jul 20 11:12 ram13
brw-rw---- 1 root disk 1, 14 Jul 20 11:12 ram14
brw-rw---- 1 root disk 1, 15 Jul 20 11:12 ram15
brw-rw---- 1 root disk 1, 2 Jul 20 11:12 ram2
brw-rw---- 1 root disk 1, 3 Jul 20 11:12 ram3
brw-rw---- 1 root disk 1, 4 Jul 20 11:12 ram4
brw-rw---- 1 root disk 1, 5 Jul 20 11:12 ram5
brw-rw---- 1 root disk 1, 6 Jul 20 11:12 ram6
brw-rw---- 1 root disk 1, 7 Jul 20 11:12 ram7
brw-rw---- 1 root disk 1, 8 Jul 20 11:12 ram8
brw-rw---- 1 root disk 1, 9 Jul 20 11:12 ram9
crw-rw-rw- 1 root root 1, 8 Jul 20 11:12 random
drwxr-xr-x 2 root root 60 Jul 20 11:12 raw
lrwxrwxrwx 1 root root 4 Jul 20 07:12 rtc -> rtc0
crw-rw---- 1 root root 254, 0 Jul 20 07:12 rtc0
lrwxrwxrwx 1 root root 3 Jul 20 11:12 scd0 -> sr0
brw-rw---- 1 root disk 8, 0 Jul 20 11:12 sda
brw-rw---- 1 root disk 8, 1 Jul 20 11:12 sda1
crw-rw---- 1 root disk 21, 0 Jul 20 07:11 sg0
crw-rw---- 1 root cdrom 21, 1 Jul 20 07:11 sg1
drwxr-xr-x 2 root root 40 Jul 20 07:11 shm
crw-rw---- 1 root root 10, 231 Jul 20 11:12 snapshot
brw-rw---- 1 root cdrom 11, 0 Jul 20 11:12 sr0
lrwxrwxrwx 1 root root 15 Jul 20 07:11 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Jul 20 07:11 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Jul 20 07:11 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root tty 5, 0 Jul 20 11:12 tty
crw--w---- 1 root tty 4, 0 Jul 20 11:12 tty0
crw--w---- 1 root tty 4, 1 Jul 20 11:12 tty1
crw--w---- 1 root tty 4, 10 Jul 20 11:12 tty10
crw--w---- 1 root tty 4, 11 Jul 20 11:12 tty11
crw--w---- 1 root tty 4, 12 Jul 20 11:12 tty12
crw--w---- 1 root tty 4, 13 Jul 20 11:12 tty13
crw--w---- 1 root tty 4, 14 Jul 20 11:12 tty14
crw--w---- 1 root tty 4, 15 Jul 20 11:12 tty15
crw--w---- 1 root tty 4, 16 Jul 20 11:12 tty16
crw--w---- 1 root tty 4, 17 Jul 20 11:12 tty17
crw--w---- 1 root tty 4, 18 Jul 20 11:12 tty18
crw--w---- 1 root tty 4, 19 Jul 20 11:12 tty19
crw--w---- 1 root tty 4, 2 Jul 20 11:12 tty2
crw--w---- 1 root tty 4, 20 Jul 20 11:12 tty20
crw--w---- 1 root tty 4, 21 Jul 20 11:12 tty21
crw--w---- 1 root tty 4, 22 Jul 20 11:12 tty22
crw--w---- 1 root tty 4, 23 Jul 20 11:12 tty23
crw--w---- 1 root tty 4, 24 Jul 20 11:12 tty24
crw--w---- 1 root tty 4, 25 Jul 20 11:12 tty25
crw--w---- 1 root tty 4, 26 Jul 20 11:12 tty26
crw--w---- 1 root tty 4, 27 Jul 20 11:12 tty27
crw--w---- 1 root tty 4, 28 Jul 20 11:12 tty28
crw--w---- 1 root tty 4, 29 Jul 20 11:12 tty29
crw--w---- 1 root tty 4, 3 Jul 20 11:12 tty3
crw--w---- 1 root tty 4, 30 Jul 20 11:12 tty30
crw--w---- 1 root tty 4, 31 Jul 20 11:12 tty31
crw--w---- 1 root tty 4, 32 Jul 20 11:12 tty32
crw--w---- 1 root tty 4, 33 Jul 20 11:12 tty33
crw--w---- 1 root tty 4, 34 Jul 20 11:12 tty34
crw--w---- 1 root tty 4, 35 Jul 20 11:12 tty35
crw--w---- 1 root tty 4, 36 Jul 20 11:12 tty36
crw--w---- 1 root tty 4, 37 Jul 20 11:12 tty37
crw--w---- 1 root tty 4, 38 Jul 20 11:12 tty38
crw--w---- 1 root tty 4, 39 Jul 20 11:12 tty39
crw--w---- 1 root tty 4, 4 Jul 20 11:12 tty4
crw--w---- 1 root tty 4, 40 Jul 20 11:12 tty40
crw--w---- 1 root tty 4, 41 Jul 20 11:12 tty41
crw--w---- 1 root tty 4, 42 Jul 20 11:12 tty42
crw--w---- 1 root tty 4, 43 Jul 20 11:12 tty43
crw--w---- 1 root tty 4, 44 Jul 20 11:12 tty44
crw--w---- 1 root tty 4, 45 Jul 20 11:12 tty45
crw--w---- 1 root tty 4, 46 Jul 20 11:12 tty46
crw--w---- 1 root tty 4, 47 Jul 20 11:12 tty47
crw--w---- 1 root tty 4, 48 Jul 20 11:12 tty48
crw--w---- 1 root tty 4, 49 Jul 20 11:12 tty49
crw--w---- 1 root tty 4, 5 Jul 20 11:12 tty5
crw--w---- 1 root tty 4, 50 Jul 20 11:12 tty50
crw--w---- 1 root tty 4, 51 Jul 20 11:12 tty51
crw--w---- 1 root tty 4, 52 Jul 20 11:12 tty52
crw--w---- 1 root tty 4, 53 Jul 20 11:12 tty53
crw--w---- 1 root tty 4, 54 Jul 20 11:12 tty54
crw--w---- 1 root tty 4, 55 Jul 20 11:12 tty55
crw--w---- 1 root tty 4, 56 Jul 20 11:12 tty56
crw--w---- 1 root tty 4, 57 Jul 20 11:12 tty57
crw--w---- 1 root tty 4, 58 Jul 20 11:12 tty58
crw--w---- 1 root tty 4, 59 Jul 20 11:12 tty59
crw--w---- 1 root tty 4, 6 Jul 20 11:12 tty6
crw--w---- 1 root tty 4, 60 Jul 20 11:12 tty60
crw--w---- 1 root tty 4, 61 Jul 20 11:12 tty61
crw--w---- 1 root tty 4, 62 Jul 20 11:12 tty62
crw--w---- 1 root tty 4, 63 Jul 20 11:12 tty63
crw--w---- 1 root tty 4, 7 Jul 20 11:12 tty7
crw--w---- 1 root tty 4, 8 Jul 20 11:12 tty8
crw--w---- 1 root tty 4, 9 Jul 20 11:12 tty9
crw-rw---- 1 root dialout 4, 64 Jul 20 07:12 ttyS0
crw-rw---- 1 root dialout 4, 65 Jul 20 07:12 ttyS1
crw-rw---- 1 root dialout 4, 66 Jul 20 07:12 ttyS2
crw-rw---- 1 root dialout 4, 67 Jul 20 07:12 ttyS3
crw-rw-rw- 1 root root 1, 9 Jul 20 11:12 urandom
crw-rw---- 1 root root 251, 0 Jul 20 11:12 usbmon0
crw-rw---- 1 vcsa tty 7, 0 Jul 20 11:12 vcs
crw-rw---- 1 vcsa tty 7, 128 Jul 20 11:12 vcsa
crw-rw-rw- 1 root root 1, 5 Jul 20 11:12 zero
Reading all physical volumes. This may take a while...
/init: line 48: /sys/block/vd*/queue/rotational: No such file or directory
verbose daemon enabled
sock_read_event: 0x994a028 g->state = 1, fd = 3, events = 0x1
finish_wait_ready called, 0x994a028, vp = 0xbf9479ec
sock_write_event: 0x994a028 g->state = 3, fd = 3, events = 0x2
sock_write_event: writing 52 bytes ...
sock_write_event: wrote 52 bytes
sock_write_event: done writing, calling send_cb
mount -o sync,noatime /dev/sda1 /sysroot/
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
sock_read_event: 0x994a028 g->state = 3, fd = 3, events = 0x1
sock_read_event: 0x994a028 g->state = 3, fd = 3, events = 0x1
Welcome to guestfish, the libguestfs filesystem interactive shell for
editing virtual machine filesystems.
Type: 'help' for help with commands
'quit' to quit the shell
><fs> sh "rm /var/lib/rpm/__db.*"
sock_write_event: 0x994a028 g->state = 3, fd = 3, events = 0x2
sock_write_event: writing 56 bytes ...
sock_write_event: wrote 56 bytes
sock_write_event: done writing, calling send_cb
proc 1 (mount) took 0.57 seconds
mount --bind /dev /sysroot/dev
mount --bind /dev/pts /sysroot/dev/pts
mount --bind /proc /sysroot/proc
mount --bind /sys /sysroot/sys
/bin/sh -c rm /var/lib/rpm/__db.*
umount /sysroot/sys
umount /sysroot/proc
umount /sysroot/dev/pts
umount /sysroot/dev
sock_read_event: 0x994a028 g->state = 3, fd = 3, events = 0x1
sock_read_event: 0x994a028 g->state = 3, fd = 3, events = 0x1
><fs> command "rpm --rebuilddb"
sock_write_event: 0x994a028 g->state = 3, fd = 3, events = 0x2
sock_write_event: writing 56 bytes ...
sock_write_event: wrote 56 bytes
sock_write_event: done writing, calling send_cb
proc 111 (sh) took 1.55 seconds
mount --bind /dev /sysroot/dev
mount --bind /dev/pts /sysroot/dev/pts
mount --bind /proc /sysroot/proc
mount --bind /sys /sysroot/sys
rpm --rebuilddb
no vm86_info: BAD
umount /sysroot/sys
umount /sysroot/proc
umount /sysroot/dev/pts
umount /sysroot/dev
guestfsd: error:
sock_read_event: 0x994a028 g->state = 3, fd = 3, events = 0x1
sock_read_event: 0x994a028 g->state = 3, fd = 3, events = 0x1
libguestfs: error:
><fs> command "rpm --rebuilddb"
sock_write_event: 0x994a028 g->state = 3, fd = 3, events = 0x2
sock_write_event: writing 56 bytes ...
sock_write_event: wrote 56 bytes
sock_write_event: done writing, calling send_cb
proc 50 (command) took 3.50 seconds
mount --bind /dev /sysroot/dev
mount --bind /dev/pts /sysroot/dev/pts
mount --bind /proc /sysroot/proc
mount --bind /sys /sysroot/sys
rpm --rebuilddb
no vm86_info: BAD
umount /sysroot/sys
umount /sysroot/proc
umount /sysroot/dev/pts
umount /sysroot/dev
guestfsd: error:
sock_read_event: 0x994a028 g->state = 3, fd = 3, events = 0x1
sock_read_event: 0x994a028 g->state = 3, fd = 3, events = 0x1
libguestfs: error:
><fs> command "rpm --rebuilddb"
sock_write_event: 0x994a028 g->state = 3, fd = 3, events = 0x2
sock_write_event: writing 56 bytes ...
sock_write_event: wrote 56 bytes
sock_write_event: done writing, calling send_cb
proc 50 (command) took 1.87 seconds
mount --bind /dev /sysroot/dev
mount --bind /dev/pts /sysroot/dev/pts
mount --bind /proc /sysroot/proc
mount --bind /sys /sysroot/sys
rpm --rebuilddb
umount /sysroot/sys
umount /sysroot/proc
umount /sysroot/dev/pts
umount /sysroot/dev
guestfsd: error:
sock_read_event: 0x994a028 g->state = 3, fd = 3, events = 0x1
sock_read_event: 0x994a028 g->state = 3, fd = 3, events = 0x1
libguestfs: error:
><fs> command "rpm --rebuilddb"
sock_write_event: 0x994a028 g->state = 3, fd = 3, events = 0x2
sock_write_event: writing 56 bytes ...
sock_write_event: wrote 56 bytes
sock_write_event: done writing, calling send_cb
proc 50 (command) took 1.98 seconds
mount --bind /dev /sysroot/dev
mount --bind /dev/pts /sysroot/dev/pts
mount --bind /proc /sysroot/proc
mount --bind /sys /sysroot/sys
rpm --rebuilddb
rpm[804]: segfault at 46c8 ip 00003f98 sp bfefa944 error 14 in libselinux.so.1[110000+1c000]
no vm86_info: BAD
umount /sysroot/sys
umount /sysroot/proc
umount /sysroot/dev/pts
umount /sysroot/dev
guestfsd: error:
sock_read_event: 0x994a028 g->state = 3, fd = 3, events = 0x1
sock_read_event: 0x994a028 g->state = 3, fd = 3, events = 0x1
libguestfs: error:
><fs> command "rpm --rebuilddb"
sock_write_event: 0x994a028 g->state = 3, fd = 3, events = 0x2
sock_write_event: writing 56 bytes ...
sock_write_event: wrote 56 bytes
sock_write_event: done writing, calling send_cb
proc 50 (command) took 1.86 seconds
mount --bind /dev /sysroot/dev
mount --bind /dev/pts /sysroot/dev/pts
mount --bind /proc /sysroot/proc
mount --bind /sys /sysroot/sys
rpm --rebuilddb
rpm[813]: segfault at 64c7 ip 00005d97 sp bfcd7e64 error 14 in libm-2.10.1.so[110000+26000]
no vm86_info: BAD
umount /sysroot/sys
umount /sysroot/proc
umount /sysroot/dev/pts
umount /sysroot/dev
guestfsd: error:
sock_read_event: 0x994a028 g->state = 3, fd = 3, events = 0x1
sock_read_event: 0x994a028 g->state = 3, fd = 3, events = 0x1
libguestfs: error:
><fs> command "rpm --rebuilddb"
sock_write_event: 0x994a028 g->state = 3, fd = 3, events = 0x2
sock_write_event: writing 56 bytes ...
sock_write_event: wrote 56 bytes
sock_write_event: done writing, calling send_cb
proc 50 (command) took 1.64 seconds
mount --bind /dev /sysroot/dev
mount --bind /dev/pts /sysroot/dev/pts
mount --bind /proc /sysroot/proc
mount --bind /sys /sysroot/sys
rpm --rebuilddb
umount /sysroot/sys
umount /sysroot/proc
umount /sysroot/dev/pts
umount /sysroot/dev
guestfsd: error:
psock_read_event: 0x994a028 g->state = 3, fd = 3, events = 0x1
roc 50 (command) took 1.14 seconds
sock_read_event: 0x994a028 g->state = 3, fd = 3, events = 0x1
libguestfs: error:
><fs> command "rpm --rebuilddb"
sock_write_event: 0x994a028 g->state = 3, fd = 3, events = 0x2
sock_write_event: writing 56 bytes ...
sock_write_event: wrote 56 bytes
sock_write_event: done writing, calling send_cb
mount --bind /dev /sysroot/dev
mount --bind /dev/pts /sysroot/dev/pts
mount --bind /proc /sysroot/proc
mount --bind /sys /sysroot/sys
rpm --rebuilddb
rpm[831]: segfault at 87c7 ip 00008097 sp bfa357d4 error 14 in librpmio.so.0.0.0[110000+27000]
no vm86_info: BAD
umount /sysroot/sys
umount /sysroot/proc
umount /sysroot/dev/pts
umount /sysroot/dev
guestfsd: error:
psock_read_event: 0x994a028 g->state = 3, fd = 3, events = 0x1
roc 50 (command) took 1.52 seconds
sock_read_event: 0x994a028 g->state = 3, fd = 3, events = 0x1
libguestfs: error:
><fs> command "rpm --rebuilddb"
sock_write_event: 0x994a028 g->state = 3, fd = 3, events = 0x2
sock_write_event: writing 56 bytes ...
sock_write_event: wrote 56 bytes
sock_write_event: done writing, calling send_cb
mount --bind /dev /sysroot/dev
mount --bind /dev/pts /sysroot/dev/pts
mount --bind /proc /sysroot/proc
mount --bind /sys /sysroot/sys
rpm --rebuilddb
no vm86_info: BAD
umount /sysroot/sys
umount /sysroot/proc
umount /sysroot/dev/pts
umount /sysroot/dev
guestfsd: error:
sock_read_event: 0x994a028 g->state = 3, fd = 3, events = 0x1
sock_read_event: 0x994a028 g->state = 3, fd = 3, events = 0x1
libguestfs: error:
><fs> command "rpm --rebuilddb"
sock_write_event: 0x994a028 g->state = 3, fd = 3, events = 0x2
sock_write_event: writing 56 bytes ...
sock_write_event: wrote 56 bytes
sock_write_event: done writing, calling send_cb
proc 50 (command) took 1.62 seconds
mount --bind /dev /sysroot/dev
mount --bind /dev/pts /sysroot/dev/pts
mount --bind /proc /sysroot/proc
mount --bind /sys /sysroot/sys
rpm --rebuilddb
rpm[849]: segfault at a706 ip 00009fd6 sp bfb40f64 error 14 in libpopt.so.0.0.0[111000+8000]
no vm86_info: BAD
umount /sysroot/sys
umount /sysroot/proc
umount /sysroot/dev/pts
umount /sysroot/dev
guestfsd: error:
sock_read_event: 0x994a028 g->state = 3, fd = 3, events = 0x1
sock_read_event: 0x994a028 g->state = 3, fd = 3, events = 0x1
libguestfs: error:
><fs>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment