From owner-freebsd-stable@freebsd.org Tue May 16 15:28:14 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E66DD7060C for ; Tue, 16 May 2017 15:28:14 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A1A641818 for ; Tue, 16 May 2017 15:28:13 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net [78.138.80.135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id v4GFSBwH082360; Tue, 16 May 2017 17:28:11 +0200 (CEST) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 8EFB195F; Tue, 16 May 2017 17:28:11 +0200 (CEST) Message-ID: <591B1A8B.6070803@omnilan.de> Date: Tue, 16 May 2017 17:28:11 +0200 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Toomas Soome CC: freebsd-stable@freebsd.org Subject: Re: EFI loader doesn't handle md_preload (md_image) correct? References: <591B12C6.4040301@omnilan.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: ACL 129 matched, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [78.138.80.130]); Tue, 16 May 2017 17:28:11 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: 78.138.80.135; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2017 15:28:14 -0000 Bezüglich Toomas Soome's Nachricht vom 16.05.2017 16:57 (localtime): > >> On 16. mai 2017, at 17:55, Harry Schmalzbauer 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