From owner-freebsd-stable@FreeBSD.ORG Tue Dec 4 06:54:47 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AA0F1F5C for ; Tue, 4 Dec 2012 06:54:47 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (s1.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 0C4A48FC13 for ; Tue, 4 Dec 2012 06:54:46 +0000 (UTC) Received: from titan.inop.wdn.omnilan.net (titan.inop.wdn.omnilan.net [172.21.3.1]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id qB46rB84023536 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 Dec 2012 07:53:11 +0100 (CET) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <50BD9D46.5010905@omnilan.de> Date: Tue, 04 Dec 2012 07:50:46 +0100 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: geom using 100% cpu with failed da5. How to calm it down without cam passdev? X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig0F8CBAFB186629D0E7BE76FA" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 06:54:47 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0F8CBAFB186629D0E7BE76FA Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Hello, I've a failed disk at a remote server, which shouldn't be a problem actually. Just for info, here's the last shout: kernel: (da5:mps0:0:5:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0 length 0 SMID 256 command timeout cm 0xffffff8001c64800 ccb 0xfffffe0007329000 kernel: mps0: mpssas_alloc_tm freezing simq kernel: mps0: timedout cm 0xffffff8001c64800 allocated tm 0xffffff8001c50148 kernel: (da5:mps0:0:5:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0 length 0 SMID 256 completed timedout cm 0xffffff8001c64800 ccb 0xfffffe0007329000 during recovery ioc 8048 scsi 0 state c xf(noperiph:mps0:0:5:0): SMID 1 abort TaskMID 256 status 0x4a code 0x0 count 1 kernel: (noperiph:mps0:0:5:0): SMID 1 finished recovery after aborting TaskMID 256 kernel: mps0: mpssas_free_tm releasing simq kernel: (da5:mps0:0:5:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0 kernel: (da5:mps0:0:5:0): CAM status: Command timeout kernel: (da5:mps0:0:5:0): Retrying command kernel: (da5:mps0:0:5:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 length 0 SMID 981 terminated ioc 804b scsi 0 state 0 xfer 0 kernel: mps0: mpssas_alloc_tm freezing simq kernel: mps0: mpssas_remove_complete on handle 0x000e, IOCStatus=3D 0= x0 kernel: mps0: mpssas_free_tm releasing simq kernel: (da5:mps0:0:(pass7:5:mps0:0:0): lost device - 4 outstanding, 2 refs kernel: 5:0): passdevgonecb: devfs entry is gone kernel: (da5:mps0:0:5:0): oustanding 3 kernel: (da5:mps0:0:5:0): oustanding 2 kernel: (da5:mps0:0:5:0): oustanding 1 kernel: (da5:mps0:0:5:0): oustanding 0 After reboot, 'camcontrol devlist' doesn't show any da5, but 'geom disk list' _does_ show da5!!! My problem is that geom is now consuming 100% of one core! top -S: 13 root 3 -8 - 0K 48K - 1 480:19 100.00% geom Since there's no /dev/da5 I can't use camcontrol to stop anything, and at the moment nobody can physically remove the failed drive. How can I calm geom down? How can I find out what "geom" is doing/trying to do? I guess it's related to the failed da5, but how can I know? Thanks, -Harry --------------enig0F8CBAFB186629D0E7BE76FA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAlC9nV8ACgkQLDqVQ9VXb8hq4gCgpcd48gQY3rQ553N01QAOLXge 25EAoJN7BHZxn4lc3Qv88GqBVrC4gWo/ =QSiq -----END PGP SIGNATURE----- --------------enig0F8CBAFB186629D0E7BE76FA--