Subject: problem netbooting iBook
To: None <port-macppc@netbsd.org>
From: Ronald van der Pol <Ronald.vanderPol@rvdp.org>
List: port-macppc
Date: 05/10/2003 19:50:44
I just bought an iBook and I am trying to netboot NetBSD on it.
It loads the ofwboot.xcf via tftp, but then it fails.
I do:
0 > boot net:0,ofwboot.xcf netbsd
The dhcp, tftp and nfs daemon are on the same NetBSD i386 machine.
This is my /etc/dhcpd.conf:
---------------------------------------------
# option definitions common to all supported networks...
option domain-name "rvdp.org";
default-lease-time 604800; # 1 week
max-lease-time 2592000; # 30 days
ddns-update-style none;
allow bootp;
authoritative;
subnet 10.0.0.0 netmask 255.255.255.128 {
option routers 10.0.0.1;
option domain-name-servers 10.0.0.2, 213.53.69.39;
}
class "pxe-clients-ia32" {
match if substring (option vendor-class-identifier, 0, 20) =
"PXEClient:Arch:00000";
filename "pxeboot.bin";
}
# iBook Ethernet
host spock-ethernet {
hardware ethernet 0:a:95:86:ea:54;
fixed-address 10.0.0.34;
option host-name "spock.rvdp.org";
filename "ofwboot.xcf";
next-server 10.0.0.2;
option root-path "/export/clients/spock/root";
}
---------------------------------------------
0 > boot enet:0,ofwboot.xcf netbsd
CLIENT: 000a9586ea54 10.0.0.34
SERVER: 0000c50de597 10.0.0.2
Transfer FILE: ofwboot.xcf \
TFTP-actual=e1dc TFTP-adler32=435ec885 load-size=e1dc adler32=435ec885
loading XCOFF
tsize=cc50 dsize=14ac bsize=2668 entry=640000
SECTIONS:
.text 00640000 00640000 0000cc50 000000e0
.data 0064d000 0064d000 000014ac 0000cd30
.bss 0064e4b0 0064e4b0 00002668 00000000
loading .text, done..
loading .data, done..
clearing .bss, done..
>> NetBSD/macppc OpenFirmware Boot, Revision 1.7
>> (autobuild@tgm.daemon.org, Tue Apr 8 14:55:46 UTC 2003)
BOOTP/BSDP failed: no FILENAME specifiedopen netbsd: Device not configured
Boot:
---------------------------------------------
This is the network traffic after the tftp:
19:35:29.764832 10.0.0.2.54929 > 10.0.0.34.49152: [udp sum ok] udp 480 (ttl 64, id 56323, len 508)
19:35:29.765458 10.0.0.34.49152 > 10.0.0.2.54929: [udp sum ok] udp 4 (ttl 30, id 0, len 32)
19:35:29.794780 0.0.0.0.68 > 255.255.255.255.67: [udp sum ok] xid:0x371f5 vend-rfc1048 DHCP:DISCOVER VC:"AAPLBSDPC/ppc/PowerBook4,3" VO:2.2.1.0.255 PR:SM+DG+VO+VC T220:0 T221:65.112.112.108.101.32.77.97.99.78.67 (ttl 30, id 0, len 332)
19:35:29.795836 10.0.0.2.67 > 10.0.0.34.68: [udp sum ok] xid:0x371f5 Y:10.0.0.34 S:10.0.0.2 file "ofwboot.xcf" vend-rfc1048 DHCP:OFFER SID:10.0.0.2 LT:604800 SM:255.255.255.128 DG:10.0.0.1 [tos 0x10] (ttl 16, id 0, len 328)
19:35:29.796557 10.0.0.34.68 > 255.255.255.255.67: [udp sum ok] xid:0x371f5 S:10.0.0.2 vend-rfc1048 DHCP:REQUEST SID:10.0.0.2 RQ:10.0.0.34 VC:"AAPLBSDPC/ppc/PowerBook4,3" PR:SM+DG+VO+VC (ttl 30, id 0, len 328)
19:35:29.799213 10.0.0.2.67 > 10.0.0.34.68: [udp sum ok] xid:0x371f5 Y:10.0.0.34 S:10.0.0.2 file "ofwboot.xcf" vend-rfc1048 DHCP:ACK SID:10.0.0.2 LT:604800 SM:255.255.255.128 DG:10.0.0.1 [tos 0x10] (ttl 16, id 0, len 328)
19:35:29.799921 arp who-has 10.0.0.34 tell 0.0.0.0
19:35:34.992638 10.0.0.34.68 > 255.255.255.255.67: [udp sum ok] xid:0x371f6 C:10.0.0.34 vend-rfc1048 DHCP:INFORM VC:"AAPLBSDPC/ppc/PowerBook4,3" VO:2.2.1.0.1.1.1.255 PR:VO+VC (ttl 30, id 0, len 328)
19:35:34.993692 10.0.0.2.67 > 10.0.0.34.68: [udp sum ok] xid:0x371f6 C:10.0.0.34 S:10.0.0.2 vend-rfc1048 DHCP:ACK SID:10.0.0.2 (ttl 64, id 56324, len 328)
19:35:43.069390 10.0.0.34.68 > 255.255.255.255.67: [udp sum ok] xid:0x371f7 C:10.0.0.34 vend-rfc1048 DHCP:INFORM VC:"AAPLBSDPC/ppc/PowerBook4,3" VO:2.2.1.0.1.1.1.255 PR:VO+VC (ttl 30, id 0, len 328)
19:35:43.070455 10.0.0.2.67 > 10.0.0.34.68: [udp sum ok] xid:0x371f7 C:10.0.0.34 S:10.0.0.2 vend-rfc1048 DHCP:ACK SID:10.0.0.2 (ttl 64, id 56325, len 328)
19:35:59.209871 10.0.0.34.68 > 255.255.255.255.67: [udp sum ok] xid:0x371f8 C:10.0.0.34 vend-rfc1048 DHCP:INFORM VC:"AAPLBSDPC/ppc/PowerBook4,3" VO:2.2.1.0.1.1.1.255 PR:VO+VC (ttl 30, id 0, len 328)
19:35:59.211007 10.0.0.2.67 > 10.0.0.34.68: [udp sum ok] xid:0x371f8 C:10.0.0.34 S:10.0.0.2 vend-rfc1048 DHCP:ACK SID:10.0.0.2 (ttl 64, id 56335, len 328)
19:36:31.561856 10.0.0.34.68 > 255.255.255.255.67: [udp sum ok] xid:0x371f9 C:10.0.0.34 vend-rfc1048 DHCP:INFORM VC:"AAPLBSDPC/ppc/PowerBook4,3" VO:2.2.1.0.1.1.1.255 PR:VO+VC (ttl 30, id 0, len 328)
19:36:31.562939 10.0.0.2.67 > 10.0.0.34.68: [udp sum ok] xid:0x371f9 C:10.0.0.34 S:10.0.0.2 vend-rfc1048 DHCP:ACK SID:10.0.0.2 (ttl 64, id 56336, len 328)
19:37:36.444813 10.0.0.34.68 > 255.255.255.255.67: [udp sum ok] xid:0x371fa C:10.0.0.34 vend-rfc1048 DHCP:INFORM VC:"AAPLBSDPC/ppc/PowerBook4,3" VO:2.2.1.0.1.1.1.255 PR:VO+VC (ttl 30, id 0, len 328)
19:37:36.445886 10.0.0.2.67 > 10.0.0.34.68: [udp sum ok] xid:0x371fa C:10.0.0.34 S:10.0.0.2 vend-rfc1048 DHCP:ACK SID:10.0.0.2 (ttl 64, id 56346, len 328)
---------------------------------------------
I do NOT see network traffic that indicates that the
"/export/clients/spock/root" information is sent to the iBook.
kirk# showmount -e 10.0.0.2
Exports list on 10.0.0.2:
/usr/pkgsrc 10.0.0.0
/home/rvdp 10.0.0.0
/export/clients/spock/usr 10.0.0.34
/export/clients/spock/root 10.0.0.34
/export/clients/scotty/usr 10.0.0.35
/export/clients/scotty/swap 10.0.0.35
/export/clients/scotty/root 10.0.0.35
/export/clients/net4501 10.0.0.0
/export/NetBSD-current 10.0.0.0
kirk#
kirk# ls -l /export/clients/spock/
total 2
drwxr-xr-x 13 root wheel 512 May 10 01:46 root
drwxr-xr-x 13 root wheel 512 Apr 8 15:30 usr
kirk#
kirk# ls -l /export/clients/spock/root/netbsd
-rwxr-xr-x 1 root wheel 4262120 Apr 8 17:07 /export/clients/spock/root/netbsd
kirk#
Any suggestions?
rvdp
PS I have experience with netbooting NetBSD. I can successfully netboot
a SPARCstation 1 and pxebooting a Soekris net4501.