Installation: Ubuntu 14.10 installation hangs at "returning from prom_init" for virtio-scsi qcow2 disk.

Bug #1352920 reported by bugproxy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debian-installer (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

== Comment: #0 - Manvanthara B. Puttashankar <email address hidden> - 2014-07-10 07:29:53 ==
---Problem Description---
Ubuntu 14.10 installation hangs at "returning from prom_init" for virtio-scsi.

---uname output---
Linux ubuntuT5 3.15.0-6-generic #11-Ubuntu SMP Thu Jun 12 00:40:49 UTC 2014 ppc64le ppc64le ppc64le GNU/Linux

Machine Type = 8284-22A

---System Hang---
 As soon as install option is selected in grub, within few seconds installation hung with the message "returning from prom_init".

Have waited for approx 1 hr with no luck.

---Debugger---
A debugger is not configured

---Steps to Reproduce---
 steps to recreate the issue:-
1. create the qcow2 image
[root@lep8a ~]# qemu-img create -f qcow2 /var/lib/libvirt/images/manu/G_ubuntu14_10_T7.qcow2 1T
Formatting '/var/lib/libvirt/images/manu/G_ubuntu14_10_T7.qcow2', fmt=qcow2 size=1099511627776 encryption=off cluster_size=65536 lazy_refcounts=off

2. install the OS using the below xml file.
[root@lep8a ISO]# virsh dumpxml GMT_ubuntu14_10_T7
<domain type='kvm'>
  <name>GMT_ubuntu14_10_T7</name>
  <uuid>d00751c0-fa01-9b84-52c3-635cc4567877</uuid>
  <memory unit='KiB'>104925184</memory>
  <currentMemory unit='KiB'>2048000</currentMemory>
  <vcpu placement='static'>2</vcpu>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='ppc64' machine='pseries'>hvm</type>
    <boot dev='hd'/>
    <boot dev='cdrom'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <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='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='none'/>
      <source file='/var/lib/libvirt/images/manu/G_ubuntu14_10_T7.qcow2'/>
      <target dev='vda' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/var/lib/libvirt/images/isos/u14.10/utopic-server-ppc64el_july10.iso'/>
      <target dev='sdb' bus='scsi'/>
      <readonly/>
      <address type='drive' controller='0' bus='0' target='0' unit='1'/>
    </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='0x01' function='0x0'/>
    </controller>
    <controller type='usb' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </controller>
    <interface type='network'>
      <mac address='52:54:c0:a8:7a:6b'/>
      <source network='default'/>
      <model type='spapr-vlan'/>
      <address type='spapr-vio' reg='0x1000'/>
    </interface>
    <serial type='pty'>
      <target port='0'/>
      <address type='spapr-vio' reg='0x30000000'/>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
      <address type='spapr-vio' reg='0x30000000'/>
    </console>
  </devices>
  <seclabel type='dynamic' model='selinux' relabel='yes'/>
</domain>

3. Installation logs:
[root@lep8a ISO]# virsh start --console GMT_ubuntu14_10_T7
Domain GMT_ubuntu14_10_T7 started
Connected to domain GMT_ubuntu14_10_T7
Escape character is ^]

SLOF **********************************************************************
QEMU Starting
 Build Date = May 16 2014 15:10:20
 FW Version = mockbuild@ release 20140514
 Press "s" to enter Open Firmware.

Populating /vdevice methods
Populating /vdevice/l-lan@1000
Populating /vdevice/vty@30000000
Populating /vdevice/nvram@71000000
Populating /pci@800000020000000
 Adapters on 0800000020000000
                     00 0800 (D) : 1af4 1004 virtio [ scsi ]
Populating /pci@800000020000000/scsi@1
       SCSI: Looking for devices
          100000100000000 CD-ROM : "QEMU QEMU CD-ROM 1.6."
                     00 1000 (D) : 106b 003f serial bus [ usb-ohci ]
                     00 1800 (D) : 1af4 1001 virtio [ block ]
No NVRAM common partition, re-initializing...
Scanning USB
  OHCI: initializing
Using default console: /vdevice/vty@30000000

  Welcome to Open Firmware

  Copyright (c) 2004, 2011 IBM Corporation All rights reserved.
  This program and the accompanying materials are made available
  under the terms of the BSD License available at
  http://www.opensource.org/licenses/bsd-license.php

Trying to load: from: /pci@800000020000000/scsi@3 ...
E3404: Not a bootable device!
Trying to load: from: /pci@800000020000000/scsi@1/disk@100000100000000 ... Successfully loaded
* finddevice /memory grub workaround *

                        GNU GRUB version 2.02~beta2-10

 +----------------------------------------------------------------------------+
 |*Install |
 | Rescue mode |
 | |
 | |
 | |
 | |
 | |
 | |
 | |
 | |
 | |
 | |
 +----------------------------------------------------------------------------+

      Use the ^ and v keys to select which entry is highlighted.
      Press enter to boot the selected OS, `e' to edit the commands
      before booting or `c' for a command-line.
* finddevice /memory grub workaround *
* finddevice /memory grub workaround *
OF stdout device is: /vdevice/vty@30000000
Preparing to boot Linux version 3.15.0-6-generic (buildd@denneed04) (gcc version 4.9.0 (Ubuntu 4.9.0-6ubuntu1) ) #11-Ubuntu SMP Thu Jun 12 00:40:49 UTC 2014 (Ubuntu 3.15.0-6.11-generic 3.15.0)
Detected machine type: 0000000000000101
Max number of cores passed to firmware: 2048 (NR_CPUS = 2048)
Calling ibm,client-architecture-support... done
command line: BOOT_IMAGE=/install/vmlinux tasks=standard pkgsel/language-pack-patterns= pkgsel/install-language-support=false -- quiet
memory layout at init:
  memory_limit : 0000000000000000 (16 MB aligned)
  alloc_bottom : 00000000044f0000
  alloc_top : 0000000030000000
  alloc_top_hi : 0000001904200000
  rmo_top : 0000000030000000
  ram_top : 0000001904200000
instantiating rtas at 0x000000002fff0000... done
prom_hold_cpus: skipped
copying OF device tree...
Building dt strings...
Building dt structure...
Device tree strings 0x0000000004500000 -> 0x0000000004500907
Device tree struct 0x0000000004510000 -> 0x0000000004520000
Calling quiesce...
returning from prom_init

Install method: Virsh xml

Install disk info: [root@lep8a ~]# qemu-img create -f qcow2 /var/lib/libvirt/images/manu/G_ubuntu14_10_T7.qcow2 1T
Formatting '/var/lib/libvirt/images/manu/G_ubuntu14_10_T7.qcow2', fmt=qcow2 size=1099511627776 encryption=off cluster_size=65536 lazy_refcounts=off

Install ISO Information: utopic-server-ppc64el_july10.iso

== Comment: #3 - BHARATA BHASKER RAO <email address hidden> - 2014-07-22 11:21:18 ==
Ubuntu 14.10 installation on virtio-scsi disk fails with error

"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"

If 14.10 is installed using virtio-blk and later virtio-scsi is used to boot the installed image, then it works.

So looks like an installation issue (unavailability of virtio-scsi driver during installation)

bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-113084 severity-high targetmilestone-inin1410
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1352920/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Luciano Chavez (lnx1138)
affects: ubuntu → debian-installer (Ubuntu)
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2014-10-16 04:10 EDT-------
Since this is verified with latest build, closing the defect.

Changed in debian-installer (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.