RE: 4 -> 5 Problem

From: Lawrence Farr (bsd-current_at_epcdirect.co.uk)
Date: 12/02/03

  • Next message: Jonathan T. Sage: "Re: Periodic Scripts - Configuration problem?"
    To: <freebsd-current@freebsd.org>
    Date: Tue, 2 Dec 2003 16:33:42 -0000
    
    

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

    root@galaga:/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: owner-freebsd-current@freebsd.org
    > [mailto:owner-freebsd-current@freebsd.org] On Behalf Of Lawrence Farr
    > Sent: 26 November 2003 19:32
    > To: freebsd-current@freebsd.org
    > 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: owner-freebsd-current@freebsd.org
    > > [mailto:owner-freebsd-current@freebsd.org] On Behalf Of
    > Lawrence Farr
    > > Sent: 25 November 2003 16:27
    > > To: 'Clement Laforet'
    > > Cc: freebsd-current@freebsd.org
    > > 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:sheepkiller@cultdeadsheep.org]
    > > > Sent: 25 November 2003 16:26
    > > > To: Lawrence Farr
    > > > Cc: freebsd-current@freebsd.org
    > > > Subject: Re: 4 -> 5 Problem
    > > >
    > > > On Tue, 25 Nov 2003 16:18:26 -0000
    > > > "Lawrence Farr" <bsd-current@epcdirect.co.uk> 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
    > > >
    > >
    > > _______________________________________________
    > > freebsd-current@freebsd.org mailing list
    > > http://lists.freebsd.org/mailman/listinfo/freebsd-current
    > > To unsubscribe, send any mail to
    > > "freebsd-current-unsubscribe@freebsd.org"
    > >
    >
    > _______________________________________________
    > freebsd-current@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-current
    > To unsubscribe, send any mail to
    > "freebsd-current-unsubscribe@freebsd.org"
    >

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


  • Next message: Jonathan T. Sage: "Re: Periodic Scripts - Configuration problem?"

    Relevant Pages

    • Re: Etch wont install to /dev/hdax
      ... It gives me error message. ... Unable to install GRUB in /dev/hda8 ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: OpenLDAP doesnt start
      ... Try install from source tar.gz ball. ... Kövesdán Gábor wrote: ... when I try to start the slapd daemon, it fails with this error message: ... To unsubscribe, ...
      (freebsd-questions)
    • Cannnot authenticate debian archive packages
      ... Today I installed some 30 packages, but got an error message from two of ... Then I tried to install gui-apt-key, but I got the same message. ... Packages file, the match was perfect. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: i810_audio cant be loaded
      ... getting the same error message but can't ... system to boot before you can install that. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • RE: 4 -> 5 Problem
      ... I get this error when trying to install the kernel, ... the same kernel installs fine on the box that made it. ... Lawrence Farr ... To unsubscribe, ...
      (freebsd-current)