RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1443904 - SLOF user interface display bootable device and "SLOF" words duplicate
Summary: SLOF user interface display bootable device and "SLOF" words duplicate
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: SLOF
Version: 7.4
Hardware: ppc64le
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Thomas Huth
QA Contact: xianwang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-20 08:36 UTC by xianwang
Modified: 2017-08-01 22:33 UTC (History)
5 users (show)

Fixed In Version: SLOF-20170303-2.git66d250e.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-01 22:33:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2093 0 normal SHIPPED_LIVE SLOF bug fix and enhancement update 2017-08-01 19:35:59 UTC

Description xianwang 2017-04-20 08:36:11 UTC
Description of problem:
SLOF user interface display bootable device and "SLOF" words duplicate

Version-Release number of selected component (if applicable):
Host:
3.10.0-653.el7.ppc64le
qemu-kvm-rhev-2.9.0-0.el7.patchwork201703291116.ppc64le
SLOF-20170303-1.git66d250e.el7.noarch

How reproducible:
3/3

Steps to Reproduce:
1.Boot a guest with an empty disk that specified "bootindex=1", and "onc=n,strict=off"
/usr/libexec/qemu-kvm \
    -name 'avocado-vt-vm1'  \
    -sandbox off  \
    -nodefaults  \
    -machine pseries \
    -vga std \
    -uuid 8aeab7e2-f341-4f8c-80e8-59e2968d85c2 \
    -device virtio-serial-pci,id=virtio_serial_pci0,bus=pci.0,addr=03 \
    -device virtio-scsi-pci,id=scsi1,bus=pci.0,addr=0x4 \
    -device spapr-vscsi,id=scsi2 \
    -chardev socket,id=console0,path=/tmp/console0,server,nowait \
    -device spapr-vty,chardev=console0 \
    -device nec-usb-xhci,id=usb1,bus=pci.0,addr=05 \
    -drive file=/root/empty.qcow2,format=qcow2,if=none,id=drive_blk1,werror=stop,rerror=stop \
    -device virtio-blk-pci,logical_block_size=512,physical_block_size=512,drive=drive_blk1,id=blk-disk1,bootindex=1,bus=pci.0,addr=06 \
    -device virtio-net-pci,mac=9a:7b:7c:7d:7e:72,id=id9HRc5V,vectors=4,netdev=idjlQN53,bus=pci.0,addr=10 \
    -netdev tap,id=idjlQN53,vhost=off,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown \
    -m 4G \
    -smp 4 \
    -cpu host \
    -device usb-kbd \
    -device usb-mouse \
    -qmp tcp:0:8881,server,nowait \
    -vnc :1  \
    -msg timestamp=on \
    -rtc base=localtime,clock=vm,driftfix=slew  \
    -monitor stdio \
    -boot order=cdn,once=c,menu=on,strict=off \
    -enable-kvm
2.check the display of slof
3.

Actual results:
slof display duplicate as below
Trying to load:  from: /pci@800000020000000/scsi@6 ... 
E3404: Not a bootable device!
Trying to load:  from: /pci@800000020000000/scsi@6 ... 
E3404: Not a bootable device!
Trying to load:  from: cdrom ... 
E3405: No such device
Trying to load:  from: /pci@800000020000000/ethernet@10 ... 
 Initializing NIC
  Reading MAC address from device: 9a:7b:7c:7d:7e:72
  Requesting information via DHCP: done
  Using IPv4 address: 10.16.70.148
  Requesting file "pxelinux.0" via TFTP from 10.19.42.13
  Receiving data:  0 KBytes
Repeating TFTP read request...
25 KBytes
  TFTP: Received pxelinux.0 (25 KBytes)

E3403: Bad executable:   No boot partition found

