From owner-freebsd-scsi@FreeBSD.ORG Sun Jun 4 03:05:24 2006 Return-Path: X-Original-To: scsi@freebsd.org Delivered-To: freebsd-scsi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11B6D16A474 for ; Sun, 4 Jun 2006 03:05:24 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD10343D4C for ; Sun, 4 Jun 2006 03:05:23 +0000 (GMT) (envelope-from mjacob@FreeBSD.org) Received: from freefall.freebsd.org (mjacob@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5435N0S083346 for ; Sun, 4 Jun 2006 03:05:23 GMT (envelope-from mjacob@freefall.freebsd.org) Received: (from mjacob@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5435Nm3083345 for scsi@freebsd.org; Sun, 4 Jun 2006 03:05:23 GMT (envelope-from mjacob) Date: Sun, 4 Jun 2006 03:05:23 GMT From: Matt Jacob Message-Id: <200606040305.k5435Nm3083345@freefall.freebsd.org> To: scsi@freebsd.org Cc: Subject: changes to cam_xpt to support sequential scanning (!parallel) 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: Sun, 04 Jun 2006 03:05:24 -0000 One solution that Scott suggested to some of the negotiation issues for the MPT was to not do parallel problem, i.e., all targets in parallel. The patch at http://people.freebsd.org/~mjacob/CAM_PATCHES_FOR_SEQSCAN does just that and I've had quite good success with it so far. I add a new flat, PIM_SEQSCAN, which cases xpt_scan_bus to *not* scan all targets in parallel but rather to scan them sequentially. Comments? The code also does some cleanups under failure conditions. After a bit more testing I'd like to put this in if there are no objections so I can get the mpt U320 stuff off my back for a while. From owner-freebsd-scsi@FreeBSD.ORG Sun Jun 4 04:13:57 2006 Return-Path: X-Original-To: scsi@freebsd.org Delivered-To: freebsd-scsi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3E3616A482; Sun, 4 Jun 2006 04:13:56 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CF5B43D49; Sun, 4 Jun 2006 04:13:55 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.14] (imini.samsco.home [192.168.254.14]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k544DnYE031455; Sat, 3 Jun 2006 22:13:54 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <44825EC6.6010506@samsco.org> Date: Sat, 03 Jun 2006 22:17:10 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050416 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matt Jacob References: <200606040305.k5435Nm3083345@freefall.freebsd.org> In-Reply-To: <200606040305.k5435Nm3083345@freefall.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: scsi@freebsd.org Subject: Re: changes to cam_xpt to support sequential scanning (!parallel) 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: Sun, 04 Jun 2006 04:13:57 -0000 Matt Jacob wrote: > One solution that Scott suggested to some of the negotiation issues for > the MPT was to not do parallel problem, i.e., all targets in parallel. > > The patch at http://people.freebsd.org/~mjacob/CAM_PATCHES_FOR_SEQSCAN > > does just that and I've had quite good success with it so far. I add > a new flat, PIM_SEQSCAN, which cases xpt_scan_bus to *not* scan all > targets in parallel but rather to scan them sequentially. > > Comments? > > The code also does some cleanups under failure conditions. > > After a bit more testing I'd like to put this in if there are no > objections so I can get the mpt U320 stuff off my back for a while. I think that this is a good idea. It's a shame that we have to emulate Windows and Linux behaviour, but if it's needed then it's needed. Good job getting it figured out. Scott From owner-freebsd-scsi@FreeBSD.ORG Mon Jun 5 11:03:15 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B8C316A4C8 for ; Mon, 5 Jun 2006 11:03:15 +0000 (UTC) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40E5043D4C for ; Mon, 5 Jun 2006 11:03:14 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k55B3Epw010391 for ; Mon, 5 Jun 2006 11:03:14 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k55B3CSf010387 for freebsd-scsi@freebsd.org; Mon, 5 Jun 2006 11:03:12 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 5 Jun 2006 11:03:12 GMT Message-Id: <200606051103.k55B3CSf010387@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-scsi@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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: Mon, 05 Jun 2006 11:03:17 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/05/03] kern/27059 scsi [sym] SCSI subsystem hangs under heavy lo o [2001/06/29] kern/28508 scsi problems with backup to Tandberg SLR40 st o [2002/06/17] kern/39388 scsi ncr/sym drivers fail with 53c810 and more o [2002/07/22] kern/40895 scsi wierd kernel / device driver bug o [2003/05/24] kern/52638 scsi [panic] SCSI U320 on SMP server won't run s [2003/09/30] kern/57398 scsi [mly] Current fails to install on mly(4) o [2003/12/26] kern/60598 scsi wire down of scsi devices conflicts with o [2003/12/27] kern/60641 scsi [sym] Sporadic SCSI bus resets with 53C81 s [2004/01/10] kern/61165 scsi [panic] kernel page fault after calling c o [2004/12/02] kern/74627 scsi [ahc] [hang] Adaptec 2940U2W Can't boot 5 o [2005/06/04] kern/81887 scsi [aac] Adaptec SCSI 2130S aac0: GetDeviceP o [2005/12/12] kern/90282 scsi [sym] SCSI bus resets cause loss of ch de o [2006/02/04] kern/92798 scsi [ahc] SCSI problem with timeouts o [2006/02/10] kern/93128 scsi [sym] FreeBSD 6.1 BETA 1 has problems wit o [2006/03/22] kern/94838 scsi Kernel panic while mounting SD card with 15 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/12/06] kern/23314 scsi aic driver fails to detect Adaptec 1520B o [2002/02/23] kern/35234 scsi World access to /dev/pass? (for scanner) o [2002/06/02] kern/38828 scsi [feature request] DPT PM2012B/90 doesn't o [2002/10/29] kern/44587 scsi dev/dpt/dpt.h is missing defines required o [2005/01/12] kern/76178 scsi [ahd] Problem with ahd and large SCSI Rai o [2006/04/21] kern/96133 scsi [scsi] [patch] add scsi quirk for joyfly 6 problems total. From owner-freebsd-scsi@FreeBSD.ORG Mon Jun 5 16:45:14 2006 Return-Path: X-Original-To: scsi@freebsd.org Delivered-To: freebsd-scsi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C65EB16ABDA for ; Mon, 5 Jun 2006 16:45:14 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F35643D45 for ; Mon, 5 Jun 2006 16:45:14 +0000 (GMT) (envelope-from mjacob@FreeBSD.org) Received: from freefall.freebsd.org (mjacob@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k55GjEqS041698 for ; Mon, 5 Jun 2006 16:45:14 GMT (envelope-from mjacob@freefall.freebsd.org) Received: (from mjacob@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k55GjEgP041697 for scsi@freebsd.org; Mon, 5 Jun 2006 16:45:14 GMT (envelope-from mjacob) Date: Mon, 5 Jun 2006 16:45:14 GMT From: Matt Jacob Message-Id: <200606051645.k55GjEgP041697@freefall.freebsd.org> To: scsi@freebsd.org Cc: Subject: domain validation 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: Mon, 05 Jun 2006 16:45:19 -0000 >From the point of view of how the probe code is currently structured, it seems that this is the natural place to insert DOMAIN VALIDATION. That is, don't make it a function of each HBA, but rather that of CAM when it is doing device attaching. Thoughts? From owner-freebsd-scsi@FreeBSD.ORG Mon Jun 5 17:34:04 2006 Return-Path: X-Original-To: scsi@freebsd.org Delivered-To: freebsd-scsi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A8A416A4FF; Mon, 5 Jun 2006 17:34:04 +0000 (UTC) (envelope-from ken@nargothrond.kdm.org) Received: from nargothrond.kdm.org (nargothrond.kdm.org [70.56.43.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6A3443D46; Mon, 5 Jun 2006 17:34:03 +0000 (GMT) (envelope-from ken@nargothrond.kdm.org) Received: from nargothrond.kdm.org (localhost [127.0.0.1]) by nargothrond.kdm.org (8.13.6/8.13.6) with ESMTP id k55HY2KC023504; Mon, 5 Jun 2006 11:34:02 -0600 (MDT) (envelope-from ken@nargothrond.kdm.org) Received: (from ken@localhost) by nargothrond.kdm.org (8.13.6/8.13.6/Submit) id k55HY2cL023503; Mon, 5 Jun 2006 11:34:02 -0600 (MDT) (envelope-from ken) Date: Mon, 5 Jun 2006 11:34:02 -0600 From: "Kenneth D. Merry" To: Matt Jacob Message-ID: <20060605173402.GA23444@nargothrond.kdm.org> References: <200606040305.k5435Nm3083345@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200606040305.k5435Nm3083345@freefall.freebsd.org> User-Agent: Mutt/1.4.2i X-Virus-Scanned: ClamAV 0.88.1/1512/Sun Jun 4 03:58:49 2006 on nargothrond.kdm.org X-Virus-Status: Clean Cc: scsi@freebsd.org Subject: Re: changes to cam_xpt to support sequential scanning (!parallel) 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: Mon, 05 Jun 2006 17:34:09 -0000 On Sun, Jun 04, 2006 at 03:05:23 +0000, Matt Jacob wrote: > > One solution that Scott suggested to some of the negotiation issues for > the MPT was to not do parallel problem, i.e., all targets in parallel. > > The patch at http://people.freebsd.org/~mjacob/CAM_PATCHES_FOR_SEQSCAN > > does just that and I've had quite good success with it so far. I add > a new flat, PIM_SEQSCAN, which cases xpt_scan_bus to *not* scan all > targets in parallel but rather to scan them sequentially. > > Comments? Sounds like a good idea to me. It'll allow us to also do the same thing for any other devices that come along that can't handle the parallel probe. I took a brief look through it, but I haven't reviewed it in detail. It looks like there are a few whitespace type changes. > The code also does some cleanups under failure conditions. > > After a bit more testing I'd like to put this in if there are no > objections so I can get the mpt U320 stuff off my back for a while. I would say go for it if things seem to work well. (I'm assuming you've also tested it with an Adaptec, Qlogic or some other controller that works with the parallel scan?) Ken -- Kenneth Merry ken@kdm.org From owner-freebsd-scsi@FreeBSD.ORG Mon Jun 5 17:45:18 2006 Return-Path: X-Original-To: scsi@freebsd.org Delivered-To: freebsd-scsi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0274116AC31 for ; Mon, 5 Jun 2006 17:45:18 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C46FF43D45; Mon, 5 Jun 2006 17:45:17 +0000 (GMT) (envelope-from mjacob@FreeBSD.org) Received: from freefall.freebsd.org (mjacob@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k55HjHBd047952; Mon, 5 Jun 2006 17:45:17 GMT (envelope-from mjacob@freefall.freebsd.org) Received: (from mjacob@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k55HjHqt047951; Mon, 5 Jun 2006 17:45:17 GMT (envelope-from mjacob) Date: Mon, 5 Jun 2006 17:45:17 GMT From: Matt Jacob Message-Id: <200606051745.k55HjHqt047951@freefall.freebsd.org> To: ken@kdm.org Cc: scsi@freebsd.org Subject: Re: changes to cam_xpt to support sequential scanning (!parallel) 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: Mon, 05 Jun 2006 17:45:18 -0000 >Sounds like a good idea to me. It'll allow us to also do the same thing >for any other devices that come along that can't handle the parallel probe. > >I took a brief look through it, but I haven't reviewed it in detail. It >looks like there are a few whitespace type changes. Yeah, sorry. I'll back those out. >> The code also does some cleanups under failure conditions. >> >> After a bit more testing I'd like to put this in if there are no >> objections so I can get the mpt U320 stuff off my back for a while. > >I would say go for it if things seem to work well. (I'm assuming you've >also tested it with an Adaptec, Qlogic or some other controller that works >with the parallel scan?) Yes, I will have completed testing with: Adaptec 2940 Symbios 53c95 Qlogic 1040 *and* with some narrow/async targets other than SES before I do a checkin. Thanks! From owner-freebsd-scsi@FreeBSD.ORG Mon Jun 5 23:30:55 2006 Return-Path: X-Original-To: scsi@freebsd.org Delivered-To: freebsd-scsi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2E3416BFB9; Mon, 5 Jun 2006 22:52:10 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F84C43D5F; Mon, 5 Jun 2006 22:52:05 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [10.10.3.185] ([69.15.205.254]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k55Mpw03011873; Mon, 5 Jun 2006 16:52:04 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4484B57E.8000600@samsco.org> Date: Mon, 05 Jun 2006 16:51:42 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matt Jacob References: <200606051645.k55GjEgP041697@freefall.freebsd.org> In-Reply-To: <200606051645.k55GjEgP041697@freefall.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=3.8 tests=none autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: scsi@freebsd.org Subject: Re: domain validation 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: Mon, 05 Jun 2006 23:31:00 -0000 Matt Jacob wrote: >>From the point of view of how the probe code is currently structured, it > seems that this is the natural place to insert DOMAIN VALIDATION. > > That is, don't make it a function of each HBA, but rather that of CAM > when it is doing device attaching. > > Thoughts? Correct, it needs to be in CAM. The optimal place in the the probe device. Gibbs and I wrote a DV state machine for the linux Adaptec drivers that I've wanted to port back but have never had time to do. Scott From owner-freebsd-scsi@FreeBSD.ORG Tue Jun 6 10:28:27 2006 Return-Path: X-Original-To: scsi@freebsd.org Delivered-To: freebsd-scsi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52D8D16B0B1 for ; Tue, 6 Jun 2006 10:28:27 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C605743D46 for ; Tue, 6 Jun 2006 10:28:26 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1FnYnO-0008la-Cw; Tue, 06 Jun 2006 13:28:22 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Scott Long Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 06 Jun 2006 13:28:22 +0300 From: Danny Braniss Message-ID: Cc: scsi@freebsd.org, Maxim Sobolev , Nate Lawson Subject: iSCSI 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, 06 Jun 2006 10:28:31 -0000 hi, the latest noise about iSCSI has pricked my curiosity. Since the iSCSI protocol part is almost ok, Q: How complicated can it be to write the cam-target, taking into concideration that there is no hardware involved. my idea is to have the non time critical stuff in userland (login, negotiation etc) and the rest inside the kernel. danny From owner-freebsd-scsi@FreeBSD.ORG Wed Jun 7 01:57:58 2006 Return-Path: X-Original-To: scsi@freebsd.org Delivered-To: freebsd-scsi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13E9616ABE5 for ; Wed, 7 Jun 2006 01:49:13 +0000 (UTC) (envelope-from nate@root.org) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id B38B243D46 for ; Wed, 7 Jun 2006 01:49:12 +0000 (GMT) (envelope-from nate@root.org) Received: from [192.168.1.4] (n219077215102.netvigator.com [219.77.215.102]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id k571mkqL026336 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 6 Jun 2006 18:48:48 -0700 Message-ID: <4486301A.7080804@root.org> Date: Tue, 06 Jun 2006 18:47:06 -0700 From: Nate Lawson User-Agent: Thunderbird 1.5.0.2 (X11/20060501) MIME-Version: 1.0 To: Danny Braniss References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Maxim Sobolev , scsi@freebsd.org Subject: Re: iSCSI 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: Wed, 07 Jun 2006 01:58:01 -0000 Danny Braniss wrote: > hi, > the latest noise about iSCSI has pricked my curiosity. > Since the iSCSI protocol part is almost ok, > Q: How complicated can it be to write the cam-target, taking into > concideration that there is no hardware involved. > > my idea is to have the non time critical stuff in userland (login, negotiation > etc) and the rest inside the kernel. > The first task is just to support target mode in your iscsi driver. To do that, you just have to support the ATIO, CTIO, INOT, etc. CCBs. See isp, ahc, or now mpt for examples. Once you have that done, the userland src/share/examples/scsi_target should just work. We already have all the infrastructure done to support various targets. All you need to do to add new target types is add a hook into scsi_target(4) [the kernel driver] to allow kernel processing of target requests. -- Nate From owner-freebsd-scsi@FreeBSD.ORG Sat Jun 10 21:48:11 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F15416A41B for ; Sat, 10 Jun 2006 21:48:11 +0000 (UTC) (envelope-from joe@joeholden.co.uk) Received: from elise.stf.rewt.org.uk (elise.stf.rewt.org.uk [82.152.108.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65DC543D6A for ; Sat, 10 Jun 2006 21:48:06 +0000 (GMT) (envelope-from joe@joeholden.co.uk) Received: from [82.152.108.166] (im.a.raver.not.a.fucking.drug-addict.be [82.152.108.166]) (authenticated bits=0) by elise.stf.rewt.org.uk (8.13.6/8.13.4) with ESMTP id k5ALm3u3095536 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 10 Jun 2006 22:48:04 +0100 (BST) (envelope-from joe@joeholden.co.uk) Message-ID: <448B3E07.1090408@joeholden.co.uk> Date: Sat, 10 Jun 2006 22:47:51 +0100 From: Joe Holden User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: freebsd-scsi@freebsd.org X-Enigmail-Version: 0.94.0.0 OpenPGP: id=13A6D1E7; url=http://www.joeholden.co.uk/pubkey.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA1807D68F789852F43FD612C" X-Spam-Status: No, score=-3.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on elise.stf.rewt.org.uk Subject: LSI Logic Fibre Channel Card X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: joe@joeholden.co.uk List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jun 2006 21:48:11 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA1807D68F789852F43FD612C Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Collective, I've recently installed FreeBSD 6.1 onto a machine, and attached a LSI Logic 919X FC Controller, after finally getting the card working, im having issues with GEOM. It's reporting a max size of 1tb, fdisk shows capacity as 999999MB(Basically it doesn't know). Everytime i press a key in sysinstall, it says my GEOM is incorrect. Any suggestions as how to go about getting the full 3.5TB? (I'm not familiar with SCSI) Thanks, Joe --------------enigA1807D68F789852F43FD612C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEiz4OdQJXshOm0ecRAjVUAJ989dd/yZ/VNwZZv6QjIgkAl+qsqgCfTX71 BNKiKDKWSlG0bxaRwEstUl8= =toTs -----END PGP SIGNATURE----- --------------enigA1807D68F789852F43FD612C--