From owner-freebsd-current@freebsd.org Sun Aug 19 23:31:43 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 09475107BAA9 for ; Sun, 19 Aug 2018 23:31:43 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-eopbgr670088.outbound.protection.outlook.com [40.107.67.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9C1B98FBA4 for ; Sun, 19 Aug 2018 23:31:42 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YTOPR0101MB1820.CANPRD01.PROD.OUTLOOK.COM (52.132.44.160) by YTOPR0101MB1371.CANPRD01.PROD.OUTLOOK.COM (52.132.46.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1059.21; Sun, 19 Aug 2018 23:31:41 +0000 Received: from YTOPR0101MB1820.CANPRD01.PROD.OUTLOOK.COM ([fe80::f171:1f28:a0a2:f127]) by YTOPR0101MB1820.CANPRD01.PROD.OUTLOOK.COM ([fe80::f171:1f28:a0a2:f127%3]) with mapi id 15.20.1059.023; Sun, 19 Aug 2018 23:31:41 +0000 From: Rick Macklem To: "freebsd-current@FreeBSD.org" Subject: panic excl->shared for an AF_LOCAL socket Thread-Topic: panic excl->shared for an AF_LOCAL socket Thread-Index: AQHUOBRM4+qxEJX+P0ebgxfNDW4pUA== Date: Sun, 19 Aug 2018 23:31:41 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rmacklem@uoguelph.ca; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; YTOPR0101MB1371; 6:aQwb2yXYDrLNSOe9lTh0Psl1DRnzzlzlsf6Rq3sQ2mB0Tzih/AzBbbQYfAg3QFhfEmnfh4vfGvrV/s58Cm3YaNG/vJHr6f0uNvwOxOQbz3hUxXvY0TM0oXLfNcr1gGSvrAyHstp1fa77C++NEPCcixjNNHtyOh5F2UyOZFa9yYjdW6GRTP9DoQIice1TQUz03tYW2LVpnJxfrDxxPd7XVlOHbH/hhOFNCctuNAeIYeOYOsy3YyU2JnETrEEb4Z3zaTEztaJSyBrAc9DLtrxafnZxzVz21nU+yVCiypqj4NL0IDu6FoWwTEB+Jrpx3E5WohSDvwGjQCdeTMMKPXwSj7GFlbUjkUdHy409Psq78iD9cBYbYXNMlMxpB67W/Tax8h3RRv3RBp8s/rp6TVokzdeehO6QdPeR4bDYptGZiB0/ZnfPuD65Kl/xGkf9z/vc8Be3HhRLYn8RvbhtlgAgFg==; 5:wpYTnN0Ogqj3StpYYtXRI4qyKoHZiJu4tnmXiN6UBNwDnBt44KBOE6vG4HMUN9V7QcWcOJBrDrsaOQ+FNHL71WtnqfjOkRmDXIF8xDKIo1ZTu7HbI/3sDAafqPi3cNL2ag9GjYambmMaB0R7kDlP50EXOv1MALLwpuwcvtSunj4=; 7:4D1u09IvixwzSNkO0OEWAe5f0ctKmBE0gn8ECQvIV8AfbFvZOrx2HMXTnbIVjs7Gk8dBxCoL5zZ2G0mc2MvUfeC/CjcYO6yemN6v+FKSXRSnJQ602dos7/J+SUPadBmXH3ZXlSYhbXASaj0grHAQPiQ3WvqzK+otq2e3AGxwbrP/LcOBQpfpQCKLdwi15MuJTbwpRGnFj9Kc8QAsy4RLEBqt4RBU4i5pdbV32b4L8r+gBrNylcowkVZaepOe1Ds6 x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: b2241172-ac7c-4d02-67fd-08d6062bead3 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(5600074)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:YTOPR0101MB1371; x-ms-traffictypediagnostic: YTOPR0101MB1371: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(3231311)(944501410)(52105095)(10201501046)(93006095)(93001095)(3002001)(149027)(150027)(6041310)(201703131423095)(201702281529075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201708071742011)(7699016); SRVR:YTOPR0101MB1371; BCL:0; PCL:0; RULEID:; SRVR:YTOPR0101MB1371; x-forefront-prvs: 07697999E6 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(346002)(136003)(376002)(366004)(199004)(189003)(305945005)(33656002)(68736007)(476003)(7696005)(786003)(99286004)(316002)(74316002)(2501003)(5250100002)(26005)(486006)(186003)(106356001)(2351001)(2900100001)(14454004)(6506007)(81166006)(81156014)(8676002)(478600001)(97736004)(256004)(102836004)(8936002)(105586002)(14444005)(25786009)(74482002)(53936002)(55016002)(5640700003)(5660300001)(6436002)(9686003)(86362001)(6916009)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:YTOPR0101MB1371; H:YTOPR0101MB1820.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) x-microsoft-antispam-message-info: thwtXDOVPltFb4iiZGwELTwLvYklVL9wr2ZgchZb72j+pSwaLOBVyY/8bs3Bk3SM1YBKC3q3UEORFxpfIlRmMaflWfasXTNT54L/ebKoNfFwo9u4odAiTX9CGScYS7PJ0DxeA8nzoLTUS+WglZpW7iwOCDD0y9DOkA1qnekLmCfRE11K8zdAK4IzFbCu46psXQsLUdyYDi0mZEd0slsxgDTvo2AsNH8psLBPtUeqKdWgPN810RafEXAyl36W3SKyKUltTm2GYLDHoMMLOQW7iNkEy8eVzXcGk5Hc736wzocsWksho2ISzvR9vC3TBNOiEjetgcK8rQVjKRCkboca4X20O6JFnZbNRHy4S8QZyA0= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-Network-Message-Id: b2241172-ac7c-4d02-67fd-08d6062bead3 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Aug 2018 23:31:41.1897 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YTOPR0101MB1371 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Aug 2018 23:31:43 -0000 Hi, PR#230752 shows a witness panic() for "excl->shared" on a vnode lock. In this case, the kernel RPC code is trying to do a soconnect() on an AF_LO= CAL socket. The code is unp_connectat() looks like is does a straightforward namei()/lookup(), so I am surprised to see this. Does anyone know if AF_LOCAL (unix domain) sockets are somehow handled differently for namei()/lookup() which might cause this? I've requested more info from the reporter w.r.t. when this happens. (I'd guess when the nfsuserd is terminating or has terminated or ???) Thanks for any help with this, rick