Subject: netbooting sparc64 - "read phdr: Unknown error: code 0"
To: None <netbsd-users@netbsd.org>
From: Joel CARNAT <joel@carnat.net>
List: netbsd-users
Date: 12/15/2004 00:12:53
Hi,
I have a problem with my netboot server.
I try to netboot an U5 from an i386 NetBSD (2.0_RC5) server and if fails
saying :
Rebooting with command: boot net
Boot device: /pci@1f,0/pci@1,1/network@1,1 File and args:
13000 >> NetBSD/sparc64 OpenFirmware Boot, Revision 1.7
>> (builds@build, Thu Dec 2 02:33:41 UTC 2004)
net_open: client addr: 192.168.0.2
net_open: subnet mask: 255.255.255.0
net_open: net gateway: 192.168.0.1
net_open: server addr: 192.168.0.1
net_open: server path: /tftpboot/client/root
net_open: file name: ofwboot.net
Using BOOTP protocol: ip address: 192.168.0.2, hostname: client, netmask: 255.255.255.0, gateway: 192.168.0.1
root addr=192.168.0.1 path=/tftpboot/client/root
loadfile: reading header
elf32_exec: Booting /pci@1f,0/pci@1,1/network@1,1/netbsd
read phdr: Unknown error: code 0
Program terminated
ok
I've already done such a thing (with a FreeBSD server, but for NetBSD
1.6.2) and it went OK (aka, I did have some notes which I used to setup
the NetBSD bootnet server - AND still used NetBSD HOWTO document).
Does anyone know which process makes such an error ?
Would my dhcpd.conf be wrong or would I miss some file in my NFS mount
point ? I used various "filename" value but it doesn't seem to be the
issue :(
TIA,
Jo
--
This mail runs NetBSD/i386
# cat /etc/dhcpd.conf
deny unknown-clients;
ddns-update-style none;
allow bootp;
subnet 192.168.0.0 netmask 255.255.255.0 { }
group {
option broadcast-address 192.168.0.255;
option domain-name "tumfatig.net";
option domain-name-servers 192.168.0.1;
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
host client.tumfatig.net {
hardware ethernet xx:xx:xx:xx:xx:xx;
fixed-address 192.168.0.2;
option host-name "client";
filename "ofwboot.net";
# filename "netbsd";
next-server 192.168.0.1;
option root-path "/tftpboot/client/root";
}
}