From owner-freebsd-stable@FreeBSD.ORG Sat Mar 8 21:21:48 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 A85F51065671 for ; Sat, 8 Mar 2008 21:21:48 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.freebsd.org (Postfix) with ESMTP id 60DF28FC1B for ; Sat, 8 Mar 2008 21:21:48 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0JXF00EFXKOA66E0@osl1smout1.broadpark.no> for freebsd-stable@freebsd.org; Sat, 08 Mar 2008 22:21:46 +0100 (CET) Received: from kg-work.kg4.no ([80.202.173.59]) by osl1sminn1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with SMTP id <0JXF00KYVKO9QJU0@osl1sminn1.broadpark.no> for freebsd-stable@freebsd.org; Sat, 08 Mar 2008 22:21:46 +0100 (CET) Date: Sat, 08 Mar 2008 22:21:45 +0100 From: Torfinn Ingolfsen To: freebsd-stable@freebsd.org Message-id: <20080308222145.68b284e9.torfinn.ingolfsen@broadpark.no> In-reply-to: <47D29352.5050503@andric.com> References: <200803061742.34291.vincent@netaktiv.com> <200803071059.48837.doconnor@gsoft.com.au> <200803070913.12978.jhb@freebsd.org> <20080308131610.43b57ee6.torfinn.ingolfsen@broadpark.no> <47D29352.5050503@andric.com> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.8; i386-portbld-freebsd6.3) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH 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: Sat, 08 Mar 2008 21:21:48 -0000 On Sat, 08 Mar 2008 14:23:30 +0100 Dimitry Andric wrote: > No, update it to 1.45 (=HEAD) and then apply the patch, that's much > easier. Yes, that worked better - the patch applied cleanly, amd I could rebuild the loader. Here is how I did the rebuilding (all this done on another machine, which have no troubles booting from usb): I booted the machine from usb (da0), replaced btx.S with revision 1.45 and did: cd /usr/src patch -p6 < .../btx_real.patch cd sys/boot/i386 make Then I copied the files to the hard drive: boot0cfg -B -b /usr/obj/usr/src/sys/boot/i386/boot0/boot0 da0 cp -v /usr/obj/usr/src/sys/boot/i386/loader/loader /boot Is this the correct way to do build and update the files? I as because when I moved the usb hard drive to the problematic laptop and booted from it, I have exactly the same symptoms as before: after selecting F! (or F2, doesn't matter) from the boot menu text scrolls forever on screen. It looks like rergister dumps to me (hard to tell, it scroll too fast). It continues like that until Itrurn off the laptop. I would really like to figure his one out. -- Regards, Torfinn Ingolfsen