* Digital Unix kernel management
@ 1998-01-06 5:00 Erik Persson
1998-01-08 5:00 ` Andrew Duane USG/PE
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Erik Persson @ 1998-01-06 5:00 UTC (permalink / raw)
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
as far as the system administration aspects of the kernel are
conerned. Please note that that I am strictly talking about system
administration - reconfiguring, rebuilding and so forth.
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.
Am I mistaking about these features? Have I gotten a totally wrong
idea about configuring the Digital Unix kernel? I think the way Sun
has done it is pretty nice, and HP seems to have done the same thing
with HP-UX 11.
Comments and answers would be very appreciated.
Thanks,
/Erik
--
Erik Persson, System Manager e-mail: erik@ikp.liu.se
Dept. of Mech. Engineering Voice: +46 13 28 2464
Division of Solid Mechanics Fax: +46 13 21 2717
University of Link�ping, Sweden
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Digital Unix kernel management
1998-01-06 5:00 Digital Unix kernel management Erik Persson
@ 1998-01-08 5:00 ` Andrew Duane USG/PE
1998-01-09 5:00 ` Joel Gallun
1998-01-08 5:00 ` Dirk Grunwald
` (2 subsequent siblings)
3 siblings, 1 reply; 6+ messages in thread
From: Andrew Duane USG/PE @ 1998-01-08 5:00 UTC (permalink / raw)
In article <t067nx34qh.fsf@sibelius.ikp.liu.se> Erik Persson <erik@ikp.liu.se> 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
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Digital Unix kernel management
1998-01-08 5:00 ` Andrew Duane USG/PE
@ 1998-01-09 5:00 ` Joel Gallun
0 siblings, 0 replies; 6+ messages in thread
From: Joel Gallun @ 1998-01-09 5:00 UTC (permalink / raw)
What the f* is this Duane guy talking about? _We_ have to rebuild kernels
whenever we move controllers.
duane@hunch.zk3.dec.com (Andrew Duane USG/PE) writes:
>
> In article <t067nx34qh.fsf@sibelius.ikp.liu.se> Erik Persson <erik@ikp.liu.se> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Digital Unix kernel management
1998-01-06 5:00 Digital Unix kernel management Erik Persson
1998-01-08 5:00 ` Andrew Duane USG/PE
@ 1998-01-08 5:00 ` Dirk Grunwald
1998-01-08 5:00 ` Monty C. Brandenberg
1998-01-09 5:00 ` Dave Cherkus
3 siblings, 0 replies; 6+ messages in thread
From: Dirk Grunwald @ 1998-01-08 5:00 UTC (permalink / raw)
With DU4, it's possible to use loadable kernel modules to build a
kernel, resulting in the configuration Sun and HP have. I personally
don't use it, but it's descrived in the system management references.
--
Dirk Grunwald Assoc. Prof, Univ. of Colorado at Boulder
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Digital Unix kernel management
1998-01-06 5:00 Digital Unix kernel management Erik Persson
1998-01-08 5:00 ` Andrew Duane USG/PE
1998-01-08 5:00 ` Dirk Grunwald
@ 1998-01-08 5:00 ` Monty C. Brandenberg
1998-01-09 5:00 ` Dave Cherkus
3 siblings, 0 replies; 6+ messages in thread
From: Monty C. Brandenberg @ 1998-01-08 5:00 UTC (permalink / raw)
In <t067nx34qh.fsf@sibelius.ikp.liu.se> Erik Persson wrote:
>
> Am I mistaking about these features? Have I gotten a totally wrong
> idea about configuring the Digital Unix kernel? I think the way Sun
> has done it is pretty nice, and HP seems to have done the same thing
> with HP-UX 11.
>
> Comments and answers would be very appreciated.
Mostly correct. In no way are you recompiling the kernel when you do
a 'doconfig.' Compiling osf takes considerably more than the 1.5 - 10
minutes doconfig requires. Mostly, it's compiling static data sources,
stuffs them into a compressed archive format, and then the whole mass
is linked into a monolithic kernel. This part is, indeed, like old bsd.
The sad part is that while Sun and HP went from monolithic to modular,
DU went from modular-for-free (osf/1) to monolithic. That said, the
mach 2.5 mig (mach interface generator) code that was part of building
the module interfaces didn't produce fast mechanisms for moving data
between user and kernel modes. It was very programmer-friendly (having
done loadable kernel services on NeXTstep) but more overhead than fixed
syscalls and statically-bound code.
The current trend *is* to re-modularize, however. More and more stuff
will be loadable and unloadable. Legacy code and legacy buses just make
this hard in some cases.
m
--
Monty Brandenberg Software Consultant
MCB, Inc.
mcbinc@world.std.com
617.864.6907
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Digital Unix kernel management
1998-01-06 5:00 Digital Unix kernel management Erik Persson
` (2 preceding siblings ...)
1998-01-08 5:00 ` Monty C. Brandenberg
@ 1998-01-09 5:00 ` Dave Cherkus
3 siblings, 0 replies; 6+ messages in thread
From: Dave Cherkus @ 1998-01-09 5:00 UTC (permalink / raw)
It's funny that you didn't complain about how much
faster that Digital UNIX workstation booted than did
your Scolaris box :-)
I have build dynamically loadable and unloadable device
drivers in the past. I have done so using the Digital
documentation. Here is a good place to start:
http://www.unix.digital.com/faqs/publications/base_doc/DOCUMENTATION/HTML/AA-PUBVD-TE_html/drivertut3.html#DevDrvIntegationOver
You can start trimming this url backwards towards the base
of the on-line doc tree for more info.
--
Dave Cherkus ------ UniMaster, Inc. ----- Contract Software Development
Specialties: UNIX Internals Kernel TCP/IP Alpha Clusters Performance
Email: cherkus@UniMaster.COM There's a seat for every ass.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1998-01-09 5:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-01-06 5:00 Digital Unix kernel management Erik Persson
1998-01-08 5:00 ` Andrew Duane USG/PE
1998-01-09 5:00 ` Joel Gallun
1998-01-08 5:00 ` Dirk Grunwald
1998-01-08 5:00 ` Monty C. Brandenberg
1998-01-09 5:00 ` Dave Cherkus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox