vinum problems with todays current

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Aug 5 12:34:23 PDT 2003


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
@@ -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);
 		

-- 
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.


More information about the freebsd-current mailing list