From owner-freebsd-current@FreeBSD.ORG Fri Sep 21 11:23:30 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2E07106564A; Fri, 21 Sep 2012 11:23:29 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id AD5BB8FC08; Fri, 21 Sep 2012 11:23:29 +0000 (UTC) Received: from irix.bris.ac.uk ([137.222.10.39] helo=ncs.bris.ac.uk) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1TF1K9-0004na-Oj; Fri, 21 Sep 2012 12:23:22 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1TF1K9-0001Ni-JN; Fri, 21 Sep 2012 12:23:09 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q8LBN9O0023405; Fri, 21 Sep 2012 12:23:09 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q8LBN9c9023404; Fri, 21 Sep 2012 12:23:09 +0100 (BST) (envelope-from mexas) Date: Fri, 21 Sep 2012 12:23:09 +0100 (BST) From: Anton Shterenlikht Message-Id: <201209211123.q8LBN9c9023404@mech-cluster241.men.bris.ac.uk> To: freebsd-current@freebsd.org, jhb@freebsd.org, mexas@bristol.ac.uk In-Reply-To: <201209200850.05063.jhb@freebsd.org> X-Spam-Score: -3.8 X-Spam-Level: --- Cc: freebsd-ia64@freebsd.org Subject: Re: ia64 panic: make_dev_credv: bad si_name (error=17, si_name=pass3) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Sep 2012 11:23:30 -0000 From jhb@freebsd.org Thu Sep 20 20:30:06 2012 On Thursday, September 20, 2012 4:53:30 am Anton Shterenlikht wrote: > On ia64 r235474 I added another > disk and did "camcontrol rescan all" > to see it. I got this panic: > > panic: make_dev_credv: bad si_name (error=17, si_name=pass3) 17 is EEXIST. It seems you still had a pass3 device present (that is the root cause of this panic). Presumably you pulled a disk first and that didn't get cleaned up properly? Either that or CAM is trying to use the same name for two devices for some reason. Ok, what I did exactly was this. This node had 3 scsi disks directly inside it: da0 at mpt0 bus 0 scbus0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 320.000MB/s transfers (160.000MHz, offset 63, 16bit) da0: Command Queueing enabled da0: 70007MB (143374738 512 byte sectors: 255H 63S/T 8924C) da1 at mpt0 bus 0 scbus0 target 1 lun 0 da1: Fixed Direct Access SCSI-3 device da1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit) da1: Command Queueing enabled da1: 17366MB (35566478 512 byte sectors: 255H 63S/T 2213C) da2 at mpt1 bus 0 scbus1 target 2 lun 0 da2: Fixed Direct Access SCSI-3 device da2: 160.000MB/s transfers (80.000MHz, offset 63, 16bit) da2: Command Queueing enabled da2: 17366MB (35566478 512 byte sectors: 255H 63S/T 2213C) and another 2 logical disks attached via fibre, isp(4): da3 at isp0 bus 0 scbus2 target 0 lun 1 da3: Fixed Direct Access SCSI-4 device da3: 200.000MB/s transfers WWNN 0x500805f3000ec220 WWPN 0x500805f3000ec221 PortID 0x10000 da3: Command Queueing enabled da3: 69460MB (142255575 512 byte sectors: 255H 63S/T 8855C) da4 at isp0 bus 0 scbus2 target 0 lun 5 da4: Fixed Direct Access SCSI-4 device da4: 200.000MB/s transfers WWNN 0x500805f3000ec220 WWPN 0x500805f3000ec221 PortID 0x10000 da4: Command Queueing enabled da4: 140011MB (286744185 512 byte sectors: 255H 63S/T 17849C) I then cut out another logical disk from MSA1000, and assigned it lun 2. So if da(4) numbers disks in the order of their lun, then I guess there was a conflict - lun 2 disk had to become da4, but da4 already existed. Is that what you refer to? Anyway, after the panic and a reboot the former da4 became da5, and the new disk became da4: da3 at isp0 bus 0 scbus2 target 0 lun 1 da3: Fixed Direct Access SCSI-4 device da3: 200.000MB/s transfers WWNN 0x500805f3000ec220 WWPN 0x500805f3000ec221 PortID 0x10000 da3: Command Queueing enabled da3: 69460MB (142255575 512 byte sectors: 255H 63S/T 8855C) da4 at isp0 bus 0 scbus2 target 0 lun 2 da4: Fixed Direct Access SCSI-4 device da4: 200.000MB/s transfers WWNN 0x500805f3000ec220 WWPN 0x500805f3000ec221 PortID 0x10000 da4: Command Queueing enabled da4: 69460MB (142255575 512 byte sectors: 255H 63S/T 8855C) da5 at isp0 bus 0 scbus2 target 0 lun 5 da5: Fixed Direct Access SCSI-4 device da5: 200.000MB/s transfers WWNN 0x500805f3000ec220 WWPN 0x500805f3000ec221 PortID 0x10000 da5: Command Queueing enabled da5: 140011MB (286744185 512 byte sectors: 255H 63S/T 17849C) So how could I've done what I wanted to do without causing a panic? Maybe I should've unmounted all but the root disk? Thank you Anton