On 3/20/2014 8:57 AM, Richard W.M. Jones wrote: >> On Tue, Mar 18, 2014 at 04:05:42PM -0400, Eric V. Smith wrote: >>> Then I try to install the image with: >>> # virt-install --import --name build-f20 --ram 512 --vcpus 1 --disk >>> path=./Fedora-x86_64-20-20131211.1-sda.raw,bus=scsi --disk >>> build-f20-cidata.iso,device=cdrom,bus=scsi --network >>> bridge=virbr0,model=virtio --graphics=none > > Hmm, "bus=scsi"? Although this is Xen, this seems to be a surprising > choice. I would have thought bus=xen (or possibly bus=virtio) would > work better. Thanks for looking at this. I should have mentioned that I tried multiple bus= options, and got the same results. The last one was =scsi, so that's what I posted. At the end of this is the debug output with bus=xen, but I have the same VFS error there. virtio I had apparently not tried. I get a different error with that: # virt-install --import --name build-f20 --ram 512 --vcpus 1 --disk path=./Fedora-x86_64-20-20131211.1-sda.raw,bus=virtio --disk build-f20-cidata.iso,device=cdrom,bus=virtio --network bridge=br0,model=virtio --graphics=none --debug [Thu, 20 Mar 2014 09:20:36 virt-install 29952] DEBUG (cli:187) Launched with command line: /usr/share/virt-manager/virt-install --import --name build-f20 --ram 512 --vcpus 1 --disk path=./Fedora-x86_64-20-20131211.1-sda.raw,bus=virtio --disk build-f20-cidata.iso,device=cdrom,bus=virtio --network bridge=br0,model=virtio --graphics=none --debug [Thu, 20 Mar 2014 09:20:36 virt-install 29952] DEBUG (cli:195) Requesting libvirt URI default [Thu, 20 Mar 2014 09:20:36 virt-install 29952] DEBUG (cli:199) Received libvirt URI xen:/// [Thu, 20 Mar 2014 09:20:36 virt-install 29952] DEBUG (virt-install:193) Requesting virt method 'default', hv type 'default'. [Thu, 20 Mar 2014 09:20:36 virt-install 29952] DEBUG (virt-install:432) Received virt method 'xen' [Thu, 20 Mar 2014 09:20:36 virt-install 29952] DEBUG (virt-install:433) Hypervisor name is 'xen' [Thu, 20 Mar 2014 09:20:36 virt-install 29952] WARNING (virt-install:343) CDROM media does not print to the text console by default, so you likely will not see text install output. You might want to use --location. [Thu, 20 Mar 2014 09:20:36 virt-install 29952] DEBUG (virt-install:551) Guest.has_install_phase: False Starting install... [Thu, 20 Mar 2014 09:20:37 virt-install 29952] DEBUG (guest:446) Generated install XML: None required [Thu, 20 Mar 2014 09:20:37 virt-install 29952] DEBUG (guest:447) Generated boot XML: <domain type="xen"> <name>build-f20</name> <uuid>853641c4-7328-4932-83c4-960cc44f3232</uuid> <memory>524288</memory> <currentMemory>524288</currentMemory> <vcpu>1</vcpu> <bootloader>/usr/bin/pygrub</bootloader> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <disk type="file" device="disk"> <source file="/root/Fedora-x86_64-20-20131211.1-sda.raw"/> <target dev="vda" bus="virtio"/> </disk> <disk type="file" device="cdrom"> <source file="/root/build-f20-cidata.iso"/> <target dev="vdb" bus="virtio"/> <readonly/> </disk> <interface type="bridge"> <source bridge="br0"/> <mac address="00:16:3e:8a:24:e7"/> <model type="virtio"/> </interface> <input type="mouse" bus="xen"/> </devices> </domain> [Thu, 20 Mar 2014 09:20:38 virt-install 29952] DEBUG (cli:234) File "/usr/share/virt-manager/virt-install", line 876, in <module> sys.exit(main()) File "/usr/share/virt-manager/virt-install", line 870, in main start_install(guest, continue_inst, options) File "/usr/share/virt-manager/virt-install", line 588, in start_install fail(e, do_exit=False) File "/usr/share/virt-manager/virtinst/cli.py", line 234, in fail logging.debug("".join(traceback.format_stack())) [Thu, 20 Mar 2014 09:20:38 virt-install 29952] ERROR (cli:235) POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: Unable to find number for device (vda)') [Thu, 20 Mar 2014 09:20:38 virt-install 29952] DEBUG (cli:237) Traceback (most recent call last): File "/usr/share/virt-manager/virt-install", line 560, in start_install dom = guest.start_install(meter=meter, noboot=options.noreboot) File "/usr/share/virt-manager/virtinst/guest.py", line 400, in start_install noboot) File "/usr/share/virt-manager/virtinst/guest.py", line 464, in _create_guest dom = self.conn.createLinux(start_xml or final_xml, 0) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2897, in createLinux if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self) libvirtError: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: Unable to find number for device (vda)') [Thu, 20 Mar 2014 09:20:38 virt-install 29952] DEBUG (cli:248) Domain installation does not appear to have been successful. If it was, you can restart your domain by running: virsh --connect xen:/// start build-f20 otherwise, please restart your installation. Domain installation does not appear to have been successful. If it was, you can restart your domain by running: virsh --connect xen:/// start build-f20 otherwise, please restart your installation. # > If you look at the guest kernel output, you can see that no sda hard > disk device is detected at all, which would mean that the guest > doesn't have the right device drivers to see this sort of disk. And > since there is no model=... in the libvirt XML I'm not even sure what > device driver would be required here. Xen probably chooses a default > SCSI device to emulate. Thanks again. I've tried enough different options that I think it's time to repave and start with a fresh Dom0. I'll report back when I've done that. Eric. bus=xen debug output: # virt-install --import --name build-f20 --ram 512 --vcpus 1 --disk path=./Fedora-x86_64-20-20131211.1-sda.raw,bus=xen --disk build-f20-cidata.iso,device=cdrom,bus=xen --network bridge=br0,model=virtio --graphics=none --debug [Thu, 20 Mar 2014 09:16:33 virt-install 28629] DEBUG (cli:187) Launched with command line: /usr/share/virt-manager/virt-install --import --name build-f20 --ram 512 --vcpus 1 --disk path=./Fedora-x86_64-20-20131211.1-sda.raw,bus=xen --disk build-f20-cidata.iso,device=cdrom,bus=xen --network bridge=br0,model=virtio --graphics=none --debug [Thu, 20 Mar 2014 09:16:33 virt-install 28629] DEBUG (cli:195) Requesting libvirt URI default [Thu, 20 Mar 2014 09:16:33 virt-install 28629] DEBUG (cli:199) Received libvirt URI xen:/// [Thu, 20 Mar 2014 09:16:33 virt-install 28629] DEBUG (virt-install:193) Requesting virt method 'default', hv type 'default'. [Thu, 20 Mar 2014 09:16:33 virt-install 28629] DEBUG (virt-install:432) Received virt method 'xen' [Thu, 20 Mar 2014 09:16:33 virt-install 28629] DEBUG (virt-install:433) Hypervisor name is 'xen' [Thu, 20 Mar 2014 09:16:33 virt-install 28629] WARNING (virt-install:343) CDROM media does not print to the text console by default, so you likely will not see text install output. You might want to use --location. [Thu, 20 Mar 2014 09:16:33 virt-install 28629] DEBUG (virt-install:551) Guest.has_install_phase: False Starting install... [Thu, 20 Mar 2014 09:16:33 virt-install 28629] DEBUG (guest:446) Generated install XML: None required [Thu, 20 Mar 2014 09:16:33 virt-install 28629] DEBUG (guest:447) Generated boot XML: <domain type="xen"> <name>build-f20</name> <uuid>a6820b9d-36a7-4453-b770-0bd4e26b39d5</uuid> <memory>524288</memory> <currentMemory>524288</currentMemory> <vcpu>1</vcpu> <bootloader>/usr/bin/pygrub</bootloader> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <disk type="file" device="disk"> <source file="/root/Fedora-x86_64-20-20131211.1-sda.raw"/> <target dev="xvda" bus="xen"/> </disk> <disk type="file" device="cdrom"> <source file="/root/build-f20-cidata.iso"/> <target dev="xvdb" bus="xen"/> <readonly/> </disk> <interface type="bridge"> <source bridge="br0"/> <mac address="00:16:3e:ff:b3:ad"/> <model type="virtio"/> </interface> <input type="mouse" bus="xen"/> </devices> </domain> Creating domain... | 0 B 00:00:01 [Thu, 20 Mar 2014 09:16:35 virt-install 28629] DEBUG (guest:477) XML fetched from libvirt object: <domain type='xen' id='84'> <name>build-f20</name> <uuid>a6820b9d-36a7-4453-b770-0bd4e26b39d5</uuid> <memory unit='KiB'>524288</memory> <currentMemory unit='KiB'>524288</currentMemory> <vcpu placement='static'>1</vcpu> <bootloader>/usr/bin/pygrub</bootloader> <os> <type>linux</type> </os> <clock offset='utc' adjustment='reset'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <disk type='file' device='disk'> <driver name='file'/> <source file='/root/Fedora-x86_64-20-20131211.1-sda.raw'/> <target dev='xvda' bus='xen'/> </disk> <disk type='file' device='cdrom'> <driver name='file'/> <source file='/root/build-f20-cidata.iso'/> <target dev='xvdb' bus='xen'/> <readonly/> </disk> <interface type='bridge'> <mac address='00:16:3e:ff:b3:ad'/> <source bridge='br0'/> <script path='/etc/xen/scripts/vif-bridge'/> <target dev='vif84.0'/> <model type='virtio'/> </interface> <console type='pty' tty='/dev/pts/5'> <source path='/dev/pts/5'/> <target type='xen' port='0'/> </console> </devices> </domain> [Thu, 20 Mar 2014 09:16:35 virt-install 28629] DEBUG (cli:397) Connecting to text console [Thu, 20 Mar 2014 09:16:35 virt-install 28629] DEBUG (cli:344) Running: /usr/bin/virsh --connect xen:/// console build-f20 Connected to domain build-f20 Escape character is ^] [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 3.11.10-301.fc20.x86_64 (mockbuild@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.8.2 20131017 (Red Hat 4.8.2-1) (GCC) ) #1 SMP Thu Dec 5 14:01:17 UTC 2013 [ 0.000000] Command line: ro root=UUID=e78f2b16-8836-4e6a-9e5e-fdc6c9d3cfc3 console=tty1 console=ttyS0,115200n8 [ 0.000000] ACPI in unprivileged domain disabled [ 0.000000] e820: BIOS-provided physical RAM map: [ 0.000000] Xen: [mem 0x0000000000000000-0x000000000009ffff] usable [ 0.000000] Xen: [mem 0x00000000000a0000-0x00000000000fffff] reserved [ 0.000000] Xen: [mem 0x0000000000100000-0x00000000207fffff] usable [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] DMI not present or invalid. [ 0.000000] No AGP bridge found [ 0.000000] e820: last_pfn = 0x20800 max_arch_pfn = 0x400000000 [ 0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff] [ 0.000000] init_memory_mapping: [mem 0x1fe00000-0x1fffffff] [ 0.000000] init_memory_mapping: [mem 0x1c000000-0x1fdfffff] [ 0.000000] init_memory_mapping: [mem 0x00100000-0x1bffffff] [ 0.000000] init_memory_mapping: [mem 0x20000000-0x207fffff] [ 0.000000] NUMA turned off [ 0.000000] Faking a node at [mem 0x0000000000000000-0x00000000207fffff] [ 0.000000] Initmem setup node 0 [mem 0x00000000-0x207fffff] [ 0.000000] NODE_DATA [mem 0x1ff02000-0x1ff15fff] [ 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-0x0009ffff] [ 0.000000] node 0: [mem 0x00100000-0x207fffff] [ 0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org [ 0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs [ 0.000000] No local APIC present [ 0.000000] APIC: disable apic facility [ 0.000000] APIC: switched to apic NOOP [ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000fffff] [ 0.000000] e820: [mem 0x20800000-0xffffffff] available for PCI devices [ 0.000000] Booting paravirtualized kernel on Xen [ 0.000000] Xen version: 4.3.2 (preserve-AD) [ 0.000000] setup_percpu: NR_CPUS:128 nr_cpumask_bits:128 nr_cpu_ids:1 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 28 pages/cpu @ffff88001f800000 s85568 r8192 d20928 u2097152 [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 130922 [ 0.000000] Policy zone: DMA32 [ 0.000000] Kernel command line: ro root=UUID=e78f2b16-8836-4e6a-9e5e-fdc6c9d3cfc3 console=tty1 console=ttyS0,115200n8 [ 0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes) [ 0.000000] xsave: enabled xstate_bv 0x7, cntxt size 0x340 [ 0.000000] Checking aperture... [ 0.000000] No AGP bridge found [ 0.000000] Memory: 494892K/532092K available (6493K kernel code, 990K rwdata, 2864K rodata, 1424K init, 1544K bss, 37200K reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=128 to nr_cpu_ids=1. [ 0.000000] NR_IRQS:8448 nr_irqs:256 16 [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] console [tty0] enabled [ 0.000000] console [hvc0] enabled [ 0.000000] console [ttyS0] enabled [ 0.000000] allocated 2621440 bytes of page_cgroup [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups [ 0.000000] installing Xen timer for CPU 0 [ 0.000000] tsc: Detected 3400.144 MHz processor [ 0.001000] Calibrating delay loop (skipped), value calculated using timer frequency.. 6800.28 BogoMIPS (lpj=3400144) [ 0.001000] pid_max: default: 32768 minimum: 301 [ 0.001000] Security Framework initialized [ 0.001000] SELinux: Initializing. [ 0.001000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.001000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) [ 0.001000] Mount-cache hash table entries: 256 [ 0.001000] Initializing cgroup subsys memory [ 0.001000] Initializing cgroup subsys devices [ 0.001000] Initializing cgroup subsys freezer [ 0.001000] Initializing cgroup subsys net_cls [ 0.001000] Initializing cgroup subsys blkio [ 0.001000] Initializing cgroup subsys perf_event [ 0.001008] Initializing cgroup subsys hugetlb [ 0.001094] ENERGY_PERF_BIAS: Set to 'normal', was 'performance' [ 0.001094] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8) [ 0.001188] CPU: Physical Processor ID: 0 [ 0.001217] CPU: Processor Core ID: 0 [ 0.001500] Last level iTLB entries: 4KB 512, 2MB 0, 4MB 0 [ 0.001500] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32 [ 0.001500] tlb_flushall_shift: 1 [ 0.021040] Freeing SMP alternatives memory: 24K (ffffffff81e5d000 - ffffffff81e63000) [ 0.022926] ftrace: allocating 25129 entries in 99 pages [ 0.027104] Performance Events: unsupported p6 CPU model 58 no PMU driver, software events only. [ 0.027917] Brought up 1 CPUs [ 0.027968] NMI watchdog: disabled (cpu0): hardware events not enabled [ 0.028022] devtmpfs: initialized [ 0.028578] atomic64 test passed for x86-64 platform with CX8 and with SSE [ 0.028646] xen:grant_table: Grant tables using version 2 layout [ 0.028697] Grant table initialized [ 0.047711] RTC time: 165:165:165, date: 165/165/65 [ 0.047818] NET: Registered protocol family 16 [ 0.048371] PCI: setting up Xen PCI frontend stub [ 0.048823] bio: create slab <bio-0> at 0 [ 0.048909] ACPI: Interpreter disabled. [ 0.048951] xen:balloon: Initialising balloon driver [ 0.049043] xen_balloon: Initialising balloon driver [ 0.049097] vgaarb: loaded [ 0.049099] SCSI subsystem initialized [ 0.049177] usbcore: registered new interface driver usbfs [ 0.049234] usbcore: registered new interface driver hub [ 0.049298] usbcore: registered new device driver usb [ 0.050027] PCI: System does not support PCI [ 0.050061] PCI: System does not support PCI [ 0.050149] NetLabel: Initializing [ 0.050182] NetLabel: domain hash size = 128 [ 0.050217] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.050261] NetLabel: unlabeled traffic allowed by default [ 0.050325] Switched to clocksource xen [ 0.053012] pnp: PnP ACPI: disabled [ 0.053859] NET: Registered protocol family 2 [ 0.053982] TCP established hash table entries: 4096 (order: 4, 65536 bytes) [ 0.054059] TCP bind hash table entries: 4096 (order: 4, 65536 bytes) [ 0.054115] TCP: Hash tables configured (established 4096 bind 4096) [ 0.054169] TCP: reno registered [ 0.054196] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.054240] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.054314] NET: Registered protocol family 1 [ 0.054397] platform rtc_cmos: registered platform RTC device (no PNP device found) [ 0.182952] alg: No test for __gcm-aes-aesni (__driver-gcm-aes-aesni) [ 0.183245] Initialise system trusted keyring [ 0.183332] audit: initializing netlink socket (disabled) [ 0.183395] type=2000 audit(1395321395.842:1): initialized [ 0.198116] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 0.198682] zbud: loaded [ 0.198794] VFS: Disk quotas dquot_6.5.2 [ 0.198847] Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.199121] msgmni has been set to 966 [ 0.199180] Key type big_key registered [ 0.199551] alg: No test for stdrng (krng) [ 0.199588] NET: Registered protocol family 38 [ 0.199621] Key type asymmetric registered [ 0.199651] Asymmetric key parser 'x509' registered [ 0.199704] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.199768] io scheduler noop registered [ 0.199797] io scheduler deadline registered [ 0.199842] io scheduler cfq registered (default) [ 0.199918] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 0.199965] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 [ 0.200199] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.200419] Non-volatile memory driver v1.3 [ 0.200451] Linux agpgart interface v0.103 [ 0.200548] libphy: Fixed MDIO Bus: probed [ 0.200606] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.200653] ehci-pci: EHCI PCI platform driver [ 0.200689] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.200733] ohci-pci: OHCI PCI platform driver [ 0.200780] uhci_hcd: USB Universal Host Controller Interface driver [ 0.200849] usbcore: registered new interface driver usbserial [ 0.200895] usbcore: registered new interface driver usbserial_generic [ 0.200944] usbserial: USB Serial support registered for generic [ 0.200994] i8042: PNP: No PS/2 controller found. Probing ports directly. [ 1.211136] mousedev: PS/2 mouse device common for all mice [ 1.271369] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0 [ 1.271581] rtc_cmos: probe of rtc_cmos failed with error -38 [ 1.271794] device-mapper: uevent: version 1.0.3 [ 1.271979] device-mapper: ioctl: 4.25.0-ioctl (2013-06-26) initialised: dm-devel@xxxxxxxxxx [ 1.272210] Intel P-state driver initializing. [ 1.272351] hidraw: raw HID events driver (C) Jiri Kosina [ 1.272620] usbcore: registered new interface driver usbhid [ 1.272747] usbhid: USB HID core driver [ 1.272851] drop_monitor: Initializing network drop monitor service [ 1.273141] ip_tables: (C) 2000-2006 Netfilter Core Team [ 1.273314] TCP: cubic registered [ 1.273397] Initializing XFRM netlink socket [ 1.273704] NET: Registered protocol family 10 [ 1.273980] mip6: Mobile IPv6 [ 1.274039] NET: Registered protocol family 17 [ 1.274305] Loading compiled-in X.509 certificates [ 1.275746] Loaded X.509 cert 'Fedora kernel signing key: 03591dc57a690741401a1c202e2b3d9f4fed2a0e' [ 1.275889] registered taskstats version 1 [ 1.275991] xenbus_probe_frontend: Device with no driver: device/vbd/51712 [ 1.276139] xenbus_probe_frontend: Device with no driver: device/vbd/51728 [ 1.276267] xenbus_probe_frontend: Device with no driver: device/vif/0 [ 1.276452] Magic number: 1:252:3141 [ 1.276543] drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 1.276788] md: Waiting for all devices to be available before autodetect [ 1.276874] md: If you don't use raid, use raid=noautodetect [ 1.277188] md: Autodetecting RAID arrays. [ 1.277280] md: Scanned 0 and added 0 devices. [ 1.277377] md: autorun ... [ 1.277429] md: ... autorun DONE. [ 1.277580] VFS: Cannot open root device "UUID=e78f2b16-8836-4e6a-9e5e-fdc6c9d3cfc3" or unknown-block(0,0): error -6 Domain creation completed. You can restart your domain by running: virsh --connect xen:/// start build-f20 # _______________________________________________ cloud mailing list cloud@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/cloud Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct