From owner-freebsd-bugs Thu Feb 4 05:40:07 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA15964 for freebsd-bugs-outgoing; Thu, 4 Feb 1999 05:40:07 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA15915 for ; Thu, 4 Feb 1999 05:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id FAA38016; Thu, 4 Feb 1999 05:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from belle.urc.ac.ru (Belle.urc.ac.ru [193.233.85.55]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA14908 for ; Thu, 4 Feb 1999 05:33:10 -0800 (PST) (envelope-from anton@belle.urc.ac.ru) Received: (from anton@localhost) by belle.urc.ac.ru (8.9.2/8.8.8) id SAA45167; Thu, 4 Feb 1999 18:32:34 +0500 (ES) (envelope-from anton) Message-Id: <199902041332.SAA45167@belle.urc.ac.ru> Date: Thu, 4 Feb 1999 18:32:34 +0500 (ES) From: anton@urc.ac.ru Reply-To: anton@urc.ac.ru To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/9905: NFS lookup when booting via network Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 9905 >Category: kern >Synopsis: NFS lookup when booting via network >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 4 05:40:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Anton Voronin >Release: FreeBSD 3.0-STABLE i386 >Organization: Southern Ural State University, Chelyabinsk, Russia >Environment: Kernel's NFS server code returns ENOENT error for existing file lookup query >Description: I boot a diskless workstation with netboot from fileserver operating under 3.0-stable. So as netboot doesn't undestand ELF, I boot aout 3.0-stable kernel. When kernel loads it panics with "no init". When file server worked under 2.2.8-stable all was OK. >How-To-Repeat: Compile aout kernel or use 2.2.x kernel and load it with netboot via network from NFS fileserver operating under 3.0-STABLE. After loading kernel panics with "no init". >Fix: I guess the problem is concluded in kernel nfs server code rather than in client code because I tried to boot an old 2.2.x kernel with the same result. I also tried to use nfsd from 2.2.x on the server with no luck. I have traced the kernel a little using printf() calls and found that when kernel does nfs lookup for "/sbin/init", it first succesfully gets vnode of /sbin but then fails to get vnode of "init" using the /sbin directory vnode received in previous lookup. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message