From owner-freebsd-net@freebsd.org Wed Jan 13 16:48:19 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C3C1AA817CF for ; Wed, 13 Jan 2016 16:48:19 +0000 (UTC) (envelope-from flewis@panasas.com) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0073.outbound.protection.outlook.com [157.56.111.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4643810D9 for ; Wed, 13 Jan 2016 16:48:18 +0000 (UTC) (envelope-from flewis@panasas.com) Received: from DM2PR08MB447.namprd08.prod.outlook.com (10.141.86.19) by BY2PR08MB1798.namprd08.prod.outlook.com (10.163.46.24) with Microsoft SMTP Server (TLS) id 15.1.361.13; Wed, 13 Jan 2016 13:15:52 +0000 Received: from DM2PR08MB447.namprd08.prod.outlook.com ([10.141.86.19]) by DM2PR08MB447.namprd08.prod.outlook.com ([10.141.86.19]) with mapi id 15.01.0361.006; Wed, 13 Jan 2016 13:15:53 +0000 From: "Lewis, Fred" To: "Sundararajan, Lakshmi" , "Hans Petter Selasky" CC: "freebsd-net@freebsd.org" , "Kothavade, Pushkar" , "Pokala, Ravi" Subject: Re: Kernel panic from lagg_ioctl and lagg_port_ioctl Thread-Topic: Kernel panic from lagg_ioctl and lagg_port_ioctl Thread-Index: AQHRTX4SEw2RKdNoKkSugD8zam7OVJ75Yg0AgAAAHID//7gTgA== Date: Wed, 13 Jan 2016 13:15:52 +0000 Message-ID: References: <569643F4.5060209@selasky.org> In-Reply-To: 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=flewis@panasas.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [66.31.107.140] x-microsoft-exchange-diagnostics: 1; BY2PR08MB1798; 5:Gb/Rj9FMeJbze71a4XbP2+2DVS4ikSXaKsN7cUq8Yxqxe2BACV4u7xxJ/NYAapmduluq8K8oW1buFmWSzmLCYHoY9FqukXFF8jAzcYTyvOra6LF7k0vomssBI5z6LfPQ+7JR0wwnyV9/zDt9mFY7gg==; 24:yLBnuo29ek1NGG210P1ENLI+V0RGQ8fKc0TZdsCh7vtLb44J7WzwG7WQ7nkk9d5vXdBKyosEImE7QDsjX1I2g0Vhda8cyzLDb0k66D2HMAs= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR08MB1798; x-ms-office365-filtering-correlation-id: a25cedc0-760c-4be3-802f-08d31c1ba9f6 x-ld-processed: acf01c9d-c699-42af-bdbb-44bf582e60b0,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(3002001)(10201501046); SRVR:BY2PR08MB1798; BCL:0; PCL:0; RULEID:; SRVR:BY2PR08MB1798; x-forefront-prvs: 08200063E9 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(189002)(199003)(377454003)(365934003)(164054003)(38564003)(479174004)(24454002)(4001430100002)(2950100001)(2900100001)(5004730100002)(50986999)(4326007)(5008740100001)(2906002)(77096005)(5890100001)(76176999)(101416001)(36756003)(92566002)(54356999)(10400500002)(87936001)(106116001)(106356001)(19580395003)(105586002)(81156007)(97736004)(189998001)(5001770100001)(107886002)(19580405001)(16236675004)(5001960100002)(5002640100001)(66066001)(40100003)(86362001)(586003)(99286002)(122556002)(102836003)(3846002)(6116002)(1096002)(1220700001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR08MB1798; H:DM2PR08MB447.namprd08.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: panasas.com does not designate permitted sender hosts) MIME-Version: 1.0 X-OriginatorOrg: panasas.com X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jan 2016 13:15:52.3226 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: acf01c9d-c699-42af-bdbb-44bf582e60b0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR08MB1798 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2016 16:48:20 -0000 Hi Hans, Can you give an example of draining the callouts? Thanks, -Fred On 1/13/16 7:33 AM, "Lakshmi Narasimhan Sundararajan" > wrote: Hi Hans, Yes, we understand that piece of code. But Panasas wants this change to MFC to 10.3. This issue is not seen in 11.= Would that happen? I have not seen acknowledgement of this issue or confir= mation of MFC to 10.3. That information will help us plan. Regards, LN On Wed, Jan 13, 2016 at 6:02 PM, Hans Petter Selasky > wrote: On 01/12/16 22:13, Lewis, Fred wrote: In earlier versions of lagg_ioctl() (e.g. stable/10/r171247) all of the cal= lout vectors are set to NULL which I think will prevent the problem. Similar NUL= Ling code is also in stable/7. I didn't check other releases. Don't forget to drain the callouts before NULL-ing them! --HPS DISCLAIMER The information in this e-mail is confidential and may be subject to legal = privilege. It is intended solely for the addressee. Access to this e-mail b= y anyone else is unauthorized. If you have received this communication in e= rror, please address with the subject heading "Received in error," send to = it@msystechnologies.com, then delete the e= -mail and destroy any copies of it. If you are not the intended recipient, = any disclosure, copying, distribution or any action taken or omitted to be = taken in reliance on it, is prohibited and may be unlawful. The views, opin= ions, conclusions and other information expressed in this electronic mail a= nd any attachments are not given or endorsed by the company unless otherwis= e indicated by an authorized representative independent of this message. MSys cannot guarantee that e-mail communications are secure or error-free, = as information could be intercepted, corrupted, amended, lost, destroyed, a= rrive late or incomplete, or contain viruses, though all reasonable precaut= ions have been taken to ensure no viruses are present in this e-mail. As ou= r company cannot accept responsibility for any loss or damage arising from = the use of this e-mail or attachments we recommend that you subject these t= o your virus checking procedures prior to use