my first diskless beowulf cluster.

amedeo pimpini alan at infogroup.it
Wed Apr 3 15:13:39 PST 2002


I've  encountered a difficlult to launch init  after mount root on nfs.

Can somebody help me ?

Follows details:

I have compiled a 2.4.7-10 kernel whith autoconfiguration ip, with root 
on nfs and placed on /tftpboot
the kernel mount /tftbboot but dont start init.


On console of first ws:

IP-Config: Got DHCPanswer from 10.1.1.1 my address is 10.0.0.2
...
VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 180k freed

Kernel panik: No init found. Try passing init= option to kernel

i have recompiled main.c with printk( %d ), errno
end i obtined 8
with perror on have
Error code   8:  Exec format error


If i mv /sbin/init /sbin/init.old

then i obtine error 14.


ON the server /var/log/messages i have:


Apr  3 00:17:14 nut1 dhcpd: Both dynamic and static leases present for 
10.1.1.2.
Apr  3 00:17:14 nut1 dhcpd: Either remove host declaration nut2 or 
remove 10.1.1.2
Apr  3 00:17:14 nut1 dhcpd: from the dynamic address pool for 10.1.0.0
Apr  3 00:17:14 nut1 dhcpd: DHCPREQUEST for 10.1.1.2 from 
00:e0:4c:20:6b:8f via eth0
Apr  3 00:17:14 nut1 dhcpd: DHCPACK on 10.1.1.2 to 00:e0:4c:20:6b:8f via 
eth0
Apr  3 00:17:14 nut1 mountd[1520]: 
mountproc_translate_mnt_1_svc(/tftpboot/10.1.1.2)
Apr  3 00:17:14 nut1 mountd[1520]: NFS mount of /tftpboot/10.1.1.2 
attempted from 10.1.1.2
Apr  3 00:17:14 nut1 mountd[1520]: /tftpboot/10.1.1.2 has been mounted 
by 10.1.1.2



and tcpdump:

00:21:06.149970 arp who-has nut1 tell nut2
00:21:06.149970 arp reply nut1 is-at 0:e0:4c:f0:6d:fb
00:21:06.149970 nut2.800 > nut1.sunrpc:  udp 56 (DF)
00:21:06.149970 nut1.sunrpc > nut2.800:  udp 28 (DF)
00:21:06.149970 nut2.800 > nut1.sunrpc:  udp 56 (DF)
00:21:06.149970 nut1.sunrpc > nut2.800:  udp 28 (DF)
00:21:06.149970 nut2.800 > nut1.849:  udp 64 (DF)
00:21:06.149970 nut1.849 > nut2.800:  udp 60 (DF)
00:21:06.149970 nut2.56685225 > nut1.nfs: 100 getattr [|nfs] (DF)
00:21:06.149970 nut1.nfs > nut2.56685225: reply ok 96 getattr DIR 47777 
ids 0/0 sz 4096  (DF)
00:21:06.149970 nut2.73462441 > nut1.nfs: 100 fsstat [|nfs] (DF)
00:21:06.159970 nut1.nfs > nut2.73462441: reply ok 48 fsstat [|nfs] (DF)
00:21:06.159970 nut2.90239657 > nut1.nfs: 108 lookup [|nfs] (DF)
00:21:06.159970 nut1.nfs > nut2.90239657: reply ok 128 lookup [|nfs] (DF)
00:21:06.159970 nut2.107016873 > nut1.nfs: 112 lookup [|nfs] (DF)
00:21:06.159970 nut1.nfs > nut2.107016873: reply ok 128 lookup [|nfs] (DF)
00:21:06.159970 nut2.123794089 > nut1.nfs: 108 lookup [|nfs] (DF)
00:21:06.159970 nut1.nfs > nut2.123794089: reply ok 128 lookup [|nfs] (DF)
00:21:06.159970 nut2.140571305 > nut1.nfs: 108 lookup [|nfs] (DF)
00:21:06.159970 nut1.nfs > nut2.140571305: reply ok 128 lookup [|nfs] (DF)
00:21:06.159970 nut2.157348521 > nut1.nfs: 112 read [|nfs] (DF)
00:21:06.159970 nut1 > nut2: (frag 23518:1244 at 2960)
00:21:06.159970 nut1 > nut2: (frag 23518:1480 at 1480+)
00:21:06.159970 nut1.nfs > nut2.157348521: reply ok 1472 read (frag 
23518:1480 at 0+)
00:21:11.149970 arp who-has nut2 tell nut1
00:21:11.149970 arp reply nut2 is-at 0:e0:4c:20:6b:8f



i've tagged my kernel with


mknbi-linux --output=/tftpboot/vmlinux.3com 
/usr/src/linux-2.4.7-10/arch/i386/boot/bzImage  
--ip=":10.1.1.1:10.1.1.1:255.255.0.0:"






More information about the Beowulf mailing list