From owner-freebsd-hackers Sun Dec 14 23:58:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA02507 for hackers-outgoing; Sun, 14 Dec 1997 23:58:45 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA02500 for ; Sun, 14 Dec 1997 23:58:37 -0800 (PST) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id XAA00907; Sun, 14 Dec 1997 23:58:14 -0800 (PST) Message-ID: <19971214235813.15283@hydrogen.nike.efn.org> Date: Sun, 14 Dec 1997 23:58:13 -0800 From: John-Mark Gurney To: Darren Reed Cc: hackers@FreeBSD.ORG Subject: Re: Bus/Processor specific I/O methods - was Re: Beginning SPARC port References: <19971214225639.55532@hydrogen.nike.efn.org> <199712150750.XAA03236@resnet.uoregon.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199712150750.XAA03236@resnet.uoregon.edu>; from Darren Reed on Mon, Dec 15, 1997 at 06:50:36PM +1100 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Darren Reed scribbled this message on Dec 15: > In some mail from John-Mark Gurney, sie said: > > > > hmm... here's a question for you... > > how much kernel work have you done in making the freebsd kernel as small > > as possible?? with the changes that I'm working on... the ONLY things > > neccessary in a static kernel will be the boot device (be it network > > card or hard disk), and file system for modules... then the rest will > > be dynamicly loaded... > > Well, the Solaris2 kernel is 600k (/platform/sun4m/kernel/unix) for 2.5.1, > but /platform/sun4m is 4.5M in size with another 1.5M in /usr/kernel. > Personally, I find as the number of files required to boot into single > user increases, the greater the chance of shit happening on a bad crash > and the system becoming unable to boot itself. Personally, I think that > the boot device and root fs should always be "in" the kernel so that if > someone has nuked all your modules, you can still get up into single user > mode. umm... that's EXACTLY what I said...: "the ONLY things neccessary in a static kernel will be the boot device (be it network card or hard disk), and file system" now I did add for modules which might of confused you, but unless freebsd's boot process changes significantly, there isn't going to be easy support for loading each neccessary "module" to get into single usermode... plus, I don't want to think about stuff like that for the x86.. :) > I think that whilst the above goal is interesting (and perhaps worthwhile), > there are already problems which need to be solved for LKM's which aren't, > as yet, such as merging LKM symbols so that gdb on the kernel is sane and > fixing up crash dumps.. who care's about LKM's?? LKM's as they now are should just die... I'm working on replacing it with the kld system (which once fully working looks like it will be renamed to LKM)... and this to some extent should already be supported... thought I haven't personally tried it yet myself... seems you've forgotten that this is a volunteer project... I'm doing this because I choose to, not because your paying me to, (thought if you need something worked on, I wouldn't mind getting paid)... -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD