Re: vinum problems with todays current

From: Rob <rob_at_debank.tv>
Date: Tue, 05 Aug 2003 22:21:41 +0200
Poul-Henning Kamp wrote:
> In message <3F300441.1040904_at_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
> _at__at_ -505,9 +505,9 _at__at_
>  	   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
Received on Tue Aug 05 2003 - 11:24:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:17 UTC