Subject: NetBSD 2.0.2 install netboot problem
To: None <port-macppc@NetBSD.org>
From: Tomas D <u0giene@yahoo.com>
List: port-macppc
Date: 05/21/2005 04:11:24
showmount -e 127.0.0.1
Hi, it's me again.
I'm having a problem netbooting netbsd 2.0.2 install,
the following are set on system(192.168.100.15) that
mac(192.168.100.10) is trying to connect to:
1. dhcpd(8) in bootpd(8) compatible mode
2. tftpd(8)
3. nfsd(8), mountd(8), and rpcbind(8)
#mac- 192.168.100.10
Open Firmware, 1.0.5
To continue booting the MacOS type:
BYE<return>
To continue booting from the default boot device type:
BOOT<return>
ok
0 > boot enet:,ofwboot.xcf file:
192.168.100.15,ofwboot.xcf- XCOFF
tsize=C860 dsize=28C bsize=25C0 entry=E00000
SECTIONS:
.text 00E00000 00E00000 0000C860 000000E0
.data 00E0D000 00E0D000 0000028C 0000C940
.bss 00E0D290 00E0D290 000025C0 00000000
loading .text, done..
loading .data, done..
clearing .bss, done..
>> NetBSD/macppc OpenFirmware Boot, Revision 1.10
>> (jmc@faith.netbsd.org, Tue Mar 22 15:50:28 UTC
2005)
file: 192.168.100.15,ofwboot.xcfnet_open: client addr:
192.168.100.10
net_open: subnet mask: 255.255.255.0
net_open: net gateway: 192.168.100.100
net_open: server addr: 192.168.100.15
net_open: file name: ofwboot.xcf
Using IP address: 192.168.100.10
root addr=192.168.100.15 path=
open /netbsd: Permission denied
file: 192.168.100.15,ofwboot.xcfnet_open: client addr:
192.168.100.10
net_open: subnet mask: 255.255.255.0
net_open: net gateway: 192.168.100.100
net_open: server addr: 192.168.100.15
net_open: file name: ofwboot.xcf
Using IP address: 192.168.100.10
root addr=192.168.100.15 path=
open /netbsd.gz: Permission denied
file: 192.168.100.15,ofwboot.xcfnet_open: client addr:
192.168.100.10
net_open: subnet mask: 255.255.255.0
net_open: net gateway: 192.168.100.100
net_open: server addr: 192.168.100.15
net_open: file name: ofwboot.xcf
Using IP address: 192.168.100.10
root addr=192.168.100.15 path=
open /netbsd.macppc: Permission denied
Boot: netbsd
no active packagefile:
192.168.100.15,ofwboot.xcfnet_open: client addr:
192.168.100.10
net_open: subnet mask: 255.255.255.0
net_open: net gateway: 192.168.100.100
net_open: server addr: 192.168.100.15
net_open: file name: ofwboot.xcf
Using IP address: 192.168.100.10
root addr=192.168.100.15 path=
open netbsd: Permission denied
Boot:
I'm pretty much sure that everyone understands that
upto point where I set up dhcpd and tfptd things seem
to be ok, I do believe that my nfs shares are set
correctly too (although not everyone would agree for
obvious reason- open /netbsd.gz: Permission denied)
so I'll quickly walk through my nfs config:
#server- 192.168.100.15
/etc/exports
/export/client/root -maproot=root 192.168.100.10
/export/client/root -maproot=root 127.0.0.1
/export/client/root -maproot=root 192.168.100.201
ls -la /export/client/root/ total 1936
drwxrwxrwx 2 nobody nogroup 512 .
drwxrwxrwx 3 nobody nogroup 512 ..
-rwxrwxrwx 1 nobody nogroup 1786837 netbsd.gz
-rwxrwxrwx 1 nobody nogroup 69724 netsym.gz
-rwxrwxrwx 1 nobody nogroup 55124 ofwboot.elf
-rwxrwxrwx 1 nobody nogroup 52172 ofwboot.xcf
booting up old netbsd on mac to check weather nfs
share is aviable:
#mac- 192.168.100.10
[root@wally wally]# ping 192.168.100.15
PING 192.168.100.15 (192.168.100.15): 56 data bytes
64 bytes from 192.168.100.15: icmp_seq=0 ttl=255
time=0.990 ms
64 bytes from 192.168.100.15: icmp_seq=1 ttl=255
time=0.882 ms
64 bytes from 192.168.100.15: icmp_seq=2 ttl=255
time=0.820 ms
[root@wally wally]# showmount -e 192.168.100.15
Exports list on 192.168.100.15:
/export/client/root 192.168.100.10
127.0.0.1 192.168.100.201
[root@wally wally]# mount_nfs 192.168.100.15: /mnt
mount_nfs: can't access : Permission denied
[root@wally wally]# mount_nfs
192.168.100.15:/export/client/root /mnt
[root@wally wally]# ls -la /mnt
total 1936
drwxrwxrwx 2 nobody nogroup 512 .
drwxr-xr-x 22 root wheel 512 ..
-rwxrwxrwx 1 nobody nogroup 1786837 netbsd.gz
-rwxrwxrwx 1 nobody nogroup 69724 netsym.gz
-rwxrwxrwx 1 nobody nogroup 55124 ofwboot.elf
-rwxrwxrwx 1 nobody nogroup 52172 ofwboot.xcf
if I cannot do:
mount_nfs 192.168.100.15: /mnt and root
addr=192.168.100.15 path=
then how do I have to make ofwboot to set path to
/export/client/root?
or there's something wrong with my nfs configuration?
thanks everyone for your help and time
best regards
Tomas
__________________________________
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail