Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 1999 18:32:34 +0500 (ES)
From:      anton@urc.ac.ru
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/9905: NFS lookup when booting via network
Message-ID:  <199902041332.SAA45167@belle.urc.ac.ru>

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

>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



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