E3406: Client application returned an error:    No boot partition found

        ..`. ..     .......  ..           ......      .......
    ..`...`''.`'. .''``````..''.       .`''```''`.  `''``````
       .`` .:' ': `''.....  .''.       ''`     .''..''.......
         ``.':.';. ``````''`.''.      .''.      ''``''`````'`
         ``.':':`   .....`''.`'`...... `'`.....`''.`'`       
        .`.`'``   .'`'`````.  ``''''''  ``''`'''`. `'`       
  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:
SLOF does not display duplicate

Additional info:

Comment 2 David Gibson 2017-04-21 00:43:50 UTC
This looks to be cosmetic, and in an error path, so dropping priority.

Comment 3 Thomas Huth 2017-04-25 09:43:24 UTC
I've now tried to reproduce the problem, and I think it is not related to the empty disk, but rather occurs if SLOF was able to load a file (here the "pxelinux.0" via network), but then failed to execute it. The same thing happens if you boot into grub and then return to the firmware prompt from grub by pressing "c" and typing "halt" at the grub command prompt.

Comment 4 Thomas Huth 2017-04-26 08:25:52 UTC
Patch is now in upstream:
https://github.com/aik/SLOF/commit/06e1e07e5f329dcb2

Comment 5 Miroslav Rezanina 2017-04-28 03:16:35 UTC
Fix included in SLOF-20170303-2.git66d250e.el7

Comment 7 xianwang 2017-05-08 09:18:22 UTC
This bug is verified for SLOF-20170303-2.git66d250e.el7
Host:
3.10.0-657.el7.ppc64le
qemu-kvm-rhev-2.9.0-2.el7.ppc64le
SLOF-20170303-2.git66d250e.el7.noarch

the steps are same as bug description.
test result:
"SLOF" is not displayed duplicate, though it is not displayed, I think it is acceptable, as following:


SLOF **********************************************************************
QEMU Starting
 Build Date = Apr 27 2017 23:12:29
 FW Version = mockbuild@ release 20170303
 Press "s" to enter Open Firmware.

Press F12 for boot menu.

Populating /vdevice methods
Populating /vdevice/nvram@71000000
Populating /vdevice/v-scsi@71000001
       SCSI: Looking for devices
Populating /vdevice/vty@71000002
Populating /pci@800000020000000
                     00 0000 (D) : 1234 1111    qemu vga
                     00 1800 (D) : 1af4 1003    virtio [ serial ]
                     00 2000 (D) : 1af4 1004    virtio [ scsi ]
Populating /pci@800000020000000/scsi@4
       SCSI: Looking for devices
                     00 2800 (D) : 1033 0194    serial bus [ usb-xhci ]
                     00 3000 (D) : 1af4 1001    virtio [ block ]
                     00 8000 (D) : 1af4 1000    virtio [ net ]
Installing QEMU fb



Scanning USB 
  XHCI: Initializing
    USB Keyboard 
    USB mouse 
No console specified using screen & keyboard
     




  Welcome to Open Firmware

  Copyright (c) 2004, 2017 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@6 ... 
E3404: Not a bootable device!
Trying to load:  from: /pci@800000020000000/scsi@6 ... 
E3404: Not a bootable device!
Trying to load:  from: cdrom ... 
E3405: No such device
Trying to load:  from: /pci@800000020000000/ethernet@10 ... 
 Initializing NIC
  Reading MAC address from device: 9a:7b:7c:7d:7e:72
  Requesting information via DHCP: done
  Using IPv4 address: 10.16.70.148
  Requesting file "pxelinux.0" via TFTP from 10.19.42.13
  Receiving data:  0 KBytes
Repeating TFTP read request...
25 KBytes
  TFTP: Received pxelinux.0 (25 KBytes)

E3403: Bad executable:   No boot partition found

E3406: Client application returned an error:    No boot partition found

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


Ready! 
0 > 

So, this bug is verified.

Comment 8 errata-xmlrpc 2017-08-01 22:33:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:2093


Note You need to log in before you can comment on or make changes to this bug.