Re: vinum problems with todays current

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Tue, 05 Aug 2003 21:33:30 +0200
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);
 		

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Tue Aug 05 2003 - 10:34:22 UTC

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