From owner-freebsd-current Thu Aug 8 11:30:24 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06B0B37B401; Thu, 8 Aug 2002 11:30:09 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6525B43E6A; Thu, 8 Aug 2002 11:30:04 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g78ITXd35529; Thu, 8 Aug 2002 21:29:33 +0300 (EEST) (envelope-from ru) Date: Thu, 8 Aug 2002 21:29:33 +0300 From: Ruslan Ermilov To: John Hay Cc: current@FreeBSD.ORG, jhb@FreeBSD.ORG Subject: Re: 3 floppy system for -current releases Message-ID: <20020808182933.GC33981@sunbay.com> References: <20020808172715.GA29895@sunbay.com> <200208081823.g78INpx65623@zibbi.icomtek.csir.co.za> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NU0Ex4SbNnrxsi6C" Content-Disposition: inline In-Reply-To: <200208081823.g78INpx65623@zibbi.icomtek.csir.co.za> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --NU0Ex4SbNnrxsi6C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 08, 2002 at 08:23:51PM +0200, John Hay wrote: > ... > > > If this idea is acceptable, we should probably tweak what should > > > go on the second floppy and what is used the least and put that > > > on the last one. > > >=20 > > > To load drivers from the drivers floppy, go to "Configure" and then > > > the last option there is "Load KLD". > > >=20 > > Ah, so we already have this functionality ready! Nice... >=20 > That was a surprise for me too... A welcome one I might add. >=20 > ... > > > @@ -654,15 +655,15 @@ > > > > ${RD}/mfsfd/stand/etc/services > > > ln ${RD}/mfsfd/stand/etc/services ${RD}/mfsfd/etc/services > > > ln ${RD}/mfsfd/stand/etc/netconfig ${RD}/mfsfd/etc/netconfig > > > - gzip -9c ${RD}/trees/base/COPYRIGHT > ${RD}/mfsfd/stand/help/COPYRI= GHT.hlp.gz > > > + cat ${RD}/trees/base/COPYRIGHT > ${RD}/mfsfd/stand/help/COPYRIGHT.h= lp > >=20 > > Should be cp(1). But then again, why don't have things compressed? IM= HO, > > it's much quicker to load compressed file from floppy and uncompress it= in > > memory, than to load an uncompressed file from floppy. >=20 > The reason is that the compression works better on all files together than > each separately. It was more important when I was still trying to fit > everything on 2 floppies. >=20 > Uhm, it doesn't really load the files from floppy. The whole image is > uncompressed and made into a ramdisk or do I have it wrong? >=20 You're right, it somehow slipped from my mind. > Anyway if you would rather have the separate files compressed, I'll leave > it that way. >=20 > > > +.else > > > + sh -e ${.CURDIR}/scripts/bld-ko.sh ${RD}/mfsfd/stand/modules \ > > > + `awk -f ${.CURDIR}/scripts/driver-list.awk 2 \ > > > + ${.CURDIR}/${TARGET}/drivers.conf` > > > +.endif > > > + @kldxref ${RD}/mfsfd/stand/modules/ > >=20 > > kldxref(8) produces the MD output, but is not a cross-tool, so it won't > > work for TARGET_ARCH=3Dalpha modules on i386. The hints it produces are > > optimizations only, and not strictly necessary. Bin it from here. >=20 > I'll check again. It might be from when I was struggling to make a > single .ko work. >=20 > > > + @echo "set module_path=3D\"/stand/modules;/dist\"" >> ${RD}/image.$= {FSIMAGE}/boot/loader.rc > >=20 > > OK (assuming the sysinstall(8) mounts a 3rd floppy on /dist). >=20 > Yes, it does, look for DISTMOUNT in usr.sbin/sysinstall/modules.c >=20 > > > xe if_xe 2 network "Xircom pccard ethernet" > > > xl if_xl 2 network "3COM 3c90x / 3c90xB PCI ethernet card" > > > +CD9660 cd9660 3 options "ISO 9660 Filesystem" > > > +MSDOSFS msdosfs 3 options "MSDOS filsystem" > > > +NFSCLIENT nfsclient 3 options "Network Filesystem Client" > > > SYSVSHM sysvshm 2 options "SYSV-style shared memory" > > > SYSVMSG sysvmsg 2 options "SYSV-style message queues" > > > SYSVSEM sysvsem 2 options "SYSV-style semaphores" > > >=20 > > Hrm, I can probably agree on moving nfsclient.ko and msdosfs.ko to the = 3rd > > floppy, but certainly not the cd9660 support. >=20 > Well the placement is open for debate. I just needed to have a starting > point and thought that most cd installs will probably be on machines > that can boot from the cd and then it use cdboot and not this? >=20 Um, how does cdboot help the kernel to see the cd9660 filesystem? > > > Index: release/scripts/driver-copy2.awk > > >=20 > > I haven't looked at this in details. > >=20 > > > +++ release/scripts/bld-ko.sh Thu Aug 8 14:25:14 2002 > > > +++ release/scripts/driver-list.awk Thu Aug 8 14:22:31 2002 > >=20 > > Haven't looked at these either. >=20 > I'm going to leave them out at the moment because I can't get a > single .ko with internal dependancies to work. And even if we > can get it to work, we will still need the third floppy... there > is just too many drivers. >=20 OK. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --NU0Ex4SbNnrxsi6C Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9UriNUkv4P6juNwoRAkK2AJ4qmuoQwbtCw1I6bKMuvAYU/7ltaQCfW+Z1 D4HtFBN0Gd6J7yGmAOJ0gwU= =OIQc -----END PGP SIGNATURE----- --NU0Ex4SbNnrxsi6C-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message