From phil@tenzing.tripadvisor.com  Wed Nov  5 22:42:22 2003
Return-Path: <phil@tenzing.tripadvisor.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7067616A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  5 Nov 2003 22:42:22 -0800 (PST)
Received: from tenzing.tripadvisor.com (tenzing.tripadvisor.com [140.239.2.17])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0A48443FDF
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  5 Nov 2003 22:42:21 -0800 (PST)
	(envelope-from phil@tenzing.tripadvisor.com)
Received: from tenzing.tripadvisor.com (localhost.tripadvisor.com [127.0.0.1])
	by tenzing.tripadvisor.com (8.12.9/8.12.9) with ESMTP id hA67htmD020874
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 6 Nov 2003 02:43:55 -0500 (EST)
	(envelope-from phil@tenzing.tripadvisor.com)
Received: (from phil@localhost)
	by tenzing.tripadvisor.com (8.12.9/8.12.9/Submit) id hA67hsu6020873;
	Thu, 6 Nov 2003 02:43:54 -0500 (EST)
Message-Id: <200311060743.hA67hsu6020873@tenzing.tripadvisor.com>
Date: Thu, 6 Nov 2003 02:43:54 -0500 (EST)
From: Phil Budne <phil@tenzing.tripadvisor.com>
Reply-To: Phil Budne <phil@tenzing.tripadvisor.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: vinum does not build
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         58991
>Category:       kern
>Synopsis:       vinum does not build
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    grog
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 05 22:50:11 PST 2003
>Closed-Date:    Sun Aug 22 07:37:11 GMT 2004
>Last-Modified:  Sun Aug 22 07:37:11 GMT 2004
>Originator:     Phil Budne
>Release:        FreeBSD 5.1-CURRENT sparc64
>Organization:
>Environment:
System: FreeBSD tenzing.tripadvisor.com 5.1-CURRENT FreeBSD 5.1-CURRENT #2: Wed Nov 5 12:56:03 EST 2003 root@tenzing.tripadvisor.com:/usr/src/sys/sparc64/compile/TENZING sparc64


>Description:
	Vinum does not build -- missing p_intr_nesting_level
	no basename prototype (not used when not debugging)

>How-To-Repeat:
	configure "device vinum" and build kernel

>Fix:


*** vinummemory.c.orig	Sun Aug 24 13:55:56 2003
--- vinummemory.c	Wed Nov  5 12:55:48 2003
***************
*** 92,98 ****
  #else /* not i386 */
  #define LongJmp longjmp					    /* just use the kernel function */
  #endif /* i386 */
- #endif /* VINUMDEBUG */
  
  /* find the base name of a path name */
  char *
--- 92,97 ----
***************
*** 106,112 ****
  	return ++f;					    /* skip the / */
  }
  
- #ifdef VINUMDEBUG
  void
  expand_table(void **table, int oldsize, int newsize, char *file, int line)
  #else
--- 105,110 ----
*** vinumext.h.orig	Thu May 22 21:13:43 2003
--- vinumext.h	Wed Nov  5 12:53:07 2003
***************
*** 249,255 ****
  #define LOCKDRIVE(d) lockdrive (d, __FILE__, __LINE__)
  #else
  #define Malloc(x)  malloc((x), M_DEVBUF, \
! 	curthread->td_proc->p_intr_nesting_level == 0? M_WAITOK: M_NOWAIT)
  #define Free(x)    free((x), M_DEVBUF)
  #define LOCKDRIVE(d) lockdrive (d)
  #endif
--- 249,255 ----
  #define LOCKDRIVE(d) lockdrive (d, __FILE__, __LINE__)
  #else
  #define Malloc(x)  malloc((x), M_DEVBUF, \
! 	curthread->td_intr_nesting_level == 0? M_WAITOK: M_NOWAIT)
  #define Free(x)    free((x), M_DEVBUF)
  #define LOCKDRIVE(d) lockdrive (d)
  #endif
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->grog 
Responsible-Changed-By: kris 
Responsible-Changed-When: Thu Nov 6 19:04:21 PST 2003 
Responsible-Changed-Why:  
Assign to vinum author 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58991 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Sun Aug 22 07:36:58 GMT 2004 
State-Changed-Why:  
Surely this PR has long been obsolete. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58991 
>Unformatted:
