home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / bsd / 4750 < prev    next >
Encoding:
Text File  |  1992-08-26  |  7.6 KB  |  138 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!fcom.cc.utah.edu!cs.weber.edu!terry
  3. From: terry@cs.weber.edu (A Wizard of Earth C)
  4. Subject: Re: WD Ethernet Card not found on warmboot
  5. Message-ID: <1992Aug27.014708.7451@fcom.cc.utah.edu>
  6. Sender: news@fcom.cc.utah.edu
  7. Organization: Weber State University  (Ogden, UT)
  8. References: <veit.714724604@du9ds3> <1992Aug25.165542.5689@gateway.novell.com> <veit.714840609@du9ds3>
  9. Date: Thu, 27 Aug 92 01:47:08 GMT
  10. Lines: 126
  11.  
  12. In article <veit.714840609@du9ds3> veit@du9ds3.uni-duisburg.de writes:
  13. >The question is what a kernel really is. Even device drivers are IMHO "kernel",
  14. >loadable or not. It is quite uninteresting which size all the parts have in
  15. >a disk directory. A microkernel of 100K and 10 loaded "value-added" or 
  16. >"mandatory" drivers, 100K each, is 1.1MB and needs 1.1MB in memory unless 
  17. >you want to do swapping on parts of the kernel which I would regard with 
  18. >suspect.
  19.  
  20. Naw.  The first basic point is to allow shared diskless use of the same kernel,
  21. rather than having multiple kernels for each diskless clinet.
  22.  
  23. The second basic point is the ability to not load the Adaptech, WD7000, and
  24. AMD controller drivers if all you have is an IDE controller, and to only load
  25. an NE2000 ethernet driver if that's all you have, rather than having 5 drivers
  26. for nonexistant cards.
  27.  
  28. I have been able to run 386BSD in 640K, but I can't do it with the kernel
  29. on dist.fs and expect it to not thrash or lock up after it is installed on
  30. the hard drive.  This means I have to buy more memory before I can run with
  31. less memory, or I need a bazillion dist.fs disks for every possible hardware
  32. configuration so I can install and run in a small amount of memory.  I would
  33. like to avaoid this, thank you.
  34.  
  35. >The kernel source subtree is ~ 5 MB, and needs 2-3 MB more to generate. I
  36. >think that was an unlucky decision to bundle it into the 40MB src01 file set
  37. >which contains the complete source of all the utilities which some people even 
  38. >do not know of that they exist at all. In a less busy moment, I think I'll
  39. >unpack this part and repack it into the "kernel01" kit and make it available
  40. >on the next FTP server (10 meters distance).
  41.  
  42. I agree that installation out to be on a "kit" basis, and that there ought
  43. to be base, runtime, source, developement, and link kits.  But this still
  44. means I have to do my kernel work on one machine and copy over the kernel
  45. if I have a 30/32Meg drive.  This is a bummer for people on the net who
  46. don't have a lot of disk on any local machine, and pretty much makes them
  47. run DOS (a pretty mean thing, in my book... 8-) 8-)).
  48.  
  49. >This is what I meant with "carrying the OS around." I see a little bit more
  50. >convenience for sysops here, but but not very much else. It means you can
  51. >throw a number of strange files on a system and let it find the best solution.
  52. >I hate this kind of "user friendlyness", not for job security of the sysops, 
  53. >but because in the long terms the knowledge necessary not to lose track of
  54. >the system will disappear. With the OS/2 I installed on my system just to
  55. >see what it does I have already lost the insight almost because everything is
  56. >hidden under a "user friendly" surface and every kind of trouble shooting
  57. >(for which there is no need: there are no bugs and there are exactly (int)NULL
  58. >questions in comp.os.os2.* groups ;-) ;-) ;-) ;-) becomes a tricky or dirty 
  59. >hack of the knowing wizards. 
  60.  
  61. I disagree with this sentiment.  If I am interested in an OS or a piece of
  62. hardware, I will find out everything I want to find out about it, come hell
  63. or high water.  To say that "there is no benefit" discounts diskless and/or
  64. dataless configurations, which many of us use on Sun systems and would like
  65. to see on 386BSD.  The idea of pulling or identifying files from compressed
  66. binaries has validity in *any* restricted memory environment, and if it is
  67. possible to reduce memory in a diskless environment, one reduces over the
  68. wire swapping, which is a good thing to do.
  69.  
  70. The fact that, eventually, we hope 386BSD is robust enough that a user doesn't
  71. need how to write a SCSI driver to use it, doesn't bother me.  That this may
  72. attract users who can't write SCSI drivers to save their lives, also does
  73. not bother me.  I think it is still possible to have people (like ourselves)
  74. who "know what's going on" without requiring that every user be his own
  75. support engineer.  I think that trouble shooting a kernel nearly always
  76. requires a kernel hacker, and that Joe Business won't be able to do it.  You
  77. seem to be implying that all users should be as informed as kernel hackers,
  78. and that if Joe isn't willing to become a kernel hacker, he shouldn't use
  79. 386BSD.  This is nonsensical.
  80.  
  81. >And why then loadable instead of configurable (by kernel generation)? Some of
  82. >them are already excludable by #ifdef's and appear as an option in kernel
  83. >config, others will possibly follow in future releases. 
  84.  
  85. Yep, and some of them aren't.  They shouldn't be configurable by means of a
  86. kernel rebuild (rather than being loadable) because, as I've stated before,
  87. not everyone has 40M or larger hard drives.
  88.  
  89. >The interface you can use for inclusion or loading of the above optional
  90. >features is good for "value-adding" as well.
  91.  
  92. I see this as a benefit, not a detriment.  Although, if you don't allow the
  93. kernel to be relinked (like AIX), you protect it from a lot of problems
  94. that could be introduced, and loadable modules still allow customization...
  95. not that I'm suggesting that approach!
  96.  
  97. >Anyone has a much easier job to add his own "feature" to the system and
  98. >uses this for his own applications, for instance some special 
  99. >block read system call which returns a disk block in reversed order
  100. >(I know this is a stupid example but there ARE such ill brains) and allocates
  101. >a SYScall number for it (lets say 0x12345678 to use unique long numbers in
  102. >this interface). Another one uses the same number for the famous "Apple-II
  103. >emulator trap" and immediately, we have a conflict. Things like that on
  104. >other levels are the daily pain under "free" systems like MSDOS. The simple
  105. >example could be solved by a RPC like numbering system, but the more
  106. >interesting problems that deal with resource scheduling ("The tape drive is 
  107. >mine! No, I was faster!") remain or could come up again from the abyss.
  108.  
  109. I was already thinking of an initial determination mechanism for system call
  110. usage, such that absolute values are available, but not the norm, for system
  111. call numbers.  The device driver major/minor allocation problem is resolved
  112. by performing a mknod when the device is loaded.  If I really wanted to be
  113. faciestic (I don't!), it would be possible to disallow load of a physical
  114. driver whose memory mapped I/O range for DMA, or whose interrupt, overlapped
  115. that of an existing driver.  This would solve the "tape drive" problem.
  116.  
  117. One of the more interesting applications, that of dynamically loadable streams
  118. modules, isn't applicable, since there isn't (currently) a streams package.
  119.  
  120. To argue against loadable modules on the basis of keeping conflicts from
  121. existing is rather nonsensical, since by definition they are either addon
  122. (in which case the conflict is resolved by not adding it on or recompiling)
  123. or they are supplied with the system (in which case the conflict is avoided
  124. by judicious assignment).
  125.  
  126.  
  127.                     Terry Lambert
  128.                     terry_lambert@gateway.novell.com
  129.                     terry@icarus.weber.edu
  130. ---
  131. Any opinions in this posting are my own and not those of my present
  132. or previous employers.
  133. -- 
  134. -------------------------------------------------------------------------------
  135.                                                        terry@icarus.weber.edu
  136.  "I have an 8 user poetic license" - me
  137. -------------------------------------------------------------------------------
  138.