Today I was unable to build a new kernel for 7-Stable. It dies when
linking the kernel, seemingly because of not finding the definitions for
some nfs stuff. I don't use nfs and always exclude both server and
client from my kernel. (Long config attached, if the list does not strip
it.)

MAKE=make sh /usr/src/sys/conf/newvers.sh IBM-T43
cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual 
 -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys 
-I/usr/src/sys/contrib/altq -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 -mno-sse3 
-ffreestanding -Werror  vers.c
linking kernel.debug
nlm_advlock.o(.text+0x11a8): In function `nlm_advlock_internal':
/usr/src/sys/nlm/nlm_advlock.c:225: undefined reference to `nfs_vinvalbuf'
nlm_advlock.o(.text+0x1243):/usr/src/sys/nlm/nlm_advlock.c:236: undefined 
reference to `nfs_ticks'
nlm_prot_impl.o(.text+0x29a1): In function `nlm_syscall':
/usr/src/sys/nlm/nlm_prot_impl.c:1482: undefined reference to `nfs_advlock_p'
nlm_prot_impl.o(.text+0x29a7):/usr/src/sys/nlm/nlm_prot_impl.c:1483: undefined 
reference to `nfs_advlock_p'
nlm_prot_impl.o(.text+0x29b1):/usr/src/sys/nlm/nlm_prot_impl.c:1484: undefined 
reference to `nfs_reclaim_p'
nlm_prot_impl.o(.text+0x29b7):/usr/src/sys/nlm/nlm_prot_impl.c:1485: undefined 
reference to `nfs_reclaim_p'
nlm_prot_impl.o(.text+0x29cf):/usr/src/sys/nlm/nlm_prot_impl.c:1490: undefined 
reference to `nfs_advlock_p'
nlm_prot_impl.o(.text+0x29d5):/usr/src/sys/nlm/nlm_prot_impl.c:1491: undefined 
reference to `nfs_reclaim_p'
*** Error code 1

Stop in /usr/obj/usr/src/sys/IBM-T43.
*** Error code 1

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

Stop in /usr/src.

Time spent in user mode   (CPU seconds) : 307.737s
Time spent in kernel mode (CPU seconds) : 34.429s
Total time                              : 8:12.87s
CPU utilisation (percentage)            : 69.4%
Times the process was swapped           : 0
Times of major page faults              : 233
Times of minor page faults              : 4231547
Exit 1

I see no other reports of anything. Any ideas?

Thanks,
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]                       Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751

#
# IBM-T43 -- Kernel for IBM-T43 with debugging enabled
#

include         GENERIC

ident           IBM-T43

nooptions       NFSCLIENT               # Network Filesystem Client
nooptions       NFSSERVER               # Network Filesystem Server
nooptions       NFS_ROOT                # NFS usable as root device, requires 
NFSCLIENT
nooptions       COMPAT_FREEBSD4         # Compatible with FreeBSD6
nooptions       COMPAT_FREEBSD5         # Compatible with FreeBSD6
options         IPFIREWALL              # Start firewall at boot
options         IPFIREWALL_VERBOSE      # Enable logging to syslogd(8)
options         IPFIREWALL_VERBOSE_LIMIT=100    # limit verbosity
options         IPFIREWALL_DEFAULT_TO_ACCEPT    # allow everything by default

# Debugging for use in -current
options         KDB                     # Enable kernel debugger support.
options         DDB                     # Support DDB.
options         GDB                     # Support remote GDB.
nooptions       INVARIANTS              # Enable calls of extra sanity checking
nooptions       INVARIANT_SUPPORT       # Extra sanity checks of internal 
structures, required by INVARIANTS
nooptions       WITNESS                 # Enable checks to detect deadlocks and 
cycles
nooptions       WITNESS_SKIPSPIN        # Don't run witness on spinlocks for 
speeed

# To make a uni-processor kernel, the next two are needed
nooptions       SMP                     # Symmetric MultiProcessor Kernel
nodevice        apic                    # I/O APIC

# CPU frequency control (Does not work on T43!)
nodevice                cpufreq

# Bus support.
nodevice                eisa

# ATA and ATAPI devices
nodevice        ataraid         # ATA RAID drives
nodevice        atapifd         # ATAPI floppy drives
nodevice        atapist         # ATAPI tape drives
device          atapicam        # Emulate ATAPI devices as SCSI ditto via CAM
                                # needs CAM to be present (scbus & pass)
# SCSI Controllers
nodevice        ahb             # EISA AHA1742 family
nodevice        ahc             # AHA2940 and onboard AIC7xxx nodevices
nooptions       AHC_REG_PRETTY_PRINT    # Print register bitfields in debug
                                        # output.  Adds ~128k to driver.
nodevice        ahd             # AHA39320/29320 and onboard AIC79xx nodevices
nooptions       AHD_REG_PRETTY_PRINT    # Print register bitfields in debug
                                # output.  Adds ~215k to driver.
