From owner-freebsd-arch@FreeBSD.ORG Tue Apr 15 08:12:34 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CA8837B40A; Tue, 15 Apr 2003 08:12:34 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 315A943FD7; Tue, 15 Apr 2003 08:12:33 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h3FFCWA7063351; Tue, 15 Apr 2003 09:12:32 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 15 Apr 2003 09:12:09 -0600 (MDT) Message-Id: <20030415.091209.108403664.imp@bsdimp.com> To: mdodd@FreeBSD.ORG From: "M. Warner Losh" In-Reply-To: <20030415104824.H99028@sasami.jurai.net> References: <20030415102955.S99028@sasami.jurai.net> <20030415.083615.91276433.imp@bsdimp.com> <20030415104824.H99028@sasami.jurai.net> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: arch@FreeBSD.ORG Subject: Re: cvs commit: src/sys/dev/fxp if_fxp.c X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2003 15:12:34 -0000 [[ moved to arch ]] In message: <20030415104824.H99028@sasami.jurai.net> "Matthew N. Dodd" writes: : On Tue, 15 Apr 2003, M. Warner Losh wrote: : > How do you tell if a BAR is enabled? I assume you mean 'check to see : > if the BAR has an allocated resource' here? In that case, my XXX : > applies :-( We should allocate a resonable resource. : : Actually I misspoke; we should modify pci_enable_io_method() so that we : can indicate a failure to enable the requested space. foo |= BIT; if ((foo & BIT) == 0) whine-and-fail; is that what you are saying? : This would keep drivers from having to check and see if PCIM_CMD_PORTEN or : PCIM_CMD_MEMEN is set. Yes. : This requires changing the definition of the 'enable_io' method. : : Since we're here we should change 'disable_io' and : '{enable,disable}_busmaster' as well. If we're going to do this, then we need to do it soon. Warner From owner-freebsd-arch@FreeBSD.ORG Tue Apr 15 08:17:17 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F1D437B401 for ; Tue, 15 Apr 2003 08:17:17 -0700 (PDT) Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id B03CA43FB1 for ; Tue, 15 Apr 2003 08:17:16 -0700 (PDT) (envelope-from mdodd@FreeBSD.ORG) Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by sasami.jurai.net (8.12.9/8.12.9) with ESMTP id h3FFHEEF018058; Tue, 15 Apr 2003 11:17:14 -0400 (EDT) (envelope-from mdodd@FreeBSD.ORG) Date: Tue, 15 Apr 2003 11:17:13 -0400 (EDT) From: "Matthew N. Dodd" X-X-Sender: winter@sasami.jurai.net To: "M. Warner Losh" In-Reply-To: <20030415.091209.108403664.imp@bsdimp.com> Message-ID: <20030415111653.F99028@sasami.jurai.net> References: <20030415102955.S99028@sasami.jurai.net> <20030415.083615.91276433.imp@bsdimp.com> <20030415.091209.108403664.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: arch@FreeBSD.ORG Subject: Re: cvs commit: src/sys/dev/fxp if_fxp.c X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2003 15:17:17 -0000 On Tue, 15 Apr 2003, M. Warner Losh wrote: > foo |= BIT; > if ((foo & BIT) == 0) > whine-and-fail; Indeed. > is that what you are saying? > > : This would keep drivers from having to check and see if PCIM_CMD_PORTEN or > : PCIM_CMD_MEMEN is set. > > Yes. > > : This requires changing the definition of the 'enable_io' method. > : > : Since we're here we should change 'disable_io' and > : '{enable,disable}_busmaster' as well. > > If we're going to do this, then we need to do it soon. I'm working on patches. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | For Great Justice! | ISO8802.5 4ever | From owner-freebsd-arch@FreeBSD.ORG Wed Apr 16 06:23:10 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1937337B401 for ; Wed, 16 Apr 2003 06:23:10 -0700 (PDT) Received: from residue.ict.pwr.wroc.pl (residue.ict.pwr.wroc.pl [156.17.42.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB3B843F75 for ; Wed, 16 Apr 2003 06:23:08 -0700 (PDT) (envelope-from pepe@residue.ict.pwr.wroc.pl) Received: (from pepe@localhost) by residue.ict.pwr.wroc.pl (8.11.6+Sun/8.11.6) id h3GDL6V11797 for freebsd-arch@freebsd.org; Wed, 16 Apr 2003 15:21:06 +0200 (MET DST) Date: Wed, 16 Apr 2003 15:21:06 +0200 From: Piotr Patronik To: freebsd-arch@freebsd.org Message-ID: <20030416132106.GA11726@residue.ict.pwr.wroc.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i Subject: Maximal number of vn devices X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2003 13:23:10 -0000 Hi all, I don't know if this is right group... But: I have about 200-300 CD-ROM images, that I would like to mount and export over Samba for Windows clients. Now I do it with simple script: mknod /dev/fileN 43 N vnconfig /dev/fileN /somewhere/fileN mount -t cd9660 /dev/fileN /somewhere-else/fileN Problem is in generation of N numbers. Now, I generate them, and I get: 0x1000E0 0x1000E8 0x1000F0 0x1000F8 0x200010 0x200018 ... 0x800050 0x800058 0x800060 ... 0x2000010 vnconfig: VNIOCATTACH: Device busy (this message is generated by mount) Questions are: what is maximal number of devices I can configure, and what is the key to generate numbers for special files. TIA, Piotr Patronik From owner-freebsd-arch@FreeBSD.ORG Wed Apr 16 14:06:42 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE70C37B401 for ; Wed, 16 Apr 2003 14:06:42 -0700 (PDT) Received: from babyruth.hotpop.com (babyruth.hotpop.com [204.57.55.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A55E43F75 for ; Wed, 16 Apr 2003 14:06:42 -0700 (PDT) (envelope-from kitbsdlists@HotPOP.com) Received: from hotpop.com (kubrick.hotpop.com [204.57.55.16]) by babyruth.hotpop.com (Postfix) with SMTP id 5818B22EC7C for ; Wed, 16 Apr 2003 21:00:07 +0000 (UTC) Received: from fortytwo. (ip68-109-49-234.lu.dl.cox.net [68.109.49.234]) by smtp-1.hotpop.com (Postfix) with SMTP id 521B51A019F; Wed, 16 Apr 2003 21:00:01 +0000 (UTC) Date: Thu, 17 Apr 2003 16:59:44 -0500 From: Vulpes Velox To: freebsd-arch@freebsd.org Message-Id: <20030417165944.1aa0d537.kitbsdlists@HotPOP.com> In-Reply-To: <20030416132106.GA11726@residue.ict.pwr.wroc.pl> References: <20030416132106.GA11726@residue.ict.pwr.wroc.pl> X-Mailer: Sylpheed version 0.8.2claws (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- cc: pepe@residue.ict.pwr.wroc.pl Subject: Re: Maximal number of vn devices X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2003 21:06:43 -0000 Hi! I don't know the answer to the question, but ye would probally have better luck on questions@freebsd.org. On Wed, 16 Apr 2003 15:21:06 +0200 Piotr Patronik wrote: > Hi all, > > I don't know if this is right group... > But: > I have about 200-300 CD-ROM images, that I would like to mount > and export over Samba for Windows clients. > > Now I do it with simple script: > > mknod /dev/fileN 43 N > vnconfig /dev/fileN /somewhere/fileN > mount -t cd9660 /dev/fileN /somewhere-else/fileN > > Problem is in generation of N numbers. > Now, I generate them, and I get: > > 0x1000E0 > 0x1000E8 > 0x1000F0 > 0x1000F8 > 0x200010 > 0x200018 > ... > 0x800050 > 0x800058 > 0x800060 > ... > 0x2000010 > vnconfig: VNIOCATTACH: Device busy (this message is generated by mount) > > Questions are: what is maximal number of devices I can configure, > and what is the key to generate numbers for special files. > > TIA, > > Piotr Patronik > > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" From owner-freebsd-arch@FreeBSD.ORG Thu Apr 17 13:02:24 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31C8F37B404 for ; Thu, 17 Apr 2003 13:02:22 -0700 (PDT) Received: from mail01.stbernard.com (mail01.stbernard.com [64.154.93.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 877FD43F3F for ; Thu, 17 Apr 2003 13:02:21 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from salty.rapid.stbernard.com ([192.168.4.61]) by mail01.stbernard.com with Microsoft SMTPSVC(5.0.2195.5329); Thu, 17 Apr 2003 13:02:21 -0700 From: Wes Peters Organization: Softweyr.com To: "Daniel C. Sobral" , Peter Pentchev Date: Thu, 17 Apr 2003 13:02:21 -0700 User-Agent: KMail/1.5 References: <30340.1049663478@critter.freebsd.dk> <20030411090309.GN6427@straylight.oblivion.bg> <3E96A946.4050708@tcoip.com.br> In-Reply-To: <3E96A946.4050708@tcoip.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304171302.21062.wes@softweyr.com> X-OriginalArrivalTime: 17 Apr 2003 20:02:21.0440 (UTC) FILETIME=[419AE800:01C3051C] cc: arch@freebsd.org cc: Poul-Henning Kamp cc: Dag-Erling Smorgrav Subject: No longer Re: Add timecounter option to rc.conf X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2003 20:02:24 -0000 On Friday 11 April 2003 04:38, Daniel C. Sobral wrote: > Peter Pentchev wrote: > > On Fri, Apr 11, 2003 at 01:55:13AM -0700, Wes Peters wrote: > >>On Sunday 06 April 2003 14:11, Poul-Henning Kamp wrote: > >>> > >>>I on the other hand think that by now /etc/rc.conf has so many > >>> knobs and handles that it is practically impossible to figure out > >>> how to do anything without resorting to "less /etc/rc.*" to > >>> figure it out :-( > >> > >>We could always write a nice GTK+ application that edits it for > >> you... > >> > >>/me ducks and hides > > > > Errr.. you mean like ports/sysutils/thefish ? :) > > /me is terribly disappointed... > > Why not extend it to loader.conf? :-) /me forsees thefish-dorsalfin project... Installing thefish now, just for giggles. Too bad it doesn't have remote or multi-system support. /me senses thefish-school appearing too... Stop me before I spawn again! -- "Where am I, and what am I doing in this handbasket?" Wes Peters wes@softweyr.com From owner-freebsd-arch@FreeBSD.ORG Fri Apr 18 13:47:47 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org 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.netESMTP <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) Date: Fri, 18 Apr 2003 16:47:43 -0400 (EDT) Message-Id: <200304182047.h3IKlhIZ000817@number6.magda.ca> To: FreeBSD-gnats-submit@freebsd.org From: David Magda X-send-pr-version: 3.113 X-GNATS-Notify: cc: arch@freebsd.org cc: jeff@freebsd.org Subject: config(8) should check if a scheduler is selected X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David Magda List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 20:47:47 -0000 >Submitter-Id: current-users >Originator: David Magda >Organization: We're organized? >Confidential: no >Synopsis: config(8) should check if a scheduler is selected >Severity: non-critical >Priority: medium >Category: kern >Class: update >Release: FreeBSD 5.x >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. From owner-freebsd-arch@FreeBSD.ORG Fri Apr 18 14:47:03 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B438E37B401; Fri, 18 Apr 2003 14:47:03 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-63-207-60-150.dsl.lsan03.pacbell.net [63.207.60.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id A564043FAF; Fri, 18 Apr 2003 14:47:02 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 621FF66E6A; Fri, 18 Apr 2003 14:47:02 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 23EA41189; Fri, 18 Apr 2003 14:47:02 -0700 (PDT) Date: Fri, 18 Apr 2003 14:47:02 -0700 From: Kris Kennaway To: David Magda Message-ID: <20030418214702.GA98907@rot13.obsecurity.org> References: <200304182047.h3IKlhIZ000817@number6.magda.ca> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5mCyUwZo2JvN/JJP" Content-Disposition: inline In-Reply-To: <200304182047.h3IKlhIZ000817@number6.magda.ca> User-Agent: Mutt/1.4i cc: arch@freebsd.org cc: jeff@freebsd.org Subject: Re: config(8) should check if a scheduler is selected X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 21:47:04 -0000 --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Apr 18, 2003 at 04:47:43PM -0400, David Magda wrote: > If you run config(8) on a kernel configuration file which doesn't > have a scheduler selected then it does *NOT* complain. How is this different to any of the other mandatory kernel components or dependencies? You can build a kernel that will refuse to link in many ways; missing a scheduler is just a new mistake you might make if you forget to read /usr/src/UPDATING. Kris P.S. Don't CC FreeBSD-gnats-submit and a mailing list, or all followup replies will also create new PRs. That is bad. --5mCyUwZo2JvN/JJP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+oHJVWry0BWjoQKURAqoXAKDrRizrw6/29Zsontah2ivfxclCYQCg+ZAS LP5yZSdsTJZ3H6SS3vh1ViA= =/5FR -----END PGP SIGNATURE----- --5mCyUwZo2JvN/JJP-- From owner-freebsd-arch@FreeBSD.ORG Fri Apr 18 15:18:23 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31C0437B405; Fri, 18 Apr 2003 15:18:23 -0700 (PDT) Received: from tomts21-srv.bellnexxia.net (tomts21.bellnexxia.net [209.226.175.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABE9D43FCB; Fri, 18 Apr 2003 15:18:20 -0700 (PDT) (envelope-from dmagda@magda.ca) Received: from number6.magda.ca ([64.229.179.136]) by tomts21-srv.bellnexxia.netESMTP <20030418221819.LABP20691.tomts21-srv.bellnexxia.net@number6.magda.ca>; Fri, 18 Apr 2003 18:18:19 -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 h3IMIJg3001241 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 18 Apr 2003 18:18:19 -0400 (EDT) (envelope-from dmagda@magda.ca) Received: (from dmagda@localhost) by number6.magda.ca (8.12.9/8.12.7/Submit) id h3IMIICQ001240; Fri, 18 Apr 2003 18:18:18 -0400 (EDT) (envelope-from dmagda) Date: Fri, 18 Apr 2003 18:18:18 -0400 From: David Magda To: Kris Kennaway Message-ID: <20030418221817.GA1175@number6.magda.ca> References: <200304182047.h3IKlhIZ000817@number6.magda.ca> <20030418214702.GA98907@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="r5Pyd7+fXNt84Ff3" Content-Disposition: inline In-Reply-To: <20030418214702.GA98907@rot13.obsecurity.org> User-Agent: Mutt/1.4.1i cc: arch@freebsd.org cc: jeff@freebsd.org Subject: Re: config(8) should check if a scheduler is selected X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David Magda List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 22:18:23 -0000 --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 18, 2003 at 02:47:02PM -0700, Kris Kennaway wrote: > How is this different to any of the other mandatory kernel > components or dependencies? You can build a kernel that will > refuse to link in many ways; missing a scheduler is just a new > mistake you might make if you forget to read /usr/src/UPDATING. I was always under the impression that config(8) did sanity checking on the kernel config files. Going over the man page it seems that this isn't the case. Misunderstanding on my part. > P.S. Don't CC FreeBSD-gnats-submit and a mailing list, or all > followup replies will also create new PRs. That is bad. Oops. Sorry, didn't know. --=20 David Magda , http://www.magda.ca/ Because the innovator has for enemies all those who have done well under the old conditions, and lukewarm defenders in those who may do well=20 under the new. -- Niccolo Machiavelli, _The Prince_, Chapter VI --r5Pyd7+fXNt84Ff3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+oHmpF0sgoq+erpgRArGrAJoCU6oDTvwzFDOz9NpxUHMPsLLAXACgnVHA kflMkgCOIkYlGqona77J/1s= =fkTh -----END PGP SIGNATURE----- --r5Pyd7+fXNt84Ff3-- From owner-freebsd-arch@FreeBSD.ORG Sat Apr 19 00:17:20 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD72F37B401; Sat, 19 Apr 2003 00:17:20 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54BE543F75; Sat, 19 Apr 2003 00:17:19 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id RAA10391; Sat, 19 Apr 2003 17:17:03 +1000 Date: Sat, 19 Apr 2003 17:17:02 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Kris Kennaway In-Reply-To: <20030418214702.GA98907@rot13.obsecurity.org> Message-ID: <20030419165033.V15269@gamplex.bde.org> References: <200304182047.h3IKlhIZ000817@number6.magda.ca> <20030418214702.GA98907@rot13.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: arch@freebsd.org cc: jeff@freebsd.org cc: David Magda Subject: Re: config(8) should check if a scheduler is selected X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2003 07:17:21 -0000 On Fri, 18 Apr 2003, Kris Kennaway wrote: > On Fri, Apr 18, 2003 at 04:47:43PM -0400, David Magda wrote: > > > If you run config(8) on a kernel configuration file which doesn't > > have a scheduler selected then it does *NOT* complain. > > How is this different to any of the other mandatory kernel components > or dependencies? You can build a kernel that will refuse to link in > many ways; missing a scheduler is just a new mistake you might make if > you forget to read /usr/src/UPDATING. It is the only mandatory option (sic). Kernels with no options (although they might not be useful) can be built except for this bug. Example of a minimal config file (before misconfiguration of the configuration of scheduling). %%% machine i386 cpu I686_CPU ident MIN %%% BTW, a minimal kernel is now almost 3 times as large as in FreeBSD-2 due to general bloat and misconfiguration of configuration in the opposite way (subsystems much larger than scheduling are standard; you can still leave out FFS and INET but many less useful subsystems are standard). Bruce From owner-freebsd-arch@FreeBSD.ORG Sat Apr 19 01:06:01 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B75B37B401; Sat, 19 Apr 2003 01:06:01 -0700 (PDT) Received: from magic.adaptec.com (magic-mail.adaptec.com [208.236.45.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0503A43FBF; Sat, 19 Apr 2003 01:06:01 -0700 (PDT) (envelope-from scott_long@btc.adaptec.com) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.11.6/8.11.6) with ESMTP id h3J83cZ04954; Sat, 19 Apr 2003 01:03:38 -0700 Received: from btc.btc.adaptec.com ([10.100.0.52]) by redfish.adaptec.com (8.8.8p2+Sun/8.8.8) with ESMTP id BAA13672; Sat, 19 Apr 2003 01:05:43 -0700 (PDT) Received: from btc.adaptec.com (hollin [10.100.253.56]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id CAA07997; Sat, 19 Apr 2003 02:05:39 -0600 (MDT) Message-ID: <3EA10351.3010001@btc.adaptec.com> Date: Sat, 19 Apr 2003 02:05:37 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bruce Evans References: <200304182047.h3IKlhIZ000817@number6.magda.ca> <20030418214702.GA98907@rot13.obsecurity.org> <20030419165033.V15269@gamplex.bde.org> In-Reply-To: <20030419165033.V15269@gamplex.bde.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: arch@freebsd.org cc: jeff@freebsd.org cc: David Magda cc: Kris Kennaway Subject: Re: config(8) should check if a scheduler is selected X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2003 08:06:01 -0000 Bruce Evans wrote: > On Fri, 18 Apr 2003, Kris Kennaway wrote: > > >>On Fri, Apr 18, 2003 at 04:47:43PM -0400, David Magda wrote: >> >> >>>If you run config(8) on a kernel configuration file which doesn't >>>have a scheduler selected then it does *NOT* complain. >> >>How is this different to any of the other mandatory kernel components >>or dependencies? You can build a kernel that will refuse to link in >>many ways; missing a scheduler is just a new mistake you might make if >>you forget to read /usr/src/UPDATING. > > > It is the only mandatory option (sic). Kernels with no options (although > they might not be useful) can be built except for this bug. Example of > a minimal config file (before misconfiguration of the configuration of > scheduling). > > %%% > machine i386 > cpu I686_CPU > ident MIN > %%% > The scheduler is (one of) the first core subsystems to be made modular. If by chance the VM system became modular (VM_MACH, VM_UVM =-) you'd have a similar situation there also. I'm afraid that the lack of seatbelts in config(8) for SCHED_xxx will generate a lot of user complaints when 5.1 is released. Since code to implement it has not magically appeared yet, we might have to make due with adding extra eye-catching comments to things like NOTES and GENERIC. > BTW, a minimal kernel is now almost 3 times as large as in FreeBSD-2 due > to general bloat and misconfiguration of configuration in the opposite > way (subsystems much larger than scheduling are standard; you can still > leave out FFS and INET but many less useful subsystems are standard). Some of us remember when 250k FreeBSD kernels were not hard to configure =-) Scott From owner-freebsd-arch@FreeBSD.ORG Sat Apr 19 08:49:12 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3001337B401; Sat, 19 Apr 2003 08:49:12 -0700 (PDT) Received: from espresso.bsdmike.org (espresso.bsdmike.org [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 506F543FD7; Sat, 19 Apr 2003 08:49:11 -0700 (PDT) (envelope-from mike@espresso.bsdmike.org) Received: by espresso.bsdmike.org (Postfix, from userid 1002) id EFFA99C4C; Sat, 19 Apr 2003 11:34:36 -0400 (EDT) Date: Sat, 19 Apr 2003 11:34:36 -0400 From: Mike Barcroft To: Bruce Evans Message-ID: <20030419113436.C8793@espresso.bsdmike.org> References: <200304182047.h3IKlhIZ000817@number6.magda.ca> <20030418214702.GA98907@rot13.obsecurity.org> <20030419165033.V15269@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030419165033.V15269@gamplex.bde.org>; from bde@zeta.org.au on Sat, Apr 19, 2003 at 05:17:02PM +1000 Organization: The FreeBSD Project cc: arch@freebsd.org cc: jeff@freebsd.org cc: David Magda cc: Kris Kennaway Subject: Re: config(8) should check if a scheduler is selected X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2003 15:49:12 -0000 Bruce Evans writes: > On Fri, 18 Apr 2003, Kris Kennaway wrote: > > > On Fri, Apr 18, 2003 at 04:47:43PM -0400, David Magda wrote: > > > > > If you run config(8) on a kernel configuration file which doesn't > > > have a scheduler selected then it does *NOT* complain. > > > > How is this different to any of the other mandatory kernel components > > or dependencies? You can build a kernel that will refuse to link in > > many ways; missing a scheduler is just a new mistake you might make if > > you forget to read /usr/src/UPDATING. > > It is the only mandatory option (sic). Kernels with no options (although > they might not be useful) can be built except for this bug. Example of > a minimal config file (before misconfiguration of the configuration of > scheduling). > > %%% > machine i386 > cpu I686_CPU > ident MIN > %%% > > BTW, a minimal kernel is now almost 3 times as large as in FreeBSD-2 due > to general bloat and misconfiguration of configuration in the opposite > way (subsystems much larger than scheduling are standard; you can still > leave out FFS and INET but many less useful subsystems are standard). Since all `options' are optional, maybe `sched' should be its own directive with two possible values: `4BSD' or `ULE'. Best regards, Mike Barcroft From owner-freebsd-arch@FreeBSD.ORG Sat Apr 19 09:41:17 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C63F337B401; Sat, 19 Apr 2003 09:41:17 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A99943F85; Sat, 19 Apr 2003 09:41:16 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id CAA06045; Sun, 20 Apr 2003 02:41:12 +1000 Date: Sun, 20 Apr 2003 02:41:11 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Mike Barcroft In-Reply-To: <20030419113436.C8793@espresso.bsdmike.org> Message-ID: <20030420022510.O16869@gamplex.bde.org> References: <200304182047.h3IKlhIZ000817@number6.magda.ca> <20030419165033.V15269@gamplex.bde.org> <20030419113436.C8793@espresso.bsdmike.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: arch@FreeBSD.org cc: jeff@FreeBSD.org cc: David Magda cc: Kris Kennaway Subject: Re: config(8) should check if a scheduler is selected X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2003 16:41:18 -0000 On Sat, 19 Apr 2003, Mike Barcroft wrote: > Bruce Evans writes: > > It is the only mandatory option (sic). Kernels with no options (although [SCHED_4BSD/SCHED_ULE] > > they might not be useful) can be built except for this bug. Example of > > Since all `options' are optional, maybe `sched' should be its own > directive with two possible values: `4BSD' or `ULE'. This would only be a name change since you would still have to set it. I want defaults for "standard" options like this with a way to override them. A defaults file could be included to get the defaults (after fixing the bugs in the include directive). Then it there should be a cleaner way of overriding the options than this current way: options SCHED_4BSD # Default (from include file). #nooptions SCHED_4BSD # Have to know name of old opt to turn it off. nooption SCHED_4BSD # Actual spelling of directive is astonishing. options SCHED_ULE # Set new option. Bruce From owner-freebsd-arch@FreeBSD.ORG Sat Apr 19 10:49:30 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09EE937B401; Sat, 19 Apr 2003 10:49:30 -0700 (PDT) Received: from bluejay.mail.pas.earthlink.net (bluejay.mail.pas.earthlink.net [207.217.120.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AC1243F3F; Sat, 19 Apr 2003 10:49:29 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0234.cvx22-bradley.dialup.earthlink.net ([209.179.198.234] helo=mindspring.com) by bluejay.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 196wSr-0007TC-00; Sat, 19 Apr 2003 10:49:26 -0700 Message-ID: <3EA18BD4.5E21C678@mindspring.com> Date: Sat, 19 Apr 2003 10:48:04 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Bruce Evans References: <200304182047.h3IKlhIZ000817@number6.magda.ca> <20030419165033.V15269@gamplex.bde.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4b7bbce3e6de443404300eea9bdaf7d28387f7b89c61deb1d350badd9bab72f9c350badd9bab72f9c cc: arch@freebsd.org cc: jeff@freebsd.org cc: David Magda cc: Kris Kennaway Subject: Re: config(8) should check if a scheduler is selected X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2003 17:49:30 -0000 Bruce Evans wrote: > It is the only mandatory option (sic). Kernels with no options (although > they might not be useful) can be built except for this bug. Example of > a minimal config file (before misconfiguration of the configuration of > scheduling). Make the scheduler code stop moving for a good week, and I am willing to fix this with linker sets and an opaque indirection interface. It won't fix the primary problem of coexistance, at least up front, but it could allow you to select your scheduler in loader.conf (-current should remain buildable and runnable in that same week, of course). -- Terry From owner-freebsd-arch@FreeBSD.ORG Sat Apr 19 11:49:05 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACFC137B401; Sat, 19 Apr 2003 11:49:05 -0700 (PDT) Received: from bluejay.mail.pas.earthlink.net (bluejay.mail.pas.earthlink.net [207.217.120.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id B089543FD7; Sat, 19 Apr 2003 11:49:02 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0234.cvx22-bradley.dialup.earthlink.net ([209.179.198.234] helo=mindspring.com) by bluejay.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 196xOX-0005Qb-00; Sat, 19 Apr 2003 11:49:02 -0700 Message-ID: <3EA199CF.DAF09604@mindspring.com> Date: Sat, 19 Apr 2003 11:47:43 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Mike Barcroft References: <200304182047.h3IKlhIZ000817@number6.magda.ca> <20030418214702.GA98907@rot13.obsecurity.org> <20030419113436.C8793@espresso.bsdmike.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4732d032f43f889476a687dfdedf7f382387f7b89c61deb1d350badd9bab72f9c350badd9bab72f9c cc: arch@freebsd.org cc: jeff@freebsd.org cc: David Magda cc: Kris Kennaway Subject: Re: config(8) should check if a scheduler is selected X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2003 18:49:06 -0000 Mike Barcroft wrote: > Since all `options' are optional, maybe `sched' should be its own > directive with two possible values: `4BSD' or `ULE'. No. 1) It's fixable without this, by allowing them to coexist and be selected at boot time. 2) Config needs to die, not grow larger. -- Terry