Re: Unable to build recent kernels

From: Alexandre \ <Alex.Kovalenko_at_verizon.net>
Date: Thu, 05 Aug 2004 09:48:25 -0400
On Wed, 2004-08-04 at 23:16, Maxim Konovalov wrote:
> On Wed, 4 Aug 2004, 22:18-0400, Alexandre "Sunny" Kovalenko wrote:
> 
> > On Wed, 2004-08-04 at 10:28, Maxim Konovalov wrote:
> > > On Wed, 4 Aug 2004, 10:22-0400, Robin P. Blanchard wrote:
> > >
> > > >
> > > > [snip]
> > > > linking kernel.debug
> > > > mp_machdep.o(.text+0x705): In function `init_secondary':
> > > > /usr/src/sys/i386/i386/mp_machdep.c:518: undefined reference to
> > > > `mem_range_AP_init'
> > > > *** Error code 1
> > >
> > > cat >> your_kernel_config_file <<EOF
> > > device mem
> > > device null
> > > device zero
> > > EOF
> > Is this really necessary?
> > System below cvsup'ed and built on Aug 3 22:47 EST
> >
> > RabbitsDen# grep mem /sys/i386/conf/AVERATEC
> > options         SYSVSHM                 #SYSV-style shared memory
> > RabbitsDen# kldstat
> > Id Refs Address    Size     Name
> >  1   25 0xc0400000 473d7c   kernel
> >  2    1 0xc0874000 5e9c     snd_via8233.ko
> >  3    9 0xc087a000 2b0c8    usb.ko
> >  4    1 0xc08a6000 3b4c     ulpt.ko
> >  5    1 0xc08aa000 40b0     ums.ko
> >  6    1 0xc08b2000 3254     powernow_k7.ko
> >  7    1 0xc08b6000 2f90     uplcom.ko
> >  8    3 0xc08b9000 406c     ucom.ko
> >  9    1 0xc08be000 38a8     ubsa.ko
> > 10    1 0xc08c2000 bc6c     ng_ubt.ko
> > 11    1 0xc08ce000 2d58     dcons_crom.ko
> > 12    2 0xc08d1000 14d20    firewire.ko
> > 13    2 0xc08e6000 39e8     dcons.ko
> > 14    1 0xc08ea000 1ce4     io.ko
> > 15    1 0xc08ec000 2a8c     mem.ko
> > 16    1 0xc1e5e000 a000     ntfs.ko
> > 17    1 0xc1eb1000 6000     linprocfs.ko
> > 18    1 0xc1eb7000 1a000    linux.ko
> > RabbitsDen#
> 
> http://freebsd.rambler.ru/bsdmail/cvs-src_curr/msg00134.html

Ah, I see... it is necessary if you are building SMP kernel.

Thanks for the pointer.

---
Alexandre "Sunny" Kovalenko.
Received on Thu Aug 05 2004 - 11:48:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC