[haiku-bugs] Re: [Haiku] #16924: Mounting NFS under Haiku does not work.

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Mon, 19 Apr 2021 19:57:35 -0000

#16924: Mounting NFS under Haiku does not work.
------------------------+-------------------------
  Reporter:  TCH68k     |      Owner:  nobody
      Type:  bug        |     Status:  new
  Priority:  normal     |  Milestone:  Unscheduled
 Component:  - General  |    Version:  R1/beta2
Resolution:             |   Keywords:
Blocked By:             |   Blocking:
  Platform:  All        |
------------------------+-------------------------

Old description:

Linux NFS4 server with the following settings:
{{{
/root *(rw,sync,no_subtree_check,insecure)
}}}
Tested from Solaris 10 and from localhost self-mountinf, it's working.

Under Haiku Beta 2 (AMD64), if i do
{{{
mount_nfs 192.168.10.100:/root /mnt/nfs 100 1000
}}}
i get
{{{
mount failed (General system error)
}}}
in console and
{{{
KERN: nfs: mount(9, <NULL>, 00000000)
KERN: nfs: nfs_params:
nfs:192.168.10.100:/root,uid=100,gid=1000,hostname=shredder
KERN: nfs:ip!
KERN: IP:192.168.10.100
KERN: nfs:hn!
KERN: nfs:uid!
KERN: nfs:gid!
KERN: nfs: ip:c0a80a64 server:'192.168.10.100' export:'/root'
hostname:'shredder' uid=100 gid=1000
KERN: nfs: mountd at 640aa8c0:41059
KERN: nfs: nfsd at 640aa8c0:2049
KERN: nfs: RPC_PROG_MISMATCH (3,4)nfs: error in nfs_mount: General system
error
}}}
in `/var/log/syslog`. I tried to do
{{{
mount -t nfs4 192.168.10.100:/root /mnt/nfs
}}}
(also with `-t nfs3`), but only got
{{{
mount: No such file or directory
}}}
in the console and nothing in the syslog.

The topic on Haiku discussion: [https://discuss.haiku-os.org/t/mount-nfs-
under-haiku/10655/7]

New description:

 Linux NFS4 server with the following settings:
 {{{
 /root *(rw,sync,no_subtree_check,insecure)
 }}}
 Tested from Solaris 10 and from localhost self-mountinf, it's working.

 I've mounted it under Haiku as
 {{{
 mount -t nfs4 -p 192.168.10.100:/root /mnt/nfs
 }}}
 and that worked, but after i delete an existing file from the server
 (Linux) side and try to create it on the client (Haiku), then it first
 reports that it does not exists, then the entire system crashes with
 kernel panic: [http://oscomp.hu/depot/haiku_kernel_panic.png]

 The topic on Haiku discussion: [https://discuss.haiku-os.org/t/mount-nfs-
 under-haiku/10655/7]

--
Comment (by TCH68k):

 Original title was false alarm due to erroneous instructions, please
 rename accordingly.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16924#comment:1>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: