Skip to content

Instantly share code, notes, and snippets.

@thatch45
Created March 10, 2011 19:42
Show Gist options
  • Save thatch45/864764 to your computer and use it in GitHub Desktop.
Save thatch45/864764 to your computer and use it in GitHub Desktop.
[root@node10 ~]# LIBGUESTFS_DEBUG=1 guestfish -a /mnt/local/vm/jglazner01-dev.la.bo/disk.0 -m /dev/vda3 edit /etc/fstab
new guestfs handle 0x215aa00
[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
supermin helper [00008ms] finished creating kernel
supermin helper [00008ms] visiting /usr/lib/guestfs/supermin.d
supermin helper [00008ms] visiting /usr/lib/guestfs/supermin.d/base.img
supermin helper [00008ms] visiting /usr/lib/guestfs/supermin.d/daemon.img
supermin helper [00008ms] visiting /usr/lib/guestfs/supermin.d/hostfiles
supermin helper [00032ms] visiting /usr/lib/guestfs/supermin.d/init.img
supermin helper [00076ms] finished creating appliance
[00081ms] begin testing qemu features
[00095ms] finished testing qemu features
accept_from_daemon: 0x215aa00 g->state = 1
[00095ms] /usr/bin/qemu-kvm \
-drive file=/mnt/local/vm/jglazner01-dev.la.bo/disk.0,cache=off,if=virtio \
-nodefconfig \
-enable-kvm \
-nodefaults \
-nographic \
-m 500 \
-no-reboot \
-no-hpet \
-device virtio-serial \
-serial stdio \
-chardev socket,path=/tmp/libguestfsfyFkKO/sock,id=channel0 \
-device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
-kernel /tmp/.guestfs-0/kernel.25748 \
-initrd /tmp/.guestfs-0/initrd.25748 \
-append 'panic=1 console=ttyS0 udevtimeout=300 noapic acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm ' \
-drive file=/tmp/.guestfs-0/root.25748,snapshot=on,if=virtio,cache=unsafe
recv_from_daemon: 0x215aa00 g->state = 1, size_rtn = 0x7fff29bb1a8c, buf_rtn = 0x7fff29bb1a50
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 2.6.37-ARCH (tobias@T-POWA-LX) (gcc version 4.5.2 (GCC) ) #1 SMP PREEMPT Sat Jan 29 20:00:33 CET 2011
Command line: panic=1 console=ttyS0 udevtimeout=300 noapic acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009bc00 (usable)
BIOS-e820: 000000000009bc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001f3fd000 (usable)
BIOS-e820: 000000001f3fd000 - 000000001f400000 (reserved)
BIOS-e820: 00000000feffc000 - 00000000ff000000 (reserved)
BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
NX (Execute Disable) protection: active
DMI 2.4 present.
No AGP bridge found
last_pfn = 0x1f3fd max_arch_pfn = 0x400000000
PAT not supported by CPU.
found SMP MP-table at [ffff8800000fdbf0] fdbf0
Scanning 0 areas for low memory corruption
init_memory_mapping: 0000000000000000-000000001f3fd000
RAMDISK: 1f240000 - 1f3f0000
kvm-clock: Using msrs 12 and 11
kvm-clock: cpu 0, msr 0:15b3241, boot clock
Zone PFN ranges:
DMA 0x00000010 -> 0x00001000
DMA32 0x00001000 -> 0x00100000
Normal empty
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0x00000010 -> 0x0000009b
0: 0x00000100 -> 0x0001f3fd
SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
Intel MultiProcessor Specification v1.4
MPTABLE: OEM ID: BOCHSCPU
MPTABLE: Product ID: 0.1
MPTABLE: APIC at: 0xFEE00000
Processor #0 (Bootup-CPU)
I/O APIC #1 Version 17 at 0xFEC00000.
IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
Processors: 1
SMP: Allowing 1 CPUs, 0 hotplug CPUs
PM: Registered nosave memory: 000000000009b000 - 000000000009c000
PM: Registered nosave memory: 000000000009c000 - 00000000000a0000
PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
Allocating PCI resources starting at 1f400000 (gap: 1f400000:dfbfc000)
Booting paravirtualized kernel on KVM
setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:1 nr_node_ids:1
PERCPU: Embedded 27 pages/cpu @ffff88001f000000 s81664 r8192 d20736 u2097152
kvm-clock: cpu 0, msr 0:1f013241, primary cpu clock
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 126124
Kernel command line: panic=1 console=ttyS0 udevtimeout=300 noapic 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] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[ 0.000000] Checking aperture...
[ 0.000000] No AGP bridge found
[ 0.000000] Memory: 492464k/511988k available (3751k kernel code, 468k absent, 19056k reserved, 2002k data, 512k init)
[ 0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptable hierarchical RCU implementation.
[ 0.000000] RCU-based detection of stalled CPUs is disabled.
[ 0.000000] Verbose stalled-CPUs detection is disabled.
[ 0.000000] NR_IRQS:2304
[ 0.000000] Console: colour dummy device 80x25
[ 0.000000] console [ttyS0] enabled
[ 0.000000] Detected 2533.740 MHz processor.
[ 0.006666] Calibrating delay loop (skipped) preset value.. 5069.62 BogoMIPS (lpj=8445800)
[ 0.006666] pid_max: default: 32768 minimum: 301
[ 0.006666] Security Framework initialized
[ 0.006666] AppArmor: AppArmor disabled by boot time parameter
[ 0.006666] Mount-cache hash table entries: 256
[ 0.006666] Initializing cgroup subsys ns
[ 0.006666] ns_cgroup deprecated: consider using the 'clone_children' flag without the ns_cgroup.
[ 0.006671] Initializing cgroup subsys cpuacct
[ 0.007065] Initializing cgroup subsys memory
[ 0.007454] Initializing cgroup subsys devices
[ 0.007845] Initializing cgroup subsys freezer
[ 0.008234] Initializing cgroup subsys net_cls
[ 0.008631] Initializing cgroup subsys blkio
[ 0.009067] mce: CPU supports 10 MCE banks
[ 0.009471] Performance Events: unsupported p6 CPU model 2 no PMU driver, software events only.
[ 0.010677] SMP alternatives: switching to UP code
[ 0.020755] Freeing SMP alternatives: 16k freed
[ 0.021238] Setting APIC routing to flat
[ 0.021666] CPU0: Intel QEMU Virtual CPU version 0.14.0 stepping 03
[ 0.133349] NMI watchdog disabled for cpu0: unable to create perf event: -2
[ 0.134030] Brought up 1 CPUs
[ 0.134298] Total of 1 processors activated (5069.62 BogoMIPS).
[ 0.134874] devtmpfs: initialized
[ 0.136082] NET: Registered protocol family 16
[ 0.136681] PCI: Using configuration type 1 for base access
[ 0.137476] bio: create slab <bio-0> at 0
[ 0.137896] ACPI: Interpreter disabled.
[ 0.138285] vgaarb: loaded
[ 0.138613] PCI: Probing PCI hardware
[ 0.140050] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI
[ 0.140716] pci 0000:00:01.3: quirk: [io 0xb100-0xb10f] claimed by PIIX4 SMB
[ 0.143139] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000]
[ 0.143554] NetLabel: Initializing
[ 0.143869] NetLabel: domain hash size = 128
[ 0.144256] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.144706] NetLabel: unlabeled traffic allowed by default
[ 0.145204] Switching to clocksource kvm-clock
[ 0.145653] pnp: PnP ACPI: disabled
[ 0.146546] NET: Registered protocol family 2
[ 0.147000] IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.147730] TCP established hash table entries: 16384 (order: 6, 262144 bytes)
[ 0.148409] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[ 0.149033] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.149605] TCP reno registered
[ 0.149897] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.150426] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.151021] NET: Registered protocol family 1
[ 0.151415] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 0.151939] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 0.152454] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 0.153081] Unpacking initramfs...
[ 0.155328] Freeing initrd memory: 1728k freed
[ 0.155939] platform rtc_cmos: registered platform RTC device (no PNP device found)
[ 0.156747] Scanning for low memory corruption every 60 seconds
[ 0.157394] audit: initializing netlink socket (disabled)
[ 0.157888] type=2000 audit(1299785897.156:1): initialized
[ 0.158462] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.160377] VFS: Disk quotas dquot_6.5.2
[ 0.160783] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.161433] msgmni has been set to 965
[ 0.161901] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 0.162553] io scheduler noop registered
[ 0.162899] io scheduler deadline registered
[ 0.163315] io scheduler cfq registered (default)
[ 0.163989] Linux agpgart interface v0.103
[ 0.164377] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.186122] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 0.240160] PNP: No PS/2 controller found. Probing ports directly.
[ 0.241155] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 0.241615] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 0.242139] mice: PS/2 mouse device common for all mice
[ 0.242823] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[ 0.243786] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[ 0.244379] rtc0: alarms up to one day, 114 bytes nvram
[ 0.244841] cpuidle: using governor ladder
[ 0.245203] cpuidle: using governor menu
[ 0.245697] TCP cubic registered
[ 0.245988] NET: Registered protocol family 17
[ 0.246432] Registering the dns_resolver key type
[ 0.246956] registered taskstats version 1
[ 0.247492] rtc_cmos rtc_cmos: setting system clock to 2011-03-10 19:38:16 UTC (1299785896)
[ 0.248223] Initalizing network drop monitor service
[ 0.248856] Freeing unused kernel memory: 512k freed
/proc/uptime: No such file or directory
febootstrap: ext2 mini initrd starting up
febootstrap: mounting /sys
febootstrap: no ext2 root device found
Please include FULL verbose output in your bug report.
[ 0.251299] Kernel panic - not syncing: Attempted to kill init!
[ 0.251820] Pid: 1, comm: init Not tainted 2.6.37-ARCH #1
[ 0.252299] Call Trace:
[ 0.252527] [<ffffffff813a3461>] panic+0x9b/0x1b0
[ 0.252965] [<ffffffff810e2f6d>] ? perf_event_exit_task+0xbd/0x210
[ 0.253534] [<ffffffff8105ace6>] do_exit+0x896/0x8a0
[ 0.253981] [<ffffffff8105af7f>] do_group_exit+0x4f/0xb0
[ 0.254454] [<ffffffff8105aff2>] sys_exit_group+0x12/0x20
[ 0.254936] [<ffffffff8100bf12>] system_call_fastpath+0x16/0x1b
[ 0.255503] Rebooting in 1 seconds..libguestfs: error: unexpected end of file when reading from daemon
child_cleanup: 0x215aa00: child process died
closing guestfs handle 0x215aa00 (state 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment