I've just tried this again, and noticed an error message that I'd
missed:

[EMAIL PROTECTED]:/usr/src# make installkernel
make: no target to make.
"/usr/src/Makefile.inc1", line 157: warning: "make -f /dev/null -m
/usr/src/share/mk  CPUTYPE=i686 -V CPUTYPE" returned non-zero status
cd /usr/obj/usr/src/sys/P6MPFW;  MAKEOBJDIRPREFIX=/usr/obj
MACHINE_ARCH=i386  MACHINE=i386  CPUTYPE=i686
GROFF_BIN_PATH=/usr/obj/usr/src/i386/legacy/usr/bin
GROFF_FONT_PATH=/usr/obj/usr/src/i386/legacy/usr/share/groff_font
GROFF_TMAC_PATH=/usr/obj/usr/src/i386/legacy/usr/share/tmac
PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/
bin:/usr/obj/usr/src/i386/legacy/usr/games:/usr/obj/usr/src/i386/usr/sbin:/u
sr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/
sbin:/usr/bin  make KERNEL=kernel install
thiskernel=`sysctl -n kern.bootfile` ;  if [ "`dirname "$thiskernel"`" !=
/boot/kernel ] ; then  chflags -R noschg /boot/kernel ;  rm -rf /boot/kernel
;  else  if [ -d /boot/kernel.old ] ; then  chflags -R noschg
/boot/kernel.old ;  rm -rf /boot/kernel.old ;  fi ;  mv /boot/kernel
/boot/kernel.old ;  sysctl kern.bootfile=/boot/kernel.old/"`basename
"$thiskernel"`" ;  fi
mkdir -p /boot/kernel
install -p -m 555 -o root -g wheel kernel /boot/kernel
*** Signal 12

I also tried un-setting CPUTYPE, but got the same error.
This gives you a zero sized kernel in /boot/kernel.

Running 

install -p -m 555 -o root -g wheel kernel /boot/kernel
from within the correct /obj directory works though.

Lawrence Farr
EPC Direct Limited  

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Lawrence Farr
> Sent: 26 November 2003 19:32
> To: [EMAIL PROTECTED]
> Subject: RE: 4 -> 5 Problem
> 
> I'm still getting this with fresh sources. Has anyone else done 4->5 
> in the last few days? Is it worth filing a PR?
> 
> Lawrence Farr
> EPC Direct Limited  
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] On Behalf Of 
> Lawrence Farr
> > Sent: 25 November 2003 16:27
> > To: 'Clement Laforet'
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: 4 -> 5 Problem
> > 
> > Err yes I did. Im trying to install a kernel.
> > 
> > Lawrence Farr
> > EPC Direct Limited  
> > 
> > > -----Original Message-----
> > > From: Clement Laforet [mailto:[EMAIL PROTECTED] 
> > > Sent: 25 November 2003 16:26
> > > To: Lawrence Farr
> > > Cc: [EMAIL PROTECTED]
> > > Subject: Re: 4 -> 5 Problem
> > > 
> > > On Tue, 25 Nov 2003 16:18:26 -0000
> > > "Lawrence Farr" <[EMAIL PROTECTED]> wrote:
> > > > 
> > > > the Current target machine is from Thu Sep 25 14:32:19 GMT 2003,
> > > > the stable one from Mon Mar 24 16:30:45 GMT 2003, and the 
> > > > src and obj are fresh from last night.
> > > 
> > > did you read /usr/src/UPDATING ?
> > > 
> > > 20031112:
> > >         The statfs structure has been updated with 64-bit 
> fields to
> > >         allow accurate reporting of multi-terabyte filesystem
> > >         sizes. You should build world, then build and boot 
> > > the new kernel
> > >         BEFORE doing a `installworld' as the new kernel will 
> > > know about
> > >         binaries using the old statfs structure, but an old 
> > > kernel will
> > >         not know about the new system calls that support the 
> > > new statfs
> > >         structure.
> > > 
> > > clem
> > > 
> > 
> > _______________________________________________
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to 
> > "[EMAIL PROTECTED]"
> > 
> 
> _______________________________________________
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"
> 

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to