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 1301081 - IPv6 boot does not work in SLOF when TFTP server is behind a router
Summary: IPv6 boot does not work in SLOF when TFTP server is behind a router
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: SLOF
Version: 7.3
Hardware: ppc64le
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Thomas Huth
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1287716
TreeView+ depends on / blocked
 
Reported: 2016-01-22 14:36 UTC by Thomas Huth
Modified: 2016-11-04 04:33 UTC (History)
8 users (show)

Fixed In Version: SLOF-20160223-2.gitdbbfda4.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-04 04:33:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:2355 0 normal SHIPPED_LIVE SLOF bug fix and enhancement update 2016-11-03 13:48:37 UTC

Description Thomas Huth 2016-01-22 14:36:40 UTC
Description of problem:
When booting a KVM guest on ppc64 via IPv6, the SLOF firmware fails to connect to the TFTP server if there is a router between the TFTP server and the guest.

Version-Release number of selected component (if applicable):
SLOF-20150313-5.gitc89b0df.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. Set up a guest network with a client, a TFTP server, and a router (which includes a DHCPv6 server) inbetween.
2. Boot the TFTP server and the router/DHCPv6 server
3. Boot the client, press "s" while the firmware is booting, then type the following command at the firmware prompt:
   boot net:ipv6

Actual results:
SLOF fails to load the boot image from the TFTP server.

Expected results:
SLOF should succeed in downloading the boot image.

Additional info:
It's a known bug in upstream code: SLOF does not handle routing information in the IPv6 code yet.

Comment 1 Thomas Huth 2016-04-07 19:08:13 UTC
Suggested patch upstream: https://lists.ozlabs.org/pipermail/slof/2016-April/000966.html

Comment 2 Miroslav Rezanina 2016-05-06 12:47:26 UTC
Fix included in SLOF-20160223-2.gitdbbfda4.el7

Comment 4 Zhengtong 2016-06-28 09:42:43 UTC
Reproduced the bug with the slof: SLOF-20160223-1.gitdbbfda4.el7.noarch

step:
1. set up router/dhcpv6 , and configure the ipv6 address for corresponding interface. Turn on forwarding function, and dhcp function
2. set up TFTP server. which will prepare the kernel : zImage
3. get the file zImage from guest

result:
------------------------------------------------------------------
Using default console: /vdevice/vty@71000000
     
  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


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


Ready! 
0 > boot net:ipv6  
Trying to load:  from: /pci@800000020000000/ethernet@0:ipv6 ... 
 Initializing NIC
  Reading MAC address from device: 02:ca:fe:00:01:02
  Requesting information via DHCPv6: done
  Using IPv6 address: fc00:1::2ca:feff:fe00:102
  Requesting file "zImage" via TFTP from fc00:2::ca:feff:fe00:302
  Receiving data:  0 KBytes
Repeating TFTP read request...

Repeating TFTP read request...

Repeating TFTP read request...

Repeating TFTP read request...

Repeating TFTP read request...

E3015 (net) TFTP error occurred after missing 21 responses

E3407: Load failed
--------------------------------------------------------------------

******Update the slof version to  SLOF-20160223-2.gitdbbfda4.el7

The result is good:
Using default console: /vdevice/vty@71000000
     
  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


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


Ready! 
0 > boot net:ipv6  
Trying to load:  from: /pci@800000020000000/ethernet@0:ipv6 ... 
 Initializing NIC
  Reading MAC address from device: 02:ca:fe:00:01:02
  Requesting information via DHCPv6: done
  Using IPv6 address: fc00:1::2ca:feff:fe00:102
  Requesting file "zImage" via TFTP from fc00:2::ca:feff:fe00:302
  Receiving data:  18307 KBytes
  TFTP: Received zImage (18307 KBytes)
ELF64: VirtAddr(c000000000000000) != PhysAddr(0) not supported, aborting


So , this bus could be marked verified.

Comment 6 errata-xmlrpc 2016-11-04 04:33:28 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://rhn.redhat.com/errata/RHEA-2016-2355.html


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