[OmniOS-discuss] strangeness ssh into omnios from oi_151a9
Richard PALO
richard at netbsd.org
Fri Aug 21 20:37:56 UTC 2015
There seems to be a recent regression somewhere as when I ssh in from
an OI machine to my bloody dev machine running recent vanilla bits, my session hangs relatively soon.
I'm using bash as my login shell
> richard at omnis:/home/richard$ bash --version
> bash --version
> GNU bash, version 4.3.33(1)-release (i386-pc-solaris2.11)
> Copyright (C) 2013 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
>
> This is free software; you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> /usr/bin/hostname
>
> [[ "${LOGNAME}" == "root" ]] && printf "%s" "${PWD/${HOME}/~}# " ||
> printf "%s" "${PWD/${HOME}/~}\$ "
always seems to hang in the same place:
> richard at omnis:/home/richard$ mdb /usr/bin/bash core.100940
> Loading modules: [ libc.so.1 ld.so.1 ]
>> $C
> 08047338 libc.so.1`__read+7(0, 804735b, 1, 80473b8)
> 08047368 rl_getc+0x3f(813bec0, 80473b8, 8047398, 810a2de)
> 08047398 rl_read_key+0xe4(0, 0, 0, 0, 8047df0, 8047e70)
> 080473b8 readline_internal_char+0x98(f00bf, 8a31, 157f1c03, 1, 1a1311, 170f12)
> 080473d8 0x80f32df(1, 1, 8047418, 80b1d51, 1, 80b1f43)
> 080473f8 0x80f3300(0, 0, 5c5, 0, 811c845, 8143c08)
> 08047418 readline+0x56(8149188, 80b1f43, 5c5, 808a19f)
> 08047448 0x8070751(10, 81185a0, 1e, 0, 8047df0, 0)
> 08047468 0x8070854(8047df0, 8047e70, 80474a8, 80713bc, 8149008, 8117da4)
> 08047478 0x80706af(8149008, 8117da4, 143b, 1, 813e808, 80474a4)
> 080474a8 0x80713bc(1, 14, 80474e8, 8077bcb)
> 080474d8 0x80724ab(0, 14, 80474f8, 8071c2f)
> 080474f8 0x8071c57(8146c08, df, 123, 8115492, 8146c08, 123)
> 08047d58 yyparse+0x1ef(0, 80b1f43, 8047d98, 0, 81166d1, 0)
> 08047d78 parse_command+0x72(8142bc0, 0, 0, 0, 2, 80b1f43)
> 08047d98 read_command+0xd4(811b29e, 0, 0, 1, 8047e34, 1)
> 08047db8 reader_loop+0x15e(0, 1, 8056230, 8047e10, 1, 1)
> 08047df8 main+0x897(fee60a07, feed86e8, 8047e28, 806af93, 1, 8047e34)
> 08047e28 _start+0x83(1, 8047ee0, 0, 8047ee6, 8047ef3, 8047f03)
Tried running sshd debug, but that doesn't really turn up anything...
funny thing is, even from omnios to OI it hangs after a bit:
>> $C
> 08046068 libc.so.1`__pollsys+7(8046080, 2, 0, 0, 4, 40040)
> 08046138 libc.so.1`pselect+0x1bf(9, 810d008, 810cfe8, fea77360, 0, 0)
> 08046178 libc.so.1`select+0x8e(9, 810d008, 810cfe8, 0, 0, 0)
> 08046268 client_loop+0x480(1, 7e, 0, 8)
> 08047b28 main+0x19b7(fea00a07, fea786e8, 8047b54, 8063703, 2, 8047b60)
> 08047b54 _start+0x83(2, 8047c58, 8047c5c, 0, 8047c69, 8047c90)
I tried changing my login shell to ksh93, but I still get the hangs.
Is it possible that something in the gate is causing this?
My current HEAD is pointing to
> richard at omnis:/home/richard/src/illumos-gate$ git log
> commit 359db861fd14071f8a25831efe3bf3790980d071
> Author: Richard Lowe <richlowe at richlowe.net>
> Date: Wed Aug 5 11:01:58 2015 -0400
>
> 6098 ld(1) should not require symbols which identify group sections be global
> Reviewed by: Igor Kozhukhov <ikozhukhov at gmail.com>
> Reviewed by: Dan McDonald <danmcd at omniti.com>
> Reviewed by: Gordon Ross <gwr at nexenta.com>
> Approved by: Robert Mustacchi <rm at joyent.com>
I tried to see if I could get a hang during a program so tried 'git diff'
and got:
> 101310: less -ins
> fee8eec7 read (3, 8047c1b, 1)
> 08067d79 iread (3, 8047c1b, 1, 19950) + 71
> 0806c23c getchr (3a, 8047cf0, 8047c48, 805d776, d, 8047cf0) + 1a
> 0805d80d getcc (fef47442, 808de40, 0, 17611, fef47442, 8047cf0) + 6b
> 0805dbab commands (1, feffb0a8, 8047ded, 0, 8047ce0, 80821b0) + af
> 08057533 main (fee90a07, fef086e8, 8047d00, 8056ec3, ffffffff, 8047d14) + 48f
> 08056ec3 _start (2, 8047de8, 8047ded, 0, 8047df2, 8047e02) + 83
Perhaps something is up with sockets???
Anybody else seen something like this recently? Any ideas?
--
Richard PALO
More information about the OmniOS-discuss
mailing list