From owner-freebsd-hackers@freebsd.org Thu Nov 10 21:02:45 2016 Return-Path: Delivered-To: freebsd-hackers@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 07270C3A519 for ; Thu, 10 Nov 2016 21:02:45 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CFF19224; Thu, 10 Nov 2016 21:02:44 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: by mail-it0-x233.google.com with SMTP id e187so285870807itc.0; Thu, 10 Nov 2016 13:02:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=aeAB1y3Jms9nCHIRbpBxC1vneQ+jKtNmZ29abv6y618=; b=F7D2QR71Uer8lH09OHMdaf7C0qE3qPW7labuZdfe8xTYcIb2iCS5c1caqt+EAP/MMe 760Nw+dfJGfZBRIm6s5kyPlPzOOc8gRGLO+vUAuilSpjPYA7KgnGHeJXKUy5wep2BPiR 0M6p5AvOHKR9Xn5Aa6XhYoT8vGI7PktEDZBh7Td44uQMWfPqaCcEl2vHDKlievxbQ4ie nr6gPMQec3qfSoaUn6SOEzq9LEDF/3BN/JngEKC6Zb/DNOr6Um8JMp0xAB58UH30sjAQ Ccgpj6UkvzAPrdHIZ+0KfTnFSEAgjQUh+VGFHL7ejvLMMmCtAMiyHIcqvXIjL52sv8Uv Zczg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=aeAB1y3Jms9nCHIRbpBxC1vneQ+jKtNmZ29abv6y618=; b=YtU+lWBAUBU1SbdJTDv+RgkSv5GO973dWQthf0JeO/hJ+xLmwabtPCvWbu9Tn8BzIQ sBF2djZjkQQ4r4XBVBHZNuwD6l19WPTS4zeVFyStp1xLTFQHry4Xx4mAgQAwjFoU8HXo 3l4I6mwHzN0pbg3RCnbQdO8Qa7/70cd3Cm6LfA20dzKcE9WfgCUvrLW+f7IzoIHM82N3 qDUlBZZyfKh2+6IxqVVbC5LPAbs2vesKn6OMtOJDxE612GmSmJ4n3tTJW+nIASPvTgBJ qcdKn84yKQUed9mOEgDyjghOvOqjKVPYJRMAZsTgXgHRzTrKs1a2f4PtO/scBnNqgnpT Z8Ug== X-Gm-Message-State: ABUngvebyHeGwlnuddXTJBY+WnbNOYbtNGckmNxEvjBq7BLWddto+L+AaYi39EebVIuwqOxVX0LtkH+UK/VODA== X-Received: by 10.36.181.83 with SMTP id j19mr7476118iti.13.1478811761987; Thu, 10 Nov 2016 13:02:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.87.67 with HTTP; Thu, 10 Nov 2016 13:02:41 -0800 (PST) In-Reply-To: References: From: Subbsd Date: Fri, 11 Nov 2016 00:02:41 +0300 Message-ID: Subject: Re: EFI_STAGING_SIZE - what exactly is limited and trouble with high value To: freebsd-hackers , Will Andrews Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2016 21:02:45 -0000 On Thu, Nov 10, 2016 at 11:59 PM, Subbsd wrote: > Hello, > > After https://lists.freebsd.org/pipermail/svn-src-stable-11/2016-September/000503.html > commits and with same reason as > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209944 ( i have > mfs-based images more than ~512M size) , I tried to increase > EFI_STAGING_SIZE up to 1024 ( my server have 16 GB RAM ) and got a > system hang with follow message: > -- > Booting ... > Start @ 0xffffffff80301000 ... > Efi framebuffer information: > addr, size 0xe9000000, 0x500000 > dimensions 1280 x 1024 > stride 1280 > masks 0x00ff0000 0x0000ff00, 0x000000ff, 0xff000000 > --- > > If i reduce EFI_STAGING_SIZE to 768, system booted as usual. > > Can someone explain -- what exactly is limited EFI_STAGING_SIZE in > 1GB, which leads boot to freeze ? This is normal ? And why this value > can not be dependent from hw.physmem ? > > We increase EFI_STAGING_SIZE by 16 Megabytes, from 48 to 64, but i'm > sure, and some may have more than 64 MB Forget to attach screenshot with EFI_STAGING_SIZE after magic 768 value: http://pasteboard.co/pGgkKHOO7.jpg