Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Nov 1999 13:47:56 -0500
From:      Greg Lehey <grog@lemis.com>
To:        Robert Cousins <rec@RCousins.com>, freebsd-bugs@FreeBSD.ORG
Subject:   Re: Problem with vinum causing panic 100% of the time
Message-ID:  <19991101134756.38752@mojave.sitaranetworks.com>
In-Reply-To: <381BD011.223FED6A@RCousins.com>; from Robert Cousins on Sat, Oct 30, 1999 at 10:13:53PM -0700
References:  <381BD011.223FED6A@RCousins.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday, 30 October 1999 at 22:13:53 -0700, Robert Cousins wrote:
> Hello:
> 	I have just finished building a system which panics regularly.
> I fear I may have found a bug.

From vinum(4):

   Reporting problems with Vinum

     If you find any bugs in vinum, please report them to Greg Lehey
     <grog@lemis.com>.  Supply the following information:

     o   The output of the vinum list command.

     o   Any messages printed in /var/log/messages. All such messages will be
         identified by the text vinum at the beginning.

     o   If you have a panic, a stack trace as described above.

> All 4 IDE slots are connected to 37.5 gig IBM IDE Drives (IBM
> DeskStar 37GPs.  See this URL for more info:
> http://www.storage.ibm.com/hardsoft/diskdrdl/prod/ds37gp34gxp.htm)
>
> I've loaded the standard 3.3 release (downloaded from
> ftp.FreeBSD.org) and used the GENERIC kernel. (Haven't even cut out
> the unnecessary drivers, turn on soft updates or anything else.)

You should read http://www.lemis.com/vinum/bugs.html.  There's a known
bug in 3.3-RELEASE, but it affects the 'start' command, which doesn't
appear to be what you're talking about.  In any case, you should
upgrade to -STABLE.

> I loaded everything onto the two 9 gig drives.
> Then, I connected the 4 IDE disks and brought them up.
> They work just fine.
>
> However, when I use VINUM to tie them together and then build a huge
> filesystem over it, the system panics as soon as I try to create a
> file or directory in the new filesystem. (The mount point is creatively
> named '/vinum' just so it would be easy to understand.)

Basically, the information "the kernel panics" doesn't say very much.
At very least you should give the panic string, but you should really
also give me a stack trace.

Also from vinum(4):

   Kernel Panics

     In order to analyse a panic which you suspect comes from vinum you will
     need to build a debug kernel.  See the online handbook at
     /usr/share/doc/handbook/kerneldebug.html (if installed) or
     http://www.freebsd.org/handbook/kerneldebug.html for more details of how
     to do this.

> www1# newfs -v /dev/vinum/rvinum0
> /dev/vinum/rvinum0:	293044224 sectors in 71544 cylinders of 1 tracks, 4096 sectors
> 	143088.0MB in 4472 cyl groups (16 c/g, 32.00MB/g, 7936 i/g)
> super-block backups (for fsck -b #) at:
>  32, 65568, 131104, 196640, 262176, 327712, 393248, 458784, 524320, 589856, 655392, 720928, 786464, 852000, 917536, 983072,

Most of this output is not needed, but I *certainly* don't need the
listing of the addresses of 4472 cylinder groups.
> www1# vinum
> vinum -> info
> Flags: 0x80204
> Total of 16 blocks malloced, total memory: 13008
> Maximum allocs:      568, malloc table at 0xc0fb8814
> vinum -> list
> Configuration summary
>
> Drives:		4 (8 configured)
> Volumes:	1 (4 configured)
> Plexes:		1 (8 configured)
> Subdisks:	4 (16 configured)
>
> D vinumdrive0           State: up	Device /dev/wd0s1e	Avail: 0/35772 MB (0%)
> D vinumdrive1           State: up	Device /dev/wd1s1e	Avail: 0/35772 MB (0%)
> D vinumdrive2           State: up	Device /dev/wd2s1e	Avail: 0/35772 MB (0%)
> D vinumdrive3           State: up	Device /dev/wd3s1e	Avail: 0/35772 MB (0%)
>
> V vinum0                State: up	Plexes:       1	Size:        139 GB
>
> P vinum0.p0           S State: up	Subdisks:     4	Size:        139 GB
>
> S vinum0.p0.s0          State: up	PO:        0  B Size:         34 GB
> S vinum0.p0.s1          State: up	PO:      256 kB Size:         34 GB
> S vinum0.p0.s2          State: up	PO:      512 kB Size:         34 GB
> S vinum0.p0.s3          State: up	PO:      768 kB Size:         34 GB

This looks fine.

> www1# touch /vinum/foo
> <
>   System Crashes and panics here

OK, we need the information I asked for.  I haven't seen this one
before.

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?19991101134756.38752>