Possible bootstrap problem with nfs mount?
Hi all,
I'm encountering problems trying to nfs mount a ifle system to the debian
bootstrap system during an install. I'll try to provide all details I can
think of below.
The base system is RH7.3, the nfs mount problem has occurred with both
hercules versions 2.16.5 and 2.17.1 running Debian-390 (woody,r1). I have an
already-configured Debian-390 image that runs fine under both hercules 2.16.5
and under 2.17.1 and can nfs mount directories from the base RH7.3 system
with no trouble, both RO and RW directories. Both versions of hercules are
configured and built on the base RH system, not installed from pre-built
rpm's.
I'm testing the install with a new Debian-390 DVD from one of the official
Debian cd vendors, http://www.linux-cd.com. The bootstrap image boots OK,
gets all the way through to "Install Kernel and Driver Modules" and then asks
where to get the packages from. I specify nfs and use
"192.168.1.101:/mnt/cdrom" as the nfs source, and the system returns these
error messages in the /var/log/messages file (192.168.1.101 is the IP address
of the base RH system):
Feb 15 05:13:48 (none) user.info dbootstrap[303]: mount: Mounting
192.168.1.101:/mnt/cdrom on /instmnt failed: Invalid argument
Feb 15 05:13:48 (none) user.err dbootstrap[303]: Error mounting NFS filesystem
`192.168.1.101:/mnt/cdrom', please try again.
Feb 15 05:13:57 (none) daemon.warn telnetd[321]: doit: getaddrinfo: Name or
service not known
I can ping the base RH system from the bootstrap image, as shown here:
# ping -c 3 192.168.1.101
PING 192.168.1.101 (192.168.1.101): 56 data bytes
64 bytes from 192.168.1.101: icmp_seq=0 ttl=64 time=4.7 ms
64 bytes from 192.168.1.101: icmp_seq=1 ttl=64 time=3.6 ms
64 bytes from 192.168.1.101: icmp_seq=2 ttl=64 time=4.8 ms
--- 192.168.1.101 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 3.6/4.3/4.8 ms
Is this a known problem? Is there anything else I can tell you that will help
me resolve the problem? Here are the things I know:
ifconfig from the bootstrap image after the error has ocurred:
# ifconfig
ctc0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:192.168.10.2 P-t-P:192.168.10.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MTU:32760 Metric:1
RX packets:418 errors:0 dropped:0 overruns:0 frame:0
TX packets:304 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:23792 (23.2 kb) TX bytes:77285 (75.4 kb)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
And here is the matching ifconfig from the base RH system (this is with
hercules version 2.17.1):
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:04:E2:20:76:3A
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8238 errors:0 dropped:0 overruns:0 frame:0
TX packets:5524 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:9290836 (8.8 Mb) TX bytes:786125 (767.7 Kb)
Interrupt:9 Base address:0xa000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:234 errors:0 dropped:0 overruns:0 frame:0
TX packets:234 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:20284 (19.8 Kb) TX bytes:20284 (19.8 Kb)
tun0 Link encap:Point-to-Point Protocol
inet addr:192.168.10.1 P-t-P:192.168.10.2 Mask:255.255.255.252
UP POINTOPOINT RUNNING MTU:2000 Metric:1
RX packets:313 errors:0 dropped:0 overruns:0 frame:0
TX packets:427 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
RX bytes:77351 (75.5 Kb) TX bytes:24293 (23.7 Kb)
Here is the hercules config file:
# cat conf/linux390-tape.conf
CPUSERIAL 002623 # CPU serial number
CPUMODEL 3090 # CPU model number
MAINSIZE 64 # Main storage size in megabytes
XPNDSIZE 0 # Expanded storage size in megabytes
CNSLPORT 3270 # TCP port number to which consoles connect
#HTTPPORT 8081 # HTTP server port
NUMCPU 1 # Number of CPUs
LOADPARM 0120.... # IPL parameter
OSTAILOR LINUX # OS tailoring
PANRATE FAST # Panel refresh rate
ARCHMODE ESA/390 # Architecture mode S/370, ESA/390 or ESAME
0180 3480 ./tapes/d390cd.tdf
0e20 3088 CTCI /dev/net/tun 2000 192.168.10.2 192.168.10.1 255.255.255.252
0e21 3088 CTCI /dev/net/tun 2000 192.168.10.2 192.168.10.1 255.255.255.252
0100 3390 ./dasd/lnx100 #/
0101 3390 ./dasd/lnx101 #/var
0102 3390 ./dasd/lnswap #swap
0200 3215
0201 3215
0202 3270
0203 3270
Here is the tdf file for the boot image:
# cat tapes/d390cd.tdf
@TDF
/mnt/cdrom/boot/linux_tp FIXED RECSIZE 1024
/mnt/cdrom/boot/parmfile FIXED RECSIZE 1024
/mnt/cdrom/boot/root.bin FIXED RECSIZE 1024
TM
TM
EOT
And here is a vdir of /mnt/cdrom/boot on the DVD:
# vdir /mnt/cdrom/boot
total 8628
-r--r--r-- 1 root root 122 Feb 9 10:32 d390.ins
-r--r--r-- 1 root root 158 Feb 9 10:32 d390oco.ins
-r--r--r-- 1 root root 179 Feb 9 10:32 d390oco.tdf
-r--r--r-- 1 root root 138 Feb 9 10:32 d390.tdf
-r--r--r-- 3 root root 2505728 May 21 2002 linux_nl
-r--r--r-- 3 root root 2505728 May 21 2002 linux_tp
-r--r--r-- 3 root root 2505728 May 21 2002 linux_vm
-r--r--r-- 4 root root 3 May 21 2002 parmfile
-r--r--r-- 4 root root 1313839 May 21 2002 root.bin
-r--r--r-- 1 root root 456 Feb 9 11:00 TRANS.TBL
Anything else you need to help me resolve this problem, just ask.
TIA for any help you can provide.
Peter
Reply to: