Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin"

From: Trent Piepho
Date: Fri Jul 04 2008 - 20:53:53 EST


On Fri, 4 Jul 2008, Henrique de Moraes Holschuh wrote:
> On Sat, 05 Jul 2008, Olivier Galibert wrote:
>> Won't that break multiple kernel installs on any binary packaging
>> system that cares about file collisions? Multiple kernel rpms
>> providing the same /lib/firmware files would break things wouldn't
>> they ?
>
> We will probably need per-kernel directories, exactly like what is done for
> modules. And since there are (now) both kernel-version-specific, and
> non-kernel-version-specific firmware, this means the firmware loader should
> look first on the version-specific directory (say, /lib/firmware/$(uname
> -r)/), then if not found, on the general directory (/lib/firmware).

How about /lib/modules/`uname -r`/firmware

Keeps all the stuff for a given kernel together in one directory. Easier to
delete, e.g. when getting ride of an old kernel or when wiping a broken kernel
install clean. The non-kernel-specific directory could be for firmwares that
don't come with the kernel and aren't specific to the driver version. That
avoids the complexity of providing kernel version specific packages when it's
not necessary.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/