Date: Tue, 17 Nov 1998 14:08:38 +0900 From: Atsushi Furuta <furuta@sra.co.jp> To: freebsd-current@FreeBSD.ORG Cc: newconfig@jp.freebsd.org Subject: newconfig patch released Message-ID: <199811170508.OAA28556@sramhc.sra.co.jp>
next in thread | raw e-mail | index | archive | help
[1] Call for Testers. We, newconfig project, are porting the new device driver configuration system used in NetBSD and BSD/OS. Our work is based on FreeBSD-current. It is nowhere near finished, but is working to some extent. We decided to publish a patch to 3.0-RELEASE and call for testers and developers, especially people who can port device drivers. You can find the patch at: http://www.jp.freebsd.org/~furuta/newconf_30_981026.diff.gz Any comments and questions on this patch should be addressed to: newconfig@jp.FreeBSD.ORG (in English) newconfig-jp@jp.FreeBSD.ORG (in Japanese) Newconfig testers and device driver developers are requested to subscribe to one of the mailing lists. (Subscribers of newconfig-jp will also receive mails on the newconfig mailing list.) To subscribe to newconfig mailing list, please send an E-mail to majordomo@jp.freebsd.org including the line, subscribe newconfig in the body part. Information about newconfig project can be found at: http://www.jp.freebsd.org/newconfig/index.html (in English) http://www.jp.freebsd.org/newconfig/index-j.html (in Japanese) [2] about this patch This patch is intended for testing only. The kernel with this patch can be compiled and booted in the 3.0-RELEASE system, but has some limitations: * SCSI devices are not supported. SCSI devices are not recognized, so you need IDE system drives for testing. * ATAPI devices are not supported. * Device supported are still very limited. Tested and working devices are: + ISA syscons, psm, wd + ISA-PnP ed + PCI ed, bktr + others npx, apm * Not tested but the devices expected to work are: + ISA sio, ed, ep + PCI cy, de, en, fpa, fxp, lnc, sr, tl, tx, vx, xl, meteor * NEC PC98 (Japanese domestic model) architecture is supported, but not tested. * Alpha is not supported. * You cannot use UserConfig. * Some commands cannot be used (e.g. dset), and some works with limited functionality (e.g. vmstat). * There are probably many more undiscovered problems. [2.1] How to make newconfig kernel 1. Have a working FreeBSD-3.0-RELEASE system. We strongly suggest you to backup your data. 2. Extract source codes into /usr/src. You need /usr/src/sys as a minimum. Don't forget to make backups if you have any local changes. # cd /usr/src/ # mkdir sys.ORG # cd sys.ORG # (cd ../sys; tar cf - .) | tar xpf - 3. Apply the newconfig patch # cd /usr/src # zcat somewhere/newconf_30_981026.diff.gz | patch -p1 Check if the patch has been applied correctly. # find . -name '*.rej' -print 4. Make config.new # cd /usr/src/usr.sbin/config.new # make # make install Do not forget to rehash if you use csh and friends. 5. Edit your kernel configuration file for config.new. Sample configuration files are: /usr/src/sys/i386/conf/NEWCONF (for PC) /usr/src/sys/pc98/conf/NEWCONF98 (for NEC PC98) The syntax is different from that of conventional config, so please refer to the supplied samples. Note: You cannot use UserConfig with newconfig yet. # cd /usr/src/i386/conf # cp NEWCONF MYCONF # vi MYCONF 6. Invoke config.new # config.new MYCONF You will get some warning messages like these, but they are harmless and can be safely ignored. ../../i386/conf/Makefile.newconf.i386:114: unknown % construct ignored: %BEFORE_DEPEND ../../i386/conf/Makefile.newconf.i386:122: unknown % construct ignored: %MFILES ../../i386/conf/Makefile.newconf.i386:126: unknown % construct ignored: %CLEAN 7. Make kernel # cd ../../compile/MYCONF # make depend # make We recommend you do not do 'make install', as it is dangerous to have newconfig kernel as /kernel. Copy the kernel into root directory with another name. For example: # cp kernel /kernel.newconf When first time you boot with newconfig kernel, booting in single user mode is recommended. [3] Getting source codes via CVSup You can CVSup newconfig source from cvsup.jp.FreeBSD.ORG or its mirrors (cvsup[4-5].jp.FreeBSD.ORG). Example of CVSup file is: # Defaults that apply to all the collections *default host=cvsup.jp.freebsd.org *default base=/some/where/you/want *default prefix=/some/where/you/want/prefix *default release=cvs *default delete use-rel-suffix jp-newconfig [4] TODO These projects are listed as the highest priority by the newconfig project. If you are interested in helping this effort please subscribe to the mailing list and participate in the project. necessity difficulty A+ C * Support for PCI/ISA/ISA-PnP devices. A+ B+ * PC Card Support (PAO merge) A A+ * CAM Support B B * USB Support (porting?) A- A * CardBus Support A A- * Support for UserConfig, dset -- furuta@sra.co.jp (Atsushi Furuta) Advanced Technology Group. Software Research Associates, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811170508.OAA28556>