From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754474AbaHFJKq (ORCPT ); Wed, 6 Aug 2014 05:10:46 -0400 Received: from mail-oi0-f47.google.com ([209.85.218.47]:52533 "EHLO mail-oi0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751426AbaHFJKo (ORCPT ); Wed, 6 Aug 2014 05:10:44 -0400 MIME-Version: 1.0 In-Reply-To: References: <14048583172593@kroah.com> <8B2F6FFD0BD1E448853114367400A37306FD6FBBE9@BLRX7MCDC203.AMER.DELL.COM> <8B2F6FFD0BD1E448853114367400A37306FD6FBBF8@BLRX7MCDC203.AMER.DELL.COM> <8B2F6FFD0BD1E448853114367400A37306FD6FBC06@BLRX7MCDC203.AMER.DELL.COM> <8B2F6FFD0BD1E448853114367400A37306FD6FBDAB@BLRX7MCDC203.AMER.DELL.COM> <8B2F6FFD0BD1E448853114367400A37306FE07C773@BLRX7MCDC203.AMER.DELL.COM> <8B2F6FFD0BD1E448853114367400A37306FE07CC64@BLRX7MCDC203.AMER.DELL.COM> <8B2F6FFD0BD1E448853114367400A37306FE311D74@BLRX7MCDC203.AMER.DELL.COM> From: Jean-Michel Hautbois Date: Wed, 6 Aug 2014 11:10:27 +0200 Message-ID: Subject: Re: patch "firmware loader: allow disabling of udev as firmware loader" added to driver-core tree To: Shuah Khan Cc: Takashi Iwai , B_B_Singh@dell.com, Greg KH , Abhay_Salunke@dell.com, Arnd Bergmann , Kay Sievers , Ming Lei , Stefan Roese , Tom Gundersen , Stuart_Hayes@dell.com, Srinivas_G_Gowda@dell.com, linux-kernel Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2014-08-05 21:22 GMT+02:00 Shuah Khan : > On Tue, Aug 5, 2014 at 10:01 AM, Takashi Iwai wrote: >>> Yes, it worked, if the firmware was in the /lib/firmware directory. >> > > ok it works when the firmware is in /lib/firmware. It sounds to me the > reason load fails when the firmware is under /sys/class/firmware is > fw_load_from_user_helper() returns -ENOENT when > CONFIG_FW_LOADER_USER_HELPER is disabled. > > It would be nice to see the entire dmesg with debug enabled though. > > -- Shuah It does not work with the 3.16 kernel even when firmware is in /lib/firmware, it worked before this patch is applied. Here is what I got in my dmesg : [ 0.307856] __allocate_fw_buf: fw-lattice-ecp3.bit buf=bd81a480 [ 0.308029] lattice-ecp3 spi2.3: Direct firmware load for lattice-ecp3.bit failed with error -2 [ 0.308078] __fw_free_buf: fw-lattice-ecp3.bit buf=bd81a480 data= (null) size=0 [ 0.308094] lattice-ecp3 spi2.3: Cannot load firmware, aborting If you want specific messages, please tell me. Thanks, JM