Date: Thu, 05 Oct 2006 07:41:42 +0200 From: Ian FREISLICH <if@hetzner.co.za> To: John Baldwin <jhb@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Re: boot/loader broken? Message-ID: <E1GVLzK-000L7R-MB@hetzner.co.za> In-Reply-To: Message from John Baldwin <jhb@freebsd.org> of "Wed, 04 Oct 2006 14:55:45 -0400." <200610041455.45991.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin wrote:
> On Wednesday 04 October 2006 02:12, Ian FREISLICH wrote:
> > John Baldwin wrote:
> > > On Tuesday 03 October 2006 09:00, Ian FREISLICH wrote:
> > > > Hi
> > > >
> > > > After a build/install today, I can't boot my boxes:
> > > >
> > > > BTX loader 1.00 BTX version is 1.01
> > > > Consoles: internal video/keyboard
> > > > BIOS drive C: is disk0
> > > > BIOS 633kB/2096000kB available memory
> > > >
> > > > FreeBSD/i386 bootstrap loader, Revision 1.1
> > > > (ianf@testbed, Tue Oct 3 08:22:43 SAST 2006)
> > > >
> >
> > > > can't load 'kernel'
> > > >
> > > > Type '?' for a list of commands, 'help' for more detailed help.
> > > > OK ls
> > > > open '/' failed: input/output error
> > > > OK lsdev
> > > > cd devices:
> > > > disk devices:
> > > > disk0: BIOS drive C:
> > > > pxe devices:
> > > >
> > > > I don't know what else I can get of interest from this interface.
> > > > It's happened to 2 of my test servers. They rebooted fine before
> > > > the upgrade.
> > >
> > > What drive controller do they have? Try backing out the recent commits t
o
> > > sys/boot/i386/btx/btx/btx.S in case they cause it.
> >
> > It's an Adaptec 2410SA. I tried ru's suggestion and the old loader works.
> >
> > Some time between:
> >
> > -r-xr-xr-x 1 root wheel 245760 Sep 26 12:03 /boot/loader.working
> > -r-xr-xr-x 1 root wheel 245760 Oct 3 12:31 /boot/loader.broken
> >
> > 1.41 of sys/boot/i386/btx/btx/btx.S breaks the loader.
>
> Try www.freebsd.org/~jhb/patches/btx_fix.patch
>
> I misused leal, the scale is a multiplicative factor in gas, not a shift
> count.
Fixes the problem.
Thanks
Ian
--
Ian Freislich
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1GVLzK-000L7R-MB>
