From owner-freebsd-hardware@FreeBSD.ORG Fri Jan 22 01:55:20 2010 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66C9C106568B; Fri, 22 Jan 2010 01:55:20 +0000 (UTC) (envelope-from stephane.lapie@darkbsd.org) Received: from quasar.darkbsd.org (shinigami.darkbsd.org [82.227.96.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1BC598FC1C; Fri, 22 Jan 2010 01:55:19 +0000 (UTC) Received: from quasar.darkbsd.org (localhost [127.0.0.1]) by quasar.darkbsd.org (Postfix) with ESMTP id 587B212B3; Fri, 22 Jan 2010 02:55:13 +0100 (CET) Received: from quasar.darkbsd.org ([127.0.0.1]) by quasar.darkbsd.org (quasar.darkbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jtqRYVkrvcU9; Fri, 22 Jan 2010 02:55:10 +0100 (CET) Received: from [192.168.166.29] (unknown [210.188.173.245]) (Authenticated sender: darksoul) by quasar.darkbsd.org (Postfix) with ESMTPSA id 1043412AC; Fri, 22 Jan 2010 02:55:09 +0100 (CET) Message-ID: <4B59057D.9000500@darkbsd.org> Date: Fri, 22 Jan 2010 10:55:09 +0900 From: Stephane LAPIE User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: John Baldwin References: <4B56CD4C.80503@darkbsd.org> <201001201105.26367.jhb@freebsd.org> <4B58008C.4050207@darkbsd.org> <201001210749.40575.jhb@freebsd.org> In-Reply-To: <201001210749.40575.jhb@freebsd.org> X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8095763199007976027DA7AA" Cc: freebsd-hardware@freebsd.org Subject: Re: DELL SAS5/E Controller bug X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 01:55:20 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8095763199007976027DA7AA Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable John Baldwin wrote: > Gah, that should be the case that I ignore. Can you replace the second= =20 > warnx() call I added with this: >=20 > warnx("mpt_read_ioc_page(6): %s (%x)", mpt_ioc_status(IOCStatus), > IOCStatus); I now get the following message : mptutil: mpt_read_ioc_page(6): Invalid configuration page (8022) (Though I guess this doesn't tell anything that we did not know initially= ) > I know that the rescan after removing a device is a bit messy (lots of = > messages before daX actually goes away), but I don't recall it taking s= uch a=20 > long time. Even without rescanning the bus, the device actually goes away on its own after the same delay of three minutes. > The documentation is not public. The 0x12 and 0x16 messages are events= that > I have seen. You can try talking to scottl@ as he has access to the do= cs. I could contact Scott, and here are the relevant bits of his answer : > The basic problem is that FreeBSD still sees all of this as parallel SC= SI, subject to rescans and resets and timeouts. It's fighting with the S= AS controller. I'll explain more below. > I'm working on code that will make FreeBSD more aware of how SAS works.= It's several months from being done, though.=20 Reposting here for reference the meaning of 0x12 and 0x16 events : 0x12 : SAS Link status changed 0x16 : SAS Discovery Event I was wondering if using an Areca SAS controller could be a better solution, but Scott's answer has me wondering if this is a common issue to all SAS controllers on FreeBSD. --=20 Stephane LAPIE, EPITA SRS, Promo 2005 "Even when they have digital readouts, I can't understand them." --MegaTokyo --------------enig8095763199007976027DA7AA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktZBX0ACgkQ24Ql8u6TF2PKtwCg1YqKbZkmdeVywKdt2ViPYrwN pqQAn1ASbFYYZbBCfAqQpDJMVRHPaVIm =3Ov1 -----END PGP SIGNATURE----- --------------enig8095763199007976027DA7AA--