home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8280 < prev    next >
Encoding:
Internet Message Format  |  1992-08-14  |  13.9 KB

  1. Path: sparky!uunet!olivea!mintaka.lcs.mit.edu!bloom-picayune.mit.edu!daemon
  2. From: Linux-Activists@BLOOM-PICAYUNE.MIT.EDU
  3. Newsgroups: comp.os.linux
  4. Subject: (none)
  5. Message-ID: <1992Aug15.004320.19576@athena.mit.edu>
  6. Date: 15 Aug 92 00:43:20 GMT
  7. Sender: daemon@athena.mit.edu (Mr Background)
  8. Reply-To: Linux-Activists@BLOOM-PICAYUNE.MIT.EDU
  9. Organization: The Internet
  10. Lines: 321
  11.  
  12. |From Linux-Activists Fri Aug 14 20:00:16 EDT 1992 remote from BLOOM-PICAYUNE.MIT.EDU
  13. Received: from BLOOM-PICAYUNE.MIT.EDU by salem.salem.ge.com; Fri, 14 Aug 1992 20:35 EDT
  14. Received: by crdgw1.ge.com (5.57/GE 1.141)
  15.      id AA25945; Fri, 14 Aug 92 20:09:05 EDT
  16. Received: by bloom-picayune (5.57/25-eef)
  17.     id AA18538; Fri, 14 Aug 92 20:00:40 -0400
  18. Message-Id: <9208150000.AA18538@bloom-picayune>
  19. From: Digestifier <Linux-Activists-Request@BLOOM-PICAYUNE.MIT.EDU>
  20. To: Linux-Activists@BLOOM-PICAYUNE.MIT.EDU
  21. Reply-To: Linux-Activists@BLOOM-PICAYUNE.MIT.EDU
  22. Date:     Fri, 14 Aug 92 20:00:16 EDT
  23. Subject:  Linux-Activists Digest #634
  24. Content-Type: text
  25. Content-Length: 13222
  26.  
  27. Linux-Activists Digest #634, Volume #2           Fri, 14 Aug 92 20:00:16 EDT
  28.  
  29. Contents:
  30.   Re: Problem w/ folppy boot when CD-ROM is attached to scsi controller (Eric Youngdale)
  31.   Re: Stabilizing Linux (Drew Eckhardt)
  32.   Re: Diamond Speed Star SVGA card (Drew Eckhardt)
  33.   Re: X questions: how to run x-program on other machine? (Drew Eckhardt)
  34.  
  35. ----------------------------------------------------------------------------
  36.  
  37. From: eric@tantalus.dell.com (Eric Youngdale)
  38. Subject: Re: Problem w/ folppy boot when CD-ROM is attached to scsi controller
  39. Date: 14 Aug 92 21:18:13 GMT
  40.  
  41. In article <1992Aug14.193537.15994@nas.nasa.gov> chiu@wk211.nas.nasa.gov (Ing-Tsau Chiu) writes:
  42. |I got the following message when booting Linux 0.97 from floppy
  43. |
  44. |  aha1542_queuecommand: Two concurrent queuecommand?
  45. |  70 00 02 00 00 00 00 0a 00 00 00 00
  46. |
  47. |I have an Adaptec 1542B scsi controller and a Toshiba XB3201 CD-ROM
  48. |drive.  The computer is a clone 486/33 w/ Maxtor LXT-535 scsi disk.
  49.  
  50.         There are bugs in the error handling code in the stock scsi drivers
  51. in 0.97.  (I am not sure, but as I recall, the standard CDROM drivers treat
  52. the CDROM like a hard disk).  There are patches to fix this in the
  53. cdrom-0.2.tar.Z distribution, which is available on tsx-11.mit.edu.
  54.  
  55.         I would be interested in knowing if there are any problems after you
  56. have installed those patches.
  57.  
  58. -Eric
  59. --
  60. Eric Youngdale
  61. eric@tantalus.nrl.navy.mil
  62.  
  63. ------------------------------
  64.  
  65. From: drew@kinglear.cs.colorado.edu (Drew Eckhardt)
  66. Subject: Re: Stabilizing Linux
  67. Date: 14 Aug 92 23:00:15 GMT
  68.  
  69. In article <1992Aug14.132232.22899@crd.ge.com> davidsen@crd.ge.com (bill davidsen) writes:
  70. |In article <1992Aug13.195406.23296@colorado.edu>, drew@ophelia.cs.colorado.edu (Drew Eckhardt) writes:
  71. || In article <1992Aug13.133313.15221@crd.ge.com> davidsen@crd.ge.com (bill davidsen) writes:
  72. || >In article <1992Aug12.173012.17552@colorado.edu>, drew@kinglear.cs.colorado.edu (Drew Eckhardt) writes:
  73. || >
  74. || >And the person trying to install on a new machine can't rebuild the
  75. || >kernel, so s/he needs another working system to get going. Bleh.
  76. || >Relocation at load time might take 1-2 sec of cpu. Big deal. Without
  77. || >loadable device drivers you must have a working system to generate a new
  78. || >kernel.
  79. || 
  80. || Most Unices distribute the distribution kernel as a generic kernel,
  81. || ie one with support for all device drivers compiled in.  It gets a little
  82. || bloated, but if you can boot it, you can run anything.
  83. |
  84. |  Sounds to me like you think the Linux kernel as distributed contains
  85. |all the devices anyone would ever want to use, so there's no need for
  86. |being able to support new devices.
  87.  
  88. The assumption is that as new devices get added (such as Ross's 
  89. ethernet drivers), that they will eventually make it into the 
  90. distribution kernel, both in the sources and the generic binary.  
  91.  
  92. You can recompile (now), or relink (when a working config 
  93. program is implemented) the kernel to add anything you need
  94. before then - propriety GPIB driver, intelligent serial
  95. driver, Ross's ethernet drivers, etc.
  96.  
  97. |  It also sounds like you're trying to say that you think it's too
  98. |hard, and you personally don't need it, so you want to convince
  99. |everyone it's a bad idea.
  100.  
  101. My opinion is that the percieved benefits (being able to add drivers at run 
  102. time, saving a relink, rather than regenerating the kernel Makefile and 
  103. relinking), are outweighed by the increased complexity 
  104. of the device driver initialization, and memory allocation code.
  105.  
  106. - You add a new device driver, when one becomes available, or you
  107.         install new hardware.  Neither is a frequent event. 
  108.  
  109. - Configuring a system, where you recompile ioconf.c or table.c, 
  110.         and simply link in already compiled .o files for 
  111.         everything else will take less than a minute on 
  112.         anything that isn't thrashing - ie, a minimal 
  113.         386 with ~4M of memory.  A reboot without fsck's 
  114.         (ie, after a clean shutdown) about the same.
  115.  
  116.         So, you save two minutes everytime you add a new
  117.         device driver.  I added a SCSI disk driver when I 
  118.         finished the code, and will add a SLIP or CSLIP driver
  119.         when one becomes stable.
  120.  
  121.         That's two drivers since last November.  
  122.  
  123. - Loadable device drivers let you shrink kernel size by leaving 
  124.         out drivers you don't need.  You get the same effect 
  125.         from a config program, only the kernel is even smaller because
  126.         it doesn't need any of the hacks needed to accomodate 
  127.         loadable drivers.  
  128.  
  129. I don't see any real benefits there.  
  130.  
  131. You can argue that loadable device drivers would make debugging 
  132. easier for developers.  What's ideal for developers isn't necessarily 
  133. ideal for users - ask any one who used the early, non-interrupt 
  134. driven versions of the SCSI drivers.  They'll tell you about the 
  135. wonderful interactive performance, and that the system would 
  136. never hang for ~30 seconds while the disk(s) synced.  
  137.  
  138. When I did the SCSI code, I put in support for both interrupt, and 
  139. non-interrupt driven SCSI drivers, thinking that "It would be 
  140. much easier to debug the non-interrupt driven version."  It was
  141. marginally easier, and all of the initial SCSI efforts ended up 
  142. being of the non-interrupt driven variety that were the bane 
  143. of SCSI users. It took us some time to debug the interrupt code (
  144. one line needed moving in scsi.c), modify all of the 
  145. lowlevel drivers, and get it back into the "stock" Linux distribution.
  146.  
  147. Interrupt driven SCSI drivers didn't make the stock distribution until
  148. .97, and we've had SCSI versions since .12, support in the 
  149. stock distribution since .95.
  150.  
  151. It's easier to do it right the first time, and avoid things of 
  152. questionable value that may come back to haunt you.
  153.  
  154. I don't know that loadable device drivers would help that much 
  155. during code development.  Much of the time is spent in design
  156. and coding.  With device drivers, there are good chances of a 
  157. bad device driver (ie wild pointer) corrupting the rest of the 
  158. system.  Even if you can unload the driver, recompile, and load a 
  159. new one, you may not want to, because something may have 
  160. become corrupt in the rest of the system.  If you are booting 
  161. from harddisk, the reboot-test cycle is not that bad.
  162.  
  163. I wouldn't say that loadable device drivers are "too hard" to implement - 
  164. just that the added mess in the Linux code, and time it would take 
  165. to do so aren't worth the benefits.
  166.  
  167. Linux is not a completely clean design.  Isolation between the 
  168. various parts is not absolute.  Especially in the cases of 
  169. pseudo-devices, like the lowlevel SCSI drivers, there is an
  170. incestuous relationship between the driver code and the surrounding 
  171. kernel.  The hard disk and SCSI drivers have special consideration 
  172. given to them in ll_rw_block.c so they can get multi-block 
  173. requests as one device driver request.  All of this would 
  174. have to change, and in some cases, you may get nicer (but 
  175. less tight) code.  
  176.  
  177. Like BSD, Linux uses certain "pseudo-devices."  These have 
  178. a different interface than the normal block/character devices,
  179. and will need special handling code.  Examples would include 
  180. SYSV STREAMS, BSD network drivers, the Linux low level 
  181. SCSI code.
  182.  
  183. Different parts of Linux are very dependant on eachother - for 
  184. instance, some of the device drivers assume that kernel memory
  185. is identity mapped.  malloc() preserves this assumption, but can 
  186. only allocate 1 page at a time.  The same is true for get_page().
  187.  
  188. Current Linux devices have no way to "dettach" from the system,
  189. necessary if you use loadable drivers for debugging, the only 
  190. real reason you would want them. You need that, a way to track
  191. what's mounted on block devices, etc.  
  192.  
  193. Current Linux code initializes all devices before the move to 
  194. user mode, and most of it happens before buffercache, etc, is 
  195. allocated.  (Well, sys_setup() is called from user mode, but that
  196. just handles the partition tables on disk devices).  You'll need
  197. to add all of the code to keep Linux happy when a new device 
  198. is added.
  199.  
  200. It shouldn't be difficult, but I'd rather see people dedicate their
  201. time to useful projects, like a SLIP driver for the TCP/IP package, 
  202. a new VM using one page table per process to ease VM386 support,
  203. remove the 64 process limit, increase the address space size, and 
  204. support SYSV sghared memory semantics.  
  205.  
  206. Personally, I'll finish the SCSI driver rewrite (Experiments show that 
  207. we can expect 3X current performance on unbuffered disks with 1K block file 
  208. systems, 2 block read ahead, 12X if we move to 4K block sizes on the 
  209. new file systems.  Buffered devices will see SOME improvement, I don';t
  210. have one and can't say how much.) before playing with something useless.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217. -- 
  218. Microsoft is responsible for propogating the evils it calls DOS and Windows, 
  219. IBM for AIX (appropriately called Aches by those having to administer it), but neither is as bad as AT&T.  Boycott AT&T, and let them know how you feel. 
  220.  
  221. ------------------------------
  222.  
  223. From: drew@kinglear.cs.colorado.edu (Drew Eckhardt)
  224. Subject: Re: Diamond Speed Star SVGA card
  225. Date: 14 Aug 92 23:18:19 GMT
  226.  
  227. In article <1992Aug14.171832.23483@usenet.ins.cwru.edu> mal11@po.CWRU.Edu (Matthew A. Lewis) writes:
  228. |
  229. |
  230. |
  231. |
  232. |anyone got this to work with X under Linux????
  233.  
  234. Yes.
  235.  
  236. |
  237. |And also, is it true that the Diamond Stealth card won't work 'cuz
  238. |it has that new S3 chip???
  239.  
  240. Yes.  There is currently no freely available S3 driver for X386.  However,
  241. some of the Linux crew are working on one.  When available, it will probably
  242. be folded into the X386 1.2 sources.  
  243.  
  244. The folks making the S3 are very friendly, and distribute accurate
  245. doccumentation on their chips, for free.  Consequently, the S3 will be 
  246. supported some time in the forseable future, x386 users will have 
  247. an option for high speed graphics (I've seen X on a '486 running 
  248. with the commercial S3 server.  VERY fast.  Very similiar to a 
  249. fast RISC workstation, like an HP snake), S3 vendors will have 
  250. a new market, and every body will win.
  251.  
  252. Colorado Memory Systems should take note of this - to the emerging 
  253. free Unix market, and users of BSDI's product, many of their 
  254. products are absolutely worthless, as they refuse to provide 
  255. hardware documentation to anyone.
  256.  
  257.  
  258. -- 
  259. Microsoft is responsible for propogating the evils it calls DOS and Windows, 
  260. IBM for AIX (appropriately called Aches by those having to administer it), but neither is as bad as AT&T.  Boycott AT&T, and let them know how you feel. 
  261.  
  262. ------------------------------
  263.  
  264. From: drew@kinglear.cs.colorado.edu (Drew Eckhardt)
  265. Subject: Re: X questions: how to run x-program on other machine?
  266. Date: Fri, 14 Aug 1992 23:23:37 GMT
  267.  
  268. In article <zhao.713807106@unixg.ubc.ca> zhao@unixg.ubc.ca (Jiansheng Zhao) writes:
  269. |Hi, there,
  270. |I have X running, but still have some questions. 
  271. |1). I couldn't run any x-program (xrn, etc) on our university's mainframe
  272. |unix machine, which has all those wonderful x-program. There supposed to be
  273. |a xhost or something, or setenv DISPLAY xxx.xxx.ca:0, which I cann't figure
  274. |out. University Computing Centre cann't help much, they were suprised to
  275. |know I am running X on a PC under L-I-N-U-X. Is it possible to dial-in and 
  276. |run x-program from my linux-X machine?
  277.  
  278. Not yet.  To run the stock X server and clients, you need to have 
  279. either a unix domain socket (local machine), or a TCP/IP socket
  280. connection.  This means you need to have IP access to the 
  281. net on which the host computer runs.
  282.  
  283. IP access may be attained through either a dirrect ethernet connection,
  284. or via SLIP or CSLIP - Serial Line IP, or Compressed SLIP.  
  285.  
  286. In order to run SLIP, both ends must be support SLIP software.  Generally,
  287. you need th sysadmin of the remote site to add you in so that they will 
  288. route packets to you.
  289.  
  290. Another possibility is setting up a bogus X server on the remote
  291. machine as some display other than :0, and coming up with a scheme 
  292. for transmitting requests to your local clients through some propriety
  293. scheme.  
  294.  
  295. Certain vendors do this.
  296.  
  297. You might look at xmx if you are interested.
  298.  
  299. |2). In which subdirectory should I unpack those X-program sources to
  300. |compile? 
  301.  
  302. Normally, it doesn't matter, as long as you have xmkmf installed on 
  303. your system.  Xmkmf will "do the right thing", setting up the 
  304. include directories, etc, as defined in your X config directory.
  305. -- 
  306. Microsoft is responsible for propogating the evils it calls DOS and Windows, 
  307. IBM for AIX (appropriately called Aches by those having to administer it), but neither is as bad as AT&T.  Boycott AT&T, and let them know how you feel. 
  308.  
  309.  
  310. ------------------------------
  311.  
  312.  
  313. ** FOR YOUR REFERENCE **
  314.  
  315. The service address, to which questions about the list itself and requests
  316. to be added to or deleted from it should be directed, is:
  317.  
  318.     Internet: Linux-Activists-Request@NEWS-DIGESTS.MIT.EDU
  319.  
  320. You can send mail to the entire list (and comp.os.linux) via:
  321.  
  322.     Internet: Linux-Activists@NEWS-DIGESTS.MIT.EDU
  323.  
  324. Linux may be obtained via one of these FTP sites:
  325.     nic.funet.fi                pub/OS/Linux
  326.     tsx-11.mit.edu                pub/linux
  327.     tupac-amaru.informatik.rwth-aachen.de    pub/msdos/replace
  328.  
  329. The current version of Linux is 0.97 released on August 1, 1992
  330.  
  331. End of Linux-Activists Digest
  332. ******************************
  333.