Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753348Ab3DVLHV (ORCPT ); Mon, 22 Apr 2013 07:07:21 -0400 Received: from arkanian.console-pimps.org ([212.110.184.194]:58033 "EHLO arkanian.console-pimps.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753252Ab3DVLHT (ORCPT ); Mon, 22 Apr 2013 07:07:19 -0400 Message-ID: <517519E3.2030409@console-pimps.org> Date: Mon, 22 Apr 2013 12:07:15 +0100 From: Matt Fleming User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: Jiri Slaby CC: joeyli , matthew.garrett@nebula.com, cbouatmailru@gmail.com, ccross@android.com, keescook@chromium.org, Tony Luck , linux-efi@vger.kernel.org, Linux kernel mailing list Subject: Re: Cannot add new efi boot entry References: <516B1ED3.9040900@suse.cz> <1366106168.23707.9.camel@linux-s257.site> <516D23B5.4070209@intel.com> <516EB1B6.7050506@suse.cz> <516EB6F2.6070806@console-pimps.org> <51703664.40003@suse.cz> <5172466B.9080105@suse.cz> In-Reply-To: <5172466B.9080105@suse.cz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1757 Lines: 46 On 20/04/13 08:40, Jiri Slaby wrote: > On 04/18/2013 08:07 PM, Jiri Slaby wrote: >> On 04/17/2013 04:51 PM, Matt Fleming wrote: >>> On 17/04/13 15:29, Jiri Slaby wrote: >>>> On 04/16/2013 12:11 PM, Matt Fleming wrote: >>>>> On 16/04/13 10:56, joeyli wrote: >>>>>> I think I just got the same situation on my side with Acer machine. I am >>>>>> trying Matthew's new patchset hope can avoid this situation: >>>>>> >>>>>> https://lkml.org/lkml/2013/4/15/473 >>>>> >>>>> Please do let us know whether the patches work for you. >>>> >>>> Hmm, where did efi_query_variable_store in 3/3 come from? >>> >>> It's in a patch on the 'urgent' branch at, >>> >>> git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git >> >> The 3 patches plus that one work for me. > > Actually they don't :(: > open("/sys/firmware/efi/vars/new_var", O_WRONLY) = 3 > write(3, > "B\0o\0o\0t\0000\0000\0001\0003\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., > 2084) = -1 ENOSPC (No space left on device) > close(3) = 0 Thanks for testing Jiri. You can disable the EFI storage checks in -rc8 by using the efi_no_storage_paranoia kernel parameter, but it's only recommended to do that if you machine ends up in these kinds of situations where garbage collection isn't be initiated, or your machine ships with > 50% of the variable store in use from the factory. Matthew, what kind of info do you need from Jiri to improve the storage limit algorithm? -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/