home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / 3b1 / 3105 < prev    next >
Encoding:
Internet Message Format  |  1992-08-16  |  5.0 KB

  1. Path: sparky!uunet!beartrk!ceilidh!hijo-2!dnichols
  2. From: dnichols@ceilidh.beartrack.com (Don Nichols (DoN.))
  3. Newsgroups: comp.sys.3b1
  4. Subject: Re: Potential kernel mods...
  5. Message-ID: <1992Aug16.195654.9330@ceilidh.beartrack.com>
  6. Date: 16 Aug 92 19:56:54 GMT
  7. References: <l8rdpnINNdq4@skat.usc.edu>
  8. Distribution: usa
  9. Organization: D and D Data, Vienna Virginia
  10. Lines: 101
  11.  
  12. In article <l8rdpnINNdq4@skat.usc.edu> jlowrey@skat.usc.edu (John 'Fritz' Lowrey) writes:
  13. >    Folks,
  14. >    With there being a potential for at some access to the source for
  15. >our pet machine, I think that this would be an ideal time to consider a
  16. >few improvements that some kernel hackers could implement that would make
  17. >all of our lives easier.  By improvements, I mean things that could be
  18. >done that would improve that performance and usability of the 3b1/7300
  19. >without completely altering the system.  Now, don't all shout out things
  20. >like "BSD file system!!", or "X Windows!!", be rational about the abilities
  21. >and limitations or the machine.
  22. >    My proposals are:
  23. >
  24. >    = Eliminate default polling of the OBM and phone status lines.
  25.  
  26.     Yes!  Make it a loadable driver, so it is optional.
  27.  
  28. >    = Rebuild the kernel with gcc.
  29. >       Let's face it, it make better code.
  30.  
  31.     We may have to re-compile other programs which interact with the
  32. kernel (like ps, ktune, etc) so they have the same parameter-passing
  33. behavior.)
  34.  
  35. >    = Clean up the memory addressing (is this in the kernel proper, or
  36. >      in the boot loader?).
  37. >       Allocating whopping big chunks of virtual address space to the 
  38. >       kernel and shared libraries may make the addressing calculations
  39. >       easier, but for those with .5 or 1MB, the paging is terrible!
  40.  
  41.     I think that the hardware limits the maximum page size to 4k, but it
  42. a far cry from 4k to 0.5M
  43.  
  44. >    = Maybe a leaner, meaner kernel without the TAM windowing.
  45. >       I personally have hacked some things with this system (and I am
  46. >       working on some others), but there are some with no need for the
  47. >       code overhead (the MGR folks for instance).
  48.  
  49.     Again, make it an optional loadable device driver, if possible.
  50.  
  51. >    What are some other alterations that 3b1 users would like to see in
  52. >a 3b1-kernel v4.0?  Lay it on, let's see what comes out.  Respond to the
  53. >net, unless you think it is something that only I, in my ignorance or supreme
  54. >understanding |-), might be interested in.
  55.  
  56.     Put in various things to make porting of BSD programs (and writing
  57. of new ones) easier.
  58.  
  59. 1)    Build the dirent rountines into the shared libs (which would need to
  60.     be redone, anyway).
  61.  
  62. 2)    Add in mkdir(2) and rmdir(2), and perhaps the BSD reliable signals.
  63.  
  64. 3)    Add in kernel support for #! interpretation, with configurable
  65.     options as to whether it would honor suid/sgid shell scripts,
  66.     depending on individual security needs.  (Obviously, support for
  67.     suid shell scripts would simplify things like manually kicking off
  68.     news processing or batching out of the scheduled times.  On the 3B1,
  69.     I have to log in a root, and then su to news in the shell script.
  70.     If I could have a suid news script, it would simplify the process.
  71.     (Obviously, I wouldn't enable this in the presence of any but the
  72.     most trustworthy user base. :-) We have proof that the #!
  73.     implementation can be done in the libraries, but I haven't yet
  74.     checked whether it honors suid status when so implemented. ... O.K.
  75.     I just checked it, and it does *NOT* honor suid or sgid status.
  76.     Well, that's safer than having it honor with no way to turn it off.
  77.     :-)
  78.  
  79. 3)    Keep the ethernet driver as a loadable device driver, but clean it
  80.     (and its libraries) up so they are closer to BSD standards.
  81.  
  82. 4)    Make the kernel hooks so that another filesystem type *could* be
  83.     supported with a loadable device driver, for those of us who are
  84.     willing to pay the kernel bloat overhead.  This would not only allow
  85.     the possibility of BSD fast filesystem implementation, but also
  86.     allow NFS mounted filesystems (shared from Suns, etc.)  My Suns have
  87.     SCSI, and can handle disks up to 1GB each (more if I had a SPARC
  88.     based machine with the latest 4.1.2 SunOs).  These systems are
  89.     willing to share access to the disks, and I do so within the cluster
  90.     of Suns.  There is no support for this in the present kernel, nor do
  91.     I see a way to accomplish it with a loadable device driver, because
  92.     the kernel expects only a single filesystem type.
  93.  
  94.     I think that I have managed to confine myself to the things which
  95. need kernel support to do properly.  (You can simulate mkdir(2) with a sys
  96. to mkdir(1), with possible other code to fix ownership, but a clean
  97. implementation requires kernel support.)
  98.  
  99.     Obviously, many other things can be implemented at the library
  100. level, or at user level, especially if you have daemons with the right
  101. priviliges.
  102.  
  103.     I wish that I had time to take part in the kernel work.  Maybe when
  104. I retire.
  105.  
  106.     Thanks
  107.         DoN.
  108. -- 
  109. Donald Nichols (DoN.)     | Voice (Days): (703) 704-2280 (Eves): (703) 938-4564
  110. D&D Data                  |  Email: <dnichols@ceilidh.beartrack.com>
  111. I said it - no one else   |         <nichols@nvl.army.mil>
  112.     --- Black Holes are where God is dividing by zero ---
  113.