[ipxe-devel] [Realtek]: Possible bug - cannot load ipxe when intel-sata controller is set to RAID

Michael Brown mcb30 at ipxe.org
Mon Apr 15 13:21:51 UTC 2013


On 15/04/13 13:10, Jarrod Johnson wrote:
> On Mon, Apr 15, 2013 at 7:47 AM, Joshua C. <joshuacov at gmail.com
> <mailto:joshuacov at gmail.com>> wrote:
> > I have a strange problem with my bin/10ec8168.rom which I
> > successfully flashed in my bios. The orom loads and works normally
> > when the intel-sata controller is set to either
> > AHCI/IDE/Disabled.When I set it to RAID-mode then the orom doesn't load.
>
> The thing I think most likely is that you ran out of option rom space.
>   In x86 BIOS, it is a very limited area, and quite possibly switching
> the intel to raid bloated its footprint enough to leave insufficient
> space for your .rom.
>
> Have you tried make bin/10ec8168.mrom or does that not work with the
> device in question?  That would be my next step.  If there are more
> non-boot adapters that have option roms, I'd try disabling their option
> rom support in BIOS (at least IBM BIOS allows suppresion of slot option
> roms, I'm guessing most everyone does_.

I'm pretty sure that this is correct; you are running out of option ROM 
space when you enable RAID support.  Unfortunately, I don't think 
RTL8169s don't have a sufficiently large memory BAR for .mrom to work.

If your BIOS supports PCI3.00 (look at the PCI version shown in iPXE's 
startup banner), and if the PMM allocations are working (check the 
startup banner for non-zero values in "PMM+xxxxxxxx+yyyyyyyy"), then you 
could try the attached patch.  This patch changes the "runtime size" 
field in the PCI ROM header to the optimistic value (i.e. the value that 
will be achieved only if the PMM allocations both work).

Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipxe-rom-optimism.patch
Type: text/x-patch
Size: 384 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20130415/95230052/attachment.bin>


More information about the ipxe-devel mailing list