From owner-freebsd-stable Sun Nov 12 04:53:43 1995 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id EAA07295 for stable-outgoing; Sun, 12 Nov 1995 04:53:43 -0800 Received: from DATAPLEX.NET (SHARK.DATAPLEX.NET [199.183.109.241]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id EAA07290 for ; Sun, 12 Nov 1995 04:53:41 -0800 Received: from [199.183.109.242] by DATAPLEX.NET with SMTP (MailShare 1.0fc5); Sun, 12 Nov 1995 06:19:40 -0600 X-Sender: rkw@shark.dataplex.net Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sun, 12 Nov 1995 06:19:38 -0600 To: stable@freebsd.org From: rkw@dataplex.net (Richard Wackerbarth) Subject: Questionable decision Sender: owner-stable@freebsd.org Precedence: bulk In order to save space, etc., the termcap in /etc was replaced by a symbolic link to /usr/share ... lobster: {10} ls -l /etc/term* lrwxr-xr-x 1 root wheel 23 Nov 12 05:25 /etc/termcap -> /usr/share/misc/termcap Since /usr/share is a prime candidate for nfs, I mounted it from another machine lobster: {14} df Filesystem 512-blocks Used Avail Capacity Mounted on [...] eel:/usr/share 834446 644310 123380 84% /usr/share If the mount goes as expected, everything is great. But what if eel is down? Now login doesn't want to let me in because it cannot recognize by terminal :-( I have copied termcap from shared storage to /etc. IMHO, since login requires the file, it is a REQUIRED configuration file. Therefore it should be in the required configuration area, /etc. ---- Richard Wackerbarth rkw@dataplex.net From owner-freebsd-stable Tue Nov 14 11:30:19 1995 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA05916 for stable-outgoing; Tue, 14 Nov 1995 11:30:19 -0800 Received: from ubiq.veda.is (root@ubiq.veda.is [193.4.230.60]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA05893 for ; Tue, 14 Nov 1995 11:30:11 -0800 Received: (from adam@localhost) by ubiq.veda.is (8.6.12/8.6.9) id TAA13034; Tue, 14 Nov 1995 19:29:29 GMT Date: Tue, 14 Nov 1995 19:29:29 GMT From: Adam David Message-Id: <199511141929.TAA13034@ubiq.veda.is> To: rkw@dataplex.NET (Richard Wackerbarth) Cc: freebsd-stable@freebsd.org Subject: Re: Questionable decision Newsgroups: list.freebsd.stable References: X-Newsreader: NN version 6.5.0 #2 (NOV) Sender: owner-stable@freebsd.org Precedence: bulk >In order to save space, etc., the termcap in /etc was replaced by a >symbolic link to /usr/share ... >Since /usr/share is a prime candidate for nfs, I mounted it from another machine >If the mount goes as expected, everything is great. >But what if eel is down? >Now login doesn't want to let me in because it cannot recognize by terminal :-( >I have copied termcap from shared storage to /etc. IMHO, since login >requires the file, it is a REQUIRED configuration file. Therefore it should >be in the required configuration area, /etc. Have you tried mounting /usr/share/misc/termcap on top of a minimal /etc/termcap file using options soft,union ? This would do what you expect, if union mounting applies also to regular files and if soft,union implies that the underlying filesystem is accessed if the union-mounted layer fails due to a hanging server. This requires specifying the -r flag to mountd on the server machine. If it doesn't work, why not? and why shouldn't it work? -- Adam David From owner-freebsd-stable Wed Nov 15 12:56:18 1995 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA24663 for stable-outgoing; Wed, 15 Nov 1995 12:56:18 -0800 Received: from westhill.cdrom.com (westhill.cdrom.com [192.216.223.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA24648 for ; Wed, 15 Nov 1995 12:56:15 -0800 Received: from localhost.cdrom.com (localhost.cdrom.com [127.0.0.1]) by westhill.cdrom.com (8.6.12/8.6.11) with SMTP id MAA21420 ; Wed, 15 Nov 1995 12:56:12 -0800 X-Authentication-Warning: westhill.cdrom.com: Host localhost.cdrom.com didn't use HELO protocol To: stable@freebsd.org CC: jkh@time.cdrom.com Subject: share/zoneinfo & zic Date: Wed, 15 Nov 1995 12:56:12 -0800 Message-ID: <21417.816468972@westhill.cdrom.com> From: Gary Palmer Sender: owner-stable@freebsd.org Precedence: bulk Hi all ===> share/zoneinfo umask 022; cd /usr/src/share/zoneinfo; zic -d /usr/share/zoneinfo -p America/New_York -L /dev/null -y /usr/src/share/zoneinfo/obj/yearistype africa antarctica asia australasia etcetera europe factory northamerica southamerica systemv "/dev/null", line 1: input line of unknown type "/dev/null", line 2: input line of unknown type "/dev/null", line 3: input line of unknown type *** Error code 1 Stop. Any ideas? This is with a make world earlier today on my box here... Thanks Gary From owner-freebsd-stable Wed Nov 15 15:51:10 1995 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA04630 for stable-outgoing; Wed, 15 Nov 1995 15:51:10 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA04609 for ; Wed, 15 Nov 1995 15:51:05 -0800 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id PAA24049 for ; Wed, 15 Nov 1995 15:50:22 -0800 To: stable@freefall.FreeBSD.org Subject: There appears to be an error in -stable zoneinfo. Date: Wed, 15 Nov 1995 15:50:21 -0800 Message-ID: <24047.816479421@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-stable@FreeBSD.ORG Precedence: bulk I just checked out a RELENG_2_1_0 tree from scratch and attempted a make world in it. Here's what happens: umask 022; cd /usr/src/share/zoneinfo; zic -d /usr/share/zoneinfo -p America/New_York -L /dev/null -y /usr/src/share/zoneinfo/obj/yearistype africa antarctica asia australasia etcetera europe factory northamerica southamerica systemv "/dev/null", line 1: input line of unknown type "/dev/null", line 2: input line of unknown type "/dev/null", line 3: input line of unknown type This is kinda bad. What's happened in there recently? Jordan From owner-freebsd-stable Wed Nov 15 16:21:41 1995 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA12092 for stable-outgoing; Wed, 15 Nov 1995 16:21:41 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA12073 for ; Wed, 15 Nov 1995 16:21:38 -0800 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id QAA24360; Wed, 15 Nov 1995 16:20:51 -0800 To: Gary Palmer cc: stable@freebsd.org Subject: Re: share/zoneinfo & zic In-reply-to: Your message of "Wed, 15 Nov 1995 12:56:12 PST." <21417.816468972@westhill.cdrom.com> Date: Wed, 15 Nov 1995 16:20:51 -0800 Message-ID: <24358.816481251@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-stable@freebsd.org Precedence: bulk I just reported this also. The 2.1 release is sort of dead until this gets fixed. :( > > Hi all > > ===> share/zoneinfo > umask 022; cd /usr/src/share/zoneinfo; zic -d /usr/share/zoneinfo -p America /New_York -L /dev/null -y /usr/src/share/zoneinfo/obj/yearistype africa antarc tica asia australasia etcetera europe factory northamerica southamerica system v > "/dev/null", line 1: input line of unknown type > "/dev/null", line 2: input line of unknown type > "/dev/null", line 3: input line of unknown type > *** Error code 1 > > Stop. > > Any ideas? This is with a make world earlier today on my box here... > > Thanks > > Gary From owner-freebsd-stable Sat Nov 18 08:25:21 1995 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA03923 for stable-outgoing; Sat, 18 Nov 1995 08:25:21 -0800 Received: from rocky.sri.MT.net (rocky.sri.MT.net [204.182.243.10]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id IAA03916 for ; Sat, 18 Nov 1995 08:25:16 -0800 Received: (from nate@localhost) by rocky.sri.MT.net (8.6.12/8.6.12) id JAA14224; Sat, 18 Nov 1995 09:27:42 -0700 Date: Sat, 18 Nov 1995 09:27:42 -0700 From: Nate Williams Message-Id: <199511181627.JAA14224@rocky.sri.MT.net> To: stable@FreeBSD.org Subject: NFS crash with 2.1-stable Sender: owner-stable@FreeBSD.org Precedence: bulk I was beating the snot out of my new pentium box building a distribution when it crashed in the middle of the night. moth# gdb -k kernel.0 vmcore.0 GDB is free software and you are welcome to distribute copies of it under certain conditions; type "show copying" to see the conditions. There is absolutely no warranty for GDB; type "show warranty" for details. GDB 4.13 (i386-unknown-freebsd), Copyright 1994 Free Software Foundation, Inc...(no debugging symbols found)... IdlePTD 1d3000 current pcb at 1c4d9c panic: nfsreq nogrps #0 0xf01981f1 in boot () (kgdb) bt #0 0xf01981f1 in boot () #1 0xf01142a3 in panic () #2 0xf015a977 in nfs_request () #3 0xf0161e37 in nfs_getattr () #4 0xf014a56f in nfs_bioread () #5 0xf016316e in nfs_read () #6 0xf012e9f2 in vn_read () #7 0xf01154c7 in read () #8 0xf019d2c3 in syscall () #9 0xf0195aab in Xsyscall () #10 0x1087 in ?? () (kgdb) I've got the crash dump if it would help. Nate From owner-freebsd-stable Sat Nov 18 09:17:31 1995 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA07586 for stable-outgoing; Sat, 18 Nov 1995 09:17:31 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id JAA07579 for ; Sat, 18 Nov 1995 09:17:21 -0800 Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id JAA01735; Sat, 18 Nov 1995 09:17:19 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.12/8.6.5) with SMTP id JAA00667; Sat, 18 Nov 1995 09:13:27 -0800 Message-Id: <199511181713.JAA00667@corbin.Root.COM> To: Nate Williams cc: stable@freebsd.org Subject: Re: NFS crash with 2.1-stable In-reply-to: Your message of "Sat, 18 Nov 95 09:27:42 MST." <199511181627.JAA14224@rocky.sri.MT.net> From: David Greenman Reply-To: davidg@Root.COM Date: Sat, 18 Nov 1995 09:13:27 -0800 Sender: owner-stable@freebsd.org Precedence: bulk >I was beating the snot out of my new pentium box building a distribution >when it crashed in the middle of the night. ... >panic: nfsreq nogrps ... >I've got the crash dump if it would help. Not necessary. Something running as root did a setgroups(0,foo). Do you have an NFS mounted mailbox and are are running Smail? If so, update Smail to the current ports version and install the attached patch. -DG Index: kern_prot.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_prot.c,v retrieving revision 1.13 retrieving revision 1.14 diff -c -r1.13 -r1.14 *** 1.13 1995/10/08 00:06:07 --- 1.14 1995/11/04 10:50:55 *************** *** 407,413 **** if ((error = suser(pc->pc_ucred, &p->p_acflag))) return (error); ! if ((ngrp = uap->gidsetsize) > NGROUPS) return (EINVAL); pc->pc_ucred = crcopy(pc->pc_ucred); if ((error = copyin((caddr_t)uap->gidset, --- 407,414 ---- if ((error = suser(pc->pc_ucred, &p->p_acflag))) return (error); ! ngrp = uap->gidsetsize; ! if (ngrp < 1 || ngrp > NGROUPS) return (EINVAL); pc->pc_ucred = crcopy(pc->pc_ucred); if ((error = copyin((caddr_t)uap->gidset, From owner-freebsd-stable Sat Nov 18 09:25:14 1995 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA07777 for stable-outgoing; Sat, 18 Nov 1995 09:25:14 -0800 Received: from rocky.sri.MT.net (rocky.sri.MT.net [204.182.243.10]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id JAA07769 for ; Sat, 18 Nov 1995 09:25:04 -0800 Received: (from nate@localhost) by rocky.sri.MT.net (8.6.12/8.6.12) id KAA14289; Sat, 18 Nov 1995 10:27:21 -0700 Date: Sat, 18 Nov 1995 10:27:21 -0700 From: Nate Williams Message-Id: <199511181727.KAA14289@rocky.sri.MT.net> To: davidg@Root.COM Cc: Nate Williams , stable@freebsd.org Subject: Re: NFS crash with 2.1-stable In-Reply-To: <199511181713.JAA00667@corbin.Root.COM> References: <199511181627.JAA14224@rocky.sri.MT.net> <199511181713.JAA00667@corbin.Root.COM> Sender: owner-stable@freebsd.org Precedence: bulk > >I was beating the snot out of my new pentium box building a distribution > >when it crashed in the middle of the night. > ... > >panic: nfsreq nogrps > ... > >I've got the crash dump if it would help. > > Not necessary. Something running as root did a setgroups(0,foo). Do you > have an NFS mounted mailbox and are are running Smail? If so, update Smail > to the current ports version and install the attached patch. I *never* run anything that requires NFS locking unless something in our build tree does. This means I don't export mail disks to multiple boxes which can write on it, and sendmail is the stock mailer I use (which doesn't come into the picture on the affected machines). I was running a 'make release' on a local disk which was setup to build the distribution on an NFS mounted disk. The box is running some variant of -stable released after Nov. 1 + more recent patches brought into the tree. (Can't wait for the actual 2.1 release bits *grin*) In any case, I'll patch my kernel with the supplied patch and see if it makes a difference. Thanks! Nate