From owner-freebsd-scsi@FreeBSD.ORG Mon Nov 14 11:02:36 2005 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 1D2C016A428 for ; Mon, 14 Nov 2005 11:02:36 +0000 (GMT) (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 DC17E43D49 for ; Mon, 14 Nov 2005 11:02:35 +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.3/8.13.3) with ESMTP id jAEB2ZhQ073843 for ; Mon, 14 Nov 2005 11:02:35 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAEB2ZOT073837 for freebsd-scsi@freebsd.org; Mon, 14 Nov 2005 11:02:35 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 14 Nov 2005 11:02:35 GMT Message-Id: <200511141102.jAEB2ZOT073837@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, 14 Nov 2005 11:02:36 -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 11 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 [2001/08/15] kern/29727 scsi [amr] [patch] amr_enquiry3 structure in a 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 [2003/10/01] kern/57469 scsi [scsi] [patch] Quirk for Conner CP3500 o [2005/01/12] kern/76178 scsi [ahd] Problem with ahd and large SCSI Rai 7 problems total. From owner-freebsd-scsi@FreeBSD.ORG Mon Nov 14 21:15:27 2005 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 3C66416A41F for ; Mon, 14 Nov 2005 21:15:27 +0000 (GMT) (envelope-from user@dhp.com) Received: from shell.dhp.com (shell.dhp.com [199.245.105.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id E737C43D45 for ; Mon, 14 Nov 2005 21:15:26 +0000 (GMT) (envelope-from user@dhp.com) Received: by shell.dhp.com (Postfix, from userid 896) id 61F0B3133B; Mon, 14 Nov 2005 16:15:25 -0500 (EST) Date: Mon, 14 Nov 2005 16:15:25 -0500 (EST) From: user To: freebsd-scsi@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: most rock solid SATA Raid card for 5.4-RELEASE and 6.0-RELEASE 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, 14 Nov 2005 21:15:27 -0000 Hello, My system calls for reliability above all else, and one of the ingredients needed is a SATA raid card. Past experience with AAC scsi raid cards (dell PERC) have all been very good, and I feel like the no-brainer choice would be the adaptec 2610SA. However, I cannot tell whether this support is in aac or not in 5.4 .. is it, and if not, do I just need to manually add a tuple to aac_pci.c ? Is there something more "de facto" - something more solid and supported on freebsd than the 2610SA ? thanks. From owner-freebsd-scsi@FreeBSD.ORG Mon Nov 14 21:51:57 2005 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 C9E0F16A41F for ; Mon, 14 Nov 2005 21:51:57 +0000 (GMT) (envelope-from lists@cobalt.antimatter.net) Received: from cobalt.antimatter.net (cobalt.antimatter.net [69.55.224.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B29443D46 for ; Mon, 14 Nov 2005 21:51:57 +0000 (GMT) (envelope-from lists@cobalt.antimatter.net) Received: from cobalt.antimatter.net (localhost [127.0.0.1]) by cobalt.antimatter.net (8.13.4/8.13.4) with ESMTP id jAELpuxw023094 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Nov 2005 13:51:56 -0800 Received: from localhost (lists@localhost) by cobalt.antimatter.net (8.13.4/8.13.4/Submit) with ESMTP id jAELptTL023091; Mon, 14 Nov 2005 13:51:56 -0800 Date: Mon, 14 Nov 2005 13:51:55 -0800 (PST) From: "Glenn's mailing lists" To: user In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-scsi@freebsd.org Subject: Re: most rock solid SATA Raid card for 5.4-RELEASE and 6.0-RELEASE 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, 14 Nov 2005 21:51:57 -0000 On Mon, 14 Nov 2005, user wrote: > > Hello, > > My system calls for reliability above all else, and one of the ingredients > needed is a SATA raid card. > > Past experience with AAC scsi raid cards (dell PERC) have all been very > good, and I feel like the no-brainer choice would be the adaptec 2610SA. > > However, I cannot tell whether this support is in aac or not in 5.4 .. is > it, and if not, do I just need to manually add a tuple to aac_pci.c ? > > Is there something more "de facto" - something more solid and supported on > freebsd than the 2610SA ? If you're referring to the 21610SA, the aac driver has had support since 5.3-RELEASE -Glenn > > thanks. > > _______________________________________________ > 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" > From owner-freebsd-scsi@FreeBSD.ORG Mon Nov 14 22:06:11 2005 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 C9C0216A41F for ; Mon, 14 Nov 2005 22:06:11 +0000 (GMT) (envelope-from user@dhp.com) Received: from shell.dhp.com (shell.dhp.com [199.245.105.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E75843D62 for ; Mon, 14 Nov 2005 22:06:11 +0000 (GMT) (envelope-from user@dhp.com) Received: by shell.dhp.com (Postfix, from userid 896) id 1FF473130F; Mon, 14 Nov 2005 17:06:10 -0500 (EST) Date: Mon, 14 Nov 2005 17:06:10 -0500 (EST) From: user To: Glenn's mailing lists In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-scsi@freebsd.org Subject: Re: most rock solid SATA Raid card for 5.4-RELEASE and 6.0-RELEASE 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, 14 Nov 2005 22:06:11 -0000 On Mon, 14 Nov 2005, Glenn's mailing lists wrote: > > Is there something more "de facto" - something more solid and supported on > > freebsd than the 2610SA ? > > If you're referring to the 21610SA, the aac driver has had support since > 5.3-RELEASE No, that is the 16-port card, and yes - I see it listed in aac_pci.c - I am talking about the 2610SA, which is a six port SATA raid card. I found a patch for aac_pci.c that adds the identifiers: http://lists.freebsd.org/pipermail/freebsd-hackers/2005-July/012828.html but I just want to make sure that this is a non-hack way to run this card in 5.4-RELEASE. If the only addition to aac_pci.c is the identifiers, then can I assume that the 2610SA will be as solid as any other raid card that uses aac (like dell PERCs) ? Any comments at all are appreciated. From owner-freebsd-scsi@FreeBSD.ORG Mon Nov 14 22:10:22 2005 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 5B41016A41F for ; Mon, 14 Nov 2005 22:10:22 +0000 (GMT) (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 D1FAF43D45 for ; Mon, 14 Nov 2005 22:10:17 +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 jAEMADws062371; Mon, 14 Nov 2005 15:10:13 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <43790B44.8040007@samsco.org> Date: Mon, 14 Nov 2005 15:10:12 -0700 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: user References: In-Reply-To: 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.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on pooker.samsco.org Cc: freebsd-scsi@freebsd.org Subject: Re: most rock solid SATA Raid card for 5.4-RELEASE and 6.0-RELEASE 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, 14 Nov 2005 22:10:22 -0000 user wrote: > Hello, > > My system calls for reliability above all else, and one of the ingredients > needed is a SATA raid card. > > Past experience with AAC scsi raid cards (dell PERC) have all been very > good, and I feel like the no-brainer choice would be the adaptec 2610SA. > > However, I cannot tell whether this support is in aac or not in 5.4 .. is > it, and if not, do I just need to manually add a tuple to aac_pci.c ? > > Is there something more "de facto" - something more solid and supported on > freebsd than the 2610SA ? > > thanks. > The 16-channel 2610SA is supported in FreeBSD 5.4, just under a slightly mangled name (21610SA, IIRC. I was apparently confused about the name of this when I added it). I'll also be updating the RELENG_5 code stream soon with the new aac improvements that are in 6.0. This will include the corrected name for this card as well as IDs for many new cards. As for general SATA RAID support in FreeBSD, it has gotten better in the past year. Adaptec has started putting engineering resources into the aac driver and has also updated the aaccli tool. The LSI Megaraid driver (AMR) has gotten a lot of improvements from both the community and from LSI. They also have a FreeBSD management tool, but it's a bit primitive. Areca has come onto the scene with full FreeBSD driver and application support. The Highpoint RocketRAID series is also fairly well supported. And there is always the 3ware 9000 series. I assume that Promise SATA is also supported, but I don't know much about it. So yeah, there are a bunch of options. Email me in private if you want my personal recommendations. Scott From owner-freebsd-scsi@FreeBSD.ORG Mon Nov 14 22:18:41 2005 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 E852516A41F for ; Mon, 14 Nov 2005 22:18:41 +0000 (GMT) (envelope-from lists@cobalt.antimatter.net) Received: from cobalt.antimatter.net (cobalt.antimatter.net [69.55.224.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E5E643D45 for ; Mon, 14 Nov 2005 22:18:41 +0000 (GMT) (envelope-from lists@cobalt.antimatter.net) Received: from cobalt.antimatter.net (localhost [127.0.0.1]) by cobalt.antimatter.net (8.13.4/8.13.4) with ESMTP id jAEMIenl024433 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Nov 2005 14:18:40 -0800 Received: from localhost (lists@localhost) by cobalt.antimatter.net (8.13.4/8.13.4/Submit) with ESMTP id jAEMIeqQ024430; Mon, 14 Nov 2005 14:18:40 -0800 Date: Mon, 14 Nov 2005 14:18:39 -0800 (PST) From: "Glenn's mailing lists" To: user In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-scsi@freebsd.org Subject: Re: most rock solid SATA Raid card for 5.4-RELEASE and 6.0-RELEASE 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, 14 Nov 2005 22:18:42 -0000 On Mon, 14 Nov 2005, user wrote: > > > On Mon, 14 Nov 2005, Glenn's mailing lists wrote: > >>> Is there something more "de facto" - something more solid and supported on >>> freebsd than the 2610SA ? >> >> If you're referring to the 21610SA, the aac driver has had support since >> 5.3-RELEASE > > > No, that is the 16-port card, and yes - I see it listed in aac_pci.c - I > am talking about the 2610SA, which is a six port SATA raid card. I don't see that model listed on the adaptec site, do you have a link? -Glenn > > I found a patch for aac_pci.c that adds the identifiers: > > http://lists.freebsd.org/pipermail/freebsd-hackers/2005-July/012828.html > > but I just want to make sure that this is a non-hack way to run this card > in 5.4-RELEASE. > > If the only addition to aac_pci.c is the identifiers, then can I assume > that the 2610SA will be as solid as any other raid card that uses aac > (like dell PERCs) ? > > Any comments at all are appreciated. > > From owner-freebsd-scsi@FreeBSD.ORG Mon Nov 14 22:21:22 2005 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 80D4316A41F for ; Mon, 14 Nov 2005 22:21:22 +0000 (GMT) (envelope-from user@dhp.com) Received: from shell.dhp.com (shell.dhp.com [199.245.105.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id D655043D75 for ; Mon, 14 Nov 2005 22:21:19 +0000 (GMT) (envelope-from user@dhp.com) Received: by shell.dhp.com (Postfix, from userid 896) id F0CCA31307; Mon, 14 Nov 2005 17:21:18 -0500 (EST) Date: Mon, 14 Nov 2005 17:21:18 -0500 (EST) From: user To: Glenn's mailing lists In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-scsi@freebsd.org Subject: Re: most rock solid SATA Raid card for 5.4-RELEASE and 6.0-RELEASE 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, 14 Nov 2005 22:21:22 -0000 On Mon, 14 Nov 2005, Glenn's mailing lists wrote: > On Mon, 14 Nov 2005, user wrote: > > > > > > > On Mon, 14 Nov 2005, Glenn's mailing lists wrote: > > > >>> Is there something more "de facto" - something more solid and supported on > >>> freebsd than the 2610SA ? > >> > >> If you're referring to the 21610SA, the aac driver has had support since > >> 5.3-RELEASE > > > > > > No, that is the 16-port card, and yes - I see it listed in aac_pci.c - I > > am talking about the 2610SA, which is a six port SATA raid card. > > I don't see that model listed on the adaptec site, do you have a link? Here is one on ebay: http://tinyurl.com/bbmnm it is a Dell CERC, apparently - and is perhaps not sold outside of Dell... From owner-freebsd-scsi@FreeBSD.ORG Mon Nov 14 22:24:27 2005 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 462A716A485 for ; Mon, 14 Nov 2005 22:24:27 +0000 (GMT) (envelope-from user@dhp.com) Received: from shell.dhp.com (shell.dhp.com [199.245.105.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1357543D46 for ; Mon, 14 Nov 2005 22:24:26 +0000 (GMT) (envelope-from user@dhp.com) Received: by shell.dhp.com (Postfix, from userid 896) id 4D21631307; Mon, 14 Nov 2005 17:24:25 -0500 (EST) Date: Mon, 14 Nov 2005 17:24:25 -0500 (EST) From: user To: Scott Long In-Reply-To: <43790B44.8040007@samsco.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-scsi@freebsd.org Subject: Re: most rock solid SATA Raid card for 5.4-RELEASE and 6.0-RELEASE 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, 14 Nov 2005 22:24:28 -0000 On Mon, 14 Nov 2005, Scott Long wrote: > The 16-channel 2610SA is supported in FreeBSD 5.4, just under a slightly > mangled name (21610SA, IIRC. I was apparently confused about the name > of this when I added it). I don't think so ... the 2610sa is a different thing, I think - it is a Dell CERC controller - here is one on ebay: http://tinyurl.com/bbmnm and as you can see, it is 6-port only. > I'll also be updating the RELENG_5 code stream soon with the new aac > improvements that are in 6.0. This will include the corrected name for > this card as well as IDs for many new cards. Can you keep this Dell CERC (2610sa) in mind, and grab those identifiers in the link from my original post and stick them in as well, if appropriate ? > As for general SATA RAID support in FreeBSD, it has gotten better in the > past year. Adaptec has started putting engineering resources into the > aac driver and has also updated the aaccli tool. The LSI Megaraid > driver (AMR) has gotten a lot of improvements from both the community > and from LSI. They also have a FreeBSD management tool, but it's a bit > primitive. Areca has come onto the scene with full FreeBSD driver and > application support. The Highpoint RocketRAID series is also fairly > well supported. And there is always the 3ware 9000 series. I assume > that Promise SATA is also supported, but I don't know much about it. > So yeah, there are a bunch of options. Email me in private if you want > my personal recommendations. Ok, all of the items you list in this last paragraph - the adaptec engineering, the better aaccli - are all of those to be found in 5.4-RELEASE, or do I need to go to 6.0 ? Thanks. From owner-freebsd-scsi@FreeBSD.ORG Mon Nov 14 22:25:56 2005 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 8B29016A420 for ; Mon, 14 Nov 2005 22:25:56 +0000 (GMT) (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 1090F43D46 for ; Mon, 14 Nov 2005 22:25: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 jAEMPqSn062489; Mon, 14 Nov 2005 15:25:53 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <43790EF0.6000902@samsco.org> Date: Mon, 14 Nov 2005 15:25:52 -0700 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: "Glenn's mailing lists" References: In-Reply-To: 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.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on pooker.samsco.org Cc: freebsd-scsi@freebsd.org, user Subject: Re: most rock solid SATA Raid card for 5.4-RELEASE and 6.0-RELEASE 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, 14 Nov 2005 22:25:56 -0000 Glenn's mailing lists wrote: > On Mon, 14 Nov 2005, user wrote: > >> >> >> On Mon, 14 Nov 2005, Glenn's mailing lists wrote: >> >>>> Is there something more "de facto" - something more solid and >>>> supported on >>>> freebsd than the 2610SA ? >>> >>> >>> If you're referring to the 21610SA, the aac driver has had support since >>> 5.3-RELEASE >> >> >> >> No, that is the 16-port card, and yes - I see it listed in aac_pci.c - I >> am talking about the 2610SA, which is a six port SATA raid card. > > > I don't see that model listed on the adaptec site, do you have a link? > > -Glenn > He's probably referring to the one of the Dell or HP branded SATA 6 channel cards. Those are supported too. but the driver in 5.4 might not have all of the IDs. Scott From owner-freebsd-scsi@FreeBSD.ORG Mon Nov 14 22:32:20 2005 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 68BB016A41F for ; Mon, 14 Nov 2005 22:32:20 +0000 (GMT) (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 C842243D49 for ; Mon, 14 Nov 2005 22:32:19 +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 jAEMWIxu062522; Mon, 14 Nov 2005 15:32:18 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <43791071.2040802@samsco.org> Date: Mon, 14 Nov 2005 15:32:17 -0700 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: user References: In-Reply-To: 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.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on pooker.samsco.org Cc: freebsd-scsi@freebsd.org Subject: Re: most rock solid SATA Raid card for 5.4-RELEASE and 6.0-RELEASE 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, 14 Nov 2005 22:32:20 -0000 user wrote: > > On Mon, 14 Nov 2005, Scott Long wrote: > > >>The 16-channel 2610SA is supported in FreeBSD 5.4, just under a slightly >>mangled name (21610SA, IIRC. I was apparently confused about the name >>of this when I added it). > > > > I don't think so ... the 2610sa is a different thing, I think - it is a > Dell CERC controller - here is one on ebay: > > http://tinyurl.com/bbmnm > > and as you can see, it is 6-port only. > > > >>I'll also be updating the RELENG_5 code stream soon with the new aac >>improvements that are in 6.0. This will include the corrected name for >>this card as well as IDs for many new cards. > > > > Can you keep this Dell CERC (2610sa) in mind, and grab those identifiers > in the link from my original post and stick them in as well, if > appropriate ? > > > >>As for general SATA RAID support in FreeBSD, it has gotten better in the >>past year. Adaptec has started putting engineering resources into the >>aac driver and has also updated the aaccli tool. The LSI Megaraid >>driver (AMR) has gotten a lot of improvements from both the community >>and from LSI. They also have a FreeBSD management tool, but it's a bit >>primitive. Areca has come onto the scene with full FreeBSD driver and >>application support. The Highpoint RocketRAID series is also fairly >>well supported. And there is always the 3ware 9000 series. I assume >>that Promise SATA is also supported, but I don't know much about it. >>So yeah, there are a bunch of options. Email me in private if you want >>my personal recommendations. > > > > Ok, all of the items you list in this last paragraph - the adaptec > engineering, the better aaccli - are all of those to be found in > 5.4-RELEASE, or do I need to go to 6.0 ? > > Thanks. > The updated aaccli is probably available from the Adaptec website and should work just fine with 5.4. The updated driver is only in 6.0 right now. Like I said above, I'll be updating the RELENG_5 code stream with it soon, so that if there is a 5.5 it will have it. That said, I'd highly recommend that you investigate 6.0 as it has many other improvements, and upgrading from 5.4 is very very easy. Scott From owner-freebsd-scsi@FreeBSD.ORG Mon Nov 14 22:56:56 2005 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 6916116A41F for ; Mon, 14 Nov 2005 22:56:56 +0000 (GMT) (envelope-from user@dhp.com) Received: from shell.dhp.com (shell.dhp.com [199.245.105.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id E072743D49 for ; Mon, 14 Nov 2005 22:56:55 +0000 (GMT) (envelope-from user@dhp.com) Received: by shell.dhp.com (Postfix, from userid 896) id AD86031344; Mon, 14 Nov 2005 17:56:54 -0500 (EST) Date: Mon, 14 Nov 2005 17:56:54 -0500 (EST) From: user To: Scott Long In-Reply-To: <43791071.2040802@samsco.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-scsi@freebsd.org Subject: Re: most rock solid SATA Raid card for 5.4-RELEASE and 6.0-RELEASE 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, 14 Nov 2005 22:56:56 -0000 Scott, thanks for your comments and help. On Mon, 14 Nov 2005, Scott Long wrote: > The updated aaccli is probably available from the Adaptec website and > should work just fine with 5.4. The updated driver is only in 6.0 right > now. Like I said above, I'll be updating the RELENG_5 code stream with > it soon, so that if there is a 5.5 it will have it. That said, I'd > highly recommend that you investigate 6.0 as it has many other > improvements, and upgrading from 5.4 is very very easy. Understood. I will begin working with 6.0 immediately. From what I can gether, the move from 5.x to 6.0 is very different than the move from 4.x to 5.0 ... 6.0 seems to be more of a organic growth from 5.x, and is less drastic and profound in its changes ? I ask because there is no way I would have gone production on 5.0-RELEASE at the time, but now with 6.0-RELEASE I am hearing nothing but good and reassuring things about it ... thanks. From owner-freebsd-scsi@FreeBSD.ORG Mon Nov 14 23:01:44 2005 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 EE21B16A41F for ; Mon, 14 Nov 2005 23:01:44 +0000 (GMT) (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 4749D43D46 for ; Mon, 14 Nov 2005 23:01:44 +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 jAEN1g9v062825; Mon, 14 Nov 2005 16:01:42 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <43791756.2030206@samsco.org> Date: Mon, 14 Nov 2005 16:01:42 -0700 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: user References: In-Reply-To: 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.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on pooker.samsco.org Cc: freebsd-scsi@freebsd.org Subject: Re: most rock solid SATA Raid card for 5.4-RELEASE and 6.0-RELEASE 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, 14 Nov 2005 23:01:45 -0000 user wrote: > Scott, > > thanks for your comments and help. > > On Mon, 14 Nov 2005, Scott Long wrote: > > >>The updated aaccli is probably available from the Adaptec website and >>should work just fine with 5.4. The updated driver is only in 6.0 right >>now. Like I said above, I'll be updating the RELENG_5 code stream with >>it soon, so that if there is a 5.5 it will have it. That said, I'd >>highly recommend that you investigate 6.0 as it has many other >>improvements, and upgrading from 5.4 is very very easy. > > > > Understood. I will begin working with 6.0 immediately. From what I can > gether, the move from 5.x to 6.0 is very different than the move from 4.x > to 5.0 ... 6.0 seems to be more of a organic growth from 5.x, and is less > drastic and profound in its changes ? > > I ask because there is no way I would have gone production on 5.0-RELEASE > at the time, but now with 6.0-RELEASE I am hearing nothing but good and > reassuring things about it ... > > thanks. > Yes, everyone worked very very hard on 6.0, and the results are quite good. We are also trying to make development and releases more predictable and less surprising for users =-) Scott From owner-freebsd-scsi@FreeBSD.ORG Fri Nov 18 14:16:42 2005 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 71BC916A41F for ; Fri, 18 Nov 2005 14:16:42 +0000 (GMT) (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 0DA1043D49 for ; Fri, 18 Nov 2005 14:16:41 +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 1Ed72b-000N0J-Tf; Fri, 18 Nov 2005 16:16:37 +0200 X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: Scott Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 18 Nov 2005 16:16:37 +0200 From: Danny Braniss Message-ID: Cc: scsi@freebsd.org Subject: xpt_bus_register panics 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: Fri, 18 Nov 2005 14:16:42 -0000 hi, it seems that i might be doing something wrong, if the iscsi_initiator.ko is loaded early on by the boot loader via iscsi_initiator_load="YES" the kernel panics in xpt_bus_register(...) i can move this part of the code, so that it will be done later, but was wondering if there is a 'correct' way to handle this. danny From owner-freebsd-scsi@FreeBSD.ORG Fri Nov 18 14:51:21 2005 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 CBB0D16A420 for ; Fri, 18 Nov 2005 14:51:21 +0000 (GMT) (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 6090943D46 for ; Fri, 18 Nov 2005 14:51:20 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id jAIEpBdR098971; Fri, 18 Nov 2005 07:51:11 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <437DEA5E.3000308@samsco.org> Date: Fri, 18 Nov 2005 07:51:10 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050615 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Danny Braniss References: In-Reply-To: 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.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on pooker.samsco.org Cc: scsi@freebsd.org Subject: Re: xpt_bus_register panics 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: Fri, 18 Nov 2005 14:51:21 -0000 Danny Braniss wrote: > hi, > it seems that i might be doing something wrong, if the > iscsi_initiator.ko is loaded early on by the boot loader via > iscsi_initiator_load="YES" > the kernel panics in xpt_bus_register(...) > > i can move this part of the code, so that it will be done later, but > was wondering if there is a 'correct' way to handle this. > > danny > Can you provide a traceback of the panic? Also, you don't need to special-case the module loading code with #ifdef KLD_MODULE. It should be unconditional. Scott From owner-freebsd-scsi@FreeBSD.ORG Fri Nov 18 15:05:02 2005 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 DA29216A41F for ; Fri, 18 Nov 2005 15:05:02 +0000 (GMT) (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 5C52B43D45 for ; Fri, 18 Nov 2005 15:05:02 +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 1Ed7nR-000O2H-Ap; Fri, 18 Nov 2005 17:05:01 +0200 X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: Scott Long In-Reply-To: Message from Scott Long of "Fri, 18 Nov 2005 07:51:10 MST." <437DEA5E.3000308@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 18 Nov 2005 17:05:01 +0200 From: Danny Braniss Message-ID: Cc: scsi@freebsd.org Subject: Re: xpt_bus_register panics 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: Fri, 18 Nov 2005 15:05:03 -0000 > Danny Braniss wrote: > > hi, > > it seems that i might be doing something wrong, if the > > iscsi_initiator.ko is loaded early on by the boot loader via > > iscsi_initiator_load="YES" > > the kernel panics in xpt_bus_register(...) > > > > i can move this part of the code, so that it will be done later, but > > was wondering if there is a 'correct' way to handle this. > > > > danny > > > > Can you provide a traceback of the panic? Also, you don't need > to special-case the module loading code with #ifdef KLD_MODULE. > It should be unconditional. what if it get's - someday - compiled into the kernel? but i see your point. Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x0 fault code = supervisor write, page not present instruction pointer = 0x20:0xc044f014 stack pointer = 0x28:0xc0c20c30 frame pointer = 0x28:0xc0c20d18 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) [thread pid 0 tid 0 ] Stopped at xpt_bus_register+0xe4: movl %ebx,0(%eax) db> tr Tracing pid 0 tid 0 td 0xc0933a80 xpt_bus_register(c555fd40,0,c0a564b0,c54202c0,c0a564b0) at xpt_bus_register+0xe4 ic_init(c0a567c0,c54202c0,c0c20d74,c063908b,c54202c0) at ic_init+0x51 iscsi_load(c54202c0,0,0,c0934680,0) at iscsi_load+0xb7 module_register_init(c0a564b0,c1ec00,c1e000,0,c0444fb5) at module_register_init+0x4b mi_startup() at mi_startup+0x96 begin() at begin+0x2c db> From owner-freebsd-scsi@FreeBSD.ORG Fri Nov 18 16:44:47 2005 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 C6B4F16A41F for ; Fri, 18 Nov 2005 16:44:47 +0000 (GMT) (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 394BC43D45 for ; Fri, 18 Nov 2005 16:44:47 +0000 (GMT) (envelope-from ken@nargothrond.kdm.org) Received: from nargothrond.kdm.org (localhost [127.0.0.1]) by nargothrond.kdm.org (8.12.11/8.12.11) with ESMTP id jAIGicVT076803; Fri, 18 Nov 2005 09:44:38 -0700 (MST) (envelope-from ken@nargothrond.kdm.org) Received: (from ken@localhost) by nargothrond.kdm.org (8.12.11/8.12.5/Submit) id jAIGicRa076802; Fri, 18 Nov 2005 09:44:38 -0700 (MST) (envelope-from ken) Date: Fri, 18 Nov 2005 09:44:38 -0700 From: "Kenneth D. Merry" To: Danny Braniss Message-ID: <20051118164438.GA76736@nargothrond.kdm.org> References: <437DEA5E.3000308@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i X-Virus-Scanned: ClamAV 0.86.1/1178/Thu Nov 17 22:27:25 2005 on nargothrond.kdm.org X-Virus-Status: Clean Cc: scsi@freebsd.org Subject: Re: xpt_bus_register panics 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: Fri, 18 Nov 2005 16:44:47 -0000 On Fri, Nov 18, 2005 at 17:05:01 +0200, Danny Braniss wrote: > > Danny Braniss wrote: > > > hi, > > > it seems that i might be doing something wrong, if the > > > iscsi_initiator.ko is loaded early on by the boot loader via > > > iscsi_initiator_load="YES" > > > the kernel panics in xpt_bus_register(...) > > > > > > i can move this part of the code, so that it will be done later, but > > > was wondering if there is a 'correct' way to handle this. > > > > > > danny > > > > > > > Can you provide a traceback of the panic? Also, you don't need > > to special-case the module loading code with #ifdef KLD_MODULE. > > It should be unconditional. > what if it get's - someday - compiled into the kernel? but i see > your point. > > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0x0 > fault code = supervisor write, page not present > instruction pointer = 0x20:0xc044f014 > stack pointer = 0x28:0xc0c20c30 > frame pointer = 0x28:0xc0c20d18 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 0 (swapper) > [thread pid 0 tid 0 ] > Stopped at xpt_bus_register+0xe4: movl %ebx,0(%eax) > db> tr > Tracing pid 0 tid 0 td 0xc0933a80 > xpt_bus_register(c555fd40,0,c0a564b0,c54202c0,c0a564b0) at > xpt_bus_register+0xe4 > ic_init(c0a567c0,c54202c0,c0c20d74,c063908b,c54202c0) at ic_init+0x51 > iscsi_load(c54202c0,0,0,c0934680,0) at iscsi_load+0xb7 > module_register_init(c0a564b0,c1ec00,c1e000,0,c0444fb5) at > module_register_init+0x4b > mi_startup() at mi_startup+0x96 > begin() at begin+0x2c > db> I wonder if your module is getting initialized before xpt_init() gets called. It looks like that section of xpt_bus_register() manipulates the xpt_busses list, which gets initialized in xpt_init(). Ken -- Kenneth Merry ken@kdm.org From owner-freebsd-scsi@FreeBSD.ORG Fri Nov 18 16:48:36 2005 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 1834316A41F for ; Fri, 18 Nov 2005 16:48:36 +0000 (GMT) (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 77B9E43D46 for ; Fri, 18 Nov 2005 16:48:35 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id jAIGmMGd099716; Fri, 18 Nov 2005 09:48:22 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <437E05D4.4050505@samsco.org> Date: Fri, 18 Nov 2005 09:48:20 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050615 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Kenneth D. Merry" References: <437DEA5E.3000308@samsco.org> <20051118164438.GA76736@nargothrond.kdm.org> In-Reply-To: <20051118164438.GA76736@nargothrond.kdm.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.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on pooker.samsco.org Cc: scsi@freebsd.org Subject: Re: xpt_bus_register panics 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: Fri, 18 Nov 2005 16:48:36 -0000 Kenneth D. Merry wrote: > On Fri, Nov 18, 2005 at 17:05:01 +0200, Danny Braniss wrote: > >>>Danny Braniss wrote: >>> >>>>hi, >>>> it seems that i might be doing something wrong, if the >>>>iscsi_initiator.ko is loaded early on by the boot loader via >>>> iscsi_initiator_load="YES" >>>>the kernel panics in xpt_bus_register(...) >>>> >>>>i can move this part of the code, so that it will be done later, but >>>>was wondering if there is a 'correct' way to handle this. >>>> >>>>danny >>>> >>> >>>Can you provide a traceback of the panic? Also, you don't need >>>to special-case the module loading code with #ifdef KLD_MODULE. >>>It should be unconditional. >> >>what if it get's - someday - compiled into the kernel? but i see >>your point. >> >> >>Fatal trap 12: page fault while in kernel mode >>cpuid = 0; apic id = 00 >>fault virtual address = 0x0 >>fault code = supervisor write, page not present >>instruction pointer = 0x20:0xc044f014 >>stack pointer = 0x28:0xc0c20c30 >>frame pointer = 0x28:0xc0c20d18 >>code segment = base 0x0, limit 0xfffff, type 0x1b >> = DPL 0, pres 1, def32 1, gran 1 >>processor eflags = interrupt enabled, resume, IOPL = 0 >>current process = 0 (swapper) >>[thread pid 0 tid 0 ] >>Stopped at xpt_bus_register+0xe4: movl %ebx,0(%eax) >>db> tr >>Tracing pid 0 tid 0 td 0xc0933a80 >>xpt_bus_register(c555fd40,0,c0a564b0,c54202c0,c0a564b0) at >>xpt_bus_register+0xe4 >>ic_init(c0a567c0,c54202c0,c0c20d74,c063908b,c54202c0) at ic_init+0x51 >>iscsi_load(c54202c0,0,0,c0934680,0) at iscsi_load+0xb7 >>module_register_init(c0a564b0,c1ec00,c1e000,0,c0444fb5) at >>module_register_init+0x4b >>mi_startup() at mi_startup+0x96 >>begin() at begin+0x2c >>db> > > > I wonder if your module is getting initialized before xpt_init() gets > called. > > It looks like that section of xpt_bus_register() manipulates the > xpt_busses list, which gets initialized in xpt_init(). > > Ken Yeah, I'm thinking the same thing. Maybe CAM needs to get initialized earlier. Scott