home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 20972 < prev    next >
Encoding:
Text File  |  1992-12-21  |  2.8 KB  |  56 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!dibbler.cs.monash.edu.au!tym
  3. From: tym@dibbler.cs.monash.edu.au (Tim MacKenzie)
  4. Subject: Re: [Q] Bug in select(2)?
  5. Message-ID: <1992Dec18.144831.10900@monu6.cc.monash.edu.au>
  6. Sender: news@monu6.cc.monash.edu.au (Usenet system)
  7. Organization: Computer Science, Monash University, Australia
  8. X-Newsreader: TIN [version 1.1 PL8]
  9. References: <1992Dec16.082553.8574@mintaka.lcs.mit.edu>
  10. Date: Fri, 18 Dec 1992 14:48:31 GMT
  11. Lines: 43
  12.  
  13. The Wyvern (wyvern@gnu.ai.mit.edu) wrote:
  14. >I've also been noticing some strange behavior which seems to be also due to
  15. >select(2), although it doesn't seem to be of the same type as mentioned
  16. >above. I'm running a client/server program that uses sockets of type AF_INET.
  17. >Up until 0.99 I wasn't having problems but now clients and servers are getting
  18. >stuck. They just hang. ps -l shows the WCHAN for the hung processes as
  19. >tcp_read
  20. >when normally it shows do_select when they're working correctly. The programs
  21.  
  22. The way in which the tcp code does select has been changed recently.... I would
  23. recommend getting the latest tcp and testing your code with that. The current
  24. version (which is working well for me at the moment, except for asyncronous
  25. connect's which can be fixed with a simple patch) is 0.99pl0 p5. This is
  26. available in tsx-11.mit.edu:pub/linux/packages/tcpip/tcp99pl0-p5.Z
  27.  
  28. This patch is for 0.99 plain. You do not need 0.99pl0 patches 1-4.
  29. I've tacked on Ross's tcp99pl0-p5.README
  30. --
  31. -Tim MacKenzie (tym@dibbler.cs.monash.edu.au)
  32.  
  33. --- BEGIN included text tcp99pl0-p5.README
  34. Since some people had problems with patch4, this patch is off of the
  35. stock .99 sources.  DO NOT apply patches 1-4 first.  I won't be able
  36. to work on this for quite a while, so this is the last patch.  In the
  37. interim I suggest those of you who find problems, figure out how to do
  38. a good bug report.  "The daemons don't work," doesn't cut it.  If you
  39. have a problem I need to know precisesly what it is including a syslog
  40. if possible.  If the kernel prints out a message I need to know
  41. exactly what it said including any numbers it happend to print out.  I
  42. also need to know how any addresses relate to YOUR system.map.  Line
  43. numbers would help.  Furthermore if something returns an error you
  44. don't think it should, I need to know preciesly what error (including
  45. the value of errno) and under what circumstances it occured and why it
  46. shouldn't return an error.  Small programs to demonstrate things you
  47. consider bugs would help.  The tcp/ip code has function almost
  48. flawlessly and continuosly for me since the Pre-Alpha days.  Obviously
  49. I can't reproduce problems like ftp doesn't work and I will tend to
  50. ignore them.
  51.  
  52. Ross Biro bir7@leland.stanford.edu 
  53. Member League for Programming Freedom (LPF)
  54. mail lpf@uunet.uu.net to protect your Freedom
  55.  
  56.