home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / dcom / modems / 11323 < prev    next >
Encoding:
Text File  |  1992-07-28  |  2.7 KB  |  61 lines

  1. Newsgroups: comp.dcom.modems
  2. Path: sparky!uunet!sybus.sybus.com!hargen
  3. From: hargen@sybus.com (Bill Hargen)
  4. Subject: Re: UUCP window size
  5. Message-ID: <1992Jul28.175055.2638@sybus.com>
  6. Keywords: uucp, window
  7. Sender: news@sybus.com
  8. Nntp-Posting-Host: antares.sybus.com
  9. Organization: Sybus Corporation, Largo, FL
  10. References: <1992Jul27.183759.28770@ole.cdac.com>
  11. Date: Tue, 28 Jul 1992 17:50:55 GMT
  12. Lines: 47
  13.  
  14. In article <1992Jul27.183759.28770@ole.cdac.com> yanagida@ole.cdac.com (Bruce A. Yanagida) writes:
  15. >I have a stock Sun Sparcstation 2 running SunOS4.1.1 with the stock Sun
  16. >provided UUCP software (a Honey Danber variant).  I have recently
  17. >installed two new Telebit WorldBlazer modems for UUCP.  I believe I may
  18. >be running into problems with the UUCP window size setting.  Does
  19. >anyone know what the default setting for SunOS UUCP is?  Is it 7?  If
  20. >so, how can I patch it to 3 if I wanted to experiment?
  21.  
  22. For at least SunOS 4.1.1 thru 4.1.2, the default window size is seven.
  23. And this can cause problems depending on which end has the WorldBlazer,
  24. which end places the call, whether the other end uses a window size of
  25. seven, and whether the other uses Taylor UUCP (which includes code to
  26. retry the init sequence).  So it is quite possible for this to work for
  27. some people and fail for others.
  28.  
  29. My solution was to hack /usr/lib/uucp/uucico to negotiate a window size
  30. of three and to use this version as the login shell for uucp sites that
  31. call me using PEP.  You will need to change two instructions in the
  32. uucico program.  I forget the exact adb commands to do this, but those
  33. are easy enough to figure out from the man page.  The listing below
  34. shows the locations, the old code, and the from/to change in hex:
  35.  
  36.     b594:  mov     0x40, %o0           ! probably setting packet size to 64
  37.     b598:  sth     %o0, [%i5 + 0x4]
  38.     b59c:  mov     0x40, %o1
  39.     b5a0:  sth     %o1, [%i5 + 0x6]
  40.     b5a4:  mov     0x7, %o2            ! change 0x94102007 to 0x94102003
  41.     b5a8:  stb     %o2, [%i5 + 0x25]
  42.     b5ac:  mov     0x7, %o3            ! change 0x96102007 to 0x96102003
  43.     b5b0:  stb     %o3, [%i5 + 0x24]
  44.  
  45. This has the effect of changing the constant in the two move immediate
  46. instructions from 7 to 3.
  47.  
  48. This change should work for at least the Sun4c versions of SunOS 4.1.1
  49. thru 4.1.2.  Of course, if you don't see those values at those locations
  50. then don't make the change.  For other HDB-based versions of uucico, you
  51. might try using adb to disassemble uucico and look for all of the
  52. "load immediate 0x7" instructions and find a "double store" sequence
  53. like the code above.
  54.  
  55. Good luck!
  56.  
  57. --Bill
  58.  
  59. P.S. Standard disclaimers apply for the above fix.  It is NOT an official
  60.      patch.  But it does work for me.  Use at your own risk.
  61.