[libvirt] Unattended guest installation fails

Martin Kletzander mkletzan at redhat.com
Wed Feb 25 06:19:03 UTC 2015


On Fri, Feb 20, 2015 at 12:01:46PM +0530, ChandraShekar Shastri wrote:
>Hi,
>
>I am following the below link to install a Fedora19 guest on Fedora19 Host.
>http://kashyapc.com/2011/08/18/unattended-guest-install-with-a-local-kickstart/
>
>
>
>Version  :
>libvirtd (libvirt) 1.0.5.1,
>QEMU emulator version 1.4.2, Copyright (c) 2003-2008 Fabrice Bellard
>
>
>I have the iso which I loop mounted and created a http repo using python
>module "python -m SimpleHTTPServer". This repo is properly accessible and
>the guest is able to pull the initrd.img and vmlinuz but further it fails.
>

initrd.img is pulled by virt-viewer, not the guest and it looks like
there is no network in the guest.  Are you sure the network is started
there and 192.168.122.1 is accessible *from the guest*?  Try going
into some rescue shell inside the guest and check what's the problem
with the network.

The only problem I can think of right now is that your default network
uses some other addressing than you've set for the guest (which you'd
have to edit yourself).

>
>Please find the attached xml and console messages and let me know how to
>proceed further.
>
>Thanks,
>Chandrashekar

