On a test box I upgraded from 7.0-RELEASE to -STABLE buildworld works fine, but buildkernel KERNCONF=GENERIC fails with two fatal errors. /usr/src/sys/i386/i386/locore.s:905:5: error: "KERNLOAD" is not defined /usr/src/sys/i386/i386/locore.s:905:22: error: "PDRSHIFT" is not defined I can't find any reference to this either in the list archives or in UPDATING. im running an amd athlon64 processor but the i386 code. my march is athlon-mp (the system translates my athlon64 automatically to this in i386 mode) I will be happy to provide other details like make.conf if needed. I just cant find any docs about what these to vars are supposed to be/do so I could just set the values to something myself. hints appreciated. last cvsup yesterday 3/25
Rance Hall wrote: > ...> im running an amd athlon64 processor but the i386 code. > > my march is athlon-mp (the system translates my athlon64 > automatically to this in i386 mode)...I've been too cheap to buy a 64-bit machine, so obviously I'm making a blind guess here :o) but the words above make me uneasy. If you're running 32-bit code, then your make.conf should not be using 'athlon64' at all and thus it should not need translation, right? (I'm truly asking, not lecturing.) Anyway, if your make.conf defines CPUTYPE or MACHINE_ARCH as athlon64 just try changing it to K8 or athlon-mp or athlon and see if anything changes.
On Wed, Mar 26, 2008 at 8:48 PM, Rance Hall <ranceh@gmail.com> wrote:> On Wed, Mar 26, 2008 at 7:32 PM, walt <w41ter@gmail.com> wrote: > > Rance Hall wrote: > > > ... > > > > > im running an amd athlon64 processor but the i386 code. > > > > > > my march is athlon-mp (the system translates my athlon64 > > > automatically to this in i386 mode)... > > > > I've been too cheap to buy a 64-bit machine, so obviously I'm > > making a blind guess here :o) but the words above make me uneasy. > > > > If you're running 32-bit code, then your make.conf should not be > > using 'athlon64' at all and thus it should not need translation, > > right? (I'm truly asking, not lecturing.) > > > > Anyway, if your make.conf defines CPUTYPE or MACHINE_ARCH as > > athlon64 just try changing it to K8 or athlon-mp or athlon and > > see if anything changes. > > > > I tried setting CPUTYPE=athlon-mp in make.conf and I still couldn't > buiild a kernel. > > It seems something else is happening, but I sure dont know what it is. > nor why no one else has reported this problem yet. >I tried setting CPUTYPE=athlon-mp in make.conf and I still couldn't buiild a kernel. It seems something else is happening, but I sure dont know what it is. nor why no one else has reported this problem yet.