Typo in nfs_boot.c

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Typo in nfs_boot.c

Eivind Evensen
Hello.

Trying to figure out what I've done wrong to have a diskless setup
boot the kernel and then try to talk to a broadcast address rather than
the nfsserver, I saw this typo.

Eivind


Index: sys/nfs/nfs_boot.c
===================================================================
RCS file: /cvs/src/sys/nfs/nfs_boot.c,v
retrieving revision 1.27
diff -u -u -p -r1.27 nfs_boot.c
--- sys/nfs/nfs_boot.c 22 May 2013 09:13:36 -0000 1.27
+++ sys/nfs/nfs_boot.c 12 Sep 2013 11:14:07 -0000
@@ -196,7 +196,7 @@ nfs_boot_init(struct nfs_diskless *nd, s
  * Use the old broadcast address for the WHOAMI
  * call because we do not yet know our netmask.
  * The server address returned by the WHOAMI call
- * is used for all subsequent booptaram RPCs.
+ * is used for all subsequent bootparam RPCs.
  */
  bzero((caddr_t)&bp_sin, sizeof(bp_sin));
  bp_sin.sin_len = sizeof(bp_sin);

Reply | Threaded
Open this post in threaded view
|

Re: Typo in nfs_boot.c

David Coppa
On Thu, Sep 12, 2013 at 1:33 PM, Eivind Evensen <[hidden email]> wrote:

> Hello.
>
> Trying to figure out what I've done wrong to have a diskless setup
> boot the kernel and then try to talk to a broadcast address rather than
> the nfsserver, I saw this typo.
>
> Eivind
>
>
> Index: sys/nfs/nfs_boot.c
> ===================================================================
> RCS file: /cvs/src/sys/nfs/nfs_boot.c,v
> retrieving revision 1.27
> diff -u -u -p -r1.27 nfs_boot.c
> --- sys/nfs/nfs_boot.c  22 May 2013 09:13:36 -0000      1.27
> +++ sys/nfs/nfs_boot.c  12 Sep 2013 11:14:07 -0000
> @@ -196,7 +196,7 @@ nfs_boot_init(struct nfs_diskless *nd, s
>          * Use the old broadcast address for the WHOAMI
>          * call because we do not yet know our netmask.
>          * The server address returned by the WHOAMI call
> -        * is used for all subsequent booptaram RPCs.
> +        * is used for all subsequent bootparam RPCs.
>          */
>         bzero((caddr_t)&bp_sin, sizeof(bp_sin));
>         bp_sin.sin_len = sizeof(bp_sin);
>

Thanks.

jmc?

Reply | Threaded
Open this post in threaded view
|

Re: Typo in nfs_boot.c

matteo filippetto
In reply to this post by Eivind Evensen
2013/9/12 Eivind Evensen <[hidden email]>:
> Hello.
>
> Trying to figure out what I've done wrong to have a diskless setup
> boot the kernel and then try to talk to a broadcast address rather than
> the nfsserver, I saw this typo.
>
> Eivind
>

Hi,

I think I have the same problem as, when booting a client, I get "RPC
timeout for server 192.168.100.255"

how did you solve the problem of talking to a broadcast address? or,
what am I doing wrong?

Thanks


--
Matteo Filippetto
http://www.op83.eu

Reply | Threaded
Open this post in threaded view
|

Re: Typo in nfs_boot.c

matteo filippetto
2013/12/30 matteo filippetto <[hidden email]>:

> 2013/9/12 Eivind Evensen <[hidden email]>:
>> Hello.
>>
>> Trying to figure out what I've done wrong to have a diskless setup
>> boot the kernel and then try to talk to a broadcast address rather than
>> the nfsserver, I saw this typo.
>>
>> Eivind
>>
>
> Hi,
>
> I think I have the same problem as, when booting a client, I get "RPC
> timeout for server 192.168.100.255"
>
> how did you solve the problem of talking to a broadcast address? or,
> what am I doing wrong?
>
> Thanks

Ok, just solved the problem: start mountd at boot.

Regards

--
Matteo Filippetto
http://www.op83.eu