From owner-freebsd-stable@FreeBSD.ORG Fri Mar 7 19:18:57 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4F24106566C for ; Fri, 7 Mar 2008 19:18:57 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id B25518FC1C for ; Fri, 7 Mar 2008 19:18:57 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from [192.168.5.128] (mail8.stratech.com [71.16.66.4]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id m27JIpZn035327; Fri, 7 Mar 2008 14:18:56 -0500 (EST) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-stable@freebsd.org Date: Fri, 7 Mar 2008 14:18:42 -0500 User-Agent: KMail/1.9.7 References: <200803061742.34291.vincent@netaktiv.com> <200803071059.48837.doconnor@gsoft.com.au> <200803070913.12978.jhb@freebsd.org> In-Reply-To: <200803070913.12978.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803071418.43480.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: John Baldwin Subject: Re: BTX on USB pen drive X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Mar 2008 19:18:57 -0000 On Friday 07 March 2008 09:13:12 am John Baldwin wrote: > On Thursday 06 March 2008 07:29:40 pm Daniel O'Connor wrote: > > On Fri, 7 Mar 2008, Vincent Mialon wrote: > > > I tested various options in boot0cfg with no sucess. I also tested > > > the howto from > > > http://typo.submonkey.net/articles/2006/04/13/installing-freebsd-on > > >-u sb-stick-episode-2 with a 6.3 FreeBSD release which boots on my > > > pc but doesn't boot on my supermicro server. > > > > > > Do you have any idea or pointer that may help me find the way to > > > boot this usb drive ? I may file a bug report if you want. > > > > I wanted to make a USB flash drive based installer for FreeBSD but > > unfortunately BTX seems to have issues that make it difficult to do > > reliably :( > > > > Here are 2 patches I tried.. > > http://people.freebsd.org/~kib/realbtx > > http://people.freebsd.org/~jhb/patches/btx_crx.patch > > Try this instead: > > http://people.freebsd.org/~jhb/patches/btx_real.patch > > (btx_crx has been in the base system for a while FWIW). This is > somewhat similar to kib's patch but fixes at least one bug I found in > kib's patch (and uses some slightly different approaches in a few > places). I have a laptop that does the BTX register-spin thing when booting from USB even if I use Grub, so I'll give your patch a try. The first hunk doesn't apply cleanly on today's 7-STABLE sources--the new page tables entry at line 29 throws it off. I applied that hunk manually and am rebuilding now. FWIW the laptop is an Intel-based Gateway M465-E, and it boots from (internal) CD just fine. I don't currently have space or a partition on the internal hard drive for a FreeBSD install, hence the USB stick. JN