From owner-svn-src-head@FreeBSD.ORG Tue Oct 15 13:37:16 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A319944B; Tue, 15 Oct 2013 13:37:16 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CB3452437; Tue, 15 Oct 2013 13:37:15 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.7/8.14.7) with ESMTP id r9FDbDtR070654; Tue, 15 Oct 2013 17:37:14 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.7/8.14.7/Submit) id r9FDbDD8070653; Tue, 15 Oct 2013 17:37:13 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 15 Oct 2013 17:37:13 +0400 From: Gleb Smirnoff To: Alexander Motin Subject: Re: svn commit: r256533 - head/sys/cam Message-ID: <20131015133713.GE52889@FreeBSD.org> References: <201310151259.r9FCxeTC005849@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201310151259.r9FCxeTC005849@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Oct 2013 13:37:16 -0000 On Tue, Oct 15, 2013 at 12:59:40PM +0000, Alexander Motin wrote: A> Author: mav A> Date: Tue Oct 15 12:59:40 2013 A> New Revision: 256533 A> URL: http://svnweb.freebsd.org/changeset/base/256533 A> A> Log: A> Unhide "Serial Number" lines from bootverbose. That information may be A> useful for system administration to have in hard copy (in logs) if one of A> several devices suddenly dies. A> A> Requested by: glebius Can you please provide the same printf() on the device detach also? When a box is up for several months, the dmesg buffer is usually wiped so print on attach is lost. Well, there is /var/run/dmesg.boot, but what if device was attached after boot? The rationale behind my request is that in a situation when one HDD dies, and a server contains a dozen of HDDs of same model, and we ask datacenter operator to replace one particular HDD, we need to tell operator its serial number. The number is always printed on the HDD sticker, so with number provided, operator finds HDD quickly, without pondering on slot numbers, ATA cables and so on. -- Totus tuus, Glebius.