1. 27 Feb, 2016 8 commits
  2. 26 Feb, 2016 2 commits
    • Vladimir Serbinenko's avatar
      Regenerate checksums · 06a3b0b2
      Vladimir Serbinenko authored
      06a3b0b2
    • Josef Bacik's avatar
      net: fix ipv6 routing · eb9f401f
      Josef Bacik authored
      ipv6 routing in grub2 is broken, we cannot talk to anything outside our local
      network or anything that doesn't route in our global namespace.  This patch
      fixes this by doing a couple of things
      
      1) Read the router information off of the router advertisement.  If we have a
      router lifetime we need to take the source address and create a route from it.
      
      2) Changes the routing stuff slightly to allow you to specify a gateway _and_ an
      interface.  Since the router advertisements come in on the link local address we
      need to associate it with the global address on the card.  So when we are
      processing the router advertisement, either use the SLAAC interface we create
      and add the route to that interface, or loop through the global addresses we
      currently have on our interface and associate it with one of those addresses.
      We need to have a special case here for the default route so that it gets used,
      we do this by setting the masksize to 0 to mean it encompasses all networks.
      The routing code will automatically select the best route so if there is a
      closer match we will use that.
      
      With this patch I can now talk to ipv6 addresses outside of my local network.
      Thanks,
      Signed-off-by: 's avatarJosef Bacik <jbacik@fb.com>
      eb9f401f
  3. 24 Feb, 2016 2 commits
  4. 23 Feb, 2016 4 commits
  5. 22 Feb, 2016 2 commits
    • Eric Snowberg's avatar
      ieee1275: prevent buffer over-read · bc220962
      Eric Snowberg authored
      Prevent buffer over-read in grub_machine_mmap_iterate. This was
      causing phys_base from being calculated properly. This then
      caused the wrong value to be placed in ramdisk_image within
      struct linux_hdrs. Which prevented the ramdisk from loading on
      boot.
      
      Newer SPARC systems contain more than 8 available memory entries.
      
      For example on a T5-8 with 2TB of memory, the memory layout could
      look like this:
      
      T5-8 Memory
      reg                      00000000 30000000 0000003f b0000000
                               00000800 00000000 00000040 00000000
                               00001000 00000000 00000040 00000000
                               00001800 00000000 00000040 00000000
                               00002000 00000000 00000040 00000000
                               00002800 00000000 00000040 00000000
                               00003000 00000000 00000040 00000000
                               00003800 00000000 00000040 00000000
      available                00003800 00000000 0000003f ffcae000
                               00003000 00000000 00000040 00000000
                               00002800 00000000 00000040 00000000
                               00002000 00000000 00000040 00000000
                               00001800 00000000 00000040 00000000
                               00001000 00000000 00000040 00000000
                               00000800 00000000 00000040 00000000
                               00000000 70000000 0000003f 70000000
                               00000000 6eef8000 00000000 00002000
                               00000000 30400000 00000000 3eaf6000
      name                     memory
      Signed-off-by: 's avatarEric Snowberg <eric.snowberg@oracle.com>
      bc220962
    • Thomas Huth's avatar
      menu_entry: Disable cursor during update_screen() · 625934ec
      Thomas Huth authored
      When running grub in a VGA console of a KVM pseries guest on PowerPC,
      you can see the cursor sweeping over the whole line when entering a
      character in editor mode. This is visible because grub always refreshes
      the whole line when entering a character in editor mode, and drawing
      characters is quite a slow operation with the firmware used for the
      powerpc pseries guests (SLOF).
      To avoid this ugliness, the cursor should be disabled when refreshing
      the screen contents during update_screen().
      Signed-off-by: 's avatarThomas Huth <thuth@redhat.com>
      625934ec
  6. 17 Feb, 2016 2 commits
  7. 14 Feb, 2016 1 commit
  8. 13 Feb, 2016 1 commit
  9. 12 Feb, 2016 11 commits
  10. 11 Feb, 2016 2 commits
  11. 03 Feb, 2016 1 commit
    • Andrei Borzenkov's avatar
      support modules without symbol table · 67dba97e
      Andrei Borzenkov authored
      all_video module does not have any code or data and exists solely for
      .moddeps section to pull in dependencies. This makes all symbols unneeded.
      
      While in current binutils (last released version as of this commit is 2.26)
      ``strip --strip-unneeded'' unintentionally adds section symbols for each
      existing section, this behavior was considered a bug and changed in commit
      14f2c699ddca1e2f706342dffc59a6c7e23e844c to completely strip symbol table
      in this case.
      
      Older binutils (verified with 2.17) and some other toolchains (at least
      elftoolchain r3223M), both used in FreeBSD, remove symbol table in all_video
      as well.
      
      Relax run-time check and do not return error for modules without symbol table.
      Add additional checks to module verifier to make sure such modules
      
      a) have non-empty .moddeps section. Without either externally visible symbols
      or .moddeps modules are completely useless and should not be built.
      
      b) do not have any relocations.
      
      Closes: 46986
      
      v2: add run-time check for empty symbol table if relocations are present as
          suggested by Vladimir.
      67dba97e
  12. 22 Jan, 2016 4 commits