>+ tree=http://192.168.122.1:8000
>+ virt-install --connect=qemu:///system --network=network:default --initrd-inject=fed-minimal.ks '--extra-args=ks=file:/fed-minimal.ks       console=tty0 console=ttyS0,115200' --name=f15testbox --disk /var/lib/libvirt/images/f15testbox.img,size=20 --ram 2048 --vcpus=2 --check-cpu --accelerate --hvm --location=http://192.168.122.1:8000 --nographics
>
>Starting install...
>Retrieving file .treeinfo...                                                                                                                 | 2.2 kB  00:00:00 !!!
>Retrieving file vmlinuz...                                                                                                                   | 9.6 MB  00:00:00 !!!
>Retrieving file initrd.img...                                                                                                                |  63 MB  00:00:00 !!!
>Creating domain...                                                                                                                           |    0 B  00:00:00
>Connected to domain f15testbox
>Escape character is ^]
>[    0.000000] Initializing cgroup subsys cpuset
>[    0.000000] Initializing cgroup subsys cpu
>[    0.000000] Linux version 3.9.5-301.fc19.x86_64 (mockbuild at bkernel01.phx2.fedoraproject.org) (gcc version 4.8.1 20130603 (Red Hat 4.8.1-1) (GCC) ) #1 SMP Tue Jun 11 19:39:38 UTC 2013
>[    0.000000] Command line: method=http://192.168.122.1:8000 ks=file:/fed-minimal.ks       console=tty0 console=ttyS0,115200
>[    0.000000] e820: BIOS-provided physical RAM map:
>[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
>[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
>[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
>[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007fffdfff] usable
>[    0.000000] BIOS-e820: [mem 0x000000007fffe000-0x000000007fffffff] reserved
>[    0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
>[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
>[    0.000000] NX (Execute Disable) protection: active
>[    0.000000] SMBIOS 2.4 present.
>[    0.000000] Hypervisor detected: KVM
>[    0.000000] No AGP bridge found
>[    0.000000] e820: last_pfn = 0x7fffe max_arch_pfn = 0x400000000
>[    0.000000] x86 PAT enabled: cpu 0, old 0x70406, new 0x7010600070106
>[    0.000000] found SMP MP-table at [mem 0x000fdad0-0x000fdadf] mapped at [ffff8800000fdad0]
>[    0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
>[    0.000000] init_memory_mapping: [mem 0x7de00000-0x7dffffff]
>[    0.000000] init_memory_mapping: [mem 0x7c000000-0x7ddfffff]
>[    0.000000] init_memory_mapping: [mem 0x00100000-0x7bffffff]
>[    0.000000] init_memory_mapping: [mem 0x7e000000-0x7fffdfff]
>[    0.000000] RAMDISK: [mem 0x7e0a0000-0x7ffeffff]
>[    0.000000] ACPI: RSDP 00000000000fd940 00014 (v00 BOCHS )
>[    0.000000] ACPI: RSDT 000000007fffe450 00034 (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
>[    0.000000] ACPI: FACP 000000007fffff80 00074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
>[    0.000000] ACPI: DSDT 000000007fffe490 011A9 (v01   BXPC   BXDSDT 00000001 INTL 20100528)
>[    0.000000] ACPI: FACS 000000007fffff40 00040
>[    0.000000] ACPI: SSDT 000000007ffff7a0 00796 (v01 BOCHS  BXPCSSDT 00000001 BXPC 00000001)
>[    0.000000] ACPI: APIC 000000007ffff680 00080 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
>[    0.000000] ACPI: HPET 000000007ffff640 00038 (v01 BOCHS  BXPCHPET 00000001 BXPC 00000001)
>[    0.000000] No NUMA configuration found
>[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000007fffdfff]
>[    0.000000] Initmem setup node 0 [mem 0x00000000-0x7fffdfff]
>[    0.000000]   NODE_DATA [mem 0x7e08c000-0x7e09ffff]
>[    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
>[    0.000000] kvm-clock: cpu 0, msr 0:7fffc001, boot clock
>[    0.000000] Zone ranges:
>[    0.000000]   DMA      [mem 0x00001000-0x00ffffff]
>[    0.000000]   DMA32    [mem 0x01000000-0xffffffff]
>[    0.000000]   Normal   empty
>[    0.000000] Movable zone start for each node
>[    0.000000] Early memory node ranges
>[    0.000000]   node   0: [mem 0x00001000-0x0009efff]
>[    0.000000]   node   0: [mem 0x00100000-0x7fffdfff]
>[    0.000000] ACPI: PM-Timer IO Port: 0xb008
>[    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
>[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
>[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
>[    0.000000] ACPI: IOAPIC (id[0x00] address[0xfec00000] gsi_base[0])
>[    0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
>[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
>[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
>[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
>[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
>[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
>[    0.000000] Using ACPI (MADT) for SMP configuration information
>[    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
>[    0.000000] smpboot: Allowing 2 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 - 0000000000100000
>[    0.000000] e820: [mem 0x80000000-0xfeffbfff] available for PCI devices
>[    0.000000] Booting paravirtualized kernel on KVM
>[    0.000000] setup_percpu: NR_CPUS:128 nr_cpumask_bits:128 nr_cpu_ids:2 nr_node_ids:1
>[    0.000000] PERCPU: Embedded 28 pages/cpu @ffff88007de00000 s85120 r8192 d21376 u1048576
>[    0.000000] kvm-clock: cpu 0, msr 0:7fffc001, primary cpu clock
>[    0.000000] KVM setup async PF for cpu 0
>[    0.000000] kvm-stealtime: cpu 0, msr 7de0de80
>[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 515975
>[    0.000000] Policy zone: DMA32
>[    0.000000] Kernel command line: method=http://192.168.122.1:8000 ks=file:/fed-minimal.ks       console=tty0 console=ttyS0,115200
>[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
>[    0.000000] __ex_table already sorted, skipping sort
>[    0.000000] Checking aperture...
>[    0.000000] No AGP bridge found
>[    0.000000] Memory: 2015260k/2097144k available (6473k kernel code, 392k absent, 81492k reserved, 6764k data, 1352k init)
>[    0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
>[    0.000000] Hierarchical RCU implementation.
>[    0.000000]  RCU restricting CPUs from NR_CPUS=128 to nr_cpu_ids=2.
>[    0.000000] NR_IRQS:8448 nr_irqs:512 16
>[    0.000000] Console: colour *CGA 80x25
>[    0.000000] console [tty0] enabled
>[    0.000000] console [ttyS0] enabled
>[    0.000000] allocated 8388608 bytes of page_cgroup
>[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
>[    0.000000] tsc: Detected 2100.040 MHz processor
>[    0.000000] tsc: Marking TSC unstable due to TSCs unsynchronized
>[    0.004000] Calibrating delay loop (skipped) preset value.. 4200.08 BogoMIPS (lpj=2100040)
>[    0.005005] pid_max: default: 32768 minimum: 301
>[    0.006044] Security Framework initialized
>[    0.007015] SELinux:  Initializing.
>[    0.009021] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
>[    0.011574] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
>[    0.012356] Mount-cache hash table entries: 256
>[    0.014190] Initializing cgroup subsys cpuacct
>[    0.015006] Initializing cgroup subsys memory
>[    0.016016] Initializing cgroup subsys devices
>[    0.017004] Initializing cgroup subsys freezer
>[    0.018004] Initializing cgroup subsys net_cls
>[    0.019004] Initializing cgroup subsys blkio
>[    0.020004] Initializing cgroup subsys perf_event
>[    0.021104] mce: CPU supports 10 MCE banks
>[    0.022073] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
>[    0.022073] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0
>[    0.022073] tlb_flushall_shift: -1
>[    0.023210] Freeing SMP alternatives: 24k freed
>[    0.029155] ACPI: Core revision 20130117
>[    0.031085] ACPI: All ACPI Tables successfully acquired
>[    0.032142] ftrace: allocating 24409 entries in 96 pages
>[    0.045229] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
>[    0.046002] smpboot: CPU0: AMD QEMU Virtual CPU version 1.4.2 (fam: 06, model: 02, stepping: 03)
>[    0.051000] Performance Events: Broken PMU hardware detected, using software events only.
>[    0.052002] Failed to access perfctr msr (MSR c0010001 is ffffffffffffffff)
>[    0.055803] NMI watchdog: disabled (cpu0): hardware events not enabled
>[    0.057043] smpboot: Booting Node   0, Processors  #1 OK
>[    0.004000] kvm-clock: cpu 1, msr 0:7fffc041, secondary cpu clock
>[    0.073818] Brought up 2 CPUs
>[    0.073800] KVM setup async PF for cpu 1
>[    0.073800] kvm-stealtime: cpu 1, msr 7df0de80
>[    0.074003] smpboot: Total of 2 processors activated (8400.16 BogoMIPS)
>[    0.076249] devtmpfs: initialized
>[    0.079122] atomic64 test passed for x86-64 platform with CX8 and with SSE
>[    0.080094] RTC time: 18:13:26, date: 02/19/15
>[    0.081066] NET: Registered protocol family 16
>[    0.083036] ACPI: bus type PCI registered
>[    0.084023] PCI: Using configuration type 1 for base access
>[    0.086108] bio: create slab <bio-0> at 0
>[    0.087078] ACPI: Added _OSI(Module Device)
>[    0.088003] ACPI: Added _OSI(Processor Device)
>[    0.089002] ACPI: Added _OSI(3.0 _SCP Extensions)
>[    0.090002] ACPI: Added _OSI(Processor Aggregator Device)
>[    0.093474] ACPI: Interpreter enabled
>[    0.094008] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20130117/hwxface-568)
>[    0.096003] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20130117/hwxface-568)
>[    0.098019] ACPI: (supports S0 S3 S4 S5)
>[    0.099002] ACPI: Using IOAPIC for interrupt routing
>[    0.100013] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
>[    0.104816] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
>[    0.106010] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
>[    0.107033] PCI host bridge to bus 0000:00
>[    0.107880] pci_bus 0000:00: root bus resource [bus 00-ff]
>[    0.108000] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7]
>[    0.108000] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff]
>[    0.108000] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff]
>[    0.108000] pci_bus 0000:00: root bus resource [mem 0x80000000-0xfebfffff]
>[    0.127027] pci 0000:00:01.3: quirk: [io  0xb000-0xb03f] claimed by PIIX4 ACPI
>[    0.128015] pci 0000:00:01.3: quirk: [io  0xb100-0xb10f] claimed by PIIX4 SMB
>[    0.152000] acpi PNP0A03:00: ACPI _OSC support notification failed, disabling PCIe ASPM
>[    0.152000] acpi PNP0A03:00: Unable to request _OSC control (_OSC support mask: 0x08)
>[    0.153220] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
>[    0.154655] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
>[    0.156298] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
>[    0.157638] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
>[    0.159494] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
>[    0.160637] ACPI: Enabled 16 GPEs in block 00 to 0F
>[    0.161363] ACPI: No dock devices found.
>[    0.162065] vgaarb: loaded
>[    0.163090] SCSI subsystem initialized
>[    0.164003] ACPI: bus type ATA registered
>[    0.165085] ACPI: bus type USB registered
>[    0.166022] usbcore: registered new interface driver usbfs
>[    0.167015] usbcore: registered new interface driver hub
>[    0.168071] usbcore: registered new device driver usb
>[    0.169078] PCI: Using ACPI for IRQ routing
>[    0.170281] NetLabel: Initializing
>[    0.171002] NetLabel:  domain hash size = 128
>[    0.172001] NetLabel:  protocols = UNLABELED CIPSOv4
>[    0.173015] NetLabel:  unlabeled traffic allowed by default
>[    0.174051] HPET: 3 timers in total, 0 timers will be used for per-cpu timer
>[    0.175024] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
>[    0.176109] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
>[    0.183037] Switching to clocksource kvm-clock
>[    0.192152] pnp: PnP ACPI init
>[    0.192881] ACPI: bus type PNP registered
>[    0.194426] pnp: PnP ACPI: found 6 devices
>[    0.195379] ACPI: bus type PNP unregistered
>[    0.211605] NET: Registered protocol family 2
>[    0.212800] TCP established hash table entries: 16384 (order: 6, 262144 bytes)
>[    0.214402] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
>[    0.215810] TCP: Hash tables configured (established 16384 bind 16384)
>[    0.217208] TCP: reno registered
>[    0.217940] UDP hash table entries: 1024 (order: 3, 32768 bytes)
>[    0.219171] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
>[    0.220589] NET: Registered protocol family 1
>[    0.221504] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
>[    0.222706] pci 0000:00:01.0: PIIX3: Enabling Passive Release
>[    0.223883] pci 0000:00:01.0: Activating ISA DMA hang workarounds
>[    0.225442] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
>[    0.227518] Unpacking initramfs...
>[    4.654542] Freeing initrd memory: 32064k freed
>[    4.674395] Initialise system trusted keyring
>[    4.675454] audit: initializing netlink socket (disabled)
>[    4.676568] type=2000 audit(1424369610.676:1): initialized
>[    4.705092] HugeTLB registered 2 MB page size, pre-allocated 0 pages
>[    4.708678] VFS: Disk quotas dquot_6.5.2
>[    4.709590] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
>[    4.711500] msgmni has been set to 3998
>[    4.714869] alg: No test for stdrng (krng)
>[    4.717256] NET: Registered protocol family 38
>[    4.718226] Key type asymmetric registered
>[    4.719070] Asymmetric key parser 'x509' registered
>[    4.720176] Asymmetric key parser 'pefile' registered
>[    4.721284] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
>[    4.722937] io scheduler noop registered
>[    4.723765] io scheduler deadline registered
>[    4.724654] io scheduler cfq registered (default)
>[    4.725780] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
>[    4.727002] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
>[    4.728331] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
>[    4.729662] acpiphp: Slot [2] registered
>[    4.730503] acpiphp: Slot [3] registered
>[    4.731336] acpiphp: Slot [4] registered
>[    4.732184] acpiphp: Slot [5] registered
>[    4.733014] acpiphp: Slot [6] registered
>[    4.733826] acpiphp: Slot [7] registered
>[    4.734656] acpiphp: Slot [8] registered
>[    4.735487] acpiphp: Slot [9] registered
>[    4.736318] acpiphp: Slot [10] registered
>[    4.737162] acpiphp: Slot [11] registered
>[    4.737982] acpiphp: Slot [12] registered
>[    4.738831] acpiphp: Slot [13] registered
>[    4.739678] acpiphp: Slot [14] registered
>[    4.740524] acpiphp: Slot [15] registered
>[    4.741385] acpiphp: Slot [16] registered
>[    4.742227] acpiphp: Slot [17] registered
>[    4.743082] acpiphp: Slot [18] registered
>[    4.743908] acpiphp: Slot [19] registered
>[    4.744765] acpiphp: Slot [20] registered
>[    4.745615] acpiphp: Slot [21] registered
>[    4.746461] acpiphp: Slot [22] registered
>[    4.747310] acpiphp: Slot [23] registered
>[    4.748170] acpiphp: Slot [24] registered
>[    4.748994] acpiphp: Slot [25] registered
>[    4.749850] acpiphp: Slot [26] registered
>[    4.750715] acpiphp: Slot [27] registered
>[    4.751556] acpiphp: Slot [28] registered
>[    4.752409] acpiphp: Slot [29] registered
>[    4.753255] acpiphp: Slot [30] registered
>[    4.754097] acpiphp: Slot [31] registered
>[    4.755154] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
>[    4.756636] ACPI: Power Button [PWRF]
>[    4.758567] GHES: HEST is not enabled!
>[    4.759821] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
>[    4.764273] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
>[    4.766843] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
>[    4.792401] 00:04: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
>[    4.795083] Non-volatile memory driver v1.3
>[    4.795958] Linux agpgart interface v0.103
>[    4.798770] loop: module loaded
>[    4.801629] scsi0 : ata_piix
>[    4.802529] scsi1 : ata_piix
>[    4.803262] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc0a0 irq 14
>[    4.804606] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc0a8 irq 15
>[    4.806043] libphy: Fixed MDIO Bus: probed
>[    4.807828] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
>[    4.811338] ehci-pci: EHCI PCI platform driver
>[    4.813696] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
>[    4.816953] uhci_hcd: USB Universal Host Controller Interface driver
>[    4.822286] uhci_hcd 0000:00:01.2: UHCI Host Controller
>[    4.823933] uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
>[    4.825564] uhci_hcd 0000:00:01.2: irq 11, io base 0x0000c040
>[    4.826810] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
>[    4.828407] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
>[    4.830111] usb usb1: Product: UHCI Host Controller
>[    4.831244] usb usb1: Manufacturer: Linux 3.9.5-301.fc19.x86_64 uhci_hcd
>[    4.832782] usb usb1: SerialNumber: 0000:00:01.2
>[    4.834263] hub 1-0:1.0: USB hub found
>[    4.835245] hub 1-0:1.0: 2 ports detected
>[    4.836421] usbcore: registered new interface driver usbserial
>[    4.837952] usbcore: registered new interface driver usbserial_generic
>[    4.839470] usbserial: USB Serial support registered for generic
>[    4.840888] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
>[    4.844419] serio: i8042 KBD port at 0x60,0x64 irq 1
>[    4.847450] serio: i8042 AUX port at 0x60,0x64 irq 12
>[    4.850830] mousedev: PS/2 mouse device common for all mice
>[    4.854950] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
>[    4.861162] rtc_cmos 00:00: RTC can wake from S4
>[    4.870104] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
>[    4.874441] rtc_cmos 00:00: alarms up to one day, 114 bytes nvram, hpet irqs
>[    4.879476] device-mapper: uevent: version 1.0.3
>[    4.882406] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel at redhat.com
>[    4.887427] cpuidle: using governor ladder
>[    4.890450] cpuidle: using governor menu
>[    4.892968] EFI Variables Facility v0.08 2004-May-17
>[    4.896104] hidraw: raw HID events driver (C) Jiri Kosina
>[    4.899603] usbcore: registered new interface driver usbhid
>[    4.903233] usbhid: USB HID core driver
>[    4.905620] drop_monitor: Initializing network drop monitor service
>[    4.909795] ip_tables: (C) 2000-2006 Netfilter Core Team
>[    4.913188] TCP: cubic registered
>[    4.915306] Initializing XFRM netlink socket
>[    4.918193] NET: Registered protocol family 10
>[    4.921378] mip6: Mobile IPv6
>[    4.923305] NET: Registered protocol family 17
>[    4.926650] Loading compiled-in X.509 certificates
>[    4.933183] Loaded X.509 cert 'Fedora kernel signing key: 78fb4a79e920e6faab7a0c9f59d1d38942b01496'
>[    4.938673] registered taskstats version 1
>[    4.942645]   Magic number: 3:480:241
>[    4.945612] rtc_cmos 00:00: setting system clock to 2015-02-19 18:13:31 UTC (1424369611)
>[    4.978469] Freeing unused kernel memory: 1352k freed
>[    4.982555] Write protecting the kernel read-only data: 12288k
>[    4.999944] Freeing unused kernel memory: 1708k freed
>[    5.014316] Freeing unused kernel memory: 1332k freed
>[    5.024373] systemd[1]: systemd 204 running in system mode. (+PAM +LIBWRAP +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ)
>[    5.027521] systemd[1]: Detected virtualization 'kvm'.
>[    5.028760] systemd[1]: Running in initial RAM disk.
>
>Welcome to Fedora 19 (Schrödinger’s Cat) dracut-029-1.fc19 (Initramfs)!
>
>[    5.031654] systemd[1]: No hostname configured.
>[    5.037891] systemd[1]: Set hostname to <localhost>.
>[    5.041267] systemd[1]: Initializing machine ID from KVM UUID.
>[    5.063425] systemd[1]: Starting Timers.
>[  OK  ] Reached target Timers.
>[    5.069170] systemd[1]: Reached target Timers.
>[    5.072736] systemd[1]: Starting Encrypted Volumes.
>[  OK  ] Reached target Encrypted Volumes.
>[    5.080559] systemd[1]: Reached target Encrypted Volumes.
>[    5.084157] systemd[1]: Starting Journal Socket.
>[  OK  ] Listening on Journal Socket.
>[    5.092722] systemd[1]: Listening on Journal Socket.
>[    5.096755] systemd[1]: Starting dracut cmdline hook...
>         Starting dracut cmdline hook...
>[    5.105702] systemd[1]: Started Load Kernel Modules.
>[    5.109066] systemd[1]: Starting Journal Service...
>         Starting Journal Service...
>[  OK  ] Started Journal Service.
>[    5.120446] systemd[1]: Started Journal Service.
>[    5.127477] systemd[1]: Starting udev Kernel Socket.
>[  OK  ] Listening on udev Kernel Socket.
>[    5.134622] systemd[1]: Listening on udev Kernel Socket.
>[    5.139093] usb 1-1: new full-speed USB device number 2 using uhci_hcd
>[    5.140357] systemd[1]: Starting udev Control Socket.
>[  OK  ] Listening on udev Control Socket.
>[    5.149926] systemd[1]: Listening on udev Control Socket.
>[    5.153536] systemd[1]: Starting Sockets.
>[  OK  ] Reached target Sockets.
>[    5.159392] systemd[1]: Reached target Sockets.
>[    5.162484] systemd[1]: Starting Device-Mapper Multipath Device Controller...
>         Starting Device-Mapper Multipath Device Controller...
>[    5.174354] systemd[1]: Starting Swap.
>[  OK  ] Reached target Swap.
>[    5.179870] systemd[1]: Reached target Swap.
>[    5.185152] systemd[1]: Starting Local File Systems.
>[  OK  ] Reached target Local File Systems.
>[    5.192219] systemd[1]: Reached target Local File Systems.
>[    5.193954] device-mapper: multipath: version 1.5.1 loaded
>[  OK  ] Started Device-Mapper Multipath Device Controller.
>[    5.301202] usb 1-1: New USB device found, idVendor=0627, idProduct=0001
>[    5.305639] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=5
>[    5.310098] usb 1-1: Product: QEMU USB Tablet
>[    5.312925] usb 1-1: Manufacturer: QEMU
>[    5.315629] usb 1-1: SerialNumber: 42
>[    5.318249] BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
>[    5.329730] input: QEMU QEMU USB Tablet as /devices/pci0000:00/0000:00:01.2/usb1/1-1/1-1:1.0/input/input2
>[    5.336656] hid-generic 0003:0627:0001.0001: input,hidraw0: USB HID v0.01 Pointer [QEMU QEMU USB Tablet] on usb-0000:00:01.2-1/input0
>dracut-cmdline[52]: Warning: 'method=' is deprecated. Using 'repo=http://192.168.122.1:8000' instead.
>[    5.728749] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3
>[  OK  ] Started dracut cmdline hook.
>         Starting Setup Virtual Console...
>         Starting dracut pre-udev hook...
>[  OK  ] Started Setup Virtual Console.
>[    6.689692] squashfs: version 4.0 (2009/01/31) Phillip Lougher
>[    6.696595] Loading iSCSI transport class v2.0-870.
>[    6.705637] iscsi: registered transport (tcp)
>[    6.715569] alua: device handler registered
>[    6.726797] emc: device handler registered
>[    6.737693] hp_sw: device handler registered
>[    6.748943] rdac: device handler registered
>[    6.777812] FDC 0 is a S82078B
>[    6.797501] No iBFT detected.
>[    6.808455] md: raid0 personality registered for level 0
>[    6.821798] md: raid1 personality registered for level 1
>[    6.833813] async_tx: api initialized (async)
>[    6.841716] xor: measuring software checksum speed
>[    6.854052]    prefetch64-sse:  3140.000 MB/sec
>[    6.866034]    generic_sse:  2964.000 MB/sec
>[    6.868737] xor: using function: prefetch64-sse (3140.000 MB/sec)
>[    6.901108] raid6: sse2x1    1113 MB/s
>[    6.920089] raid6: sse2x2    1679 MB/s
>[    6.939088] raid6: sse2x4    2058 MB/s
>[    6.941668] raid6: using algorithm sse2x4 (2058 MB/s)
>[    6.945005] raid6: using intx1 recovery algorithm
>[    6.970212] md: raid6 personality registered for level 6
>[    6.973666] md: raid5 personality registered for level 5
>[    6.976968] md: raid4 personality registered for level 4
>[    6.998377] md: raid10 personality registered for level 10
>[    7.010660] md: linear personality registered for level -1
>[    7.035858] device-mapper: multipath round-robin: version 1.0.0 loaded
>[    7.082199] RPC: Registered named UNIX socket transport module.
>[    7.083894] RPC: Registered udp transport module.
>[    7.085065] RPC: Registered tcp transport module.
>[    7.086314] RPC: Registered tcp NFSv4.1 backchannel transport module.
>[  OK  ] Started dracut pre-udev hook.
>         Starting udev Kernel Device Manager...
>[    7.281023] systemd-udevd[262]: starting version 204
>[  OK  ] Started udev Kernel Device Manager.
>         Starting dracut pre-trigger hook...
>[    7.544396]  vda: unknown partition table
>[  OK  ] Started dracut pre-trigger hook.
>         Starting udev Coldplug all Devices...
>[  OK  ] Started udev Coldplug all Devices.
>         Starting dracut initqueue hook...
>         Starting Show Plymouth Boot Screen...
>[  OK  ] Reached target System Initialization.
>[  OK  ] Started Show Plymouth Boot Screen.
>[  OK  ] Reached target Paths.
>[  OK  ] Reached target Basic System.
>dracut-initqueue[338]: % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>dracut-initqueue[338]: Dload  Upload   Total   Spent    Left  Speed
>dracut-initqueue[338]: 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed connect to 192.168.122.1:8000; No route to host
>dracut-initqueue[338]: Warning: Downloading 'http://192.168.122.1:8000/.treeinfo' failed!
>dracut-initqueue[338]: Warning: can't find installer mainimage path in .treeinfo
>dracut-initqueue[338]: % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>dracut-initqueue[338]: Dload  Upload   Total   Spent    Left  Speed
>dracut-initqueue[338]: 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed connect to 192.168.122.1:8000; No route to host
>dracut-initqueue[338]: Warning: Downloading 'http://192.168.122.1:8000/LiveOS/squashfs.img' failed!
>[    8.544208] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
>dracut-initqueue[338]: % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>dracut-initqueue[338]: Dload  Upload   Total   Spent    Left  Speed
>dracut-initqueue[338]: 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed connect to 192.168.122.1:8000; No route to host
>dracut-initqueue[338]: Warning: Downloading 'http://192.168.122.1:8000/.treeinfo' failed!
>dracut-initqueue[338]: Warning: can't find installer mainimage path in .treeinfo
>dracut-initqueue[338]: % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>dracut-initqueue[338]: Dload  Upload   Total   Spent    Left  Speed
>dracut-initqueue[338]: 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed connect to 192.168.122.1:8000; No route to host
>dracut-initqueue[338]: Warning: Downloading 'http://192.168.122.1:8000/LiveOS/squashfs.img' failed!

>#!/bin/bash
>set -x
>
># Note: Replace this with your local Fedora tree if you have one.
>tree='http://192.168.122.1:8000'
>
>virt-install --connect=qemu:///system \
>    --network=network:default \
>    --initrd-inject=fed-minimal.ks \
>    --extra-args="ks=file:/fed-minimal.ks \
>      console=tty0 console=ttyS0,115200" \
>    --name=f15testbox \
>    --disk /var/lib/libvirt/images/f15testbox.img,size=20 \
>    --ram 2048 \
>    --vcpus=2 \
>    --check-cpu \
>    --accelerate \
>    --hvm \
>    --location=$tree \
>    --nographics
>
>
>
>
>Kickstart file :
>
># Kickstart file automatically generated by anaconda.
>
>#version=DEVEL
>#url --url http://mirrors.kernel.org/fedora/releases/7/Fedora/i386/os
>#ks=http://127.0.0.1/ks.cfg
>#ks=http://localhost/ks.cfg
>#url --url http://ftp.usf.edu/pub/fedora/linux/releases/14/Fedora/i386/os
>url --url http://192.168.122.1:8000
>install
>cdrom
>lang en_US.UTF-8
>keyboard us
>#network --onboot yes --device eth0 --bootproto dhcp --noipv6
>network  --onboot yes --device eth0 --bootproto static --ip 192.168.122.100 --netmask 255.255.255.0 --gateway 192.168.122.1 --noipv6
>timezone --utc America/New_York
>rootpw  --iscrypted $6$s9i1bQbmW4oSWMJc$0oHfSz0b/d90EvHx7cy70RJGIHrP1awzAgL9A3x2tbkyh72P3kN41vssaI3/SJf4Y4qSo6zxc2gZ3srzc4ACX1
>selinux --permissive
>authconfig --enableshadow --passalgo=sha512 --enablefingerprint
>firewall --service=ssh
># The following is the partition information you requested
># Note that any partitions you deleted are not expressed
># here so unless you clear all partitions first, this is
># not guaranteed to work
>
>#I am deleting the old partitions with this
>clearpart --all --drives=sda
>
>#I am creating partitions here
>#I will create the lvm stuff farther down
>part /boot --fstype=ext4 --size=500 --ondisk=sda --asprimary
>part pv.5xwrsR-ldgG-FEmM-2Zu5-Jn3O-sx9T-unQUOe --grow --size=500 --ondisk=sda --asprimary
>
>#Very important to have the two part lines before the lvm stuff
>volgroup VG --pesize=32768 pv.5xwrsR-ldgG-FEmM-2Zu5-Jn3O-sx9T-unQUOe
>logvol / --fstype=ext4 --name=lv_root --vgname=VG --size=40960
>logvol /home --fstype=ext4 --name=lv_home --vgname=VG --size=25600
>logvol swap --fstype swap --name=lv_swap --vgname=VG --size=4096
>
>bootloader --location=mbr --driveorder=sda --append="rhgb quiet"
>
>%packages
>@admin-tools
>#@editors
>#@fonts
>@gnome-desktop
>#@games
>#@graphical-internet
>#@graphics
>@hardware-support
>@input-methods
>#@java
>#@office
>#@online-docs
>@printing
>@sound-and-video
>@text-internet
>@base-x
>xfsprogs
>mtools
>#gpgme
>#openoffice.org-opensymbol-fonts
>#gvfs-obexftp
>hdparm
>#gok
>#iok
>#vorbis-tools
>jack-audio-connection-kit
>#ncftp
>gdm
>%end
>
># Reboot after installation
>reboot
>
>
>

>--
>libvir-list mailing list
>libvir-list at redhat.com
>https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150225/e9dc75cc/attachment-0001.sig>


More information about the libvir-list mailing list