Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Mar 2008 22:21:45 +0100
From:      Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
To:        freebsd-stable@freebsd.org
Subject:   Re: BTX on USB pen drive
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 08 Mar 2008 14:23:30 +0100
Dimitry Andric <dimitry@andric.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080308222145.68b284e9.torfinn.ingolfsen>