Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757977AbYGDNPu (ORCPT ); Fri, 4 Jul 2008 09:15:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753881AbYGDNPh (ORCPT ); Fri, 4 Jul 2008 09:15:37 -0400 Received: from srv5.dvmed.net ([207.36.208.214]:55234 "EHLO mail.dvmed.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752207AbYGDNPg (ORCPT ); Fri, 4 Jul 2008 09:15:36 -0400 Message-ID: <486E2260.5050503@garzik.org> Date: Fri, 04 Jul 2008 09:15:12 -0400 From: Jeff Garzik User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: David Woodhouse CC: Andi Kleen , David Miller , tytso@mit.edu, hugh@veritas.com, akpm@linux-foundation.org, kosaki.motohiro@jp.fujitsu.com, mchan@broadcom.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, netdev@vger.kernel.org Subject: Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" References: <1215093175.10393.567.camel@pmac.infradead.org> <20080703173040.GB30506@mit.edu> <1215111362.10393.651.camel@pmac.infradead.org> <20080703.162120.206258339.davem@davemloft.net> <486D6DDB.4010205@infradead.org> <87ej6armez.fsf@basil.nowhere.org> <1215177044.10393.743.camel@pmac.infradead.org> In-Reply-To: <1215177044.10393.743.camel@pmac.infradead.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.3 (----) X-Spam-Report: SpamAssassin version 3.2.4 on srv5.dvmed.net summary: Content analysis details: (-4.3 points, 5.0 required) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1627 Lines: 39 David Woodhouse wrote: > On Fri, 2008-07-04 at 12:09 +0200, Andi Kleen wrote: >> David Woodhouse writes: >>> I'll look at making the requirement for 'make firmware_install' more >>> obvious, or even making it happen automatically as part of >>> 'modules_install'. >> Perhaps I didn't pay enough attention, but how are "only >> boot bzImage without initrd or modules" setups supposed to work now >> for those drivers? My testing setup relies on that heavily. > > That will continue to work just fine. > >> Will the firmware automatically end up in initramfs and be included >> in the bzImage and loaded at the right point? > > No, not even in the initramfs. It's built _right_ into the static kernel > image, and request_firmware() finds it there without even having to call > out to userspace at all. > http://git.infradead.org/users/dwmw2/firmware-2.6.git?a=commitdiff;h=81d4e79a However, there is still a broken element to the system: the firmware no longer rides along in the module's .ko file. That introduces new problems for any user and script that copies modules around. The compiled-in firmware should be in the same place where it was before your changes -- in the driver's kernel module. So, yes, there should not be regressions for non-module users. Let's now solve the regression problem for the other half of the world... Jeff -- 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/