From owner-freebsd-questions@FreeBSD.ORG Wed Jan 10 10:38:08 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E8C9716A412 for ; Wed, 10 Jan 2007 10:38:08 +0000 (UTC) (envelope-from danm@prime.gushi.org) Received: from prime.gushi.org (prime.gushi.org [72.9.101.130]) by mx1.freebsd.org (Postfix) with ESMTP id BB3C913C455 for ; Wed, 10 Jan 2007 10:38:08 +0000 (UTC) (envelope-from danm@prime.gushi.org) Received: from prime.gushi.org (localhost [127.0.0.1]) by prime.gushi.org (8.13.8/8.13.8) with ESMTP id l0AAeWt0029811 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 10 Jan 2007 05:40:32 -0500 (EST) (envelope-from danm@prime.gushi.org) DKIM-Signature: a=rsa-sha1; c=simple/simple; d=prime.gushi.org; s=primegushiorg; t=1168425633; bh=XzE44xCNXAF0Y6XppaNiDLVKyYM=; h=DomainKey-Signature: Received:Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=0aWX5yz6gRvMncefL4jxXb5FGE2ayq4I9GD2Ka 6Z9HAPVVHs6MGbFznFYYA5COg0c283oLGf5dSHIcrc5j0K5w== DomainKey-Signature: a=rsa-sha1; s=primegushiorg; d=prime.gushi.org; c=nofws; q=dns; h=received:date:from:to:cc:subject:in-reply-to:message-id: references:mime-version:content-type; b=b4bpLPjyd5d7AyMkNPBH8xy1wUOPjFYdUZHWMmj7w0TxD7BLhEMhST687Hm2vrFii T4NOTtGvmaqHunpPqQXHw== Received: (from danm@localhost) by prime.gushi.org (8.13.8/8.13.6/Submit) id l0AAeWgP029798; Wed, 10 Jan 2007 05:40:32 -0500 (EST) (envelope-from danm) Date: Wed, 10 Jan 2007 05:40:32 -0500 (EST) From: "Dan Mahoney, System Admin" To: Erik Trulsson In-Reply-To: <20070110103252.GA49447@owl.midgard.homeip.net> Message-ID: <20070110053722.D57194@prime.gushi.org> References: <20070103024752.J35175@prime.gushi.org> <20070103123155.V52719@prime.gushi.org> <200701031418.13125.lists@jnielsen.net> <200701031423.17415.lists@jnielsen.net> <20070103153916.S52719@prime.gushi.org> <20070110103252.GA49447@owl.midgard.homeip.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: questions@freebsd.org, John Nielsen Subject: Re: Easier way to install on 3ware 9550 card? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jan 2007 10:38:09 -0000 On Wed, 10 Jan 2007, Erik Trulsson wrote: > On Wed, Jan 10, 2007 at 05:24:26AM -0500, Dan Mahoney, System Admin wrote: >> On Wed, 3 Jan 2007, John Nielsen wrote: >> >> Apologies for top-posting. >> >> I've made some progress with this, but as I suspected, I'm screwed on >> "namespace collision". I.e. I am unable to load a version of twa.ko that >> supports my 3ware card because a previous version of twa.ko that does not >> support it is already in the generic kernel. Changing the name of the >> loadable doesn't help, either. >> >> It looks like I might have to make my own release, and my own ISO, using >> the driver source from the 3ware site. >> >> Does anyone have an easier way of doing this? > > Might some of the following information from 3ware be of help? > > http://www.3ware.com/KB/article.aspx?id=15003 > http://www.3ware.com/KB/article.aspx?id=14850 I saw (and tried) an earlier version of these instructions, basically the issue was that I couldn't LOAD a module because said module was already in the kernel. In this case I don't think such a module is so it might work better, not 100 percent sure. Well, I'll have to modify them somewhat -- no floppy support here (lame, I know), but perhaps it'll work, I'll give it a try tomorrow. Thanks for the tip. -Dan > > >> >> I've already emailed Scott Long asking about the possibility of the >> inclusion of the new twa driver in the next FreeBSD, but I fear we're too >> far down the release process, so it could be a YEAR before there's a >> RELEASE that supports it. >> >> -Dan >> >>>> You were on the right track with the emergency shell, but the "Fixit" mode >>>> (now included on disk 1 for your convenience) gives you a lot more >>>> flexibility (inclusion of "ls" is just the start!). Have you tried >>>> something like this? >>>> >>>> 1) Boot to complete install CD >>>> 2) Go into "Fixit" mode (not just the emergency shell) >>>> 3) # sysctl kern.module_path="/dist/boot/kernel" >>>> 4) # kldload twa >>>> 5) # exit >>>> 6) proceed with installation >>>> >>>> This shouldn't be necessary though, since twa is included in GENERIC for >>>> both FreeBSD 6.1 and 6.2 (did you say what version you were trying to >>>> install?). >>>> >>>> Now, if your controller is too new to be included in the shipping version >>>> of twa then that's another matter. If you have a binary kernel module that >>>> uses a different driver name from the vendor you could use the same >>>> general >>>> approach, but you'd want to configure your network interface and set up >>>> your NFS mount prior to step 3, and include the appropriate NFS path in >>>> the >>>> sysctl command in step 3. >>> >>> Forgot to mention you'd also need to manually copy the vendor driver and >>> modify /boot/loader.conf on the newly installed system so it could actually >>> boot.. you could easily take care of that from the fixit mode shell after >>> the >>> installation, though. >>> >> > > > > -- "I'll commit ritual suicide before I whore myself out to Disney." --Emi Bryant April 26, 2004 On the animation industry --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org ---------------------------