------- Comment From [email protected] 2014-08-08 06:35 EDT------- --- Comment from Shawn T Wright --- I hit this issue on my Unbuntu 14.10 installs as well but noticed it because I was attempting to install an iso from a VIRTIO-SCSI CD-ROM device.
[[!!]] Detect and Mount CD-ROM Your installation CD-ROM couldn't be mounted..... I also tried the same thing for VIRTIO-Block CD-ROM and it failed the same way. I then tried PAPR-SCSI CD-ROM and it works, but then it comes up and I hit the issue described in this defect that no drives were detected. My Drives are configured for virtio-scsi. ???????????????????????????? [!] Detect disks ????????????????????????????? ? ? ? No disk drive was detected. If you know the name of the driver needed ? ? by your disk drive, you can select it from the list. ? ? ? ? Driver needed for your disk drive: ? ? ? ? continue with no disk drive ? ? login to iSCSI targets ? ? 3w-9xxx ? ? ? 3w-sas ? ? ? 3w-xxxx ? ? ? DAC960 ? ? ? a100u2w ? ? ? aacraid ? ? ? aic79xx ? ? ? aic7xxx ? ? ? ? <Go Back> ? ? ? ??????????????????????????????????????????????????????????????????????????? Here is my xml: [root@workkvm ~]# cat ubu1-scsi.xml <domain type='kvm'> <name>ubu1</name> <memory unit='GiB'>4</memory> <cpu> <topology sockets='1' cores='1' threads='1'/> </cpu> <vcpu placement='static'>1</vcpu> <os> <type arch='ppc64' machine='pseries'>hvm</type> <boot dev='cdrom'/> <boot dev='network'/> <boot dev='hd'/> </os> <features> <acpi/> <apic/> </features> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>coredump-restart</on_crash> <devices> <emulator>/usr/bin/qemu-system-ppc64</emulator> <disk type='block' device='disk'> <driver name='qemu' type='raw'/> <source dev='/dev/mapper/mpathe'/> <target dev='vda' bus='scsi'/> <address type='drive' controller='1' bus='0' target='0' unit='0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/var/lib/libvirt/utopic-server-ppc64el.iso'/> <target dev='vdb' bus='scsi'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <interface type='bridge'> <model type='virtio-net'/> <source bridge='brenP1p5s0f0'/> <address type='pci' bus='0x00' slot='0x01' function='0x0'/> </interface> <controller type='scsi' model='ibmvscsi' index='0' /> <controller type='scsi' model='virtio-scsi' index='1' /> <controller type='usb' model='none' /> <memballoon model='none'/> <console type='pty'> <target type='serial' port='0'/> <address type='spapr-vio' reg='0x30000000'/> </console> </devices> <seclabel type='none'/> </domain> Here is the output from ps -ef |grep qemu for my system. The guest that is seeing the problem during this ps-ef is "ubu1" [root@workkvm ~]# ps -ef |grep qemu qemu 129208 1 0 12:32 ? 00:00:28 /usr/bin/qemu-system-ppc64 -name ubu2 -S -machine pseries,accel=kvm,usb=off -m 4096 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 99e5a6ca-a787-4556-bff7-4e5f5fb00992 -nographic -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/ubu2.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot strict=on -device spapr-vscsi,id=scsi0,reg=0x2000 -drive file=/dev/mapper/mpathc,if=none,id=drive-scsi0-0-0-0,format=raw -device scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0,bootindex=1 -drive file=/var/lib/libvirt/utopic-server-ppc64el.iso,if=none,id=drive-scsi0-0-1-0,readonly=on,format=raw -device scsi-cd,bus=scsi0.0,channel=0,scsi-id=1,lun=0,drive=drive-scsi0-0-1-0,id=scsi0-0-1-0 -netdev tap,fd=26,id=hostnet0 -device virtio-net,netdev=hostnet0,id=net0,mac=52:54:00:f2:0e:46,bus=pci.0,addr=0x1 -chardev pty,id=charserial0 -device spapr-vty,chardev=charserial0,reg=0x30000000 -msg timestamp=on qemu 135710 1 3 13:48 ? 00:00:29 /usr/bin/qemu-system-ppc64 -name ubu1 -S -machine pseries,accel=kvm,usb=off -m 4096 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid d3933339-c08c-435d-b5e5-957ba699c6db -nographic -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/ubu1.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot strict=on -device spapr-vscsi,id=scsi0,reg=0x2000 -device virtio-scsi-pci,id=scsi1,bus=pci.0,addr=0x2 -drive file=/dev/mapper/mpathe,if=none,id=drive-scsi1-0-0-0,format=raw -device scsi-hd,bus=scsi1.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi1-0-0-0,id=scsi1-0-0-0,bootindex=3 -drive file=/var/lib/libvirt/utopic-server-ppc64el.iso,if=none,id=drive-scsi0-0-0-0,readonly=on,format=raw -device scsi-cd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0,bootindex=1 -netdev tap,fd=24,id=hostnet0 -device virtio-net,netdev=hostnet0,id=net0,mac=52:54:00:55:8b:92,bus=pci.0,addr=0x1,bootindex=2 -chardev pty,id=charserial0 -device spapr-vty,chardev=charserial0,reg=0x30000000 -msg timestamp=on root 136784 126693 0 14:01 pts/5 00:00:00 grep --color=auto qemu This issue is very simple to recreate and can be done 100% of the time. This is blocking tests. Whats the target date / build that we will see the fix for this issue in? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1342000 Title: UBUNTU14.10-LE:liz:Ubuntu installation failing on virtio-scsi disk with disk image type raw Status in “linux” package in Ubuntu: In Progress Status in “qemu” package in Ubuntu: New Bug description: Problem Description ----------------------------------- ISST-KVM-UBUNTU1410-LE:liz:Ubuntu installation failing on virtio-scsi disk with disk image raw. Ubuntu installation to virtio-scsi disk type of raw, not able to find the driver by default and not listing virtio-scsi drivers to choose ---uname output--- [root@lizkvm home]# uname -a Linux lizkvm.isst.aus.stglabs.ibm.com 3.10.42-2001.pkvm2_1_1.3.ppc64 #1 SMP Tue Jun 17 13:13:10 CDT 2014 ppc64 ppc64 ppc64 GNU/Linux [root@lizkvm home]# Steps to reproduce ----------------------------------- 1) [root@magkvm images]# virsh define lizg3.xml Domain lizg3 defined from lizg3.xml 2) [root@lizkvm home]# virsh dumpxml lizg3 <domain type='kvm' id='25'> <name>lizg3</name> <uuid>da4ce0fd-2268-45b8-b5ca-611ac7926e50</uuid> <memory unit='KiB'>6606848</memory> <currentMemory unit='KiB'>6606029</currentMemory> <vcpu placement='static'>4</vcpu> <cputune> <vcpupin vcpu='0' cpuset='8'/> <vcpupin vcpu='2' cpuset='24'/> </cputune> <resource> <partition>/machine</partition> </resource> <os> <type arch='ppc64' machine='pseries'>hvm</type> <boot dev='hd'/> <boot dev='cdrom'/> <bootmenu enable='yes'/> </os> <features> <acpi/> <apic/> </features> <cpu> <topology sockets='2' cores='1' threads='2'/> </cpu> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/qemu-system-ppc64</emulator> <disk type='block' device='lun'> <driver name='qemu' type='raw'/> <source dev='/dev/sdz'/> <backingStore/> <target dev='sda' bus='scsi'/> <alias name='scsi1-0-0-3'/> <address type='drive' controller='1' bus='0' target='0' unit='3'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/home/ubuntu14.10/utopic-server-ppc64el.iso'/> <backingStore/> <target dev='sdb' bus='scsi'/> <readonly/> <alias name='scsi0-0-1-1'/> <address type='drive' controller='0' bus='0' target='1' unit='1'/> </disk> <disk type='block' device='lun'> <driver name='qemu' type='raw'/> <source dev='/dev/sdq'/> <backingStore/> <target dev='sdc' bus='scsi'/> <alias name='scsi1-0-0-2'/> <address type='drive' controller='1' bus='0' target='0' unit='2'/> </disk> <disk type='block' device='lun'> <driver name='qemu' type='raw'/> <source dev='/dev/sdj'/> <backingStore/> <target dev='sdd' bus='scsi'/> <alias name='scsi1-0-0-0'/> <address type='drive' controller='1' bus='0' target='0' unit='0'/> </disk> <controller type='scsi' index='0' model='ibmvscsi'> <alias name='scsi0'/> <address type='spapr-vio' reg='0x2000'/> </controller> <controller type='scsi' index='1' model='virtio-scsi'> <alias name='scsi1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> </controller> <controller type='usb' index='0'> <alias name='usb0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </controller> <controller type='pci' index='0' model='pci-root'> <alias name='pci.0'/> </controller> <interface type='bridge'> <mac address='52:54:00:91:7f:87'/> <source bridge='brenP3p5s0f3'/> <target dev='vnet1'/> <model type='virtio'/> <driver name='qemu'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> <serial type='pty'> <source path='/dev/pts/3'/> <target port='0'/> <alias name='serial0'/> <address type='spapr-vio' reg='0x30000000'/> </serial> <console type='pty' tty='/dev/pts/3'> <source path='/dev/pts/3'/> <target type='serial' port='0'/> <alias name='serial0'/> <address type='spapr-vio' reg='0x30000000'/> </console> <memballoon model='none'> <alias name='balloon0'/> </memballoon> </devices> <seclabel type='dynamic' model='selinux' relabel='yes'> <label>system_u:system_r:svirt_t:s0:c79,c721</label> <imagelabel>system_u:object_r:svirt_image_t:s0:c79,c721</imagelabel> </seclabel> </domain> 3) [root@magkvm images]# virsh start --console lizg3 Domain lizg3 started Connected to domain lizg3 Escape character is ^] SLOF ************************** -->Configured network properly and then moved to Detect disks screen 4) Proceeded with the installation and when the disk partition screen comes up. Installer is not able to indentify the disk and asks to choose from the list of drivers as below ???????????????????????????? [!] Detect disks ????????????????????????????? ? ? ? No disk drive was detected. If you know the name of the driver needed ? ? by your disk drive, you can select it from the list. ? ? ? ? Driver needed for your disk drive: ? ? ? ? continue with no disk drive ? ? login to iSCSI targets ? ? 3w-9xxx ? ? ? 3w-sas ? ? ? 3w-xxxx ? ? ? DAC960 ? ? ? a100u2w ? ? ? aacraid ? ? ? aic79xx ? ? ? aic7xxx ? ? ? ? <Go Back> ? ? ? ??????????????????????????????????????????????????????????????????????????? <Tab> moves; <Space> selects; <Enter> activates buttons 4) verified for the drivers from the list and none of them belongs to virtio-scsi optional driver listed are: continue with no disk drive ? ? login to iSCSI targets ? ? 3w-9xxx ? ? ? 3w-sas ? ? ? 3w-xxxx ? ? ? DAC960 ? ? ? a100u2w ? ? ? aacraid ? ? ? aic79xx ? ? ? aic7xxx aic94xx ? ? aoe ? ? ? arcmsr ? ? aten ? ? ? atp870u ? ? ? bpck ? ? ? cciss ? ? ? comm ? ? ? cryptoloop ? ? ? dc395x dmx3191d ? ? dstr ? ? ? eata ? ? ? epat ? ? epia ? ? ? fdomain ? ? ? fit2 ? ? ? fit3 ? ? ? floppy ? ? ? friq frpw ? ? gdth ? ? ? hpsa ? ? ? hptiop ? ? ? imm ? ? initio ? ? ? ips ? ? ? kbic ? ? ? ktti ? ? ? libsas lpfc ? ? megaraid ? ? ? megaraid_mbox ? ? ? megaraid_mm ? ? ? megaraid_sas ? ? ? mpt2sas ? ? mptbase ? ? ? mptctl ? ? ? mptfc ? ? ? mptlan mptsas ? ? ? mptscsih ? ? ? mptspi ? ? ? mtip32xx ? ? ? mvsas ? ? nbd ? ? ? on20 ? ? ? on26 ? ? ? paride pcd ? ? ? pd ? ? ? pf ? ? ? pg ? ? ? ppa ? ? ? pt ? ? ? qla1280 ? ? qla2xxx ? ? ? qla4xxx raid_class ? ? ? scsi_debug ? ? ? scsi_dh ? ? ? scsi_dh_alua ? ? ? scsi_dh_rdac ? ? scsi_transport_sas ? ? ? stex ? ? ? sx8 tmscsim ? ? ? umem ? ? none of the above Install method: Tried both CDROM (ISO image) and Netboot ( Filename : ubuntu-installer/ppc64el/powerpc-ieee1275/core.elf) Install disk info: sdb is the disk where ubuntu to be installed and disk type virtio-scsi of type raw. Install ISO Information: ubuntu14.10 : utopic-server-ppc64el.iso The userspace tool has the following bit modes: uname -a Linux lizg2 3.15.0-6-generic #11-Ubuntu SMP Thu Jun 12 00:40:49 UTC 2014 ppc64le ppc64le ppc64le GNU/Linux == Comment: #3 - INDIRA P. JOGA <[email protected]> - == HI, Yes this is reproducible every time. And here in xml , used entire disk which is divided into LUNS ( raw whole disk) and hence did not used qemu image. Regards, Indira == Comment: #5 - PRIYA M. A <[email protected]> - == I am trying to install ubuntu14.10 on guest : pamg1 at host: pamkvm Ubuntu installation on virtio-scsi disk type of raw, is unable to find their drivers by default and not listing virtio-scsi drivers to proceed with ubuntu14.10 installation XML: [root@pamkvm qemu]# cat pamg1.xml <!-- WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE OVERWRITTEN AND LOST. Changes to this xml configuration should be made using: virsh edit pamg1 or other application using the libvirt API. --> <domain type='kvm'> <name>pamg1</name> <uuid>e961fc15-db67-42ba-8729-e14231dbfeeb</uuid> <memory unit='KiB'>12582912</memory> <currentMemory unit='KiB'>12582912</currentMemory> <memtune> <soft_limit unit='KiB'>14825792</soft_limit> </memtune> <vcpu placement='static'>4</vcpu> <resource> <partition>/machine</partition> </resource> <os> <type arch='ppc64' machine='pseries'>hvm</type> <boot dev='hd'/> <boot dev='cdrom'/> </os> <cpu mode='custom' match='exact'> <model fallback='allow'>power7</model> <topology sockets='1' cores='1' threads='4'/> </cpu> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/qemu-kvm</emulator> <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='none'/> <source dev='/dev/disk/by-id/wwn-0x50000395282849f0'/> <target dev='sda' bus='scsi'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='none'/> <source dev='/dev/disk/by-id/wwn-0x5000039528284ab4'/> <target dev='sdb' bus='scsi'/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='none'/> <source dev='/dev/disk/by-id/wwn-0x5000039528285c90'/> <target dev='sdc' bus='scsi'/> <address type='drive' controller='0' bus='0' target='0' unit='2'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/home/utopic-server-ppc64el.iso'/> <target dev='sdd' bus='scsi'/> <readonly/> <address type='drive' controller='1' bus='0' target='0' unit='0'/> </disk> <controller type='pci' index='0' model='pci-root'/> <controller type='scsi' index='0' model='virtio-scsi'> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </controller> <controller type='scsi' index='1'> <address type='spapr-vio' reg='0x2000'/> </controller> <controller type='usb' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:0b:35:50'/> <source bridge='brenP3p9s0f0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> </interface> <serial type='pty'> <target type='isa-serial' port='0'/> <address type='spapr-vio' reg='0x30000000'/> </serial> <console type='pty'> <target type='serial' port='0'/> <address type='spapr-vio' reg='0x30000000'/> </console> <memballoon model='none'/> </devices> <seclabel type='dynamic' model='selinux' relabel='yes'/> </domain> I too encounter the same output as mentioned in this defect When I tried the same with same xml and ubuntu build 14.04 it worked fine. The disks were listed and I was able to proceed with installation. == Comment: #7 - INDIRA P. JOGA <[email protected]> - == Pls find the logs attached. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1342000/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp

