From owner-freebsd-current Wed Jan 8 09:02:47 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id JAA17341 for current-outgoing; Wed, 8 Jan 1997 09:02:47 -0800 (PST) Received: from diablo.ppp.de (diablo.ppp.de [193.141.101.34]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id JAA17322 for ; Wed, 8 Jan 1997 09:02:19 -0800 (PST) Received: from freebie.lemis.de by diablo.ppp.de with smtp (Smail3.1.28.1 #1) id m0vi1Ml-000QYvC; Wed, 8 Jan 97 18:00 MET Received: (grog@localhost) by freebie.lemis.de (8.8.4/8.6.12) id QAA03906 for FreeBSD-current@FreeBSD.ORG; Wed, 8 Jan 1997 16:19:52 +0100 (MET) From: grog@lemis.de Message-Id: <199701081519.QAA03906@freebie.lemis.de> Subject: Re: What's happened to nfsd and mountd? In-Reply-To: <199701081440.JAA24321@skynet.ctr.columbia.edu> from Bill Paul at "Jan 8, 97 09:40:51 am" To: wpaul@skynet.ctr.columbia.edu (Bill Paul) Date: Wed, 8 Jan 1997 16:18:04 +0100 (MET) Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Reply-to: grog@lemis.de (Greg Lehey) X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Bill Paul writes: > Of all the gin joints in all the towns in all the world, grog@lemis.de > had to walk into mine and say: > >> For the past 10 days or so, I haven't been able to build functional >> nfsd and mountd: they die with messages like these: >> >> Jan 8 11:34:38 freebie mountd[1215]: Can't register mount >> Jan 8 11:35:16 freebie nfsd:[1261]: can't register with udp portmap > > I'm starting to think that this may be due to some changes Peter Wemm > made to the RPC library a short while back (maybe ten days -- not exactly > sure, but it sounds about right). Either that or somebody frobbed some > headers somewhere that broke the library. Well, I wasn't targeting Peter particularly, but I got the same sort of impression. > I assume you rebuilt the world and not just selected parts of the system, > correct? Correct. In fact, my last message about swap leaks when doing a make world was as a result of this problem. >> ktraces show that in each case a sendto fails: >> >> 577 mountd CALL sendto(0x5,0x465f0,0x38,0,0x46408,0x10) >> 577 mountd RET sendto -1 errno 47 Address family not supported by protocol family >> 577 mountd CALL write(0x2,0xefbfcb98,0x67) >> 577 mountd GIO fd 2 wrote 103 bytes >> "Cannot register service: RPC: Unable to send; errno = Address family not supported by protocol family >> >> " >> (don't ask me where stderr goes--I didn't see this message anywhere >> when I ran mountd). >> >> This is apparently not a kernel problem: I can start the versions I >> compiled a month ago and which I still have on my laptop, and they run >> fine. It's rather puzzling, though, because the source files haven't >> changed in that time. I can only assume a library problem somewhere, >> but I don't have the time to follow it up. > > It's most likely something in the RPC library in libc, not in the programs. > Rrrrr.... excuse me while I go fill up the gas tank on my LART. Damn. I don't understand that last sentence, but I don't want to look silly, so I won't ask :-) Greg