From dmagda@magda.ca  Fri Apr 18 13:47:47 2003
Return-Path: <dmagda@magda.ca>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 4E48637B401; Fri, 18 Apr 2003 13:47:47 -0700 (PDT)
Received: from tomts19-srv.bellnexxia.net (tomts19-srv.bellnexxia.net [209.226.175.73])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id B783243FDF; Fri, 18 Apr 2003 13:47:45 -0700 (PDT)
	(envelope-from dmagda@magda.ca)
Received: from number6.magda.ca ([64.229.179.136])
          by tomts19-srv.bellnexxia.net
          (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP
          id <20030418204744.ODFC13241.tomts19-srv.bellnexxia.net@number6.magda.ca>;
          Fri, 18 Apr 2003 16:47:44 -0400
Received: from number6.magda.ca (localhost.magda.ca [127.0.0.1])
	by number6.magda.ca (8.12.9/8.12.7) with ESMTP id h3IKlhg3000818
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 18 Apr 2003 16:47:43 -0400 (EDT)
	(envelope-from dmagda@magda.ca)
Received: (from dmagda@localhost)
	by number6.magda.ca (8.12.9/8.12.7/Submit) id h3IKlhIZ000817;
	Fri, 18 Apr 2003 16:47:43 -0400 (EDT)
	(envelope-from dmagda)
Message-Id: <200304182047.h3IKlhIZ000817@number6.magda.ca>
Date: Fri, 18 Apr 2003 16:47:43 -0400 (EDT)
From: David Magda <dmagda+fbugs@magda.ca>
Reply-To: David Magda <dmagda+fbugs@ee.ryerson.ca>
To: FreeBSD-gnats-submit@freebsd.org
Cc: jeff@freebsd.org, arch@freebsd.org
Subject: config(8) should check if a scheduler is selected
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         51137
>Category:       bin
>Synopsis:       [patch] config(8) should check if a scheduler is selected
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 18 13:50:18 PDT 2003
>Closed-Date:    
>Last-Modified:  Thu Dec 22 04:29:11 UTC 2011
>Originator:     David Magda
>Release:        FreeBSD 5.x
>Organization:
We're organized?
>Environment:

>Description:

If you run config(8) on a kernel configuration file which doesn't
have a scheduler selected then it does *NOT* complain.

Then when you try to do a 'make buildkernel' the make bombs since
there are unresolved functions relating to scheduling.

>How-To-Repeat:

. Create a kernel config file without a scheduler
. Run config(8) it and observe how it does not complain
. 'cd /usr/src; make buildkernel' and observe how it dies

>Fix:

Make config(8) check to see that a scheduler is there.


>Release-Note:
>Audit-Trail:

From: Murray Stokely <murray@freebsd.org>
To: David Magda <dmagda+fbugs@ee.ryerson.ca>
Cc: FreeBSD-gnats-submit@freebsd.org, arch@freebsd.org,
	jeff@freebsd.org
Subject: Re: kern/51137: config(8) should check if a scheduler is selected
Date: Sun, 4 May 2003 23:57:20 -0700

 On Fri, Apr 18, 2003 at 04:47:43PM -0400, David Magda wrote:
 > Make config(8) check to see that a scheduler is there.
 
 I have also been bitten by this and I agree that it would be a nice
 change.  Any chance you can submit a patch?
 
 	 - Murray

From: David Magda <dmagda+fbugs@magda.ca>
To: Murray Stokely <murray@freebsd.org>
Cc: FreeBSD-gnats-submit@freebsd.org, arch@freebsd.org,
	jeff@freebsd.org
Subject: Re: kern/51137: config(8) should check if a scheduler is selected
Date: Mon, 5 May 2003 07:48:01 -0400

 On Sun, May 04, 2003 at 11:57:20PM -0700, Murray Stokely wrote:
 
 > I have also been bitten by this and I agree that it would be a nice
 > change.  Any chance you can submit a patch?
 
 You really don't want me to code -- trust me on this. :>
State-Changed-From-To: open->suspended 
State-Changed-By: kris 
State-Changed-When: Fri Oct 10 22:44:47 PDT 2003 
State-Changed-Why:  
Suspended awaiting implementation 


Class-Changed-From-To: update->wish 
Class-Changed-By: kris 
Class-Changed-When: Fri Oct 10 22:44:47 PDT 2003 
Class-Changed-Why:  
Feature wish-list 

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

From: Antoine Pelisse <apelisse@gmail.com>
To: bug-followup@freebsd.org, dmagda+fbugs@ee.ryerson.ca
Cc:  
Subject: Re: bin/51137: config(8) should check if a scheduler is selected
Date: Thu, 4 Aug 2005 03:08:31 +0200

 ------=_Part_1088_26348071.1123117711272
 Content-Type: multipart/alternative; 
 	boundary="----=_Part_1089_14201166.1123117711273"
 
 ------=_Part_1089_14201166.1123117711273
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 
 Here is a patch that makes config(8) check than exactly one scheduler is=20
 selected.
 the same scheduler can be selected twice though.
 
 Regards,
 Antoine Pelisse.
 
 ------=_Part_1089_14201166.1123117711273
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 
 Here is a patch that makes config(8) check than exactly one scheduler is se=
 lected.<br>
 the same scheduler can be selected twice though.<br>
 <br>
 Regards,<br>
 Antoine Pelisse.<br>
 
 
 ------=_Part_1089_14201166.1123117711273--
 
 ------=_Part_1088_26348071.1123117711272
 Content-Type: application/octet-stream; name="config.patch"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment; filename="config.patch"
 
 ZGlmZiAtcnUgdXNyLnNiaW4vY29uZmlnL2NvbmZpZy5oIHVzci5zYmluL2NvbmZpZy5vcmlnL2Nv
 bmZpZy5oCi0tLSB1c3Iuc2Jpbi9jb25maWcvY29uZmlnLmgJVGh1IEF1ZyAgNCAwMjozNDo1MCAy
 MDA1CisrKyB1c3Iuc2Jpbi9jb25maWcub3JpZy9jb25maWcuaAlUaHUgQXVnICA0IDAyOjM2OjIy
 IDIwMDUKQEAgLTk4LDYgKzk4LDEyIEBACiBjaGFyCSptYWNoaW5lbmFtZTsKIAogLyoKKyAqIFNj
 aGVkdWxlciBuYW1lCisgKiBUaGlzIGlzIHVzZWQgdG8gY2hlY2sgdGhhdCBv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Rpb25zIHNob3VsZCBub3QgYmUgIgpk
 aWZmIC1ydSB1c3Iuc2Jpbi9jb25maWcvbWFpbi5jIHVzci5zYmluL2NvbmZpZy5vcmlnL21haW4u
 YwotLS0gdXNyLnNiaW4vY29uZmlnL21haW4uYwlUaHUgQXVnICA0IDAyOjM0OjUwIDIwMDUKKysr
 IHVzci5zYmluL2NvbmZpZy5vcmlnL21haW4uYwlUaHUgQXVnICA0IDAyOjM0OjMxIDIwMDUKQEAg
 LTE1MSw2ICsxNTEsMTAgQEAKIAkJcHJpbnRmKCJTcGVjaWZ5IG1hY2hpbmUgdHlwZSwgZS5nLiBg
 YG1hY2hpbmUgaTM4NicnXG4iKTsKIAkJZXhpdCgxKTsKIAl9CisJaWYgKHNjaGVkdWxlciA9PSBO
 VUxMKSB7CisJCXByaW50ZigiWW91IGhhdmUgdG8gc2VsZWN0IGEgc2NoZWR1bGVyXG4iKTsKKwkJ
 ZXhpdCgxKTsKKwl9CiAJLyoKIAkgKiBtYWtlIHN5bWJvbGljIGxpbmtzIGluIGNvbXBpbGF0aW9u
 IGRpcmVjdG9yeQogCSAqIGZvciAic3lzIiAodG8gbWFrZSBnZW5hc3N5bS5jIHdvcmsgYWxvbmcg
 d2l0aCAjaW5jbHVkZSA8c3lzL3h4eD4pCg==
 ------=_Part_1088_26348071.1123117711272--
Class-Changed-From-To: wish->change-request 
Class-Changed-By: eadler 
Class-Changed-When: Thu Dec 22 04:28:10 UTC 2011 
Class-Changed-Why:  
we don't really use 'wish' and this request seems reasonable. I have not looked to see if the feature is still required and/or if the patch still applies. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=51137 
State-Changed-From-To: suspended->open 
State-Changed-By: eadler 
State-Changed-When: Thu Dec 22 04:29:02 UTC 2011 
State-Changed-Why:  
as before 

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