From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e51f849a4be0bb45 X-Google-Attributes: gidfee84,public From: duane@hunch.zk3.dec.com (Andrew Duane USG/PE) Subject: Re: Digital Unix kernel management Date: 1998/01/08 Message-ID: <692u9l$8gb@zk2nws.zko.dec.com>#1/1 X-Deja-AN: 314223379 References: Organization: Digital Equipment Corporation Newsgroups: comp.unix.osf.osf1 In article Erik Persson writes: >I wonder a bit about the modularity and methods for reconfiguration >for the Digital Unix kernel. > >As opposed to the SunOS 5 kernel, which is organized as a barebones >bootstrap with virtually all subsystems and drivers provided as binary >module files that can be loaded (and unloaded) upon request, the >Digital Unix still looks and feels very much like a 4.old BSD kernel > >I find it pretty stoneage that the kernel has to be _recompiled_ and >rebuilt every time kernel components are added or updated. Why does it >have to be like that? I might be mistaking, but there does indeed seem >to be mechanisms and tools for Digital Unix providing unloading and >loading kernel modules and I even think that I saw it being used once >- when I installed the tape changer dirvers (mc driver), eventough I >still didn't get around recompiling the kernel. We have several such features already (a few in V3.2* and many more in V4.0*). The primary feature is kloadsrv, which is used to dynamically load and unload kernel modules. There are other features such as bootstrap linking which can assemble a kernel "on-the-fly" at bootstrap time. Most/all of the disk subsystem is now completely dynamic; you do not need to recompile to add/remove/rename disks, controllers, etc. Additionally, as more and more layered products and drivers move to the new dynamic loading scheme, there will be less and less to compile, and less need to rebuild a kernel at all. Digital Unix is moving away from the old "compile" strategy for kernels, but has been hampered by several obstacles, including the need to support backward compatibility, and the need to handle 24 different platforms with dozens of different hardware and bus types. -- Andrew L. Duane DTN 264-1294 duane@zk3.dec.com USG Kernel Scalability alpha::duane ZKO3-3/U14 www.zk3.dec.com/~duane