Date: Tue, 04 Dec 2012 07:50:46 +0100 From: Harald Schmalzbauer <h.schmalzbauer@omnilan.de> To: freebsd-stable@freebsd.org Subject: geom using 100% cpu with failed da5. How to calm it down without cam passdev? Message-ID: <50BD9D46.5010905@omnilan.de>
next in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50BD9D46.5010905>