Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Nov 1997 13:02:57 -0800 (PST)
From:      cau@cs.arizona.edu
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   kern/5059: mountd, nfsd, etc. fail when lp0 defined in rc.conf
Message-ID:  <199711152102.NAA03523@hub.freebsd.org>
Resent-Message-ID: <199711152110.NAA06503@hub.freebsd.org>

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

>Number:         5059
>Category:       kern
>Synopsis:       mountd, nfsd, etc. fail when lp0 defined in rc.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 15 13:10:00 PST 1997
>Last-Modified:
>Originator:     Carlos Ugarte
>Organization:
>Release:        2.2.2-RELEASE
>Environment:
Something similar to
FreeBSD zot 2.2.2-RELEASE FreeBSD 2.2.2-RELEASE #0:
Sat Nov 15 12:01:19 MST 1997  root@zot:/usr/src/sys/compile/ZOT  i386
>Description:
Using a desktop to install FreeBSD to a laptop through PLIP.  Added
lp0 to network_interfaces in /etc/rc.conf (the other interfaces were
lo0, tun0; ep0 installed but not in use (no IP addr defined for it)).
Added ifconfig_lp0 line.  Set nfs_server_enable="YES" in rc.conf.

On next reboot, lp0 configured properly, but mountd fails on startup
(rc.network) with "Can't register mount", and nfsd fails with
"Can't register with udp portmap".  Pretty sure that rpc.statd does not
get started either (something else reported "Cannot register service:
RPC: Unable to send; errno = No route to host"; plus more errors).

>How-To-Repeat:
Make sure lp0 is initialized before mountd & the rest of the NFS procs
are started.  Problem happens on bootup, and even if lp0 and NFS stuff
not initialized automatically (so if I ifconfig lp0 and start mountd,
nfsd, etc. manually I still get the error messages).
>Fix:
Start the NFS procs before lp0 is ifconfig'd.
ifconfig lp0 blah blah

Then everything works; can even see and mount NFS volumes from
the laptop over PLIP.
>Audit-Trail:
>Unformatted:



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