Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0FF83C433EF for ; Sun, 24 Oct 2021 11:16:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DFD6061040 for ; Sun, 24 Oct 2021 11:16:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231394AbhJXLTH (ORCPT ); Sun, 24 Oct 2021 07:19:07 -0400 Received: from sonic305-19.consmr.mail.ir2.yahoo.com ([77.238.177.81]:36091 "EHLO sonic305-19.consmr.mail.ir2.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230249AbhJXLTF (ORCPT ); Sun, 24 Oct 2021 07:19:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s2048; t=1635074204; bh=58hNjxmNoVwulI4sHiOijedVlURee+3gaHjRKrISsvo=; h=To:From:Subject:Date:References:From:Subject:Reply-To; b=VLu/zfGOIkTOLvxfWQV+bVV6yWxU1VqCTpL5rsLI36f2S996nlKt14sSFermA8FC02UwiMsaUlR3QgK/cGR3QdpLJRzM3kDE0xBRZ9axNSRZa0xCR0ONIqP0oI+R94cHrE9UUCAcAM98aKXiJjOphp+y9ts/vr1qddyHzruJQ7qgU2yl3f+cD5rvdSccNCp+DitI74mTm+/7b/dQXVGYMFHJf/gzBjbTICSyRGZop3mfsWl57qD4/zeY84oukx8HyVw4ByYyNZcKKXDQom+lLbAh0EKNzqBj4bDO3TShMtgGX+au2KS3CskcP3XFdZLST+YJOp0n47BKF8LfoV88Hw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635074204; bh=ck3PyTeOJlApoghgNw89fH2jJPMc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wd442IheWK4Yq011cb7336ucq00GDGlyZp8hjvW9KYZf_lhhpOvVImdz.RFJubegN IYQvRWLJe_5.s3Qv91W2ayz9R7h0eBKFZhb5pp_zNj3AcUhI4kZAcNhDxDGumnQfMerJHX3VSAjK 9_37qSK2CyVigIjgYwnMOmykgU5feos77T2mNuGANA3j6dNZCvG_VjtxuiigibmgrMUnVhytv4wM gegI35hm0D30rvERnQUuvIB8lftez6Bu7KuqMJdSHFUnc51ysK1PpbcN4KRi0cuF825NxUSAJSRj QwTh5s4hX8sX9gQlYrwhPD8GQnHJAiDWWKveWKckeH1FM5w.wrg3ZRLiPMZXIAopWY3POmOivtkz zDUMSOZiv1yd0Goz5DBzKDBBhPjBsdw17j8IiFaUY7sKdiuR06Wazz14t1A2YeTucr16kH.nvERT 799OPZhuw0KzDeIvaZqc36mUY9H1g6_TRC93L10HMn3wP0i4CcoLqrZyxL.ZyQ.vOilXmalMSEOD RqowEFLQXFeKiKR965r0u6H8RPPY2krsL5t0vvXJXKwK0QW0XapkommwC8aJbpqSYJ6cZPDOupiC _053rLA9Bnp4FgvfUv57gDDuT X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ir2.yahoo.com with HTTP; Sun, 24 Oct 2021 11:16:44 +0000 Received: by kubenode521.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 282bb951de3baf8022c0c4e50b533944; Sun, 24 Oct 2021 11:16:39 +0000 (UTC) To: linux-media@vger.kernel.org From: Norman Koch Subject: Problem with NFS when unplugging laptop from docking station Message-ID: Date: Sun, 24 Oct 2021 13:16:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: de-DE References: X-Mailer: WebService/1.1.19198 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hello, I'm not sure if I'm correct to ask this here, sorry if it's not. I use Debian 11 with 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) x86_64 GNU/Linux as Kernel on a ThinkPad T440. I also have a network attached storage device which I access over nfs. I load it via //192.168.0.103/fileserver /home/norman/fileserver cifs auto,rw,rsize=3D32768,wsize=3D32768,uid=3D1000,gid=3D1000,defaults,iochar= set=3Dutf8,username=3D,password=3D,vers=3D1.0 0 0 in my fstab. It all works fine if I start using it while I am at my docking station (with LAN-cable to my router and IP 192.168.0.109), but it fails to access (and even re-mount and umount, when not using umount -a -t cifs -l) on wifi (having 192.168.0.102 there). But when I umount before unplugging, and then unplug and re-mout, it works just fine. When I am in the situations that it doesn't work, all windows keep stuck and I cannot interact with them anymore, if have anything at all to do with my NAS (even ls ~, because it's mounted in ~). I am not a kernel programmer, so I cannot look into the source code to tell why this happens, but I can speculate. I believe the NFS-driver is somehow linked to the interface it was first connected on. So that, if you connect on enp0s25 first, then plug it out, and try to access the same host (the NAS) when enp0s25 is down, it fails to do something, and there seems to be no timeout set by default that prevents the system from crashing. So in short: use the IP so long as it works, but if it doesn't, use the MAC-address to arp-scan the network, maybe you're on a different port now. Is this reasonable? If this is the wrong mailing list, I'm very sorry. I'd like to be corrected on where to send this to be dealt this properly. Thanks, Norman