From owner-freebsd-current@FreeBSD.ORG Sat Mar 29 12:30:27 2003 Return-Path: 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 ACE9637B40E for ; Sat, 29 Mar 2003 12:30:27 -0800 (PST) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id B486743F3F for ; Sat, 29 Mar 2003 12:30:17 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h2TKU7AP095814 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 29 Mar 2003 22:30:08 +0200 (EET) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.8/8.12.8/Submit) id h2TKU5HV095809; Sat, 29 Mar 2003 22:30:05 +0200 (EET) (envelope-from ru) Date: Sat, 29 Mar 2003 22:30:05 +0200 From: Ruslan Ermilov To: Terry Lambert Message-ID: <20030329203005.GB94956@sunbay.com> References: <20030329190908R.matusita@jp.FreeBSD.org> <3E857E9C.F7476A32@mindspring.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DKU6Jbt7q3WqK7+M" Content-Disposition: inline In-Reply-To: <3E857E9C.F7476A32@mindspring.com> User-Agent: Mutt/1.5.4i cc: Makoto Matsushita cc: current@freebsd.org Subject: Re: FreeBSD/alpha kern.flp flood X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2003 20:30:33 -0000 --DKU6Jbt7q3WqK7+M Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 29, 2003 at 03:08:12AM -0800, Terry Lambert wrote: > Makoto Matsushita wrote: > > It seems that kern.flp for FreeBSD/alpha is flooded (tested on FreeBSD/= i386). > > Maybe several kbytes should be removed from the kernel: > [ ... ] > > -r-xr-xr-x 1 root wheel 1223388 Mar 28 00:57 kernel.gz > > -r-xr-xr-x 1 root wheel 200864 Mar 28 00:57 loader > [ ... ] > > Anybody have an idea to reduce the size? >=20 > In theory, you could boot the kernel directly, without the > loader. For that to work, though, you would need to do some > extra work, but that would get you 200K back. >=20 bde@ had patches for i386 that obviate the need of loader(8). > You might also consider stripping the kernel, if it's not > stripped already; that will break some things, but probably > not things you care about when booting from a floppy. >=20 It's already stripped. Stripping the .comment section saves me 400K for my i386 kernel. > Maybe there are some drivers, not related to the floppy, > that you could not link in, and provide kernel modules for > them on a seperate floppy; you couldn't strip the symbols, > or not keep the loader, though, in that case. I don't really > know what's in the kernel you have there, so it's hard to > tell what baggage you have to throw overboard. >=20 Hardly. The alpha BOOTMFS kernel is already stripped to a minimum. I had to remove the IPv6 support from it last time when I generated the Alpha snapshot on i386 for Wilko. > You might want to talk to Bruce. >=20 Always a good idea. :-) > Also, the Alpha folks might be able to pick and choose driver > sets for you, so that you could have several platform-specific > versions of floppies, by stripping platform-specific drivers > from the other floppies in the set. You'd want to ask on the > -alpha, rther than -current, list for that; the idea may or may > not be feasible. --=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 --DKU6Jbt7q3WqK7+M Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+hgJNUkv4P6juNwoRAhMqAJ9WsY5iiRJuPi+mUP6b8DtZne9ELgCeL2+d 3oVxB2Lz1KGZ7iis6GL0VaY= =JfYC -----END PGP SIGNATURE----- --DKU6Jbt7q3WqK7+M--