Re: bnx2 dirver's firmware images
From: H. Peter Anvin
Date: Tue Sep 18 2007 - 15:27:29 EST
David Miller wrote:
> From: "H. Peter Anvin" <hpa@xxxxxxxxx>
> Date: Tue, 18 Sep 2007 11:41:34 -0700
>
>> David Miller wrote:
>>> I don't like it because it means people have to setup full initrd's
>>> in order to do network booting with such network cards.
>>>
>> klibc could help with that, if there is interest in exploring that
>> avenue again.
>
> I appreciate the effort you put into klibc and the offer to
> make initrd's easier to build.
>
> But the point is that the initrd shouldn't be necessary in the first
> place. There becomes zero point in building these drivers statically
> into the kernel, which many of us do specifically to avoid module
> loading, initrds, and all that fuss. Because the driver is totally
> crippled even though it's been fully built into the main kernel image.
>
> I mean, it's so incredibly stupid and makes kernel development that
> much more difficult.
>
> Every new dependency, be it requiring initrd or something else,
> is one more barrier added to kernel development.
>
> I really pine for the days where everything was so simple, and initrd
> and modules were the odd ball cases, most developers built everything
> into their kernel image.
Well, what I was referring to here, of course, was the initramfs
integrated in the kernel image, so it all comes out of the kernel build
tree and produces a single bootable image. The fact that part of it
contains userspace code is in that way invisible.
That was kind of the point here, and the only reason for pushing klibc
into the kernel build tree at all. Under the "distros use external
initrd anyway" school of thought, whatever libc used for that can be
external anyway.
-hpa
-
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/