Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 May 2006 06:56:59 -0400
From:      Ben Hacker Jr <strbenjr@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   Upgrade 5.4 - 6.0 errors.  
Message-ID:  <4460757B.5030107@yahoo.com>

next in thread | raw e-mail | index | archive | help
Hello, 

I appreciate greatly any help I can get on this...

I am attempting to "upgrade in place" my FreeBSD server...

    hackserver$ uname -a
    FreeBSD hackserver.family.hom 5.4-STABLE FreeBSD 5.4-STABLE #0: Mon
    Sep 12 08:18:05 EDT 2005    
    strben@hackserver.family.hom:/usr/src/sys/i386/compile/HACK05  i386

    hackserver$

Is there a way to clean out my /usr/src directory and start from scratch 
in case it is corrupted some how??

    # $FreeBSD: src/share/examples/cvsup/stable-supfile,v 1.28.2.1
    2004/10/24 09:09:25 scottl Exp
    #
    # This file contains all of the "CVSup collections" that make up the
    # FreeBSD-stable source tree.
    #
    # Defaults that apply to all the collections
    #
    *default host=cvsup11.us.FreeBSD.org
    *default base=/var/db
    *default prefix=/usr
    *default release=cvs tag=RELENG_6_0
    *default delete use-rel-suffix
    *default compress

    ports-all tag=.
    doc-all tag=.
    src-all


After a seemingly successful:

    $ su root -c "make buildworld"

=-=-=-=-=

    $ su root -c "make kernel KERNCONF=HACK06"
    . . .
    MAKE=/usr/obj/usr/src/make.i386/make sh /usr/src/sys/conf/newvers.sh
    HACK06
    cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs
    -Wstrict-prototypes  -Wmissing-prototype
    s -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99
    -g -nostdinc -I-  -I. -I/usr
    /src/sys -I/usr/src/sys/contrib/dev/acpica
    -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipf
    ilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath
    -I/usr/src/sys/contrib/dev/ath/fre
    ebsd -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL
    -DHAVE_KERNEL_OPTION_HEADERS -
    include opt_global.h -fno-common -finline-limit=8000 --param
    inline-unit-growth=100 --param large
    -function-growth=1000  -mno-align-long-strings
    -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow
    -mno-sse -mno-sse2 -ffreestanding -Werror  vers.c
    linking kernel.debug
    if_ural.o(.text+0x3bb): In function `ural_attach':
    /usr/src/sys/dev/usb/if_ural.c:458: undefined reference to
    `ieee80211_ieee2mhz'
    if_ural.o(.text+0x3ef):/usr/src/sys/dev/usb/if_ural.c:463: undefined
    reference to `ieee80211_ieee
    2mhz'
    if_ural.o(.text+0x427):/usr/src/sys/dev/usb/if_ural.c:468: undefined
    reference to `ieee80211_ieee
    2mhz'
    if_ural.o(.text+0x4bb):/usr/src/sys/dev/usb/if_ural.c:480: undefined
    reference to `ieee80211_ieee
    2mhz'
    if_ural.o(.text+0x4e2):/usr/src/sys/dev/usb/if_ural.c:487: undefined
    reference to `ieee80211_ifat
    tach'
    if_ural.o(.text+0x513):/usr/src/sys/dev/usb/if_ural.c:493: undefined
    reference to `ieee80211_medi
    a_status'
    if_ural.o(.text+0x51e):/usr/src/sys/dev/usb/if_ural.c:493: undefined
    reference to `ieee80211_medi
    a_init'
    if_ural.o(.text+0x580):/usr/src/sys/dev/usb/if_ural.c:507: undefined
    reference to `ieee80211_anno
    unce'
    if_ural.o(.text+0x628): In function `ural_detach':
    /usr/src/sys/dev/usb/if_ural.c:535: undefined reference to
    `ieee80211_ifdetach'
    if_ural.o(.text+0x73a): In function `ural_free_tx_list':
    /usr/src/sys/dev/usb/if_ural.c:595: undefined reference to
    `ieee80211_free_node'
    if_ural.o(.text+0x8f6): In function `ural_media_change':
    /usr/src/sys/dev/usb/if_ural.c:673: undefined reference to
    `ieee80211_media_change'
    if_ural.o(.text+0x9ac): In function `ural_next_scan':
    /usr/src/sys/dev/usb/if_ural.c:699: undefined reference to
    `ieee80211_next_scan'
    if_ural.o(.text+0xb17): In function `ural_task':
    /usr/src/sys/dev/usb/if_ural.c:756: undefined reference to
    `ieee80211_beacon_alloc'
    if_ural.o(.text+0xc77): In function `ural_txeof':
    /usr/src/sys/dev/usb/if_ural.c:826: undefined reference to
    `ieee80211_free_node'
    if_ural.o(.text+0xd9d): In function `ural_rxeof':
    /usr/src/sys/dev/usb/if_ural.c:890: undefined reference to
    `ieee80211_find_rxnode'
    if_ural.o(.text+0xdb3):/usr/src/sys/dev/usb/if_ural.c:893: undefined
    reference to `ieee80211_inpu    t'
    if_ural.o(.text+0xdbb):/usr/src/sys/dev/usb/if_ural.c:896: undefined
    reference to `ieee80211_free    _node'
    if_ural.o(.text+0x1364): In function `ural_tx_data':
    /usr/src/sys/dev/usb/if_ural.c:1218: undefined reference to
    `ieee80211_crypto_encap'
    if_ural.o(.text+0x185c): In function `ural_start':
    /usr/src/sys/dev/usb/if_ural.c:1321: undefined reference to
    `ieee80211_find_txnode'
    if_ural.o(.text+0x1894):/usr/src/sys/dev/usb/if_ural.c:1328:
    undefined reference to `ieee80211_en    cap'
    if_ural.o(.text+0x18a3):/usr/src/sys/dev/usb/if_ural.c:1330:
    undefined reference to `ieee80211_fr    ee_node'
    if_ural.o(.text+0x18db):/usr/src/sys/dev/usb/if_ural.c:1338:
    undefined reference to `ieee80211_fr    ee_node'
    if_ural.o(.text+0x19c8): In function `ural_watchdog':
    /usr/src/sys/dev/usb/if_ural.c:1370: undefined reference to
    `ieee80211_watchdog'
    if_ural.o(.text+0x1ad6): In function `ural_ioctl':
    /usr/src/sys/dev/usb/if_ural.c:1417: undefined reference to
    `ieee80211_ioctl'
    if_ural.o(.text+0x1f5c): In function `ural_set_chan':
    /usr/src/sys/dev/usb/if_ural.c:1606: undefined reference to
    `ieee80211_chan2ieee'
    *** Error code 1

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

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

    Stop in /usr/src.

=-=-=-=-=

Manually attempting to build my kernel will yield the following:

    hackserver$ su root
    Password:
    hackserver# pwd
    /usr/src/sys/i386/conf

    hackserver# config HACK06
    ERROR: version of config(8) does not match kernel!
    config version = 500013, version required = 600003

    Make sure that /usr/src/usr.sbin/config is in sync
    with your /usr/src/sys and install a new config binary
    before trying this again.

    If running the new config fails check your config
    file against the GENERIC or LINT config files for
    changes in config syntax, or option/device naming
    conventions

    hackserver#   

Thanks!
Please reply to my address.  I am not subscribed to the list.  Thanks!

-- 
 Ben Hacker, Jr.
 Network Security Analyst
  strbenjr {at} yahoo.com
-- -- --





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4460757B.5030107>