From owner-freebsd-stable@FreeBSD.ORG Tue Mar 2 15:04:20 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2A8516A4CE for ; Tue, 2 Mar 2004 15:04:20 -0800 (PST) Received: from ptb-relay02.plus.net (ptb-relay02.plus.net [212.159.14.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BED343D2F for ; Tue, 2 Mar 2004 15:04:20 -0800 (PST) (envelope-from james@physicalsegment.com) Received: from [81.174.238.178] (helo=mail.physicalsegment.com) by ptb-relay02.plus.net with esmtp (Exim) id 1AyIvz-000EqS-BZ; Tue, 02 Mar 2004 23:04:19 +0000 Received: from [10.0.0.192] (helo=jd2400) by mail.physicalsegment.com with smtp (Exim 4.20) id 1AyIve-00053a-Uk; Tue, 02 Mar 2004 23:03:58 +0000 Message-ID: <00a501c40171$9e0f6dc0$c000000a@jd2400> From: "James Read" To: =?iso-8859-1?Q?Pawe=B3_Ma=B3achowski?= References: <20040302213936.216CB5F103@shellma.zin.lublin.pl> Date: Wed, 3 Mar 2004 22:48:16 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean cc: stable@freebsd.org Subject: Re: Using read-only NULLFS leads to panic. gdb output included, easy toreproduce. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 23:04:20 -0000 > find /usr/ports -type f -perm -u+s & > find /usr/ports -type f -perm -u+s & > ... > find /mnt/1 -type f -perm -u+s & > find /mnt/1 -type f -perm -u+s & > ... > find /mnt/2 -type f -perm -u+s & > find /mnt/2 -type f -perm -u+s & > ... > > (Machine C crashed after few minutes). All I can say is that I've had this happen to me before. 'Me too' The ports were mounted in exact the same way, but with rw instead of ro. Also a few jails were running at the time, infact 3 were. All had /usr/ports mount_null'ed inside there jail. After running find from the usual periodic scripts it brought the machine down every time it ran that script. What I did to stop the box from panicing all the time at that one particular place, was just to disable the script that does the 'find' / locate. Off the top of my head I think it was /etc/periodic/weekly/310.locate. Once this was disabled (from inside and outside the jails), I didnt get any more panics from 'find'. Granted this isnt a fix, but it did save me from panic hell every week. If there is a better way / another way to 'mount_null' /usr/ports (or any other mount point for that matter) to other places in/on the filesystem, by using NFS or other such things, then speak up! I don't like getting panics more then anyone else does ;> Regards, James. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. Mailscanner thanks transtec Computers for their support.