From owner-freebsd-bugs Mon May 21 23:44:23 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id EBEA837B422; Mon, 21 May 2001 23:44:17 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 7203A6ACBE; Tue, 22 May 2001 16:14:15 +0930 (CST) Date: Tue, 22 May 2001 16:14:15 +0930 From: Greg Lehey To: dwmalone@FreeBSD.org Cc: freebsd-bugs@FreeBSD.org, freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/27498: vinum crashed after 'vinum dumpconfig' Message-ID: <20010522161415.I9282@wantadilla.lemis.com> References: <200105211259.f4LCxuG19847@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200105211259.f4LCxuG19847@freefall.freebsd.org>; from dwmalone@FreeBSD.org on Mon, May 21, 2001 at 05:59:56AM -0700 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Monday, 21 May 2001 at 5:59:56 -0700, dwmalone@FreeBSD.org wrote: > Synopsis: vinum crashed after 'vinum dumpconfig' > > Responsible-Changed-From-To: freebsd-bugs->grog > Responsible-Changed-By: dwmalone > Responsible-Changed-When: Mon May 21 05:53:13 PDT 2001 > Responsible-Changed-Why: > I tried to reproduce the problem here on a machine and I think I managed > to (tared /usr to the vinum disk and kept doing "vinum dumpconfig"), so > it looks easy enough to reproduce. Grog is likely to have a better idea > of what the problem is, but if you could rerun gdb on the vmcore and > send us the output of "trace" it would probably help. Both of you: are you using devfs? Currently, devfs limits the pathnames to 15 (!) characters, and doesn't seem to check them. I've run into a number of problems as a result, but I couldn't get dumpconfig to do anything (after 2500 iterations!). If this is a devfs system, try this patch, then build a new kernel etc. --- param.h 2001/02/24 10:44:03 1.91 +++ param.h 2001/05/22 05:13:16 @@ -74,7 +74,7 @@ #define NOFILE OPEN_MAX /* max open files per process */ #define NOGROUP 65535 /* marker for empty group set member */ #define MAXHOSTNAMELEN 256 /* max hostname size */ -#define SPECNAMELEN 15 /* max length of devicename */ +#define SPECNAMELEN 96 /* max length of devicename */ /* More types and definitions used throughout the kernel. */ #ifdef _KERNEL Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message