On Wed, 2006-08-16 at 10:10 +0100, Tom Cosgrove wrote:
> >>> Jeff Quast 16-Aug-06 02:29 >>>
> >
> > if you had used tcpdump -Xs 99 you would have seen in the first few
> > packets of the negotiation, the wrap netboot client sent a request for
> > changing the packet length. This was silently ignored by the OpenBSD
> > tftpd, because it is not supported. When the wrap recieved a packet
> > smaller than the packetlength it asked for, it assumed EOF and began
> > executing....
>
> If by "packet length" Jeff means changing the blocksize, note that this
> was recently added to -current (which is now 4.0-beta) by [EMAIL PROTECTED]
>
> So the OP could try with this, and at the same time help us test for the
> upcoming release.
first my apologies for not reading the faq on updating to -current
If have upgraded to current by snapshots and rebuild os + kernel to 4.0
last night from a yesterdays checkout.
config:
/tftpboot/etc/boot.conf
set tty com 9600
set tty com0
set image bsd.rd
ls -l /tftpboot
-rwxrwxrwx 1 root wheel 4986212 Aug 17 17:51 bsd.rd
drwxrwxrwx 2 root wheel 512 Aug 17 17:53 etc
-rwxrwxrwx 1 root wheel 49724 Aug 17 17:56 pxeboot
soekris still boots fine here and boots to bsd.rd
CLIENT MAC ADDR: 00 00 24 C5 59 8C
CLIENT IP: 192.168.10.34 MASK: 255.255.255.0 DHCP IP: 192.168.10.1
GATEWAY IP: 192.168.10.1
probing: pc0 com0 com1 pci pxe![2.1] mem[639K 63M a20=on]
disk: hd0+*
net: mac 00:00:24:c5:59:8c, ip 192.168.10.34, server 192.168.10.1
>> OpenBSD/i386 PXEBOOT 1.09
pc0
switching console to com0
>> OpenBSD/i386 PXEBOOT 1.09
boot>
booting tftp:bsd.rd: 4673428+739940 [52+163024+149088]=0x575ed0
entry point at 0x200120
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights
reserved.
Copyright (c) 1995-2006 OpenBSD. All rights reserved.
http://www.OpenBSD.org
OpenBSD 4.0-beta (RAMDISK_CD) #3: Tue Aug 15 15:56:08 MDT 2006
last line in console when pxebooting the wrap is:
dp83815: Setting full-duplex based on negotiated link capability.
Searching for server (DHCP)...
Me: 192.168.10.32, Server: 192.168.10.1, Gateway 192.168.10.1
Loading 192.168.10.1:pxeboot (PXE)done
probing: pc0 com0 pci pxe![2.1]
I have put more data (dmesg, tcpdump, console info from wrap and soekris
while booting) http://vijn.xs4all.nl/wrap/wrap_pxe.txt
at the start of tcpdump:
client tells server ==> pxeboot.octet.blksize.1432.
tftp.c add 4 to it, so that seems correct (assumptiom)
later in tcpdump:
14:44:32.112197 192.168.10.1.13302 > 192.168.10.32.2001: udp 1436
0000: 4500 05b8 0aa6 0000 4011 d51d c0a8 0a01
[EMAIL PROTECTED]
0010: c0a8 0a20 33f6 07d1 05a4 3079 0003 0020 \xc0\xa8. 3
\xf6.\xd1.\xa40y...
0020: 2074 7373 2066 6175 6c74 0073 6567 6d65 tss fault.segme
0030: 6e74 206e 6f74 2070 7265 7365 6e74 2066 nt not present f
0040: 6175 6c74 0073 7461 636b 2066 6175 6c74 ault.stack fault
0050: 006d 6163 68 .mach
it seems at the point where info is gathered about memory size
here "mem[639K 63M a20=on]" appears when booting the soekris.
kind regards,
Marten