Skip to contentSkip to conversation

UNDI/PXE for 2.4.x available?

DISCUSSION Tobias Wollgam 2 participants 4 messages Feb 4, 2002

lore
Share & tools
lore
#0 lore raw

Hello,

is there a UNDI (Universal Network Driver Interface, a part of the PXE-specification) for the 2.4x kernel available?

We found one from Intel in its linux-pxe-sdk for the 2.2.x kernel. This one works, but not with all pxe-networkcards.

Potentially we will port it from 2.2 to 2.4 or rewrite it for 2.4 with a little assistance.

TIA for all information,

Tobias

Signature · 4 lines
Tobias Wollgam * Softwaredevelopment * Business Unit Information 
MATERNA GmbH Information & Communications
Vosskuhle 37 * 44141 Dortmund  
http://www.materna.de
#1 lore raw
Followup to:  <[email protected]>
By author:    Tobias Wollgam <[email protected]>
In newsgroup: linux.dev.kernel
Quoted 9 lines

Hello,

is there a UNDI (Universal Network Driver Interface, a part of the PXE-specification) for the 2.4x kernel available?

We found one from Intel in its linux-pxe-sdk for the 2.2.x kernel. This one works, but not with all pxe-networkcards.

I think you'll have that problem with any UNDI driver; in either case I suspect that (a) performance will stink no matter what and (b) it won't work properly with SMP unless you apply really heavy locking.

The PXE people at Intel really seems enamored with the idea of using the UNDI stack all the way into the operating system; I don't think any sane operating system does that (DOS, of course, does, but DOS isn't a sane operating system.) If I'm not completely mistaken UNDI was derived from NDIS 2 or so -- widely considered the crappiest of all the various specifications for DOS drivers.

Quoted 2 lines

Potentially we will port it from 2.2 to 2.4 or rewrite it for 2.4 with a little assistance.

-hpa

Signature · 3 lines
<[email protected]> at work, <[email protected]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<[email protected]>
#2 lore raw
In reply to Tobias Wollgam

We want to install PCs over ethernet with PXE. For the first boot from net we have nothing than the network, we don't know the hardware, so an UNDI in the kernel would be perfect. IMHO

Quoted 2 lines

I think you'll have that problem with any UNDI driver; in either case I suspect that (a) performance will stink no matter what

That's ok for the things we will do.

Quoted 2 lines

and (b) it won't work properly with SMP unless you apply really heavy locking.

Does it matter in our case?

Quoted 2 lines

The PXE people at Intel really seems enamored with the idea of using the UNDI stack all the way into the operating system;

We need it not to run an operating system, we need it for the installation of an operating system.

On the other hand, UNDI will deliver a network driver for all PXE-cards that come up before there is any direct hardware support. (Ok, then b matters)

Signature · 4 lines
Tobias Wollgam * Softwaredevelopment * Business Unit Information 
MATERNA GmbH Information & Communications
Vosskuhle 37 * 44141 Dortmund  
http://www.materna.de
#3 lore raw
In reply to Tobias Wollgam
Followup to:  <[email protected]>
By author:    Tobias Wollgam <[email protected]>
In newsgroup: linux.dev.kernel
Quoted 8 lines

We want to install PCs over ethernet with PXE. For the first boot from net we have nothing than the network, we don't know the hardware, so an UNDI in the kernel would be perfect. IMHO

Quoted 2 lines

I think you'll have that problem with any UNDI driver; in either case I suspect that (a) performance will stink no matter what

Quoted 7 lines

That's ok for the things we will do.

Quoted 2 lines

and (b) it won't work properly with SMP unless you apply really heavy locking.

Does it matter in our case?

Probably not.

Quoted 11 lines
Quoted 3 lines

The PXE people at Intel really seems enamored with the idea of using the UNDI stack all the way into the operating system;

We need it not to run an operating system, we need it for the installation of an operating system.

On the other hand, UNDI will deliver a network driver for all PXE-cards that come up before there is any direct hardware support. (Ok, then b matters)

In theory. In practice, from having dealt with enough PXE stacks, I would say that it is more likely you're going to have problems getting the UNDI drivers to work in a Linux environment than you will find that a fully equipped kernel lacks the drivers you need, especially since you can update the kernel on the server as needed. There has been a shakeout in the NIC world, and aren't anywhere near as many in use now as there was a few years ago -- and anything before then isn't going to have PXE.

-hpa

Signature · 3 lines
<[email protected]> at work, <[email protected]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<[email protected]>