Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Aug 2003 22:21:41 +0200
From:      Rob <rob@debank.tv>
To:        freebsd-current@freebsd.org
Cc:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Subject:   Re: vinum problems with todays current
Message-ID:  <3F3011D5.7020306@debank.tv>
In-Reply-To: <34414.1060112010@critter.freebsd.dk>
References:  <34414.1060112010@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp wrote:
> In message <3F300441.1040904@debank.tv>, Rob writes:
> 
>>Hi all,
>>
>>After cvs'upping (about 12 hours ago) and building world/kernel vinum 
>>stopped working. It does show my two disks but nothing more. I also 
>>get an error message right after the bootloader:
> 
> 
> Can you try this patch:
> 
> 
> Index: spec_vnops.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/fs/specfs/spec_vnops.c,v
> retrieving revision 1.206
> diff -u -r1.206 spec_vnops.c
> --- spec_vnops.c	5 Aug 2003 06:43:56 -0000	1.206
> +++ spec_vnops.c	5 Aug 2003 19:33:06 -0000
> @@ -505,9 +505,9 @@
>  	   devtoname(bp->b_dev), bp));
>  	
>  	if ((dsw->d_flags & D_NOGIANT) && !(bp->b_flags & B_KEEPGIANT)) {
> -		DROP_GIANT();
> +		/* DROP_GIANT(); */
>  		DEV_STRATEGY(bp);
> -		PICKUP_GIANT();
> +		/* PICKUP_GIANT(); */
>  	} else
>  		DEV_STRATEGY(bp);
>  		
> 

Hi Poul,

I noticed I had an older version of spec_vnops.c (1.205), so I 
cvsupped again and build kernel, this gave me the same msgbuf error, 
but with different values. Then I applied your patch and the error 
messgae disapeared, but still my vinum doesn't come up.

vinum -> list
2 drives:
D b                     State: up       /dev/ad6s1e     A: 77903/77903 
MB (100%)
D a                     State: up       /dev/ad4s1e     A: 77903/77903 
MB (100%)

0 volumes:
0 plexes:
0 subdisks:

If you need additional info, I'll be glad to provide such.

Rob Evers


-- 
It is a book about a Spanish guy called Manual. You should read it.
        -- Dilbert



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