From owner-freebsd-current Wed Dec 27 14:20:37 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA22127 for current-outgoing; Wed, 27 Dec 1995 14:20:37 -0800 (PST) Received: from mailgate.ericsson.se (mailgate.ericsson.se [130.100.2.2]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA22121 for ; Wed, 27 Dec 1995 14:20:29 -0800 (PST) Received: from sa.erisoft.se (epls01.sa.erisoft.se [150.132.128.1]) by mailgate.ericsson.se (8.6.11/1.0) with SMTP id XAA15024 for ; Wed, 27 Dec 1995 23:20:27 +0100 Received: from sws021.sa.erisoft.se by sa.erisoft.se (4.1/SMI-4.1-ERIS0.99) id AA21315; Wed, 27 Dec 95 23:20:26 +0100 From: Mattias.Gronlund@sa.erisoft.se (Mattias Gronlund) Received: by sws021.sa.erisoft.se (5.x/client-1.3) id AA04716; Wed, 27 Dec 1995 23:19:54 +0100 Message-Id: <9512272219.AA04716@sws021.sa.erisoft.se> Subject: NFS ROOT 0.0.0.0:/... To: freebsd-current@FreeBSD.ORG Date: Wed, 27 Dec 1995 23:19:53 +0100 (MET) X-Mailer: ELM [version 2.4 PL24] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.ORG Precedence: bulk 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