From owner-freebsd-bugs@freebsd.org Tue Apr 10 17:33:08 2018 Return-Path: Delivered-To: freebsd-bugs@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 22AB0F89C4E for ; Tue, 10 Apr 2018 17:33:08 +0000 (UTC) (envelope-from decui@microsoft.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 92AC387A06 for ; Tue, 10 Apr 2018 17:33:07 +0000 (UTC) (envelope-from decui@microsoft.com) Received: by mailman.ysv.freebsd.org (Postfix) id 5736BF89C46; Tue, 10 Apr 2018 17:33:07 +0000 (UTC) Delivered-To: bugs@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 2FD88F89C44 for ; Tue, 10 Apr 2018 17:33:07 +0000 (UTC) (envelope-from decui@microsoft.com) Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sg2apc01on0100.outbound.protection.outlook.com [104.47.125.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT TLS CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 36A5C87A00; Tue, 10 Apr 2018 17:33:05 +0000 (UTC) (envelope-from decui@microsoft.com) Received: from SG2P15301MB0015.APCP153.PROD.OUTLOOK.COM (10.170.135.148) by SG2P15301MB0029.APCP153.PROD.OUTLOOK.COM (10.170.135.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.696.3; Tue, 10 Apr 2018 17:32:58 +0000 Received: from SG2P15301MB0015.APCP153.PROD.OUTLOOK.COM ([fe80::903d:145f:d7c7:b4ca]) by SG2P15301MB0015.APCP153.PROD.OUTLOOK.COM ([fe80::903d:145f:d7c7:b4ca%8]) with mapi id 15.20.0696.003; Tue, 10 Apr 2018 17:32:58 +0000 From: Dexuan Cui To: Bruce Evans , "jeff@freebsd.org" , "bugs@freebsd.org" CC: "Hongxiong Xian (Wicresoft)" Subject: RE: [Bug 227404] UP FreeBSD VM always hangs on reboot since 20180329-r331740 Thread-Topic: [Bug 227404] UP FreeBSD VM always hangs on reboot since 20180329-r331740 Thread-Index: AQHT0J/nyelI+LHsDUS3orlx6wz1raP6QPXQ Date: Tue, 10 Apr 2018 17:32:57 +0000 Message-ID: References: <20180410173347.D1459@besplex.bde.org> In-Reply-To: <20180410173347.D1459@besplex.bde.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Owner=decui@microsoft.com; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2018-04-10T17:32:54.4764917Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic; Sensitivity=General x-originating-ip: [2001:4898:80e8:d::582] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; SG2P15301MB0029; 7:0sjXWxK20E2wY36owoQz/1GDAibFlq4Ap9WO35uLy71B+Z/gqd+gipEzRZRUMVJTioNH8tdd9h1+ogBxQp3ZRXTjUUjoemF+wi/TFxh0WDV4Rsw7Bk0jJ0MwG6xGjSSDg+EPdRuJwX8y4wlRxELiSXmf5n0eeNui1vDTQ1YxYzc1cCOH8W1SLKrqkw7uZ97MuLK2DglGWzj10FSvrq/kw/RaNv0Yn56/YyRRUr0QzWuV4hLtOrQyeEo5A3ew3tGx; 20:uOpAS16nOcIFN/jT8AEM4Q1datYMlB5e4Vw8HOyp93o2pMM2oZUgMKZgAozXNMkGMeGx1jbuZqKInkDH2bRL7X+j947tcITALHhy0zMX/2V76aWsGZoOLG9EUgRZmC/+cD1OP7up5xFYayfFiU3VnPvTJjC0OxDZYydoWc4qPlw= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(3008032)(48565401081)(2017052603328)(7193020); SRVR:SG2P15301MB0029; x-ms-traffictypediagnostic: SG2P15301MB0029: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(166708455590820)(15185016700835); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(61425038)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(3231221)(944501327)(52105095)(10201501046)(6055026)(61426038)(61427038)(6041310)(20161123560045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011); SRVR:SG2P15301MB0029; BCL:0; PCL:0; RULEID:; SRVR:SG2P15301MB0029; x-forefront-prvs: 0638FD5066 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(39860400002)(346002)(396003)(39380400002)(376002)(199004)(189003)(51914003)(6506007)(476003)(8936002)(2501003)(5250100002)(106356001)(33656002)(81156014)(81166006)(8676002)(3280700002)(305945005)(7736002)(74316002)(478600001)(3660700001)(5660300001)(2900100001)(2906002)(55016002)(10290500003)(229853002)(6116002)(14454004)(9686003)(6306002)(68736007)(46003)(966005)(10090500001)(86612001)(110136005)(105586002)(316002)(11346002)(99286004)(102836004)(8990500004)(86362001)(76176011)(186003)(22452003)(2201001)(53936002)(6246003)(97736004)(107886003)(25786009)(486006)(446003)(6436002)(59450400001)(4326008)(7696005); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2P15301MB0029; H:SG2P15301MB0015.APCP153.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: HY7BoFmZU31bMtBDzAqenqnzFN+8fihPjRPTxm3rprCbSG82Gb2bicyCuh5yQFns2zbjcVgIZqZ1J0O+D3DrmEcjTPigS793rznAxevUW/6HQ4O2p/ACxOrShXGc9YEupTu+K+RMVrxcuY0UZ14rTq0ZIG3qjf9DHhWM0Tcx2xv2D4iKF0WXyO0rV6haWeMz6lApl76u8043Jyo3+4+yhjjYxsBaziJMi7FQ53oY7ALI27mHE/z92SPlVt9Cp8nHYhhIx8T6z2CHQz2fnD1J7nRDhVryKGAfRHVrYQAx9R9hG3EEm6QuiWI5IoCfR6N1ClGuJ3Js1GGOum5BBEACwMEawOcpEFEG/HH4c9aXUGSEVfIX2wSKFtqZMKV9yIn+rbxlB4HDTIw4NZzvXMImbsPGvUXpa5ejDtnyHDGGDJk= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 2dfd5ff9-6ded-4dc8-e80d-08d59f0919e8 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2dfd5ff9-6ded-4dc8-e80d-08d59f0919e8 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Apr 2018 17:32:57.6478 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2P15301MB0029 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Apr 2018 17:33:08 -0000 > From: Bruce Evans > Sent: Tuesday, April 10, 2018 00:45 >=20 > On Tue, 10 Apr 2018 a bug that doesn't want replies@freebsd.org wrote: >=20 > (The bug didn't even Cc freebsd-bugs for this followup.) Thanks for the reminder! I Cc'd bugs@ just now. > > --- Comment #4 from Dexuan Cui --- > ... >=20 > I think I saw this a few months before that. >=20 > My only history of this is that I built a UP kernel on 17 Dec 2017 to see > if UP kernels had the bug. So SMP kernels probably had the bug then. >=20 > Bruce Here the bug is that UP FreeBSD VM hangs on reboot or power-off, and I'm sure this recent patch (which was commited by Jeff on Mar 26) caused th= is bug: https://github.com/freebsd/freebsd/commit/63a483ed5f4eaadb8979992c7a5de24c7= a471c61 ("Fix a bug introduced in r329612 that slowly invalidates all clean bufs"). However, SMP VM with 2 or more CPUs doesn't hang on reboot/power-off according to our tests. Thanks, -- Dexuan