Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2005 00:23:44 +0800
From:      "Li-Lun Wang (Leland Wang)" <llwang@infor.org>
To:        freebsd-current@freebsd.org
Subject:   Re: Newest loader from CVS not working
Message-ID:  <20050518162344.GA48280@Athena.infor.org>
In-Reply-To: <428ADE11.8040109@alumni.rice.edu>
References:  <20050518051111.GA33262@Athena.infor.org> <428ADE11.8040109@alumni.rice.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, May 18, 2005 at 01:17:53AM -0500, Jonathan Noack wrote:
> On 05/18/05 00:11, Li-Lun Wang (Leland Wang) wrote:
> >I just upgraded my pentium-m laptop from 5.4-STABLE to the newest
> >6.0-CURRENT. However, the newest loader does not seem to work for
> >me. BTX reboots right after it detects the internal keyboard/console
> >and dumps the registers. I have tried to set CPUTYPE?=p-m, CPUTYPE=p3,
> >and even not setting CPUTYPE at all, but none of them solves my
> >problem. The old loader from 5.4 works perfectly. Any ideas?
> 
> If you are building/installing just the loader, do a full build/install 
> world without setting CPUTYPE.  From my experience it seems like it is 
> gcc that is being affected (when it is compiled with CPUTYPE set) and 
> producing incorrect code for the loader, so a build/install world is 
> necessary.  This may not help, but it narrows the problem.

I rebuilt the world without setting CPUTYPE, and the loader works.
I wonder if setting CPUTYPE=p3 when building the world will also work.
It is strange how gcc could be affected...

- -- Li-Lun Wang
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFCi2wPCQM7t5B2mhARApZZAJ4lyyN8gFpElx0ryR0ln4xlqMq69gCfX7T4
GMHfTZYdaKgBDCHsnmqchYU=
=qHgx
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050518162344.GA48280>