Re: 2.6.26-rc8-mm1: unable to mount nfs shares



On Sat, 5 Jul 2008 00:49:33 +0200 Mariusz Kozlowski <m.kozlowski@xxxxxxxxxx> wrote:

$ mount some/nfs/share
mount.nfs: Input/output error

dmesg says: RPC: transport (0) not supported

but I guess it's known issue http://lkml.org/lkml/2008/7/1/438 ?


OK, thanks, I put Trond's fix into hot-fixes/

--- a/fs/nfs/super.c~nfs-fix-the-mount-protocol-defaults-for-binary-mounts
+++ a/fs/nfs/super.c
@@ -1571,6 +1571,7 @@ static int nfs_validate_mount_data(void

if (!(data->flags & NFS_MOUNT_TCP))
args->nfs_server.protocol = XPRT_TRANSPORT_UDP;
+ nfs_set_transport_defaults(args);
/* N.B. caller will free nfs_server.hostname in all cases */
args->nfs_server.hostname = kstrdup(data->hostname, GFP_KERNEL);
args->namlen = data->namlen;
_

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: 2.6.26-rc8-mm1: unable to mount nfs shares
    ... mount.nfs: Input/output error ... dmesg says: RPC: transport not supported ...
    (Linux-Kernel)
  • [BK PATCH] SCSI updates for 2.6.11-rc1
    ... It's mainly cleanups and some transport class work, ... o ibmvscsi: fix abort and reset error path ...
    (Linux-Kernel)
  • Re: IP vs RPC transports in Sites and Services
    ... -Replication between sites can use either RPC over IP or SMTP over IP. ... -Replication between sites over SMTP is supported for only domain controllers of different domains. ... Therefore, replication between sites over SMTP is supported for only schema, configuration, and global catalog replication, which means that domains can span sites only when point-to-point, synchronous RPC is available between sites. ... The RPC intersite and intrasite transport and the SMTP intersite transport correspond to synchronous and asynchronous communication methods, ...
    (microsoft.public.windows.server.active_directory)
  • Re: OL2007- Messages stuck in outbox
    ... I have now enabled Logging and see a raft of RPC errors. ... Rpc call on transport to server ... failed with error code after waiting ms; ...
    (microsoft.public.outlook.installation)
  • Re: PCI Resource Allocation Error
    ... first tried using 2.6.15 I tested a vanilla kernel and ran into the following ... Since I'm running FC4 I figured that a fix might have made it into the distro ... the same message in the dmesg output, so I'm certain that it hasn't been ...
    (Linux-Kernel)