[svlug] Expectations for Windows XP and Linux
Jim Thompson
jim at netgate.com
Fri Jul 28 01:10:51 PDT 2006
On Jul 27, 2006, at 6:04 PM, Rick Moen wrote:
>
>>> I have no objection to binary-only code in my option ROMs, or in
>>> ROM-equivalent "firmware images". I live with it every day, as
>>> does
>>> everyone else on this mailing list: The server I'm posting this
>>> from
>>> has binary-only motherboard firmware, binary-only SCSI firmware, and
>>> probably binary-only ethernet firmware, not to mention binary-only
>>> microcode in various places.
>>
>> Few of these would survive if you moved them to a PowerPC machine, or
>> even a 64-bit x86 machine. (I'm assuming you're on something 32-bit
>> x86 based.)
>
> We consider (e.g.) PCI v. 3.0 NICs and SCSI cards defective if they
> didn't
> work equally well in x86_64 machines as they did in the IA32 machines
> for which they were designed. And, if memory serves, I _think_ I
> remember Adaptec HBAs for "PCs" working just fine if you moved them to
> PPC Macs with the right kind of slot.
You are aware that BIOS code necessary to access the device is
frequently kept in the PCI "Expansion ROM" area, yes?
This could just as well be a (piece of a) Windows-specific driver.
At some point your old 5v 33MHz PCI card won't work in your new
computer, because it will have 3.3v-only slots. You seem to have
anticipated this by
specifying PCIv 3.0 NICs and SCSI cards, but what would you do if
some future architecture (say, IBM's "Cell") came out, and gave you
great server performance, but
your fiber channel card (and the terabyte disk farm attached to it)
wouldn't work, due to some... weird conflict with the firmware
running on that card?
> And all of those would have been perfectly acceptable (if a bit
> unwieldy) if the same OS-neutral, CPU-neutral, architecture-neutral
> code
> were embodied in a "blob" instead of firmware. Which is the
> distinction
> I'm trying to draw between, on the one hand, the likes of Intersil
> Prism
> GT (which has such environment-neutral code embodied in software) and
> the old Lucent Orinoco (which has that in a ROM), and on the other,
> the
> likes of Atheros/Madwifi, which doesn't.
Agreed. The issue (from what I can tell, the entire issue) in the
discussion here is that you don't object to a binary blob being
present on the card (in rom, flash or downloaded into ram).
But you *do* object to an architecture where all of the code that
runs the chip is in kernel space. Now, obviously you don't (or you
would object to many, many devices, such as the "Tulip" and eepro
Ethernet devices), so the issue at hand is exactly this:
How does Atheros (or Realtek, or any other manufacturer of parts
which are subject to Part 15.247 (etc)), design parts which are
expressly non-incidental emitters of RF, comply with the FCC regs
(and others world-wide) while *also* enabling an architecture that is
clearly the lowest cost path (One part, 100% CMOS)?
Rather than complaining about the problem, why not propose a solution?
Remember that ram, flash and CPU resources cost money (and in the
case of the CPU resources, potentially make the driver harder to
write/less maintainable). As the silicon BOM for WiFi approaches
the sub-$5 mark, how can you afford to design in these aspects and
hope to compete with those that do?
Because this (and exactly this) is what caused Prism/Hermes/... to
die. They were too expensive, so Dell (etc) wouldn't buy them.
Poof went the market. Then Intel and Broadcom got really
aggressive, and the market went "poof" in a different way. Atheros
gets to hang on as "#3" exactly because their chipset can stand on
its head and those who want the best price/performance pick Atheros
nearly ever single time. All those "WiFi switches" in the world?
Every one of them has an Atheros chipset inside.
802.11n will likely tumble the market just like 802.11g did. It
will be interesting to see who comes out on top of that one. (As
I've stated many times, "Intel + RF = 0", the Centrino design is
utter crap, both in terms of performance and programability, but they
do control the market, especially the future market/platforms.)
Intel will likely bury the gates for the 802.11 MAC in one of its
"Southbridge" parts soon. (They're pad-limited already, so subject
to process constraints, they could do this at any time.)
Why haven't you carped about Broadcom's evident choice to *NOT* make
an x86 (or other) linux driver available when they clearly have a
MIPS-based linux driver? Their only stated reason for this is that
they didn't want to enable other AP platforms. They did it for
marketing reasons.
(I recently wiped my 12" PowerBook and installed Ubuntu because the
day had finally come that I could use the Broadcom-based card inside
it. Believe it or not, I am sensitive to the issue.)
>
>> If by "hardware platforms" you mean CPU architectures, then yes, its
>> a straight-forward recompile after building a cross-compiler or
>> hosting a compiler on
>
> ...which can be done, if I understand correctly, only by the
> proprietary-code maintainers.
I could do it, (and I am not a maintainer).
> That is the sort of thing that is not OK, for reasons above among
> others. Vital interests are not compromised
> by having a software blackbox exactly analogous to the hardware
> blackboxes used for that same function, but they _are_ by not being
> able
> to compile a functional system without needing to get a blessed
> binary for any new environment from some proprietary code
> maintainer who may
> not even be around any more.
There are many parties who could, but yes with time you would likely
be unable to get someone to recompile for a new architecture.
You'll have a COBOL-powered card on your hands.
The situation is not very different from that of the V.90 softmodem
market, had that market not been collapsed by the arrival of cable
and dsl modems. Its also not too different from the Firewire market,
where your firewire controller just won't do some things, no matter
how much software you can write.
>
>> The actual "madwifi" project doesn't have access to the HAL source to
>> do this. Atheros does, Sam Leffler does, I do, and around 20 other
>> people that I could name do. Any one of these parties could run the
>> compiler for you, should you develop or encounter a new CPU
>> architecture that needed wireless.
>>
>> The situation is not ideal, but its very likely as good as it can
>> get.
>
> And yet, you got better a situation in that respect with Intersil
> Prism
> GT/Duette cards, Intel Wireless Pro 2100 et alii, and others. Thus my
> point.
In one particular dimension, (portability of the card to a new,
(potentially undiscovered) architecture), I agree, its "better".
However, in terms of radio performance (especially in terms of the
receiver), the Atheros designs are a clear cut winner over Prism GT/
Duette and Intel's Centriono.
In terms of cost, (both silicon BOM and manufactured BOM), Atheros
wins by a mile or more.
Its kinda like setting for SCSI-2 on your machine when everyone else
gets to run SCSI-UltraWide, or the clock divider on your machine ends
up driving the PCI bus at something less than 33MHz, so the SCSI card
runs slower than it should. Sure, your machine works, and its fast
enough for your applications, but you know the guys running UW are
snickering at you when you're not watching.
Jim
More information about the svlug
mailing list