Bug 7274
Summary: | NFSv4 fails to mount (timeout) on kernel 2.6.19-rc1 | ||
---|---|---|---|
Product: | File System | Reporter: | Torsten Kaiser (just.for.lkml) |
Component: | NFS | Assignee: | Trond Myklebust (trondmy) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | bunk |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.19-rc1 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: | NFSv4: Fix thinko in fs/nfs/super.c |
Description
Torsten Kaiser
2006-10-06 09:51:30 UTC
Created attachment 9174 [details]
NFSv4: Fix thinko in fs/nfs/super.c
This patch ought to fix it for you...
BTW: Why _is_ the gentoo mount command setting a 0 port value?
I can confirm, that the attached patch fixes the problem for me. Gentoo may set the port to 0 because I did not specified a portnumber in the fstab. I have the following mount programm installed: sys-apps/util-linux-2.12r-r4 Gentoo patches the original sources from http://www.kernel.org/pub/linux/utils/util-linux/ with support for Loop-AES and several other patches. One also enabled NFSv4. You can find the NFSv4-Patch here: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/util-linux/files/util-linux-2.12i-nfsv4.patch?rev=1.1&view=markup But as far I can see, it should default to 2049... Ah.. I found the error in the Gentoo-Patch: The port defaults correctly to 2049 and will also be read from the commandline options. But the patch seems to fail to fill the 'int port'-variable into the 'struct nfs4_mount_data' that will be passed to the kernel. The fix is now in Linus' tree. |