From owner-freebsd-scsi@freebsd.org Thu Jun 1 15:25:51 2017 Return-Path: Delivered-To: freebsd-scsi@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 44173AFF588 for ; Thu, 1 Jun 2017 15:25:51 +0000 (UTC) (envelope-from stephen.mcconnell@broadcom.com) Received: from mail-it0-x230.google.com (mail-it0-x230.google.com [IPv6:2607:f8b0:4001:c0b::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 110867E6F1 for ; Thu, 1 Jun 2017 15:25:51 +0000 (UTC) (envelope-from stephen.mcconnell@broadcom.com) Received: by mail-it0-x230.google.com with SMTP id m47so22820695iti.0 for ; Thu, 01 Jun 2017 08:25:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:references:in-reply-to:mime-version:thread-index:date :message-id:subject:to; bh=A/Q7nYMxr6YlxFil28EDYf24t8Jde+aroPBkXK/mTLY=; b=IbBrSqNsZmAD/8jdAXpUx5KFPT3bntFwv7RTbLhVKbBIzp1lUP1KyzH2kFe7Do/cAx M1o+69E6Wx9DpOwcIDE6i+7NNcK6WTd3EOja6AVc4G51dTjFcBbvVXDS9wWiREHEGJE+ 71qXt/Knzufeh598QjihEAM9278MSSfEuFYtg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to; bh=A/Q7nYMxr6YlxFil28EDYf24t8Jde+aroPBkXK/mTLY=; b=UUApc5kpaX2cp1FwDv/ptG32gHF2ORBFi0OiE0ya45+zxGIFo7ShwKNuvDIRmMve1y KXY5L0E4kk2PR17fPdKIZ+cpX+nxz1yP2D7WT/CFYsdgZcWHzHBqtWgQ2fcfuGFeJO/k GAscZqgXKzHMOJdcCEa1Advd2d5iC0IJlJBq1YCFAPnt9KvsathFQS9D6qFLVXzM1vnT RhwXnZbCeKnpATKZceIhsGvBce49/B/6MNJwAeDA4p26Sx5a9+TxL6b11krmYNylZ8oi ve6ucpKTCrbWTQNv5OOu44Jaf6Fg9BbXkIY1PtZWxLW0U3WH1EtP6oEgL2jWZQGVYJnC q8Ww== X-Gm-Message-State: AODbwcAk0rsnj+4Pat8tUjim5/uKKSoCs3p5cX4NTo4gVRj3hWNJNF9D pLYBG2lyhZUnwrQyfAJQ/dQWd/QSGc0L X-Received: by 10.36.108.212 with SMTP id w203mr3769551itb.55.1496330750345; Thu, 01 Jun 2017 08:25:50 -0700 (PDT) From: Stephen Mcconnell References: <592FDE8C.1090609@omnilan.de> 12a36df9eff99c77ec621987efbe75fe@mail.gmail.com In-Reply-To: 12a36df9eff99c77ec621987efbe75fe@mail.gmail.com MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQK5uw9AxlTbZs3SRUL7gsvMDeNX4aBCVoJQgAAICqA= Date: Thu, 1 Jun 2017 09:25:49 -0600 Message-ID: Subject: RE: mps(4) blocks panic-reboot To: Harry Schmalzbauer , freebsd-scsi@freebsd.org, Scott Long Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2017 15:25:51 -0000 I found a couple of emails between me and Scott a while back and we talked about this. The problem is that the SSU handling relies on interrupts, but interrupts stop due to the panic, so it hangs. Scott came up with a way around it but we never decided on a final fix and then it was forgotten about. If you have a way to reproduce this, I can try to find a fix here. Or, I might be able to force the system to panic at the right time. Steve > -----Original Message----- > From: Stephen Mcconnell [mailto:stephen.mcconnell@broadcom.com] > Sent: Thursday, June 01, 2017 8:51 AM > To: 'Harry Schmalzbauer'; 'freebsd-scsi@freebsd.org'; 'Scott Long' > Subject: RE: mps(4) blocks panic-reboot > > Scott, did you have a fix for this some time back? > > Steve > > > -----Original Message----- > > From: owner-freebsd-scsi@freebsd.org [mailto:owner-freebsd- > > scsi@freebsd.org] On Behalf Of Harry Schmalzbauer > > Sent: Thursday, June 01, 2017 3:30 AM > > To: freebsd-scsi@freebsd.org > > Subject: mps(4) blocks panic-reboot > > > > Hello, > > > > I'm not sure if scsi@ is the correct list, but since my problem seems > > to be mps(4) related, I thought asking here shouldn't be too wrong. > > > > There's not much to add to the topic: If my stable/11 setup panics, > > the system doesn't reboot (besides IPMI-watchdog takes over this task). > > The machine stucks with these last lines: > > Dumping 1669 out of 15734 > > MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91% > > Dump complete > > mps0: Sending StopUnit: path (xpt0:mps0:0:2:ffffffff): handle 12 > > mps0: Incrementing SSU count > > mps0: Sending StopUnit: path (xpt0:mps0:0:3:ffffffff): handle 11 > > mps0: Incrementing SSU count > > mps0: Sending StopUnit: path (xpt0:mps0:0:4:ffffffff): handle 10 > > mps0: Incrementing SSU count > > mps0: Sending StopUnit: path (xpt0:mps0:0:5:ffffffff): handle 9 > > mps0: Incrementing SSU count > > mps0: Sending StopUnit: path (xpt0:mps0:0:6:ffffffff): handle 13 > > mps0: Incrementing SSU count > > > > Then, nothing happens. On a similar setup without mps(4), the machine > > reboots after the panic. > > > > Is this a known problem/feature? > > > > Thanks, > > > > -harry > > _______________________________________________ > > freebsd-scsi@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-scsi > > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org"