From owner-freebsd-stable@FreeBSD.ORG Sun Dec 5 11:56:04 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1077B16A4CE for ; Sun, 5 Dec 2004 11:56:04 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id B336243D6A for ; Sun, 5 Dec 2004 11:56:02 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.13.1/8.13.1) with ESMTP id iB5BrdQC041510; Sun, 5 Dec 2004 06:53:39 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)iB5BrdYF041507; Sun, 5 Dec 2004 11:53:39 GMT (envelope-from robert@fledge.watson.org) Date: Sun, 5 Dec 2004 11:53:39 +0000 (GMT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Marta Resende In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: NFS filesystem breaks the boot X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Dec 2004 11:56:04 -0000 On Sun, 5 Dec 2004, Marta Resende wrote: > Hey,i upgrade using that options: > > #cd /usr/src > #make buildworld > #make buildkernel KERNCONF=MINE > #make installkernel KERNCONF=MINE > #reboot > (press 4 for single-user mode) > #fsck -p > #mount -u / > #mount -a > #cd /usr/src > #mergemaster -p > #make installworld > #mergemaster > > and when i reboot, freebsd stops under "Mounting NFS file systems:." Could you try hitting Ctrl-T at the point where things seem stuck? This will cause the kernel to print out information on the current foreground process. It will also tell us what, at a kernel level, the process is blocked on. For example: paprika:~/ngcmac> sleep 10 load: 0.01 cmd: sleep 45193 [nanslp] 0.00u 0.00s 0% 452k The sleep command is typically blocked in the nanslp wait channel in the kernel. You are likely to find a process blocked in [kqread], which is often a suggestion that the process is blocked in a DNS lookup: paprika:~/freebsd/commit/src/sys/kern> telnet www.unresolveable.org load: 0.08 cmd: telnet 45211 [kqread] 0.01u 0.00s 0% 1944k Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research