Hi,

I've installed a i386 soekris box (10.0.0.27, called wormhole) from current 
snapshot, 
and trying to netboot a vax and a sparc, but I guess, they don't get to the 
bootparamd.
Here what I see from the vax (10.0.0.30), which loads the boot.mop from mopd 
running on the same
server fine, then in the boot prompt of the boot loader I get:

> boot
Trying BOOTPARAMS
boot: client IP address: 10.0.0.30
boot: client name: daedalus
nfs_open: must mount first.
open bsd: Invalid argument
bsd: boot failed: Invalid argument

This is the configuration on my soekris box with regard to rarpd, bootparamd, 
and nfs server with regard
to the vax (called daedalus) netboot configuration:

# cat /etc/bootparams
daedalus                root=wormhole:/export/vax
# cat /etc/ethers
08:00:2B:2D:33:2C       daedalus
# cat /etc/exports
/export/vax     -maproot=root:wheel 10.0.0.30
# rpcinfo -p localhost
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100005    1   udp    663  mountd
    100005    3   udp    663  mountd
    100005    1   tcp    702  mountd
    100005    3   tcp    702  mountd
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100026    1   udp    805  bootparam
# showmount -e localhost
Exports list on localhost:
/export/vax                        10.0.0.30
# ls -l /export/vax/
total 5024
-rw-r--r--  1 sebastia  wheel  2547676 May 11 01:43 bsd
~# ping daedalus
PING daedalus.ds9 (10.0.0.30): 56 data bytes
--- daedalus.ds9 ping statistics ---
2 packets transmitted, 0 packets received, 100.0% packet loss

With tcpdump I've seen, what I guess its getting rarp information correctly, 
then
broadcasting to try to find the bootparamd, the portmapper on my box answers,
and then its what I guess trying to contact the bootparamd, but this fails.
As I guess, its trying to contact the bootparamd on UDP port 639, but there
is nothing listen, bootparamd is listening on UDP 805. 
Does the portmapper give out the wrong port?

root@wormhole:~# tcpdump -n -i vr0 -e -ttt -vvv -s 2000 -X host 10.0.0.30
tcpdump: listening on vr0, link-type EN10MB
May 13 09:01:54.903204 00:00:24:c9:d4:98 08:00:2b:2d:33:2c 8035 42: rarp reply 
08:00:2b:2d:33:2c at 10.0.0.30
  0000: 0800 2b2d 332c 0000 24c9 d498 8035 0001  ..+-3,..$....5..
  0010: 0800 0604 0004 0000 24c9 d498 0a00 001b  ........$.......
  0020: 0800 2b2d 332c 0a00 001e                 ..+-3,....

May 13 09:01:54.941453 08:00:2b:2d:33:2c ff:ff:ff:ff:ff:ff 0800 138: 
10.0.0.30.986 > 255.255.255.255.111: [udp sum ok] udp 96 (ttl 4, id 0, len 124)
  0000: ffff ffff ffff 0800 2b2d 332c 0800 4500  ........+-3,..E.
  0010: 007c 0000 0000 0411 ac54 0a00 001e ffff  .|.......T......
  0020: ffff 03da 006f 0068 e2d6 0000 0027 0000  .....o.h.....'..
  0030: 0000 0000 0002 0001 86a0 0000 0002 0000  ................
  0040: 0005 0000 0001 0000 0014 0000 0000 0000  ................
  0050: 0000 0000 0000 0000 0000 0000 0000 0000  ................
  0060: 0000 0000 0000 0001 86ba 0000 0001 0000  ................
  0070: 0001 0000 0014 0000 0001 0000 000a 0000  ................
  0080: 0000 0000 0000 0000 001e                 ..........

^^^^
the broadcast to the portmapper

