clogin, "show controllers" and ios 12.3
David Croft
davidc at sargasso.net
Fri Mar 19 01:14:01 UTC 2004
Hi Gabriel,
I had this exact same problem. You will need the patch to "expect",
which is on http://www.shrubbery.net/rancid/ (which seems to be down
right now). Basically it adds a line to exp_chan.c:
--- exp_chan.c.orig Thu Jul 31 14:35:07 2003
+++ exp_chan.c Fri Mar 12 22:58:42 2004
@@ -119,6 +119,7 @@
* nonblocking, the read will never block.
*/
+ fcntl(esPtr->fdin, F_SETFL, O_NONBLOCK);
bytesRead = read(esPtr->fdin, buf, (size_t) toRead);
/*printf("ExpInputProc: read(%d,,) = %d\r\n",esPtr->fdin,bytesRead);*/
if (bytesRead > -1) {
and also rancid version 2.3 if you find it also loops repeatedly around
looking for missing commands.
David
Gabriel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Hello All.
>
> I've recently discovered the cause for my do-diffs sessions hanging. It
> seems that "show controllers" on IOS 12.3(1) and 12.3(3)B will hang
> sometimes. It seems to hang about once every other, or every third time.
>
> Hardware:
> 7206 VXR / NPE-G1 / DS3 cards and Ethernet cards
>
> I've commented out the "show controllers" calls, and it's not hanging
> anymore, so it would seem to be an issue there.
>
> It is probably a bug in IOS 12.3.
>
> More investigation is clearly needed, but I thought that some might benefit
> from this (or if this is a known issue, that'd be neat to know about, too).
>
> HTH,
> Gabriel
>
>
>
> - --
> Gabriel Cain www.dialupusa.net
> Senior Systems Administrator gabriel at dialupusa.net
> PGP fingerprint: C0B4 C6BF 13F5 69D1 3E6B CD7C D4C8 2EA4 2B08 1C6D
>
> Technology for the sake of business.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD4DBQFAWMXa1MgupCsIHG0RAikhAJ9/fzW8lzsRvKcUq/DGcbA1U0SYuQCVHgaG
> InnZktBRcs5USw1N3Lf/yg==
> =odwT
> -----END PGP SIGNATURE-----
More information about the Rancid-discuss
mailing list