From dan@kulesh.obluda.cz  Sat Jul 16 14:23:11 2005
Return-Path: <dan@kulesh.obluda.cz>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 08C3016A41C
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 16 Jul 2005 14:23:11 +0000 (GMT)
	(envelope-from dan@kulesh.obluda.cz)
Received: from kulesh.obluda.cz (kulesh.obluda.cz [193.179.22.243])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1650743D45
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 16 Jul 2005 14:23:09 +0000 (GMT)
	(envelope-from dan@kulesh.obluda.cz)
Received: from kulesh.obluda.cz (localhost.eunet.cz [127.0.0.1])
	by kulesh.obluda.cz (8.13.4/8.13.4) with ESMTP id j6GEN8sL029593
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 16 Jul 2005 16:23:08 +0200 (CEST)
	(envelope-from dan@kulesh.obluda.cz)
Received: (from root@localhost)
	by kulesh.obluda.cz (8.13.4/8.13.1/Submit) id j6GEN71B029592;
	Sat, 16 Jul 2005 16:23:07 +0200 (CEST)
	(envelope-from dan)
Message-Id: <200507161423.j6GEN71B029592@kulesh.obluda.cz>
Date: Sat, 16 Jul 2005 16:23:07 +0200 (CEST)
From: Dan Lukes <dan@obluda.cz>
Reply-To: Dan Lukes <dan@obluda.cz>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: usr.sbin/kernbb doesn't compile during buildworld
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         83558
>Category:       bin
>Synopsis:       kernbb(8): usr.sbin/kernbb doesn't compile, and is disconnected
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    uqs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 16 14:30:20 GMT 2005
>Closed-Date:    Fri Nov 26 09:12:21 UTC 2010
>Last-Modified:  Fri Nov 26 09:12:21 UTC 2010
>Originator:     Dan Lukes
>Release:        FreeBSD 6.0-BETA1 i386
>Organization:
Obludarium
>Environment:
System: FreeBSD 6.0-BETA1 #0: Sat Jul 16 00:42:20 CEST 2005 dan@kulesh.obluda.cz:/usr/obj/usr/src/sys/KULESH i386
usr.sbin/kernbb/kernbb.c,v 1.17 2004/05/29 01:22:53 tjr
usr.sbin/kernbb/Makefile,v 1.10 2003/12/03 07:43:03 phk

>Description:
usr.sbin/kernbb i still part of source tree, but it's not compiled by
buildworld

It can't be compiled even by hand as it contain unresolved references.

>How-To-Repeat:
>Fix:
Someone should decide 
if (the kernbb should remain within source tree) {
	It should be patched to be compilable again.
} else {
	It should be removed from source tree.
}
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: arundel 
State-Changed-When: Mon Nov 15 19:41:34 UTC 2010 
State-Changed-Why:  
There's no need to have kernbb remaining in the src tree. Entries for the binary 
and manual page wer added to ObsoleteFiles.inc in 2004. Although the commit 
message by @kan (r132787) stated that kernbb will be disabled temporarily, it 
doesn't look as if it is coming back after 6 years. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=83558 
Responsible-Changed-From-To: freebsd-bugs->uqs 
Responsible-Changed-By: uqs 
Responsible-Changed-When: Mon Nov 22 20:59:55 UTC 2010 
Responsible-Changed-Why:  
I will de-orbit this shortly. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=83558 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/83558: commit references a PR
Date: Mon, 22 Nov 2010 21:39:41 +0000 (UTC)

 Author: uqs
 Date: Mon Nov 22 21:39:35 2010
 New Revision: 215717
 URL: http://svn.freebsd.org/changeset/base/215717
 
 Log:
   Remove kernbb(8) from the source tree.
   
   It's been broken for several years and with all the binutils/toolchain
   changes in flight, it might make more sense to put efforts into dtrace and
   hwpmc instead.
   
   Discussed with:	phk
   PR:		bin/83558
 
 Deleted:
   head/usr.sbin/kernbb/
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: analyzed->patched 
State-Changed-By: arundel 
State-Changed-When: Mon Nov 22 22:26:34 UTC 2010 
State-Changed-Why:  
Fixed in HEAD (r215717). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=83558 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/83558: commit references a PR
Date: Fri, 26 Nov 2010 08:11:48 +0000 (UTC)

 Author: uqs
 Date: Fri Nov 26 08:11:43 2010
 New Revision: 215854
 URL: http://svn.freebsd.org/changeset/base/215854
 
 Log:
   Remove kernel support for BB profiling, now that kernbb(8) is gone, too.
   
   PR:		bin/83558
   Reviewed by:	jkim
 
 Modified:
   head/sys/amd64/amd64/support.S
   head/sys/i386/i386/support.s
 
 Modified: head/sys/amd64/amd64/support.S
 ==============================================================================
 --- head/sys/amd64/amd64/support.S	Fri Nov 26 05:29:19 2010	(r215853)
 +++ head/sys/amd64/amd64/support.S	Fri Nov 26 08:11:43 2010	(r215854)
 @@ -700,25 +700,6 @@ ENTRY(longjmp)
  END(longjmp)
  
  /*
 - * Support for BB-profiling (gcc -a).  The kernbb program will extract
 - * the data from the kernel.
 - */
 -
 -	.data
 -	ALIGN_DATA
 -	.globl bbhead
 -bbhead:
 -	.quad 0
 -
 -	.text
 -NON_GPROF_ENTRY(__bb_init_func)
 -	movq	$1,(%rdi)
 -	movq	bbhead,%rax
 -	movq	%rax,32(%rdi)
 -	movq	%rdi,bbhead
 -	NON_GPROF_RET
 -
 -/*
   * Support for reading MSRs in the safe manner.
   */
  ENTRY(rdmsr_safe)
 
 Modified: head/sys/i386/i386/support.s
 ==============================================================================
 --- head/sys/i386/i386/support.s	Fri Nov 26 05:29:19 2010	(r215853)
 +++ head/sys/i386/i386/support.s	Fri Nov 26 08:11:43 2010	(r215854)
 @@ -790,26 +790,6 @@ ENTRY(longjmp)
  END(longjmp)
  
  /*
 - * Support for BB-profiling (gcc -a).  The kernbb program will extract
 - * the data from the kernel.
 - */
 -
 -	.data
 -	ALIGN_DATA
 -	.globl bbhead
 -bbhead:
 -	.long 0
 -
 -	.text
 -NON_GPROF_ENTRY(__bb_init_func)
 -	movl	4(%esp),%eax
 -	movl	$1,(%eax)
 -	movl	bbhead,%edx
 -	movl	%edx,16(%eax)
 -	movl	%eax,bbhead
 -	NON_GPROF_RET
 -
 -/*
   * Support for reading MSRs in the safe manner.
   */
  ENTRY(rdmsr_safe)
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: uqs 
State-Changed-When: Fri Nov 26 09:11:38 UTC 2010 
State-Changed-Why:  
kernbb and support removed, thanks for the submission Dan! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=83558 
>Unformatted:
  from the build