nodevice        amd             # AMD 53C974 (Tekram DC-390(T))
nodevice        hptiop          # Highpoint RocketRaid 3xxx series
nodevice        isp             # Qlogic family
nodevice        ispfw           # Firmware for QLogic HBAs- normally a module
nodevice        mpt             # LSI-Logic MPT-Fusion
nodevice        ncr             # NCR/Symbios Logic
nodevice        sym             # NCR/Symbios Logic (newer chipsets + those of 
`ncr')
nodevice        trm             # Tekram DC395U/UW/F DC315U adapters

nodevice        adv             # Advansys SCSI adapters
nodevice        adw             # Advansys wide SCSI adapters
nodevice        aha             # Adaptec 154x SCSI adapters
nodevice        aic             # Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
nodevice        bt              # Buslogic/Mylex MultiMaster SCSI adapters

nodevice        ncv             # NCR 53C500
nodevice        nsp             # Workbit Ninja SCSI-3
nodevice        stg             # TMC 18C30/18C50


# SCSI peripherals
device          pass            # SCSI passthrough device

# RAID controllers interfaced to the SCSI subsystem
nodevice        amr             # AMI MegaRAID
nodevice        arcmsr          # Areca SATA II RAID
nodevice        asr             # DPT SmartRAID V, VI and Adaptec SCSI RAID
nodevice        ciss            # Compaq Smart RAID 5*
nodevice        dpt             # DPT Smartcache III, IV - See NOTES for options
nodevice        hptmv           # Highpoint RocketRAID 182x
nodevice        hptrr           # Highpoint RocketRAID 17xx, 22xx, 23xx, 25xx
nodevice        iir             # Intel Integrated RAID
nodevice        ips             # IBM (Adaptec) ServeRAID
nodevice        mly             # Mylex AcceleRAID/eXtremeRAID
nodevice        twa             # 3ware 9000 series PATA/SATA RAID

# RAID controllers
nodevice        aac             # Adaptec FSA RAID
nodevice        aacp            # SCSI passthrough for aac (requires CAM)
nodevice        ida             # Compaq Smart RAID
nodevice        mfi             # LSI MegaRAID SAS
nodevice        mlx             # Mylex DAC960 family
nodevice        pst             # Promise Supertrak SX6000
nodevice        twe             # 3ware ATA RAID

# atkbdc0 controls both the keyboard and the PS/2 mouse
options         KBD_RESETDELAY=500

# syscons is the default console driver, resembling an SCO console
options         SC_HISTORY_SIZE=2000
options         SC_PIXEL_MODE   #add support for the raster text mode

# Parallel port
nodevice        ppc
nodevice        ppbus           # Parallel port bus (required)
nodevice        lpt             # Printer
nodevice        plip            # TCP/IP over parallel
nodevice        ppi             # Parallel port interface device
nodevice        vpo             # Requires scbus and da

# PCI Ethernet NICs.
nodevice        de              # DEC/Intel DC21x4x (``Tulip'')
nodevice        em              # Intel PRO/1000 adapter Gigabit Ethernet Card
nodevice        ixgb            # Intel PRO/10GbE Ethernet Card
nodevice        le              # AMD Am7900 LANCE and Am79C9xx PCnet
nodevice        txp             # 3Com 3cR990 (``Typhoon'')
nodevice        vx              # 3Com 3c590, 3c595 (``Vortex'')

# Wireless NIC cards
nodevice        wlan_scan_ap    # 802.11 AP mode scanning
nodevice        ath

# Pseudo devices.
nodevice                sl              # Kernel SLIP
nodevice                ppp             # Kernel PPP

# USB support
nodevice        uhci            # UHCI PCI->USB interface
nodevice        ohci            # OHCI PCI->USB interface
nodevice        ehci            # EHCI PCI->USB interface
nodevice        usb             # USB Bus (required)
nodevice        udbp            # USB Double Bulk Pipe devices
nodevice        ugen            # Generic
nodevice        uhid            # "Human Interface Devices"
nodevice        ukbd            # Keyboard
nodevice        ulpt            # Printer
nodevice        umass           # Disks/Mass storage - Requires scbus and da
nodevice        ums             # Mouse
nodevice        ural            # Ralink Technology RT2500USB wireless NICs
nodevice        rum             # Ralink Technology RT2501USB wireless NICs
nodevice        urio            # Diamond Rio MP3 Player
nodevice        uscanner        # Scanners
# USB serial devices
nodevice        ucom            # Generic tty coms
nodevice        uark            # Technologies ARK3116 based serial adapters
nodevice        ubsa            # Belkin F5U103 and compatible serial adapters
nodevice        ubser           # BWCT console serial adapters
nodevice        uftdi           # For FTDI usb serial adapters
nodevice        uipaq           # Some WinCE based devices
nodevice        uplcom          # Prolific PL-2303 serial adapters
nodevice        uslcom          # SI Labs CP2101/CP2102 serial adapters
nodevice        uvisor          # Visor and Palm devices
nodevice        uvscom          # USB serial support for DDI pocket's PHS
# USB Ethernet, requires mii
nodevice        aue             # ADMtek USB ethernet
nodevice        axe             # ASIX Electronics USB Ethernet
nodevice        cdce            # Generic USB over Ethernet
nodevice        cue             # CATC USB ethernet
nodevice        kue             # Kawasaki LSI USB ethernet
nodevice        rue             # RealTek RTL8150 USB Ethernet

# Sound support (Requires System Management Bus for ICH)
device          smbus
device          iicbus
device          iicbb
device          intpm
device          ichsmb
device          smb
#device         sound
#device         snd_ich

Attachment: pgpDEraE0IPID.pgp
Description: PGP signature

Reply via email to