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