Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2017 17:28:11 +0200
From:      Harry Schmalzbauer <freebsd@omnilan.de>
To:        Toomas Soome <tsoome@me.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: EFI loader doesn't handle md_preload (md_image) correct?
Message-ID:  <591B1A8B.6070803@omnilan.de>
In-Reply-To: <DD0FE9CA-48C9-4A77-81FD-8CA139D95543@me.com>
References:  <591B12C6.4040301@omnilan.de> <DD0FE9CA-48C9-4A77-81FD-8CA139D95543@me.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bezüglich Toomas Soome's Nachricht vom 16.05.2017 16:57 (localtime):
> 
>> On 16. mai 2017, at 17:55, Harry Schmalzbauer <freebsd@omnilan.de> wrote:
>>
>> Hello,
>>
>> unfortunately I had some trouble with my preferred MFS-root setups.
>> It seems EFI loader doesn't handle type md_image correctly.
>>
>> If I load any md_image with loader invoked by gptboot or gptzfsboot,
>> 'lsmod'
>> shows "elf kernel", "elf obj module(s)" and "md_image".
>>
>> Using the same loader.conf, but EFI loader, the md_image-file is
>> prompted and sems to be loaded, but not registered.  There's no md_image
>> with 'lsmod', hence it's not astonsihing that kernel doesn't attach md0
>> so booting fails since there's no rootfs.
>>
>> Any help highly appreciated, hope Toomas doesn't mind beeing initially CC'd.
>>
>> Thanks,
>>
>> -harry
> 
> 
> The first question is, how large is the md_image and what other modules are loaded?

Thanks for your quick response.

The images are 50-500MB uncompressed (provided by gzip compressed file).
Small ammount of elf modules, 5, each ~50kB.

I haven't checked if the size does have any influence yet.
I just wondered why I can't see any md_image with 'lsmod' and EFI loader.

Btw, I forogt to mention I'm running 11-stable from this week, tested on
real HW and ESXi guest.

Thanks,

-harry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?591B1A8B.6070803>