|
FreeBSD Installation and Upgrading Installing and upgrading FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
FreeBSD 7.0 amd64 make installworld fails.
I've done a clean install of FreeBSD 7.0-RELEASE amd64
I did a csup to RELENG_7_0 (to get a security patch as well as make a custom kernel. I have the following /etc/make.conf: Code:
BOOT_COMCONSOLE_SPEED=19200 # Ports options .if ${.CURDIR:M*/usr/ports*} # Disable any and all X11 where possible WITHOUT_X11=YES # Ports tend to use apache1.3 without this WITH_APACHE2=YES .endif # added by use.perl 2008-06-10 16:32:11 PERL_VER=5.8.8 PERL_VERSION=5.8.8 cd /usr/src make buildworld make kernel KERNCONF=mykern make installworld This is the resulting error: Code:
install -o root -g wheel -m 444 boot0 /boot/boot0sio ===> sys/boot/i386/btx (install) ===> sys/boot/i386/btx/btx (install) ===> sys/boot/i386/btx/btxldr (install) ===> sys/boot/i386/btx/lib (install) ===> sys/boot/i386/boot2 (install) cc -Os -fno-guess-branch-probability -fomit-frame-pointer -fno-unit-at-a-time -mno-align-long-strings -mrtd -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -DUFS1_AND_UFS2 -DFLAGS=0x80 -DSIOPRT=0x3f8 -DSIOFMT=0x3 -DSIOSPD=19200 -I/usr/src/sys/boot/i386/boot2/../../common -I/usr/src/sys/boot/i386/boot2/../btx/lib -I. -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -Winline --param max-inline-insns-single=100 -ffreestanding -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -m32 -march=i386 -S -o boot2.s.tmp /usr/src/sys/boot/i386/boot2/boot2.c sed -e '/align/d' -e '/nop/d' < boot2.s.tmp > boot2.s rm -f boot2.s.tmp as --32 -o boot2.o boot2.s ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext 0x2000 -o boot2.out /usr/obj/usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o boot2.o sio.o objcopy -S -O binary boot2.out boot2.bin btxld -v -E 0x2000 -f bin -b /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr -o boot2.ld -P 1 boot2.bin btxld:No such file or directory *** Error code 1 Stop in /usr/src/sys/boot/i386/boot2. *** Error code 1 Stop in /usr/src/sys/boot/i386. *** Error code 1 Stop in /usr/src/sys/boot. *** Error code 1 Stop in /usr/src/sys. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I redid the csup to make sure I didn't miss anything. Last edited by KernelPanic; 10th June 2008 at 08:00 PM. |
|
|||
You have to install the kernel before world.
|
|
|||
make kernel does both a 'make buildkernel' and a 'make installkernel'
I'm not sure what is missing. btxldr exists: /usr/sbin/btxld The btx file exists: /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx boot2.ldr exists: /usr/obj/usr/src/sys/boot/i386/boot2/boot2.ldr boot2.ld exists: /usr/obj/usr/src/sys/boot/i386/boot2/boot2.ld boot2.bin exists: /usr/obj/usr/src/sys/boot/i386/boot2/boot2.bin So I'm confused about what exactly is generating the 'No such file or directory' message. |
|
|||
Really? Must be new with 7.
|
|
|||
Just for clarity's sake, try make buildkernel and make installkernel as seperate commands. Humor us.
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident! |
|
||||
Code:
-Os -fno-guess-branch-probability -fomit-frame-pointer -fno-unit-at-a-time -mno-align-long-strings -O2 -fno-strict-aliasing -pipe -s here you can check how to specify diffrent CFLAGS for kernel and Ports: http://toya.net.pl/~vermaden/text/make.conf Also, this is the proper schema for upgrading FreeBSD: Code:
# cd /usr/src # make buildworld # make kernel KODIR=/boot/testing # nextboot -k testing # shutdown -r now Code:
# cd /usr/src # mergemaster -p # make installworld # mergemaster -iU // ( if kernel works ok then ) # mv /boot/kernel /boot/OLD # mv /boot/testing /boot/kernel // ( else build kernel again ) # shutdown -r now Code:
// ( optional ) # cd /usr/src # make delete-old # make delete-old-libs
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
|
|||
I was getting this problem a few months ago.
After building world and kernel and installing the kernel I then reboot into single user mode and: cd /usr/src make install make installworld and all works fine. Have done ~5 rebuild and install worlds using this, and all works fine now... |
|
|||
Quote:
That worked. I wonder what is so different from amd64 (which I've only done two installs for) vs i386 (which I've done dozens of installs for) that makes that step necessary? |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FreeBSD 7.2 amd64 no sound | erim | FreeBSD General | 5 | 3rd June 2009 07:54 AM |
installworld fails - because I deleted master.passwd? | TomAmundsen | FreeBSD Installation and Upgrading | 4 | 22nd September 2008 07:51 PM |
Wine on FreeBSD 7.0 amd64 | BlueJayofEvil | FreeBSD Ports and Packages | 13 | 29th July 2008 12:22 AM |
NVIDIA driver fails to load, freebsd 7.0 | mc_i2020 | FreeBSD General | 18 | 18th July 2008 01:12 PM |
jdk16 plugins on FreeBSD 7 AMD64 | ninjatux | FreeBSD General | 0 | 26th June 2008 07:55 PM |