From owner-freebsd-questions@FreeBSD.ORG Wed Jan 10 10:22:04 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 5F4C516A407 for ; Wed, 10 Jan 2007 10:22:04 +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 1BC7E13C458 for ; Wed, 10 Jan 2007 10:22:03 +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 l0AAORnG018793 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 10 Jan 2007 05:24:27 -0500 (EST) (envelope-from danm@prime.gushi.org) DKIM-Signature: a=rsa-sha1; c=simple/simple; d=prime.gushi.org; s=primegushiorg; t=1168424667; bh=t9MeqlL8HNdCUwss80tL4tKsabo=; h=DomainKey-Signature: Received:Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=TvPkHNRuFtJLfxsBUCtWiusggKAGIxSA0W6G+i LIMMnpbBwtZPrecDt01kYhfUxELg2jZTBBI+QY0vCcE9eDoA== 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=r+VANznFASH0A0EK2+VJ4x39MnhGtOPppNN2mcKHXQElltfLjMud/pz5kFigOuOXQ RCLAyf3Lj/J4fXh7NMA+Q== Received: (from danm@localhost) by prime.gushi.org (8.13.8/8.13.6/Submit) id l0AAOQTe018785; Wed, 10 Jan 2007 05:24:26 -0500 (EST) (envelope-from danm) Date: Wed, 10 Jan 2007 05:24:26 -0500 (EST) From: "Dan Mahoney, System Admin" To: John Nielsen In-Reply-To: <200701031423.17415.lists@jnielsen.net> Message-ID: <20070103153916.S52719@prime.gushi.org> References: <20070103024752.J35175@prime.gushi.org> <20070103123155.V52719@prime.gushi.org> <200701031418.13125.lists@jnielsen.net> <200701031423.17415.lists@jnielsen.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: questions@freebsd.org 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:22:04 -0000 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? 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. > -- "And, a special guest, from the future, miss Ria Pischell. Miss Pischell, as you all know, is the inventor of the Statiophonic Oxygenetic Amplifiagraphaphonadelaverberator, and it's pretty hard to imagine life without one of those. -Rufus, Bill & Ted's Bogus Journey --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org ---------------------------