Hello, Edmund!

You have added netboot support to the GRUB.
My attempts to use it are unsuccessful so far.

I configure the CVS/current GRUB as

./configure --enable-tftp --enable-3c59x

The network card is determined by Linux as

3Com 3c900 Boomerang 10baseT at 0xe400,  00:10:4b:5b:62:3a, IRQ 12

I have slightly hacked netboot.h because I don't have root access on the
server:
#define TFTP            8069 

tftp to the server, port 8069, works and I can download files.

When I boot the floppy with GRUB I try

root (nd)10.10.1.5

Probing... No ethernet adapter found

What am I doing wrong?
What's the syntax for network devices?
Is it possible to specify the port?
How do I enable verbose diagnostic in 3c59x.c ?

PS. By the way, configure defines INCLUDE_3C59X, but netboot/config.c
checks if INCLUDE_3c59x is defined.
Changing INCLUDE_3c59x to uppercase causes:

config.c:37: `PCI_VENDOR_ID_VORTEX' undeclared here (not in a function)

Indeed, there are no traces of PCI_VENDOR_ID_VORTEX in the sources.
It can be found in /usr/include/linux/pci.h

After defining PCI_VENDOR_ID_VORTEX and PCI_DEVICE_ID_VORTEX_3x595
to random values linking stage2.exec ends up with

../netboot/libdrivers.a(libdrivers_a-3c59x.o): In function
`vortex_probe1':
/usr/local/src/grub/netboot/3c59x.c:467: undefined reference to `inl'
../netboot/libdrivers.a(libdrivers_a-3c59x.o): In function `vortex_open':
/usr/local/src/grub/netboot/3c59x.c:502: undefined reference to `inl'
/usr/local/src/grub/netboot/3c59x.c:530: undefined reference to `outl'
../netboot/libdrivers.a(libdrivers_a-3c59x.o): In function `vortex_timer':
/usr/local/src/grub/netboot/3c59x.c:691: undefined reference to `inl'
/usr/local/src/grub/netboot/3c59x.c:693: undefined reference to `outl'
../netboot/libdrivers.a(libdrivers_a-3c59x.o): In function
`vortex_start_xmit':
/usr/local/src/grub/netboot/3c59x.c:768: undefined reference to `outl'
/usr/local/src/grub/netboot/3c59x.c:789: undefined reference to `outsl'
../netboot/libdrivers.a(libdrivers_a-3c59x.o): In function `vortex_rx':
/usr/local/src/grub/netboot/3c59x.c:994: undefined reference to `insl'

Enough for today :-(

Pavel Roskin

Reply via email to