May 13 09:01:54.949153 00:00:24:c9:d4:98 08:00:2b:2d:33:2c 0800 110: 
10.0.0.27.111 > 10.0.0.30.986: [bad udp cksum 9f2d!] udp 68 (ttl 64, id 49240, 
len 96, bad cksum 0! differs by a5fc)
  0000: 0800 2b2d 332c 0000 24c9 d498 0800 4500  ..+-3,..$.....E.
  0010: 0060 c058 0000 4011 0000 0a00 001b 0a00  .`.X..@.........
  0020: 001e 006f 03da 004c 1496 0000 0027 0000  ...o...L.....'..
  0030: 0001 0000 0000 0000 0000 0000 0000 0000  ................
  0040: 0000 0000 0325 0000 0024 0000 0008 6461  .....%...$....da
  0050: 6564 616c 7573 0000 0000 0000 0001 0000  edalus..........
  0060: 007f 0000 0000 0000 0000 0000 0001       ..............
^^^^
the answer

May 13 09:01:54.980649 08:00:2b:2d:33:2c 00:00:24:c9:d4:98 0800 122: 
10.0.0.30.985 > 10.0.0.27.639: [udp sum ok] udp 80 (ttl 4, id 0, len 108)
  0000: 0000 24c9 d498 0800 2b2d 332c 0800 4500  ..$.....+-3,..E.
  0010: 006c 0000 0000 0411 a249 0a00 001e 0a00  .l.......I......
  0020: 001b 03d9 027f 0058 db1a 0000 0028 0000  .......X.....(..
  0030: 0000 0000 0002 0001 86ba 0000 0001 0000  ................
  0040: 0002 0000 0001 0000 0014 0000 0000 0000  ................
  0050: 0000 0000 0000 0000 0000 0000 0000 0000  ................
  0060: 0000 0000 0000 0000 0008 6461 6564 616c  ..........daedal
  0070: 7573 0000 0004 726f 6f74                 us....root
^^^^
and here I think its trying to contact the bootparamd on the wrong port asking 
for the root device??

May 13 09:01:54.980829 00:00:24:c9:d4:98 08:00:2b:2d:33:2c 0800 70: 10.0.0.27 > 
10.0.0.30: icmp: 10.0.0.27 udp port 639 unreachable [icmp cksum ok] for 
10.0.0.30.985 > 10.0.0.27.639: udp 80 (ttl 4, id 0, len 108) (ttl 255, id 
16199, len 56, bad cksum 0! differs by 6845)
  0000: 0800 2b2d 332c 0000 24c9 d498 0800 4500  ..+-3,..$.....E.
  0010: 0038 3f47 0000 ff01 0000 0a00 001b 0a00  .8?G............
  0020: 001e 0303 1b32 0000 0000 4500 006c 0000  .....2....E..l..
  0030: 0000 0411 a249 0a00 001e 0a00 001b 03d9  .....I..........
  0040: 027f 0058 db1a                           ...X..

May 13 09:02:00.377072 08:00:2b:2d:33:2c 00:00:24:c9:d4:98 0800 122: 
10.0.0.30.985 > 10.0.0.27.639: [udp sum ok] udp 80 (ttl 4, id 0, len 108)
  0000: 0000 24c9 d498 0800 2b2d 332c 0800 4500  ..$.....+-3,..E.
  0010: 006c 0000 0000 0411 a249 0a00 001e 0a00  .l.......I......
  0020: 001b 03d9 027f 0058 db1a 0000 0028 0000  .......X.....(..
  0030: 0000 0000 0002 0001 86ba 0000 0001 0000  ................
  0040: 0002 0000 0001 0000 0014 0000 0000 0000  ................
  0050: 0000 0000 0000 0000 0000 0000 0000 0000  ................
  0060: 0000 0000 0000 0000 0008 6461 6564 616c  ..........daedal
  0070: 7573 0000 0004 726f 6f74                 us....root

May 13 09:02:00.377237 00:00:24:c9:d4:98 08:00:2b:2d:33:2c 0800 70: 10.0.0.27 > 
10.0.0.30: icmp: 10.0.0.27 udp port 639 unreachable [icmp cksum ok] for 
10.0.0.30.985 > 10.0.0.27.639: udp 80 (ttl 4, id 0, len 108) (ttl 255, id 
39927, len 56, bad cksum 0! differs by b95)
  0000: 0800 2b2d 332c 0000 24c9 d498 0800 4500  ..+-3,..$.....E.
  0010: 0038 9bf7 0000 ff01 0000 0a00 001b 0a00  .8..............
  0020: 001e 0303 1b32 0000 0000 4500 006c 0000  .....2....E..l..
  0030: 0000 0411 a249 0a00 001e 0a00 001b 03d9  .....I..........
  0040: 027f 0058 db1a                           ...X..

May 13 09:02:06.320139 08:00:2b:2d:33:2c 00:00:24:c9:d4:98 0800 122: 
10.0.0.30.985 > 10.0.0.27.639: [udp sum ok] udp 80 (ttl 4, id 0, len 108)
  0000: 0000 24c9 d498 0800 2b2d 332c 0800 4500  ..$.....+-3,..E.
  0010: 006c 0000 0000 0411 a249 0a00 001e 0a00  .l.......I......
  0020: 001b 03d9 027f 0058 db1a 0000 0028 0000  .......X.....(..
  0030: 0000 0000 0002 0001 86ba 0000 0001 0000  ................
  0040: 0002 0000 0001 0000 0014 0000 0000 0000  ................
  0050: 0000 0000 0000 0000 0000 0000 0000 0000  ................
  0060: 0000 0000 0000 0000 0008 6461 6564 616c  ..........daedal
  0070: 7573 0000 0004 726f 6f74                 us....root

and this is going on until it times out.

I maybe doing something wrong with my setup?

What I then tried is to setup rarpd and bootparamd on an older amd64,
but still NFS on the soekris box, so copying over the /etc/ethers nad
/etc/bootparams. Then the VAX got up to the point:

> boot
Trying BOOTPARAMS
boot: client IP address: 10.0.0.30
boot: client name: daedalus
root addr=10.0.0.27 path=/export/vax
nfs_open: must mount first.
open bsd: Invalid argument
bsd: boot failed: Invalid argument

Then I reconfigured the bootparams on the amd64, to poing the NFS 
root to the amd64 itself, and then the VAX just booted the bsd.rd fine
from the amd64.

dmesg from my soekris box:
OpenBSD 5.5-current (GENERIC) #104: Sun May 11 07:51:32 MDT 2014
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 500 
MHz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW
real mem  = 536375296 (511MB)
avail mem = 515190784 (491MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 20/80/26, BIOS32 rev. 0 @ 0xfac40
pcibios0 at bios0: rev 2.0 @ 0xf0000/0x10000
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc8000/0xa800
cpu0 at mainbus0: (uniprocessor)
mtrr: K6-family MTRR support (2 registers)
amdmsr0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
0:20:0: io address conflict 0x6100/0x100
0:20:0: io address conflict 0x6200/0x200
pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x31
glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES
vr0 at pci0 dev 6 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11, address 
00:00:24:c9:d4:98
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, 
model 0x0034
vr1 at pci0 dev 7 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 5, address 
00:00:24:c9:d4:99
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, 
model 0x0034
vr2 at pci0 dev 8 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 9, address 
00:00:24:c9:d4:9a
ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, 
model 0x0034
vr3 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 12, address 
00:00:24:c9:d4:9b
ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, 
model 0x0034
puc0 at pci0 dev 14 function 0 "Sunix 40XX" rev 0x01: ports: 8 com
com4 at puc0 port 0 irq 10: ti16750, 64 byte fifo
com4: probed fifo depth: 32 bytes
com5 at puc0 port 1 irq 10: ti16750, 64 byte fifo
com5: probed fifo depth: 32 bytes
com6 at puc0 port 2 irq 10: ti16750, 64 byte fifo
com6: probed fifo depth: 32 bytes
com7 at puc0 port 3 irq 10: ti16750, 64 byte fifo
com7: probed fifo depth: 32 bytes
com8 at puc0 port 4 irq 10: ti16750, 64 byte fifo
com8: probed fifo depth: 32 bytes
com9 at puc0 port 5 irq 10: ti16750, 64 byte fifo
com9: probed fifo depth: 32 bytes
com10 at puc0 port 6 irq 10: ti16750, 64 byte fifo
com10: probed fifo depth: 32 bytes
com11 at puc0 port 7 irq 10: ti16750, 64 byte fifo
com11: probed fifo depth: 32 bytes
glxpcib0 at pci0 dev 20 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 32-bit 
3579545Hz timer, watchdog, gpio, i2c
gpio0 at glxpcib0: 32 pins
iic0 at glxpcib0
pciide0 at pci0 dev 20 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <SanDisk SDCFH-002G>
wd0: 1-sector PIO, LBA, 1918MB, 3928176 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 21 function 0 "AMD CS5536 USB" rev 0x02: irq 15, version 1.0, 
legacy support
ehci0 at pci0 dev 21 function 1 "AMD CS5536 USB" rev 0x02: irq 15
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1
isa0 at glxpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 10: GPIO VLM TMS
gpio1 at nsclpcsio0: 29 pins
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (c162d6ea17ee1d21.a) swap on wd0b dump on wd0b

Reply via email to