kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #75097
[Bug 1342000] Re: UBUNTU14.10-LE:liz:Ubuntu installation failing on virtio-scsi disk with disk image type raw
** Changed in: qemu (Ubuntu)
Status: New => Invalid
--
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:
Fix Committed
Status in “qemu” package in Ubuntu:
Invalid
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 <indira.priya@xxxxxxxxxx> - ==
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 <priyama2@xxxxxxxxxx> - ==
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 <indira.priya@xxxxxxxxxx> - ==
Pls find the logs attached.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1342000/+subscriptions