From owner-freebsd-scsi@FreeBSD.ORG Tue May 4 18:37:28 2010 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 17B23106566B for ; Tue, 4 May 2010 18:37:28 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout1-b.corp.re1.yahoo.com (mrout1-b.corp.re1.yahoo.com [69.147.107.20]) by mx1.freebsd.org (Postfix) with ESMTP id CF1AB8FC0A for ; Tue, 4 May 2010 18:37:27 +0000 (UTC) Received: from [127.0.0.1] (proxy8.corp.yahoo.com [216.145.48.13]) by mrout1-b.corp.re1.yahoo.com (8.13.8/8.13.8/y.out) with ESMTP id o44IZneM014540; Tue, 4 May 2010 11:35:49 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=subject:from:to:cc:in-reply-to:references:content-type:date: message-id:mime-version:x-mailer:content-transfer-encoding; b=Pncfd+CSz9rTW4/5RHYnC5iF26juxVtJCawZY/0XdlvoHTV5ImDRX0E74Lso+SMN From: Sean Bruno To: Matthew Jacob In-Reply-To: <4BCE612C.9080201@feral.com> References: <4BCE6988.1060302@fuujingroup.com> <4BCE6016.5020108@feral.com> <4BCE6E5F.7020000@fuujingroup.com> <4BCE612C.9080201@feral.com> Content-Type: text/plain; charset="UTF-8" Date: Tue, 04 May 2010 11:35:48 -0700 Message-ID: <1272998148.2406.28.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 (2.28.3-1.fc12) Content-Transfer-Encoding: 7bit Cc: "freebsd-scsi@freebsd.org" Subject: Re: isp and scsi_target X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2010 18:37:28 -0000 On Tue, 2010-04-20 at 19:21 -0700, Matthew Jacob wrote: > Somebody else may be able to help quicker. I have to get a couple of > things of my plate and then do a little recabling in my lab and see just > what the current state of things are for me. > > To be frank, I have not tried with the user level target in quite some > time. It used to just plain hang for me for a year or so. I think that > got fixed recently, but I really then didn't go back and recheck with > this kind of target mode stack. > > I'll try and make some progress tomorrow on getting up to speed on it again. > > _______________________________________________ > freebsd-scsi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-scsi > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org" Hrm ... this is puzzling. Erich setup a box for me to play with. Either I've forgotten how to turn this on, or it's being ignored? Can you kick my brain back into the right mode? Here's what I get when I attempt to enable target mode on fbsd 8 i386: isp0: port 0x5000-0x50ff mem 0xf7ff0000-0xf7ff0fff irq 20 at device 2.0 on pci6 isp0: Reserved 0x1000 bytes for rid 0x14 type 3 at 0xf7ff0000 isp0: using Memory space register mapping isp0: [MPSAFE] isp0: [ITHREAD] isp0: Board Type 2300, Chip Revision 0x1, resident F/W Revision 3.1.13 isp0: 744 max I/O command limit set isp0: NVRAM Port WWN 0x210000e08b08f56d isp0: Chan 0 0x200000e08b08f56d/0x210000e08b08f56d Role Initiator isp0: Chan 0 Firmware State Loss Of Sync> isp0: Chan 0 Firmware State Loss Of Sync> isp0: Chan 0 Firmware State Loss Of Sync> isp0: Chan 0 Firmware State Loss Of Sync> isp0: Chan 0 Firmware State Loss Of Sync> isp0: Chan 0 Firmware State Loss Of Sync> (targbh0:isp0:0:-1:-1): Target Mode Not Enabled Yet- Lun Enables Deferred > diff of my kernconf against generic: > diff SEAN GENERIC 115,118d114 < options ISP_TARGET_MODE < device targ < device targbh < options VFS_AIO