Re: [Etherboot-developers] UNDI driver
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: Marty C. <md...@et...> - 2003-06-13 10:38:09
|
Hi Michael,
I have run the tests you requested using EEPRO100 and 3C905C NICs. I am
using CONSOLE_DUAL to capture output. I seem to lose a little output at
the end with serial port echoing. If I use regular output I sometimes
get a little more output. I suspect the Etherboot code size is a little
bigger, and there is some output latency caused by the serial output
routines waiting for the port.
> PXE chaining is working for me via all three routes, although I get the
> expected warning about a valid !PXE structure being found in free base
> memory with option (3). (I haven't edited pxeprefix.S to delete the
> !PXE
> signature yet).
> Michael
I have not been able to get chaining to work yet. I hope some other
folks will give it a try so we can have more data points. Floppy load
using UNDI works fine.
I hope this is helpful. Please let me know what to try next. And big
thanks for debugging this!
Marty
On Thursday, June 12, 2003, at 10:47 AM, Michael Brown wrote:
> Could you retry this arrangement (PXE chaining) with DEBUG_BASEMEM
> enabled
> in arch/i386/firmware/pcbios/basemem.c and three sets of configuration
> options in arch/i386/Config:
>
> 1. CFLAGS+=-DPXELOADER_KEEP_ALL
[EEPRO100]
ROM segment 0x0000 length 0x0000 reloc 0x00020000Etherboot 5.1.8 (GPL)
Tagged ELF for [UNDI]
Relocating _text from: [0000c300,0001bef0) to [07eb0410,07ec0000)
Boot from (N)etwork (D)isk (F)loppy or from (L)ocal?
Probing pci nic...
[UNDI]Hunting for PnP BIOS...found $PnP at f000:2c30...ok
Trying to allocate 1 kB of base memory, 574 kB free
Hunting for pixies...found !PXE at 0009dba0...ok
API 9db3:0106 St 8f80:0800 UD 98e0:4d30 UC 9db3:1e70 BD 9000:37c0 BC
937c:563a
Resetting pixie...
UNDI API call 0x0070 failed with status 0x0001
API 9db3:0106 St 8f80:0800 UD 98e0:4d30 UC 9db3:1e70 BD 9000:37c0 BC
937c:563a
UNDI API call 0x0000 failed with status 0x006a
UNDI API call 0x0076 failed with status 0x0001
UNDI API call 0x0070 failed with status 0x0001
Trying to free 7792 bytes base memory at 0x0009db30
WARNING: destructively expanding free block downwards to 0x0009d800
Trying to free 19760 bytes base memory at 0x00098e00
WARNING: destructively expanding free block downwards to 0x00098c00
Hunting for pixies...found !PXE at 0009d600...invalid checksum
...none found
Hunting for ROMs...found 55AA at 000c8000...PCI:8086:1229...ok
ROM contains Intel UNDI, PXE-2.0 (build 067) by Intel Corporation
Located UNDI ROM supporting revision 2.1.0
Trying to allocate 8 kB of base memory, 573 kB free
Trying to allocate 20 kB of base memory, 565 kB free
Installing UNDI driver code to 8d40:0000, data at 8840:0000
UNDI driver created a pixie at 8d40:0070...ok
API 8d40:0106 St 8100:0800 UD 8840:4d30 UC 8d40:1e70 BD 0000:37c0 BC
0000:563a
Initialized UNDI NIC with IO 0xdf00, IRQ 10, MAC 00:02:B3:25:45:56
NDIS type DIX+802.3 interface at 100 Mbps
Searching for server (DHCP)...
Trying to allocate 2 kB of base memory, 545 kB free
(hangs)
[3C905C]
ROM segment 0x0000 length 0x0000 reloc 0x00020000Etherboot 5.1.8 (GPL)
Tagged ELF for [UNDI]
Relocating _text from: [0000c2d0,0001be80) to [07eb0450,07ec0000)
Boot from (N)etwork (D)isk (F)loppy or from (L)ocal?
Probing pci nic...
[UNDI]Hunting for PnP BIOS...found $PnP at f000:2c30...ok
Trying to allocate 1 kB of base memory, 639 kB free
Hunting for pixies...found !PXE at 0009d7a0...in free base memory!
WARNING: a valid !PXE structure was found in an area of memory marked
as free!
API 9d74:00f6 St 0000:0000 UD 9a4b:3284 UC 9d74:24c0 BD 0000:0000 BC
0000:0000
Ignoring and continuing, but this may cause problems later!
none found
Hunting for ROMs...found 55AA at 000c8000...PCI:10b7:9200...ok
ROM contains MBA UNDI by 3Com
Located UNDI ROM supporting revision 2.1.0
Trying to allocate 10 kB of base memory, 638 kB free
Trying to allocate 13 kB of base memory, 628 kB free
Installing UNDI driver code to 9d00:0000, data at 99c0:0000
UNDI driver created a pixie at 9d00:0060...ok
API 9d00:00f6 St 0000:0000 UD 99c0:3284 UC 9d00:24c0 BD 0000:0000 BC
0000:0000
Initialized UNDI NIC with IO 0xdc00, IRQ 10, MAC 00:01:02:59:03:D5
NDIS type DIX+802.3 interface at 10
(hangs)
> 2. CFLAGS+=-DPXELOADER_KEEP_UNDI
[EEPRO100]
ROM segment 0x0000 length 0x0000 reloc 0x00020000Etherboot 5.1.8 (GPL)
Tagged ELF for [UNDI]
Relocating _text from: [0000c2d0,0001be80) to [07eb0450,07ec0000)
Boot from (N)etwork (D)isk (F)loppy or from (L)ocal?
Probing pci nic...
[UNDI]Hunting for PnP BIOS...found $PnP at f000:2c30...ok
Trying to allocate 1 kB of base memory, 611 kB free
Hunting for pixies...found !PXE at 0009dba0...ok
API 9db3:0106 St 0000:0000 UD 98e0:4d30 UC 9db3:1e70 BD 0000:0000 BC
0000:0000
UNDI API call 0x0000 failed with status 0x006a
Trying to free 7792 bytes base memory at 0x0009db30
WARNING: destructively expanding free block downwards to 0x0009d800
Trying to free 19760 bytes base memory at 0x00098e00
WARNING: destructively expanding free block downwards to 0x00098c00
Hunting for pixies...none found
Hunting for ROMs...found 55AA at 000c8000...PCI:8086:1229...ok
ROM contains Intel UNDI, PXE-2.0 (build 067) by Intel Corporation
Located UNDI ROM supporting revision 2.1.0
Trying to allocate 8 kB of base memory, 610 kB free
Trying to allocate 20 kB of base memory, 602 kB free
Installing UNDI driver code to 9680:0000, data at 9180:0000
UNDI driver created a pixie at 9680:0070...ok
API 9680:0106 St 8a40:0800 UD 9180:4d30 UC 9680:1e70 BD 0000:37c0 BC
0000:563a
Initialized UNDI NIC with IO 0xdf00, IRQ 10, MAC 00:02:B3:25:45:56
ND
(hangs)
[3C905C]
ROM segment 0x0000 length 0x0000 reloc 0x00020000Etherboot 5.1.8 (GPL)
Tagged ELF for [UNDI]
Relocating _text from: [0000c2d0,0001be80) to [07eb0450,07ec0000)
Boot from (N)etwork (D)isk (F)loppy or from (L)ocal?
Probing pci nic...
[UNDI]Hunting for PnP BIOS...found $PnP at f000:2c30...ok
Trying to allocate 1 kB of base memory, 617 kB free
Hunting for pixies...found !PXE at 0009d7a0...ok
API 9d74:00f6 St 0000:0000 UD 9a4b:3284 UC 9d74:24c0 BD 0000:0000 BC
0000:0000
Initialized UNDI NIC with IO 0xdc00, IRQ 10, MAC 00:01:02:59:03:D5
NDIS type DIX+802.3 interface at 100 Mbps
Searching for server (DHCP)...
Trying to allocate 2 kB of base memory, 616 kB free
...Me: 192.168.2.137, Server: 192.168.2.37, Gateway 192.168.2.15
Loading 192.168.2.37:/ltsp-0x8000.nb .....
After the last "Trying to allocate 2 kB of base memory, 616 kB free"
entry, things start moving very slowly. It takes about a minute for the
DHCP information to get received, and then the Loading line moves
glacially. It's been running for about 5 minutes, and so far I have:
Loading 192.168.2.37:/ltsp-0x8000.nb .......(NBI)......
normally this happens almost instantly. More memory contention? PXE
interrupt handlers interfering with Etherboot polling drivers?
> 3. (nothing)
[EEPRO100]
ROM segment 0x0000 length 0x0000 reloc 0x00020000
Etherboot 5.1.8 (GPL) Tagged ELF for [UNDI]
Relocating _text from: [0000c2d0,0001be80) to [07eb0450,07ec0000)
Boot from (N)etwork (D)isk (F)loppy or from (L)ocal?
Probing pci nic...
[UNDI]Hunting for PnP BIOS...found $PnP at f000:2c30...ok
Trying to allocate 1 kB of base memory, 638 kB free
Hunting for pixies...found !PXE at 0009dba0...in free base memory!
WARNING: a valid !PXE structure was found in an area of memory marked
as free!
API 9db3:0106 St 0000:0000 UD 98e0:4d30 UC 9db3:1e70 BD 0000:0000 BC
0000:0000
Ignoring and continuing, but this may cause problems later!
none found
Hunting for ROMs...found 55AA at 000c8000...PCI:8086:1229...ok
ROM contains Intel UNDI, PXE-2.0 (build 067) by Intel Corporation
Located UNDI ROM supporting revision 2.1.0
Trying to allocate 8 kB of base memory, 637 kB free
Trying to allocate 20 kB of base memory, 629 kB free
Installing UNDI driver code to 9d40:0000, data at 9840:0000
UNDI driver created a pixie at 9d40:0070...ok
API 9d40:0106 St 9100:0800 UD 9840:4d30 UC 9d40:1e70 BD 0000:37c0 BC
0000:563a
Initialized UNDI NIC with IO 0xdf00, IRQ 10, MAC 00:02:B3:25:45:56
NDIS type DIX+802.3 interface at 100 Mbps
Searching for server (DHCP)...
Trying to allocate 2 kB of base memory, 609 kB free
(hangs)
[3C905C]
ROM segment 0x0000 length 0x0000 reloc 0x00020000Etherboot 5.1.8 (GPL)
Tagged ELF for [UNDI]
Relocating _text from: [0000c2d0,0001be80) to [07eb0450,07ec0000)
Boot from (N)etwork (D)isk (F)loppy or from (L)ocal?
Probing pci nic...
[UNDI]Hunting for PnP BIOS...found $PnP at f000:2c30...ok
Trying to allocate 1 kB of base memory, 639 kB free
Hunting for pixies...found !PXE at 0009d7a0...in free base memory!
WARNING: a valid !PXE structure was found in an area of memory marked
as free!
API 9d74:00f6 St 0000:0000 UD 9a4b:3284 UC 9d74:24c0 BD 0000:0000 BC
0000:0000
Ignoring and continuing, but this may cause problems later!
found !PXE at 0009c000...invalid checksum
...none found
Hunting for ROMs...found 55AA at 000c8000...PCI:10b7:9200...ok
ROM contains MBA UNDI by 3Com
Located UNDI ROM supporting revision 2.1.0
Trying to allocate 10 kB of base memory, 638 kB free
Trying to allocate 13 kB of base memory, 628 kB free
Installing UNDI driver code to 9d00:0000, data at 99c0:0000
UNDI driver created a pixie at 9d00:0060...ok
API 9d00:00f6 St 0000:0000 UD 99c0:3284 UC 9d00:24c0 BD 0000:0000 BC
0000:0000
Initialized UNDI NIC with IO 0xdc00, IRQ 10, MAC 00:01:02:59:03:D5
NDIS type DIX+802.3 interface at 10
(hangs)
--
Try: http://rom-o-matic.net/ to make Etherboot images instantly.
Name: Marty Connor
US Mail: Entity Cyber, Inc.; P.O. Box 391827;
Cambridge, MA 02139; USA
Voice: (617) 491-6935; Fax: (617) 491-7046
Email: md...@et...
Web: http://www.etherboot.org/
|