Toomas Soome
2017-May-16 14:57 UTC
EFI loader doesn't handle md_preload (md_image) correct?
> On 16. mai 2017, at 17:55, Harry Schmalzbauer <freebsd at 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, > > -harryThe first question is, how large is the md_image and what other modules are loaded? rgds, toomas
Harry Schmalzbauer
2017-May-16 15:28 UTC
EFI loader doesn't handle md_preload (md_image) correct?
Bez?glich Toomas Soome's Nachricht vom 16.05.2017 16:57 (localtime):> >> On 16. mai 2017, at 17:55, Harry Schmalzbauer <freebsd at 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