Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2001 16:14:15 +0930
From:      Greg Lehey <grog@lemis.com>
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>
In-Reply-To: <200105211259.f4LCxuG19847@freefall.freebsd.org>; from dwmalone@FreeBSD.org on Mon, May 21, 2001 at 05:59:56AM -0700
References:  <200105211259.f4LCxuG19847@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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