buildworld fails on FreeBSD-4.9 stable

skrueger at europe.com skrueger at europe.com
Fri Feb 20 08:18:38 PST 2004


>    You've gotten yourself in a bind.  If you are trying to upgrade a
>    4.x box into DragonFly you can't mix 4.x binaries and DFly header files.
>    The initial buildworld and buildkernel must be done in a 4.x environment.
>    By ripping up the include files and installing just the DFly includes, 
>    but still running on a 4.x system, you've created a mixed environment
>    and all sorts of things are not going to build properly.
I just followed http://www.shiningsilence.com/dbsdlog/archives/000009.html,
but anyway, I've # everything in /etc/make.conf; restored FreeBSD-4.9 headers
in /usr/include and tried again, still the same failure

Then I disconnected kturss, kdump and ktrace from the build, everything went
fine,

but (sadly)

I tried to build my own kernel, here's basically the same err, just add
makeoptions MODULES_OVERRIDE="linux sound/snd sound/pcm sound/driver/maestro3"
to your kernconf

$ make buildkenrel
[...]
cd /home/dcvs/src/sys ; env MAKEOBJDIRPREFIX=/usr/obj/home/dcvs/src/sys/GENERIC MODULES_OVERRIDE="linux sound/snd sound/pcm sound/driver/maestro3" DEBUG="-g" DEBUG_FLAGS="-g" MACHINE=i386 make -f Makefile.modules cleandir
===> linux
cd: can't cd to /home/dcvs/src/sys/linux
*** Error code 2

Stop in /home/dcvs/src/sys.
*** Error code 1

Stop in /usr/obj/home/dcvs/src/sys/GENERIC.
*** Error code 1

Stop in /home/dcvs/src.
*** Error code 1

Stop in /home/dcvs/src.

this works:
makeoptions MODULES_OVERRIDE="dev/netif/fxp dev/netif/mii_layer \
  emulation/linux net/tun vfs/msdosfs vfs/procfs" etc

so I've managed to rebuild my kernel + modules,

but (sadly)

it panics as soon as procfs gets mounted, when loading the
procfs kmod at the bootloader everything is fine

so I've made sure every vfs kmod gets loaded at boot
(using /boot/loader.conf), this works,

but (sadly)

make buildworld stills fails :-( same err as before (ktrace, kdump, ktruss)

uname -a
DragonFly localhost 1.0-CURRENT DragonFly 1.0-CURRENT #0: Fri Feb 20 16:14:10 CET 2004     skrueger at localhost:/usr/obj/home/dcvs/src/sys/MYKERNEL  i386

regards,
SK
-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm






More information about the Bugs mailing list