Bug 1369354

Summary: Booting up guest failed from usb storage attached to usb hub
Product: Red Hat Enterprise Linux 7 Reporter: Xujun Ma <xuma>
Component: SLOFAssignee: Laurent Vivier <lvivier>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: knoel, lvivier, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: ppc64le   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-25 11:11:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Xujun Ma 2016-08-23 08:05:28 UTC
Description of problem:
Booting up guest failed from usb storage attached usb hub

Version-Release number of selected component (if applicable):
qemu-kvm-rhev-2.6.0-22.el7.ppc64le


How reproducible:
100%

Steps to Reproduce:
1.Boot up guest with command:
/usr/libexec/qemu-kvm \
 -name vm \
 -smp 4 \
 -m 8192 \
 -serial stdio \
 -nodefaults \
 -vga std \
 -vnc 0:59 \
 -qmp tcp:0:9999,server,nowait \
 -device nec-usb-xhci,id=xhci \
 -device usb-hub,id=hub1,port=1 \
 -device usb-storage,drive=scsi-hd-dr0,id=virt0-0-1,port=1.1\
 -drive file=/home/RHEL-Server-7.3-ppc64le-virtio.qcow2,if=none,id=scsi-hd-dr0,format=qcow2,cache=none \
 -device virtio-net-pci,netdev=net0,id=nic0,mac=52:54:00:c4:e7:86 \
 -netdev tap,id=net0,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown,vhost=on \
2.
3.

Actual results:
Booting up vm failed with erro informat as following:
SLOF **********************************************************************
QEMU Starting
 Build Date = Jun  7 2016 03:06:01
 FW Version = mockbuild@ release 20160223
 Press "s" to enter Open Firmware.

Press F12 for boot menu.

Populating /vdevice methods
Populating /vdevice/vty@71000000
Populating /vdevice/nvram@71000001
Populating /pci@800000020000000
                     00 1000 (D) : 1af4 1000    virtio [ net ]
                     00 0800 (D) : 1033 0194    serial bus [ usb-xhci ]
                     00 0000 (D) : 1234 1111    qemu vga
No NVRAM common partition, re-initializing...
Installing QEMU fb



Scanning USB 
  XHCI: Initializing
    USB HUB 
usb-hub: unable to setup device on port 0
No console specified using hvterm
     
  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: disk ... 
E3405: No such device
Trying to load:  from: cdrom ... 
E3405: No such device
Trying to load:  from: /pci@800000020000000/ethernet@2 ... 
 Initializing NIC
  Reading MAC address from device: 52:54:00:c4:e7:86
  Requesting information via DHCP: done
  Using IPv4 address: 10.19.112.126
  Requesting file "pxelinux.0" via TFTP from 10.16.64.13
  Receiving data:  25 KBytes
  TFTP: Received pxelinux.0 (25 KBytes)

E3403: Bad executable:   
                             +0HEADqemu00 1

E3406: Client application returned an error:    
                                                    +0HEADqemu00 1

        ..`. ..     .......  ..           ......      .......
    ..`...`''.`'. .''``````..''.       .`''```''`.  `''``````
       .`` .:' ': `''.....  .''.       ''`     .''..''.......
         ``.':.';. ``````''`.''.      .''.      ''``''`````'`
         ``.':':`   .....`''.`'`...... `'`.....`''.`'`       
        .`.`'``   .'`'`````.  ``''''''  ``''`'''`. `'`       
  Type 'boot'  and press return  to  continue  booting  the system.
  Type 'reset-all'  and  press  return  to   reboot   the   system.


        ..`. ..     .......  ..           ......      .......
    ..`...`''.`'. .''``````..''.       .`''```''`.  `''``````
       .`` .:' ': `''.....  .''.       ''`     .''..''.......
         ``.':.';. ``````''`.''.      .''.      ''``''`````'`
         ``.':':`   .....`''.`'`...... `'`.....`''.`'`       
        .`.`'``   .'`'`````.  ``''''''  ``''`'''`. `'`       
  Type 'boot'  and press return  to  continue  booting  the system.
  Type 'reset-all'  and  press  return  to   reboot   the   system.


Ready! 
0 > 


Expected results:
Boot up guest successfully without error.

Additional info:
no this issue on x86 and can boot up without usb hub on ppc.

Comment 2 Laurent Vivier 2016-08-25 11:11:27 UTC

*** This bug has been marked as a duplicate of bug 1352765 ***