Summary: | net-fs/autofs-5.0.6-r3 unable to mount NFS on HPPA: do_mount_indirect: path to be mounted is to long | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jim Faulkner <dogshu> |
Component: | Current packages | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | DuPol, hppa, net-fs, proxy-maint, pva |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | HPPA | ||
OS: | Linux | ||
URL: | http://thread.gmane.org/gmane.linux.ports.parisc/4767 | ||
Whiteboard: | linux-3.8 | ||
Package list: | Runtime testing required: | --- |
Description
Jim Faulkner
2012-11-25 23:01:06 UTC
baffle ~ # grep nfs4 /etc/fstab mrwendal.cs.yale.edu:/portage /usr/portage nfs4 noauto 0 0 baffle ~ # mount /usr/portage baffle ~ # mount | grep portage mrwendal.cs.yale.edu:/portage on /usr/portage type nfs4 (rw,addr=128.36.233.162,clientaddr=128.36.233.169) baffle ~ # I am able to mount NFSv4 filesystems fine, as the above comment demonstrates. It seems that the problem is with autofs. You're running a 64-bit kernel with a 32-bit userland - the linux-parisc mailing has a discussion about a kernel patch to address this issue, currently. Perhaps you could try the attached patch. Confirmed, after building linux-3.7.6 with the patch from http://thread.gmane.org/gmane.linux.ports.parisc/4767 autofs works just fine. baffle ~ # uname -a Linux baffle 3.7.6 #1 Tue Feb 5 15:11:05 EST 2013 parisc64 PA8500 (PCX-W) 9000/785/C3000 GNU/Linux baffle ~ # cat /etc/autofs/auto.portage portage -fstype=nfs4,rw,intr mrwendal.cs.yale.edu:/portage baffle ~ # ls /mnt/auto/portage/ app-accessibility dev-lang gnome-base net-mail sys-block app-admin dev-libs gnome-extra net-misc sys-boot app-antivirus dev-lisp gnustep-apps net-nds sys-cluster app-arch dev-lua gnustep-base net-news sys-devel app-backup dev-ml gnustep-libs net-nntp sys-firmware app-benchmarks dev-perl gpe-base net-p2p sys-freebsd app-cdr dev-php gpe-utils net-print sys-fs app-crypt dev-python header.txt net-proxy sys-infiniband app-dicts dev-ruby java-virtuals net-voip sys-kernel app-doc dev-scheme kde-base net-wireless sys-libs app-editors dev-tcltk kde-misc net-zope sys-power app-emacs dev-tex licenses perl-core sys-process app-emulation dev-texlive lxde-base profiles virtual app-forensics dev-util mail-client razorqt-base www-apache app-i18n dev-vcs mail-filter rox-base www-apps app-laptop distfiles mail-mta rox-extra www-client app-misc eclass media-fonts sci-astronomy www-misc app-mobilephone games-action media-gfx sci-biology www-plugins app-office games-arcade media-libs sci-calculators www-servers app-officeext games-board media-plugins sci-chemistry x11-apps app-pda games-emulation media-radio sci-electronics x11-base app-portage games-engines media-sound sci-geosciences x11-drivers app-shells games-fps media-tv sci-libs x11-libs app-text games-kids media-video sci-mathematics x11-misc app-vim games-misc metadata sci-misc x11-plugins app-xemacs games-mud net-analyzer sci-physics x11-proto dev-ada games-puzzle net-dialup sci-visualization x11-terms dev-cpp games-roguelike net-dns scripts x11-themes dev-db games-rpg net-firewall sec-policy x11-wm dev-dotnet games-server net-fs skel.ChangeLog xfce-base dev-embedded games-simulation net-ftp skel.ebuild xfce-extra dev-games games-sports net-im skel.metadata.xml dev-haskell games-strategy net-irc sys-apps dev-java games-util net-libs sys-auth baffle ~ # > Confirmed, after building linux-3.7.6 with the patch from http://thread.gmane.org/gmane.linux.ports.parisc/4767 autofs works just fine.
This patch seems to be present in the 3.8 branch, upstream has also backported it to the 3.4 branch; this is not present in EOL kernels. I'll hear what the right approach to deal with this is, meanwhile you can apply it as an user patch until you can use the 3.8 branch.
Amongst other changes, I pushed this out as a backported fix to 3.7 a moment ago: + 17 Mar 2013; Tom Wijsman <TomWij@gentoo.org> +gentoo-sources-3.2.40-r1.ebuild, + +gentoo-sources-3.6.11-r2.ebuild, +gentoo-sources-3.7.10-r1.ebuild, + +gentoo-sources-3.8.3-r1.ebuild, -gentoo-sources-3.0.67.ebuild, + -gentoo-sources-3.0.68.ebuild, -gentoo-sources-3.2.39.ebuild, + -gentoo-sources-3.2.40.ebuild, -gentoo-sources-3.4.35.ebuild, + -gentoo-sources-3.8.1.ebuild, -gentoo-sources-3.8.2.ebuild, + -gentoo-sources-3.8.3.ebuild: + Revision bumps for 3.2.40, 3.6.11, 3.7.10 and 3.8.3 and removal of + intermediate versions: Revert memcg patches that prevent OOM with too many + dirty pages which caused ZFS to flush dirty pages to deadlock, see bug + #462066; in 3.6, 3.7 and 3.8. Backported fixes from 3.8 to 3.7 that affect + some of our Gentoo users. Backported one of these patches to 3.2 as well since + there was no 3.2 bump last week. |