Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753985AbYGELWg (ORCPT ); Sat, 5 Jul 2008 07:22:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751726AbYGELWY (ORCPT ); Sat, 5 Jul 2008 07:22:24 -0400 Received: from one.firstfloor.org ([213.235.205.2]:47297 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751496AbYGELWY (ORCPT ); Sat, 5 Jul 2008 07:22:24 -0400 Message-ID: <486F596C.8050109@firstfloor.org> Date: Sat, 05 Jul 2008 13:22:20 +0200 From: Andi Kleen User-Agent: Thunderbird 1.5.0.12 (X11/20060911) MIME-Version: 1.0 To: Olivier Galibert , Takashi Iwai , David Woodhouse , Hannes Reinecke , Theodore Tso , Jeff Garzik , Andi Kleen , David Miller , 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: <87ej6armez.fsf@basil.nowhere.org> <1215177044.10393.743.camel@pmac.infradead.org> <486E2260.5050503@garzik.org> <1215178035.10393.763.camel@pmac.infradead.org> <20080704141014.GA23215@mit.edu> <486E3622.1000900@suse.de> <1215182557.10393.808.camel@pmac.infradead.org> <20080704231322.GA4410@dspnet.fr.eu.org> <20080705105317.GA44773@dspnet.fr.eu.org> In-Reply-To: <20080705105317.GA44773@dspnet.fr.eu.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2136 Lines: 41 Olivier Galibert wrote: > On Sat, Jul 05, 2008 at 09:41:56AM +0200, Takashi Iwai wrote: >> Yes, it will, if the firmware blobs are packed into the kernel >> package. In a long term, we can put firmware files into a separate, >> architecture independent noarch package, though. This will save the >> total package size, too. > > That could be interestingly hard, actually. Right now the kernel > package is one of these packages designed so that multiple versions > can be installed together. When the version of one of the firmwares > changes, the firmware package will have to be updated. But will it > keep the previous version? If it doesn't, the possibly still > installed older kernels won't work anymore. If it does, it will > accumulate a lot of files over time... Many distribution have some way for separate kernel module packages. It's essentially the same problem so it should be already solved in some way. Also there are already drivers who rely on separate firmware so they already should have this problem (and hopefully a solution). Of course these existing solutions might not be good enough. And a lot of people ignored them because they didn't use these external packages and drivers with those requirements. I agree with you that doing this for more drivers will be a further complication and the rationale why this complication is needed for drivers like tg3 or e100 so far didn't sound very convincing to me. If I read it correctly it was "some other drivers do it this way so let's complicate everybody and put them on the same level". Perhaps I'm dense, but I failed to see the convincing reason in that. On the other hand for my personal use it this change should be transparent, at least as long as "make firmware_install" will be integrated into "make modules_install" and put the files somewhere where they don't conflict with other versions. -Andi -- 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/