Bug#898165: linux-image-3.16.0-6-amd64: can't mount NFS shares via nfs referrals
Hi Pradeep, thanks for your response. On 14.05.2018 17:48, Pradeep wrote: > The patch is for NFS client side bug where it was initializing the > attributes to zero if NFS4ERR_MOVED is returned in LOOKUP; but referral > was not followed later. This only happens with NFSv4 server and the > specific error (NFS4ERR_MOVED). > > It is not related to nfs-ganesha - it can be reproduced with kernel NFS > as well. > > Are you seeing any regressions with the patch? I would think so. Since that patch arrived in Kernel 3.16, it would not even try to follow the referral as it did before. When I just revert this specific patch for the kernel, it works. On the referrer server, we use nfs-ganesha 2.4.5-2 with Christoph's patch for nfs referral (https://sources.debian.org/src/nfs-ganesha/2.4.5-2%7Ebpo9+1/debian/patches/nfs-ganesha-nfsrefer.patch). The actual NFS server is a NetApp cluster. I'm not so sure right now if it is not maybe a bug in nfs-ganesha (that maybe even got fixed in the meantime), so I thought, maybe you know. Thanks, Moritz signature.asc Description: OpenPGP digital signature
Bug#898165: linux-image-3.16.0-6-amd64: can't mount NFS shares via nfs referrals
Hello Frank and Pradeep, I was hoping that you would have some insight on a possible bug/regression/incompability between nfs-ganesha and the Linux kernel with a specific patch to which you reacted (see below) in https://marc.info/?l=linux-nfs=150998968529002=2. There is no mail about the results of Pradeep's checking whether that patch is safe for nfs-ganesha on the server side, or whether there were additional changes needed. Maybe one of you could shed some light on that. I've created a tracking Debian bug report for our issue: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898165 Best regards, Moritz On 14.05.2018 11:05, Moritz Schlarb wrote: > Control: tags -1 + patch upstream > Control: notfound -1 linux/3.16.51-3+deb8u1 > > Hi everyone, > > I have identified the upstream commit that introduced this > bug/regression for us. > > It is c05cefcc72416a37eba5a2b35f0704ed758a9145 "nfs: Fix ugly referral > attributes" > (https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c05cefcc72416a37eba5a2b35f0704ed758a9145) > which seems to have been part of upstream 3.16.54. > > I have manually compiled 3.16.56-1+deb8u1 with that patch reversed and I > can successfully mount my home directory again. > > Regards, > -- Moritz Schlarb Unix-Gruppe | Systembetreuung Zentrum für Datenverarbeitung Johannes Gutenberg-Universität Mainz Raum 01-331 - Tel. +49 6131 39-29441 OpenPGP Fingerprint: DF01 2247 BFC6 5501 AFF2 8445 0C24 B841 C7DD BAAF <> signature.asc Description: OpenPGP digital signature
Bug#898165: linux-image-3.16.0-6-amd64: can't mount NFS shares via nfs referrals
Control: tags -1 + patch upstream Control: notfound -1 linux/3.16.51-3+deb8u1 Hi everyone, I have identified the upstream commit that introduced this bug/regression for us. It is c05cefcc72416a37eba5a2b35f0704ed758a9145 "nfs: Fix ugly referral attributes" (https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c05cefcc72416a37eba5a2b35f0704ed758a9145) which seems to have been part of upstream 3.16.54. I have manually compiled 3.16.56-1+deb8u1 with that patch reversed and I can successfully mount my home directory again. Regards, -- Moritz Schlarb Unix-Gruppe | Systembetreuung Zentrum für Datenverarbeitung Johannes Gutenberg-Universität Mainz Raum 01-331 - Tel. +49 6131 39-29441 OpenPGP Fingerprint: DF01 2247 BFC6 5501 AFF2 8445 0C24 B841 C7DD BAAF <> signature.asc Description: OpenPGP digital signature
Processed: Re: Bug#898165: linux-image-3.16.0-6-amd64: can't mount NFS shares via nfs referrals
Processing control commands: > tags -1 + patch upstream Bug #898165 [src:linux] linux-image-3.16.0-6-amd64: can't mount NFS shares via nfs referrals Added tag(s) patch and upstream. > notfound -1 linux/3.16.51-3+deb8u1 Bug #898165 [src:linux] linux-image-3.16.0-6-amd64: can't mount NFS shares via nfs referrals No longer marked as found in versions linux/3.16.51-3+deb8u1. -- 898165: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898165 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#898165: linux-image-3.16.0-6-amd64: can't mount NFS shares via nfs referrals
Am 11.05.2018 um 14:21 schrieb Moritz Schlarb: > we tried to get some insight into the issue by wiresharking while trying > to mount. > > Although the client first receives NFS4ERR_MOVED and then re-queries for > FS_Locations and receives a correct response for the referred > fs_location, it just does not continue to mount that given fs_location > then like it used to. Furthermore we see no package going out to the referred NFS server. Christoph -- Christoph Martin, Leiter Unix-Systeme Zentrum für Datenverarbeitung, Uni-Mainz, Germany Anselm Franz von Bentzel-Weg 12, 55128 Mainz Telefon: +49(6131)3926337 Instant-Messaging: Jabber/XMPP: mar...@jabber.uni-mainz.de <> signature.asc Description: OpenPGP digital signature
Bug#898165: linux-image-3.16.0-6-amd64: can't mount NFS shares via nfs referrals
Hello again, we tried to get some insight into the issue by wiresharking while trying to mount. Although the client first receives NFS4ERR_MOVED and then re-queries for FS_Locations and receives a correct response for the referred fs_location, it just does not continue to mount that given fs_location then like it used to. Regards, Moritz <> signature.asc Description: OpenPGP digital signature
Bug#898165: linux-image-3.16.0-6-amd64: can't mount NFS shares via nfs referrals
Hi everyone, we have performed additional tests that led to the conclusion that this bug did already exist in 3.16.0-5-amd64, but not in 3.16.0-4-amd64. Given that, it must have been some change in 3.16.51-3+deb8u1 which luckily are only few. I hope its not fallout from the KPTI patch, so the only other thing that seems relevant (since we're using Kerberos) would be: > * KEYS: add missing permission check for request_key() destination >(CVE-2017-17807) Does that seem valid? Regards, -- Moritz Schlarb Unix-Gruppe | Systembetreuung Zentrum für Datenverarbeitung Johannes Gutenberg-Universität Mainz Raum 01-331 - Tel. +49 6131 39-29441 OpenPGP Fingerprint: DF01 2247 BFC6 5501 AFF2 8445 0C24 B841 C7DD BAAF <> signature.asc Description: OpenPGP digital signature
Bug#898165: linux-image-3.16.0-6-amd64: can't mount NFS shares via nfs referrals
Package: src:linux Version: 3.16.56-1 Severity: important Control: fixed -1 linux/4.9.88-1~bpo8+1 Control: fixed -1 linux/4.9.88-1 Hello, after getting the latest stable security kernel version on one of our NFS clients, said client can't mount our user home directories via our NFS referer server anymore. This problem is only similar to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850713 but (for us) far more severe, since *this* bug affects home directories. Our workaround is to install the latest kernel from jessie-backports, which does not have this problem. The logs aren't saying anything at the time of login, where the home should be mounted. There are only some patches regarding nfs listed in the package changelog, maybe if you could point us to a specific one, we could try to bisect it. Regards, Moritz -- Package-specific info: ** Kernel log: boot messages should be attached ** Model information sys_vendor: Dell Inc. product_name: OptiPlex 7010 product_version: 01 chassis_vendor: Dell Inc. chassis_version: bios_vendor: Dell Inc. bios_version: A28 board_vendor: Dell Inc. board_name: 0GY6Y8 board_version: A03 ** PCI devices: 00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller [8086:0150] (rev 09) Subsystem: Dell Device [1028:0577] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- Kernel driver in use: ivb_uncore 00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0162] (rev 09) (prog-if 00 [VGA controller]) Subsystem: Dell Device [1028:0577] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- Kernel driver in use: i915 00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04) (prog-if 30 [XHCI]) Subsystem: Dell Device [1028:0577] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- Kernel driver in use: xhci_hcd 00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 [8086:1e3a] (rev 04) Subsystem: Dell Device [1028:0577] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Kernel driver in use: mei_me 00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection [8086:1502] (rev 04) Subsystem: Dell Device [1028:052c] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Kernel driver in use: e1000e 00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04) (prog-if 20 [EHCI]) Subsystem: Dell Device [1028:0577] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- Kernel driver in use: ehci-pci 00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04) Subsystem: Dell Device [1028:0577] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Kernel driver in use: snd_hda_intel 00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04) (prog-if 20 [EHCI]) Subsystem: Dell Device [1028:0577] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- Kernel driver in use: ehci-pci 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev a4) (prog-if 01 [Subtractive decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: 00:1f.0 ISA bridge [0601]: Intel Corporation Q77 Express Chipset LPC