From owner-freebsd-geom@FreeBSD.ORG Mon Jan 21 14:46:52 2013 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 79387D96; Mon, 21 Jan 2013 14:46:52 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.31.96]) by mx1.freebsd.org (Postfix) with ESMTP id 3196C714; Mon, 21 Jan 2013 14:46:52 +0000 (UTC) Received: from [78.35.171.46] (helo=fabiankeil.de) by smtprelay06.ispgateway.de with esmtpsa (SSLv3:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1TxIcp-00047V-8m; Mon, 21 Jan 2013 15:45:27 +0100 Date: Mon, 21 Jan 2013 15:44:50 +0100 From: Fabian Keil To: Andriy Gapon Subject: Re: disk "flipped" - a known problem? Message-ID: <20130121154450.60f457d1@fabiankeil.de> In-Reply-To: <50FC3EBF.6070803@FreeBSD.org> References: <50FC3EBF.6070803@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/t7ntFaXohqG3FgxzzyKTQc7"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 Cc: freebsd-fs , freebsd-current@FreeBSD.org, freebsd-geom@FreeBSD.org X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 14:46:52 -0000 --Sig_/t7ntFaXohqG3FgxzzyKTQc7 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Andriy Gapon wrote: > Today something unusual happened on one of my machines: > kernel: (ada0:ahcich0:0:0:0): lost device > kernel: (aprobe1:ahcich0:0:15:0): NOP. ACB: 00 00 00 00 00 00 00 00 00 00= 00 00 > kernel: (aprobe1:ahcich0:0:15:0): CAM status: Command timeout > kernel: (aprobe1:ahcich0:0:15:0): Error 5, Retries exhausted > kernel: (aprobe1:ahcich0:0:15:0): NOP. ACB: 00 00 00 00 00 00 00 00 00 00= 00 00 > kernel: (aprobe1:ahcich0:0:15:0): CAM status: Command timeout > kernel: (aprobe1:ahcich0:0:15:0): Error 5, Retries exhausted > kernel: cam_periph_alloc: attempt to re-allocate valid device ada0 reject= ed > flags 0x18 refcount 1 > kernel: adaasync: Unable to attach to new device due to status 0x6 I believe I saw something similar when trying to forcefully end the cam lockups reported in: http://lists.freebsd.org/pipermail/freebsd-current/2012-October/037413.html Detaching the disc drive caused /dev/cd0 to disappear as expected, but reinserting the drive didn't bring cd0 back. > It looks like the disk disappeared from the bus and then re-appeared on t= he bus, > but not to the OS. >=20 > One of the partitions that the disk hosted was a swap partition and it se= ems to > be the cause of some of the following consequences. >=20 > The consequences: [...] > * geom_event thread started consuming 100% of CPU in g_wither_washer() This sounds familiar as well: http://www.freebsd.org/cgi/query-pr.cgi?pr=3D171865 Fabian --Sig_/t7ntFaXohqG3FgxzzyKTQc7 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlD9VGUACgkQBYqIVf93VJ0RpQCfUBrj2QYbgBfT710Iy1tTmGWO bUYAmwQoYLnfhRfr2pCN7o5FrQz9agGz =Ex10 -----END PGP SIGNATURE----- --Sig_/t7ntFaXohqG3FgxzzyKTQc7--