[kashyap@moon kvm]$ ./lkvm sandbox --balloon -k ../../arch/x86/boot/bzImage --disk /export/test-images/linux-0.2.img # lkvm run -k ../../arch/x86/boot/bzImage -m 448 -c 4 --name guest-10222 PPrroobbiinngg EEDDDD ((eedddd==ooffff ttoo ddiissaabbllee))...... ookk Decompressing Linux... Parsing ELF... done. Booting the kernel. [ 0.000000] Linux version 3.0.0-rc5-reacher-01064-g6119b86 (kashyap@moon.lab.eng.pnq.redhat.com) (gcc version 4.6.2 20111027 (Red Hat 4.6.2-1) (GCC) ) #19 SMP PREEMPT Sat Dec 31 16:47:23 IST 2011 [ 0.000000] Command line: noapic noacpi pci=conf1 reboot=k panic=1 i8042.direct=1 i8042.dumbkbd=1 i8042.nopnp=1 console=ttyS0 earlyprintk=serial i8042.noaux=1 root=/dev/vda rw [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) [ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) [ 0.000000] BIOS-e820: 00000000000f0000 - 00000000000fffff (reserved) [ 0.000000] BIOS-e820: 0000000000100000 - 000000001c000000 (usable) [ 0.000000] bootconsole [earlyser0] enabled [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] DMI not present or invalid. [ 0.000000] No AGP bridge found [ 0.000000] last_pfn = 0x1c000 max_arch_pfn = 0x400000000 [ 0.000000] x86 PAT enabled: cpu 0, old 0x0, new 0x7010600070106 [ 0.000000] CPU MTRRs all blank - virtualized system. [ 0.000000] found SMP MP-table at [ffff8800000f0390] f0390 [ 0.000000] init_memory_mapping: 0000000000000000-000000001c000000 [ 0.000000] ACPI Error: A valid RSDP was not found (20110413/tbxfroot-219) [ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00 [ 0.000000] kvm-clock: cpu 0, msr 0:1c98a01, 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 -> 0x0000009f [ 0.000000] 0: 0x00000100 -> 0x0001c000 [ 0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org [ 0.000000] Intel MultiProcessor Specification v1.4 [ 0.000000] MPTABLE: OEM ID: KVMCPU00 [ 0.000000] MPTABLE: Product ID: 0.1 [ 0.000000] MPTABLE: APIC at: 0xFEE00000 [ 0.000000] Processor #0 (Bootup-CPU) [ 0.000000] Processor #1 [ 0.000000] Processor #2 [ 0.000000] Processor #3 [ 0.000000] IOAPIC[0]: apic_id 5, version 17, address 0xfec00000, GSI 0-23 [ 0.000000] Processors: 4 [ 0.000000] SMP: Allowing 4 CPUs, 0 hotplug CPUs [ 0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000 [ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000 [ 0.000000] PM: Registered nosave memory: 00000000000f0000 - 00000000000ff000 [ 0.000000] PM: Registered nosave memory: 00000000000ff000 - 0000000000100000 [ 0.000000] Allocating PCI resources starting at 1c000000 (gap: 1c000000:e4000000) [ 0.000000] Booting paravirtualized kernel on KVM [ 0.000000] setup_percpu: NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:4 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 23 pages/cpu @ffff88001bc00000 s71232 r0 d22976 u524288 [ 0.000000] kvm-clock: cpu 0, msr 0:1bc10a01, primary cpu clock [ 0.000000] KVM setup async PF for cpu 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 113002 [ 0.000000] Kernel command line: noapic noacpi pci=conf1 reboot=k panic=1 i8042.direct=1 i8042.dumbkbd=1 i8042.nopnp=1 console=ttyS0 earlyprintk=serial i8042.noaux=1 root=/dev/vda rw [ 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] xsave/xrstor: enabled xstate_bv 0x3, cntxt size 0x240 [ 0.000000] Checking aperture... [ 0.000000] No AGP bridge found [ 0.000000] Memory: 434592k/458752k available (6271k kernel code, 452k absent, 23708k reserved, 6555k data, 512k init) [ 0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] NR_IRQS:33024 nr_irqs:712 16 [ 0.000000] Console: colour *CGA 80x25 [ 0.000000] console [ttyS0] enabled, bootconsole disabled [ 0.000000] console [ttyS0] enabled, bootconsole disabled [ 0.000000] Detected 1994.999 MHz processor. [ 0.000999] Calibrating delay loop (skipped) preset value.. 3989.99 BogoMIPS (lpj=1994999) [ 0.002645] pid_max: default: 32768 minimum: 301 [ 0.004055] Security Framework initialized [ 0.005039] Mount-cache hash table entries: 256 [ 0.006451] mce: CPU supports 32 MCE banks [ 0.010710] CPU0: Intel 06/17 stepping 0a [ 0.113068] Performance Events: unsupported p6 CPU model 23 no PMU driver, software events only. [ 0.127005] Booting Node 0, Processors #1 [ 0.140992] kvm-clock: cpu 1, msr 0:1bc90a01, secondary cpu clock [ 0.141019] KVM setup async PF for cpu 1 [ 0.145029] #2 [ 0.158989] kvm-clock: cpu 2, msr 0:1bd10a01, secondary cpu clock [ 0.159018] KVM setup async PF for cpu 2 [ 0.163029] #3 Ok. [ 0.176986] kvm-clock: cpu 3, msr 0:1bd90a01, secondary cpu clock [ 0.177017] Brought up 4 CPUs [ 0.177020] Total of 4 processors activated (15959.99 BogoMIPS). [ 0.177015] KVM setup async PF for cpu 3 [ 0.177074] x86 PAT enabled: cpu 2, old 0x0, new 0x7010600070106 [ 0.178981] x86 PAT enabled: cpu 0, old 0x70106, new 0x7010600070106 [ 0.180235] devtmpfs: initialized [ 0.184253] Time: 12:00:52 Date: 12/31/11 [ 0.185091] NET: Registered protocol family 16 [ 0.188129] PCI: Using configuration type 1 for base access [ 0.247073] bio: create slab at 0 [ 0.248161] ACPI: Interpreter disabled. [ 0.250161] vgaarb: loaded [ 0.251122] SCSI subsystem initialized [ 0.253117] usbcore: registered new interface driver usbfs [ 0.254134] usbcore: registered new interface driver hub [ 0.256144] usbcore: registered new device driver usb [ 0.259060] Advanced Linux Sound Architecture Driver Version 1.0.24. [ 0.260109] PCI: Probing PCI hardware [ 0.265283] Bluetooth: Core ver 2.16 [ 0.266119] NET: Registered protocol family 31 [ 0.267972] Bluetooth: HCI device and connection manager initialized [ 0.268986] Bluetooth: HCI socket layer initialized [ 0.269972] Bluetooth: L2CAP socket layer initialized [ 0.272001] Bluetooth: SCO socket layer initialized [ 0.273151] cfg80211: Calling CRDA to update world regulatory domain [ 0.275179] NetLabel: Initializing [ 0.275971] NetLabel: domain hash size = 128 [ 0.276970] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.278013] NetLabel: unlabeled traffic allowed by default [ 0.278980] Switching to clocksource kvm-clock [ 0.286050] Switched to NOHz mode on CPU #1 [ 0.286108] FS-Cache: Loaded [ 0.286395] Switched to NOHz mode on CPU #2 [ 0.286501] Switched to NOHz mode on CPU #3 [ 0.286797] Switched to NOHz mode on CPU #0 [ 0.290807] pnp: PnP ACPI: disabled [ 0.305440] NET: Registered protocol family 2 [ 0.306610] IP route cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.308605] TCP established hash table entries: 16384 (order: 6, 262144 bytes) [ 0.310418] TCP bind hash table entries: 16384 (order: 6, 262144 bytes) [ 0.312186] TCP: Hash tables configured (established 16384 bind 16384) [ 0.313724] TCP reno registered [ 0.314498] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.315884] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.317449] NET: Registered protocol family 1 [ 0.318705] RPC: Registered named UNIX socket transport module. [ 0.320101] RPC: Registered udp transport module. [ 0.321257] RPC: Registered tcp transport module. [ 0.322382] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.324096] kvm: no hardware support [ 0.325204] platform rtc_cmos: registered platform RTC device (no PNP device found) [ 0.330458] Machine check injector initialized [ 0.333550] microcode: CPU0 sig=0x1067a, pf=0x1, revision=0x0 [ 0.335049] microcode: CPU1 sig=0x1067a, pf=0x1, revision=0x0 [ 0.336319] microcode: CPU2 sig=0x1067a, pf=0x1, revision=0x0 [ 0.337779] microcode: CPU3 sig=0x1067a, pf=0x1, revision=0x0 [ 0.339230] microcode: Microcode Update Driver: v2.00 , Peter Oruba [ 0.345106] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 0.359445] VFS: Disk quotas dquot_6.5.2 [ 0.360735] Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.365211] FS-Cache: Netfs 'cifs' registered for caching [ 0.367044] NTFS driver 2.1.30 [Flags: R/W]. [ 0.368699] fuse init (API version 7.16) [ 0.370474] Installing v9fs 9p2000 file system support [ 0.371872] msgmni has been set to 848 [ 0.374238] NET: Registered protocol family 38 [ 0.375684] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 0.377412] io scheduler noop registered [ 0.378364] io scheduler deadline registered [ 0.379593] io scheduler cfq registered (default) [ 0.381531] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 0.384549] virtio-pci 0000:00:01.0: enabling device (0000 -> 0003) [ 0.386481] virtio-pci 0000:00:02.0: enabling device (0000 -> 0003) [ 0.388354] virtio-pci 0000:00:03.0: enabling device (0000 -> 0003) [ 0.397372] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled �[ 0.665215] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a U6_16550A �[ 0.941208] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a U6_16550A �[ 1.217220] serial8250: ttyS2 at I/O 0x3e8 (irq = 4) is a U6_16550A [ 1.244440] Non-volatile memory driver v1.3 [ 1.245627] Linux agpgart interface v0.103 [ 1.246942] [drm] Initialized drm 1.1.0 20060810 [ 1.248205] [drm] radeon defaulting to kernel modesetting. [ 1.249423] [drm] radeon kernel modesetting enabled. [ 1.257105] brd: module loaded [ 1.260831] loop: module loaded [ 1.262804] vda: [ 1.263782] kgdb: Registered I/O driver kgdbts. [ 1.265243] kgdbts:RUN plant and detach test [ 1.266327] kgdbts:RUN sw breakpoint test [ 1.267443] kgdbts:RUN bad memory access test [ 1.268561] kgdbts:RUN singlestep test 1000 iterations [ 1.270032] kgdbts:RUN singlestep [0/1000] [ 1.354633] kgdbts:RUN singlestep [100/1000] [ 1.489161] kgdbts:RUN singlestep [200/1000] [ 1.761175] kgdbts:RUN singlestep [300/1000] [ 1.827730] kgdbts:RUN singlestep [400/1000] [ 1.902266] kgdbts:RUN singlestep [500/1000] [ 2.084036] kgdbts:RUN singlestep [600/1000] [ 2.353072] kgdbts:RUN singlestep [700/1000] [ 2.387565] kgdbts:RUN singlestep [800/1000] [ 2.449471] kgdbts:RUN singlestep [900/1000] [ 2.483360] kgdbts:RUN hw breakpoint test [ 2.484511] kgdbts:RUN hw write breakpoint test [ 2.492176] kgdbts:RUN access write breakpoint test [ 2.493548] kgdbts:RUN do_fork for 100 breakpoints [ 2.504519] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI [ 2.506151] e1000: Copyright (c) 1999-2006 Intel Corporation. [ 2.507848] e1000e: Intel(R) PRO/1000 Network Driver - 1.3.10-k2 [ 2.509259] e1000e: Copyright(c) 1999 - 2011 Intel Corporation. [ 2.511002] Intel(R) Gigabit Ethernet Network Driver - version 3.0.6-k2 [ 2.512556] Copyright (c) 2007-2011 Intel Corporation. [ 2.514198] Intel(R) Virtual Function Network Driver - version 1.0.8-k0 [ 2.515741] Copyright (c) 2009 - 2010 Intel Corporation. [ 2.517406] tun: Universal TUN/TAP device driver, 1.6 [ 2.518597] tun: (C) 1999-2004 Max Krasnyansky [ 2.520450] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:d [ 2.522134] iwlagn: Copyright(c) 2003-2011 Intel Corporation [ 2.523809] iwl4965: Intel(R) Wireless WiFi 4965 driver for Linux, in-tree: [ 2.525430] iwl4965: Copyright(c) 2003-2011 Intel Corporation [ 2.527160] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:s [ 2.529243] iwl3945: Copyright(c) 2003-2011 Intel Corporation [ 2.538293] console [netcon0] enabled [ 2.539223] netconsole: network logging started [ 2.552179] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.563568] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.571266] uhci_hcd: USB Universal Host Controller Interface driver [ 2.579573] usbcore: registered new interface driver cdc_wdm [ 2.580894] Initializing USB Mass Storage driver... [ 2.582439] usbcore: registered new interface driver usb-storage [ 2.583843] USB Mass Storage support registered. [ 2.585359] usbcore: registered new interface driver libusual [ 2.586684] i8042: PNP detection disabled [ 2.588255] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 2.590509] mousedev: PS/2 mouse device common for all mice [ 2.592853] input: AT Raw Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 [ 2.610161] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0 [ 2.611820] rtc_cmos rtc_cmos: only 24-hr supported [ 2.622155] i2c /dev entries driver [ 2.635154] Linux video capture interface: v2.00 [ 2.643158] Bluetooth: Virtual HCI driver ver 1.3 [ 2.656231] Bluetooth: HCI UART driver ver 2.2 [ 2.657397] Bluetooth: HCI H4 protocol initialized [ 2.658562] Bluetooth: HCI BCSP protocol initialized [ 2.659816] Bluetooth: HCILL protocol initialized [ 2.660984] Bluetooth: HCIATH3K protocol initialized [ 2.662207] Bluetooth: Generic Bluetooth USB driver ver 0.6 [ 2.665886] usbcore: registered new interface driver btusb [ 2.667276] Bluetooth: Generic Bluetooth SDIO driver ver 0.1 [ 2.671575] Bluetooth: Atheros AR30xx firmware driver ver 1.0 [ 2.685480] usbcore: registered new interface driver ath3k [ 2.686855] cpuidle: using governor ladder [ 2.687882] cpuidle: using governor menu [ 2.708451] sdhci: Secure Digital Host Controller Interface driver [ 2.709999] sdhci: Copyright(c) Pierre Ossman [ 2.729717] EFI Variables Facility v0.08 2004-May-17 [ 2.747227] usbcore: registered new interface driver usbhid [ 2.748562] usbhid: USB HID core driver [ 2.754123] ALSA device list: [ 2.754819] No soundcards found. [ 2.755681] Netfilter messages via NETLINK v0.30. [ 2.756810] nf_conntrack version 0.5.0 (3395 buckets, 13580 max) [ 2.758988] ctnetlink v0.93: registering with nfnetlink. [ 2.760881] ip_tables: (C) 2000-2006 Netfilter Core Team [ 2.762158] TCP cubic registered [ 2.762913] Initializing XFRM netlink socket [ 2.763906] NET: Registered protocol family 17 [ 2.764960] NET: Registered protocol family 15 [ 2.766065] Bridge firewalling registered [ 2.767310] Bluetooth: RFCOMM TTY layer initialized [ 2.768457] Bluetooth: RFCOMM socket layer initialized [ 2.769673] Bluetooth: RFCOMM ver 1.11 [ 2.770580] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 2.771850] Bluetooth: BNEP filters: protocol multicast [ 2.773080] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 2.774777] lib80211: common routines for IEEE802.11 drivers [ 2.776138] Installing 9P2000 support [ 2.777337] Registering the dns_resolver key type [ 2.782650] Magic number: 7:600:27 [ 2.783579] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found [ 2.784997] EDD information not available. [ 2.787481] EXT4-fs (vda): warning: mounting unchecked fs, running e2fsck is recommended [ 2.790272] EXT4-fs (vda): mounted filesystem without journal. Opts: (null) [ 2.791899] VFS: Mounted root (ext4 filesystem) on device 254:0. [ 2.794112] devtmpfs: mounted [ 2.796549] Freeing unused kernel memory: 512k freed [ 2.798149] Write protecting the kernel read-only data: 12288k [ 2.809153] Freeing unused kernel memory: 1900k freed [ 2.818231] Freeing unused kernel memory: 1432k freed [ 2.843261] EXT4-fs (vda): re-mounted. Opts: mount: mount point /dev/pts does not exist Linux version 3.0.0-rc5-reacher-01064-g6119b86 (kashyap@moon.lab.eng.pnq.redhat.com) (gcc version 4.6.2 20111027 (Red Hat 4.6.2-1) (GCC) ) #19 SMP PREEMPT Sat Dec 31 16:47:23 IST 2011 QEMU Linux test distribution (based on Redhat 9) Type 'exit' to halt the system sh-2.05b# [ 4.020050] kgdb: Unregistered I/O driver kgdbts, debugger disabled. sh-2.05b# ####################################################################################### sh-2.05b# sh-2.05b# exit [ 3.505044] EXT4-fs (vda): re-mounted. Opts: (null) [ 3.710047] kgdb: Unregistered I/O driver kgdbts, debugger disabled. [ 5.511302] Unregister pv shared memory for cpu 0 [ 5.511310] Unregister pv shared memory for cpu 2 [ 5.511358] Unregister pv shared memory for cpu 3 [ 5.514827] Unregister pv shared memory for cpu 1 [ 5.516891] Restarting system. [ 5.517662] machine restart # KVM session ended normally. [kashyap@moon kvm]$ #######################################################################################