Date: Wed, 27 Dec 1995 23:19:53 +0100 (MET) From: Mattias.Gronlund@sa.erisoft.se (Mattias Gronlund) To: freebsd-current@FreeBSD.ORG Subject: NFS ROOT 0.0.0.0:/... Message-ID: <9512272219.AA04716@sws021.sa.erisoft.se>
next in thread | raw e-mail | index | archive | help
Hi! After struggling a while I got 2.2-current alive! But I found out that there seems to be a typo in nfs_vfsops.c. When booting I get a message that tells me that I have the same IP-number for both the root and swap server, swap_saddr should be root_saddr. Here's a path: ps.c.orig Fri Dec 22 15:58:16 1995 --- nfs_vfsops.c Tue Dec 26 17:21:59 1995 *************** *** 428,434 **** * If using nfsv3_diskless, replace NFSX_V2FH with nd->root_fhsize. */ nd->root_args.fhsize = NFSX_V2FH; ! l = ntohl(nd->swap_saddr.sin_addr.s_addr); sprintf(buf,"%ld.%ld.%ld.%ld:%s", (l >> 24) & 0xff, (l >> 16) & 0xff, (l >> 8) & 0xff, (l >> 0) & 0xff,nd->root_hostnam); --- 428,434 ---- * If using nfsv3_diskless, replace NFSX_V2FH with nd->root_fhsize. */ nd->root_args.fhsize = NFSX_V2FH; ! l = ntohl(nd->root_saddr.sin_addr.s_addr); sprintf(buf,"%ld.%ld.%ld.%ld:%s", (l >> 24) & 0xff, (l >> 16) & 0xff, (l >> 8) & 0xff, (l >> 0) & 0xff,nd->root_hostnam); /Mattias
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9512272219.AA04716>