From owner-freebsd-stable@FreeBSD.ORG Tue Apr 3 08:31:32 2007 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG 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 B837E16A405 for ; Tue, 3 Apr 2007 08:31:32 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.freebsd.org (Postfix) with ESMTP id 4171913C46A for ; Tue, 3 Apr 2007 08:31:31 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lqnune@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id l338VP1k048797; Tue, 3 Apr 2007 10:31:30 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id l338VP9n048796; Tue, 3 Apr 2007 10:31:25 +0200 (CEST) (envelope-from olli) Date: Tue, 3 Apr 2007 10:31:25 +0200 (CEST) Message-Id: <200704030831.l338VP9n048796@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, joao@matik.com.br In-Reply-To: <7579f7fb0704011116x53ad98dhe80948050526597b@mail.gmail.com> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Tue, 03 Apr 2007 10:31:31 +0200 (CEST) Cc: Subject: Re: scsi/mpt problem with latest source X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Apr 2007 08:31:32 -0000 Matthew Jacob wrote: > > > > > > (xpt0:mpt0:0:-1:-1): reset bus > > periph:sim:channel:target:lun > > target == lun == -1 == wildcard, so the initial bus reset applies to a > nexus for all targets and luns on that channel on that sim (mpt0) on > that periph (xpt0) > > > would you mind to tell why it happens and this "-1" values ? As far as the "why" is concerned: _All_ scsi controller drivers reset their busses at first, in order to reset all devices to a well-known state. Then they wait a short time, in order to give the devices an opportunity to finish their reset, then the busses are scanned for devices. Well, at least that's who the scsi controller drivers work that I've used in the past (not including mpt), but I guess it's basically the same for all of them. So, the bus reset during boot is perfectly normal. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd