Installkernel Failure

2010-08-03 Thread David Allen
I recently upgraded a system from 8.0 to 8.1.

I'm now trying to install FreeBSD 8.1 to a second system by performing a
minimal install, and then NFS mounting /usr/src and /usr/obj from the
just-upgraded system.

Simple enough, right?  Well, the installkernel target is bombing out with
an error each time.  If I install from an 8.1 CD, I get 'ncp.ko not
found'.  If I install from an 8.0 CD, I get the following:

  # cd /usr/src
  # make installkernel
  
  == mxge (install)
  === mxge/mxge (install)
  install -o root -g wheel -m 555   if_mxge.ko /boot/kernel
  === mxge/mxge_eth_z8e (install)
  install -o root -g wheel -m 555   mxge_eth_z8e.ko /boot/kernel
  === mxge/mxge_ethp_z8e (install)
  install -o root -g wheel -m 555   mxge_ethp_z8e.ko /boot/kernel
  === mxge/mxge_rss_eth_z8e (install)
  install -o root -g wheel -m 555   mxge_rss_eth_z8e.ko /boot/kernel
  === mxge/mxge_rss_ethp_z8e (install)
  install -o root -g wheel -m 555   mxge_rss_ethp_z8e.ko /boot/kernel
  === my (install)
  install -o root -g wheel -m 555   if_my.ko /boot/kernel
  === ncp (install)
  install -o root -g wheel -m 555   ncp.ko /boot/kernel
  *** Error code 71

  Stop in /usr/src/sys/modules/ncp.
  *** Error code 1

  Stop in /usr/src/sys/modules.
  *** Error code 1

  Stop in /usr/obj/usr/src/sys/NOTGENERIC.
  *** Error code 1

  Stop in /usr/src.
  *** Error code 1

  Stop in /usr/src.
  (END)

There is no ncp.ko on the successfully upgraded system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installkernel Failure

2010-08-03 Thread Christer Solskogen
On Tue, Aug 3, 2010 at 12:33 PM, David Allen
the.real.david.al...@gmail.com wrote:

 There is no ncp.ko on the successfully upgraded system.

Do both machines have identical  /etc/make.conf and/or /etc/src.conf?

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installkernel Failure

2010-08-03 Thread Pieter de Goeje
On Tuesday 03 August 2010 12:33:04 David Allen wrote:
 I recently upgraded a system from 8.0 to 8.1.
 
 I'm now trying to install FreeBSD 8.1 to a second system by performing a
 minimal install, and then NFS mounting /usr/src and /usr/obj from the
 just-upgraded system.
 
 Simple enough, right?  Well, the installkernel target is bombing out with
 an error each time.  If I install from an 8.1 CD, I get 'ncp.ko not
 found'.  If I install from an 8.0 CD, I get the following:
 
   # cd /usr/src
   # make installkernel
   
   == mxge (install)
   === mxge/mxge (install)
   install -o root -g wheel -m 555   if_mxge.ko /boot/kernel
   === mxge/mxge_eth_z8e (install)
   install -o root -g wheel -m 555   mxge_eth_z8e.ko /boot/kernel
   === mxge/mxge_ethp_z8e (install)
   install -o root -g wheel -m 555   mxge_ethp_z8e.ko /boot/kernel
   === mxge/mxge_rss_eth_z8e (install)
   install -o root -g wheel -m 555   mxge_rss_eth_z8e.ko /boot/kernel
   === mxge/mxge_rss_ethp_z8e (install)
   install -o root -g wheel -m 555   mxge_rss_ethp_z8e.ko /boot/kernel
   === my (install)
   install -o root -g wheel -m 555   if_my.ko /boot/kernel
   === ncp (install)
   install -o root -g wheel -m 555   ncp.ko /boot/kernel
   *** Error code 71
 
   Stop in /usr/src/sys/modules/ncp.
   *** Error code 1
 
   Stop in /usr/src/sys/modules.
   *** Error code 1
 
   Stop in /usr/obj/usr/src/sys/NOTGENERIC.
   *** Error code 1
 
   Stop in /usr/src.
   *** Error code 1
 
   Stop in /usr/src.
   (END)
 
 There is no ncp.ko on the successfully upgraded system.

I suspect /etc/make.conf and/or /etc/src.conf are not identical on both 
machines. Probably you have WITHOUT_IPX only set on the build machine.

- Pieter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installkernel Failure

2010-08-03 Thread David Allen
Aargh.  I remembered to type in the KERNCONF= value,
but neglected to include the following:

NO_PROFILE=TRUE
BOOT_COMCONSOLE_SPEED=115200

I suppose the above belongs it src.conf, but that aside,
I'll assume it's the NO_PROFILE bit that's mucking things
up.

Thanks for the replies, Pieter and Christer.



On 8/3/10, Pieter de Goeje pie...@degoeje.nl wrote:
 On Tuesday 03 August 2010 12:33:04 David Allen wrote:
 I recently upgraded a system from 8.0 to 8.1.

 I'm now trying to install FreeBSD 8.1 to a second system by performing a
 minimal install, and then NFS mounting /usr/src and /usr/obj from the
 just-upgraded system.

 Simple enough, right?  Well, the installkernel target is bombing out with
 an error each time.  If I install from an 8.1 CD, I get 'ncp.ko not
 found'.  If I install from an 8.0 CD, I get the following:

   # cd /usr/src
   # make installkernel
   
   == mxge (install)
   === mxge/mxge (install)
   install -o root -g wheel -m 555   if_mxge.ko /boot/kernel
   === mxge/mxge_eth_z8e (install)
   install -o root -g wheel -m 555   mxge_eth_z8e.ko /boot/kernel
   === mxge/mxge_ethp_z8e (install)
   install -o root -g wheel -m 555   mxge_ethp_z8e.ko /boot/kernel
   === mxge/mxge_rss_eth_z8e (install)
   install -o root -g wheel -m 555   mxge_rss_eth_z8e.ko /boot/kernel
   === mxge/mxge_rss_ethp_z8e (install)
   install -o root -g wheel -m 555   mxge_rss_ethp_z8e.ko /boot/kernel
   === my (install)
   install -o root -g wheel -m 555   if_my.ko /boot/kernel
   === ncp (install)
   install -o root -g wheel -m 555   ncp.ko /boot/kernel
   *** Error code 71

   Stop in /usr/src/sys/modules/ncp.
   *** Error code 1

   Stop in /usr/src/sys/modules.
   *** Error code 1

   Stop in /usr/obj/usr/src/sys/NOTGENERIC.
   *** Error code 1

   Stop in /usr/src.
   *** Error code 1

   Stop in /usr/src.
   (END)

 There is no ncp.ko on the successfully upgraded system.

 I suspect /etc/make.conf and/or /etc/src.conf are not identical on both
 machines. Probably you have WITHOUT_IPX only set on the build machine.

 - Pieter

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org