Subject: pxeboot problems
To: None <port-i386@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: port-i386
Date: 12/19/2005 22:26:11
I've just tried to boot a system using pxeboot - without success.
This all worked last time I did it, and I don't believe I've changed
any of the dhcp, tftp configuration or the pxeboot binary.

The only obvious difference is that the server is now running 3.99.14

All goes swimmingly until I get:

> boot netbsd.install
PXE BIOS Version 2.1
Using PCI device at bus 0 device 6 function 0
Ethernet address 00:00:24:c1:35:94
net_open: client addr: 192.168.0.24
net_open: subnet mask: 255.255.0.0
net_open: net gateway: 192.168.1.1
net_open: server addr: 0.0.0.0
net_open: server path: /bsd/current/release/i386/binary/kernel
net_open: file name: pxeboot_ia32.bin
read header: Unknown error: code 72
boot: Unknown error: code 72

we have:
#define EBADRPC         72              /* RPC struct is bad */

The request in question is:
22:13:39.897605 IP (tos 0x0, ttl  20, id 41, offset 0, flags [none], length: 132) skris.l8s.co.uk.5 > 0.0.0.0.nfs: 104 read fh 0,5/1931 1024 bytes @ 0
        0x0000:  ffff ffff ffff 0000 24c1 3594 0800 4500  ........$.5...E.
        0x0010:  0084 0029 0000 1411 e580 c0a8 0018 0000  ...)............
        0x0020:  0000 03ff 0801 0070 e7b1 0000 0005 0000  .......p........
        0x0030:  0000 0000 0002 0001 86a3 0000 0002 0000  ................
        0x0040:  0006 0000 0001 0000 0014 0000 0000 0000  ................
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0500 0000 8b07 0000 0c00  ................
        0x0070:  0000 6543 3100 8137 0c51 0000 0000 0000  ..eC1..7.Q......
        0x0080:  0000 0000 0000 0000 0000 0000 0400 0000  ................
        0x0090:  0000                                     ..

And the reply:
22:13:39.897634 IP (tos 0x0, ttl  64, id 5607, offset 0, flags [none], length: 1152) lexive.l8s.co.uk.nfs > skris.l8s.co.uk.5: reply ok 1124
        0x0000:  0000 24c1 3594 0011 2ff6 4679 0800 4500  ..$.5.../.Fy..E.
        0x0010:  0480 15e7 0000 4011 df04 c0a8 0019 c0a8  ......@.........
        0x0020:  0018 0801 03ff 046c b6f8 0000 0005 0000  .......l........
        0x0030:  0001 0000 0000 0000 0000 0000 0000 0000  ................
        0x0040:  0000 0000 0000 0000 0001 0000 8124 0000  .............$..
        0x0050:  0001 0000 03e9 0000 0000 0089 3658 0000  ............6X..
        0x0060:  8000 0097 1078 0000 4500 0000 0005 0031  .....x..E......1
        0x0070:  4365 43a7 3093 000d b25c 436d cea2 000b  CeC.0....\Cm....
        0x0080:  b439 436d e7e6 000b cfa4 0000 0400 7f45  .9Cm...........E
        0x0090:  4c46 0101 0100 0000 0000 0000 0000 0200  LF..............
        ...

To save my brain from exploding, does anyone know if these packets
are incorrect - or why the pxeboot code is confused?

	David

-- 
David Laight: david@l8s.co.uk