From owner-freebsd-stable@FreeBSD.ORG Wed Nov 24 20:27:58 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CFC71065675 for ; Wed, 24 Nov 2010 20:27:58 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3105B8FC1C for ; Wed, 24 Nov 2010 20:27:57 +0000 (UTC) Received: by ywp6 with SMTP id 6so99088ywp.13 for ; Wed, 24 Nov 2010 12:27:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=pWK+wwoJ0OPONi92utzqF6QEPWSLhiYlX91HrO2SskE=; b=A2KkvgPn7MhomyklDqDAFzWPebsKhAp3767DiQKcXny3BcSrLXjV1Mxvx/2Ym7gGSf kpzxJ1RNYCcWLpoeL29wLw/3ER6xpDdMdOgypEnlnp/BiQyzExuzE6GYf2SP1Ty54sjX ifUHvULFM+eFEhtmQ2d80anEwmec/IFjS4ZNM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=iXCB21tyQTxrbVnb6TDDTg+cyb1kZTO0vkwu8afNDMrcgsEB9L1i8CRiYEh+H0PM1c kl8MzvESRqoj4aUT+6eedlkBhfQkKhSM/U0aZ5NHiCxl7QTTOpZjGcSShlpSa3PjdRZF GT24MtkD8rysEPIO+/v59Ao6c36Pd6RrBH8tc= Received: by 10.42.213.3 with SMTP id gu3mr2135546icb.420.1290630476178; Wed, 24 Nov 2010 12:27:56 -0800 (PST) Received: from compaq.yuetime (c-98-228-178-175.hsd1.il.comcast.net [98.228.178.175]) by mx.google.com with ESMTPS id 8sm8023570iba.16.2010.11.24.12.27.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 24 Nov 2010 12:27:55 -0800 (PST) Date: Wed, 24 Nov 2010 14:27:45 -0600 From: Zhihao Yuan To: freebsd-stable@freebsd.org Message-ID: <20101124202745.GA56067@compaq.yuetime> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uQr8t48UFsdbeI+V" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Failed to build RELENG_8 with NFSv4 support X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2010 20:27:58 -0000 --uQr8t48UFsdbeI+V Content-Type: multipart/mixed; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I changed my working KERNCONF to support the NFSv4 server & client: - options NFSSERVER + options NFSD -options NFSCLIENT + options NFSCL No matter I enabled NFSLOCKD or not, I can't successfully build the kernel. The error message says: linking kernel nlm_prot_impl.o(.text+0x11b6): In function `nlm_client_recovery_start': : undefined reference to `nlm_client_recovery' nlm_prot_impl.o(.text+0x3e8a): In function `nlm_syscall': : undefined reference to `nlm_advlock' nlm_prot_impl.o(.text+0x3e9c): In function `nlm_syscall': : undefined reference to `nlm_reclaim' *** Error code 1 Stop in /usr/obj/usr/src/sys/HOUKAGO. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Is this caused by an incomplete NFSCL? --=20 Zhihao Yuan The best way to predict the future is to invent it. --=20 Zhihao Yuan, nickname lichray The best way to predict the future is to invent it. -------------------------------------------------- let focus =3D 'computing' in here: http://let-in.blogspot.com (let (me Program!)): http://lichray.blogspot.com --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: attachment; filename=HOUKAGO cpu HAMMER ident HOUKAGO # To statically compile in device wiring instead of /boot/device.hints hints "GENERIC.hints" # Default places to look for devices. # Use the following to compile in values accessible to the kernel # through getenv() (or kenv(1) in userland). The format of the file # is 'variable=value', see kenv(1) # # env "GENERIC.env" #makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options NETGRAPH # Graph based kernel networking subsystem options SCTP # Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories #options UFS_GJOURNAL # Enable gjournal-based UFS journaling #options MD_ROOT # MD is a potential root device options NFSCL # Network Filesystem Client (NFSv4) options NFSD # Network Filesystem Server (NFSv4) #options NFSLOCKD # Network Lock Manager #options NFS_ROOT # NFS usable as /, requires NFSCLIENT options MSDOSFS # MSDOS Filesystem options LIBICONV # Preload iconv options MSDOSFS_ICONV # MSDOS Filesystem with iconv support options EXT2FS # Ext2/3 Filesystem options CD9660 # ISO 9660 Filesystem #options PROCFS # Process filesystem (requires PSEUDOFS) #options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization options COMPAT_43TTY # BSD 4.3 TTY compat (sgtty) options COMPAT_FREEBSD32 # Compatible with i386 binaries #options COMPAT_FREEBSD4 # Compatible with FreeBSD4 #options COMPAT_FREEBSD5 # Compatible with FreeBSD5 #options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options COMPAT_FREEBSD7 # Compatible with FreeBSD7 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options P1003_1B_SEMAPHORES # POSIX-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. options KBD_INSTALL_CDEV # install a CDEV entry in /dev options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) #options AUDIT # Security event auditing options MAC # TrustedBSD MAC Framework options FLOWTABLE # per-cpu routing cache options KDTRACE_FRAME # Ensure frames are compiled in options KDTRACE_HOOKS # Kernel DTrace hooks options DDB_CTF # Kernel ELF linker loads CTF data #options INCLUDE_CONFIG_FILE # Include this file in kernel # Make an SMP-capable kernel by default options SMP # Symmetric MultiProcessor Kernel # CPU frequency control device cpufreq # Bus support. device acpi device acpi_wmi device pci # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering # SCSI peripherals device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device cd # CD device pass # Passthrough device (direct SCSI access) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device kbdmux # keyboard multiplexer device vga # VGA video card driver device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc #options SC_PIXEL_MODE #options X86BIOS #device vesa # enable VESA console device agp # support several AGP chipsets # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support device cbb # cardbus (yenta) bridge device pccard # PC Card (16-bit) bus device cardbus # CardBus (32-bit) bus # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support device bge # Broadcom BCM570xx Gigabit Ethernet # Wireless NIC cards device wlan # 802.11 support #options IEEE80211_DEBUG # enable debug msgs options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's #options IEEE80211_SUPPORT_MESH # enable 802.11s draft support device wlan_wep # 802.11 WEP support device wlan_ccmp # 802.11 CCMP support device wlan_tkip # 802.11 TKIP support device wlan_amrr # AMRR transmit rate control algorithm # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support device vlan # 802.1Q VLAN support device tun # Packet tunnel. device pty # BSD-style compatibility pseudo ttys device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) device firmware # firmware assist module # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support #options USB_DEBUG # enable debug msgs device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) device udbp # USB Double Bulk Pipe devices device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse #device urio # Diamond Rio 500 MP3 player # FireWire support device firewire # FireWire bus code #device sbp # SCSI over FireWire (Requires scbus and da) #device fwe # Ethernet over FireWire (non-standard!) #device fwip # IP over FireWire (RFC 2734,3146) # Sound subsystem device sound device snd_hda --ZPt4rx8FFjLCG7dd-- --uQr8t48UFsdbeI+V Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkztdUAACgkQflQ9HU+rZa1q1QCdFfb+Pjf4XKwYwXsBCc3ksJJ2 95gAnA8vu5BhXzXR50twfjtUoR5wTKWb =56N7 -----END PGP SIGNATURE----- --uQr8t48UFsdbeI+V--