9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] tracing considered helpful
@ 2010-04-23 21:14 ron minnich
  0 siblings, 0 replies; only message in thread
From: ron minnich @ 2010-04-23 21:14 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

So here's the latest tracing from my syscall tracer. I was wondering
why hg seemed to just hang:
314 ssh Open 0xf9473 001883d4/"/sys/lib/openssh/ssh_known_hosts"
00000000 = -1 '/sys/lib/openssh' does not exist 0x11a74091c8339610
0x11a74091c83a1238
314 ssh Errstr 0xfc3b6 0x15c7c0/"" 128 = 0 "" 0x11a74091c9943780
0x11a74091c9950e58
314 ssh Errstr 0xfc40b 0x15c7c0/"" 128 = 0 "" 0x11a74091ca86add0
0x11a74091ca8759b0
314 ssh Open 0xf9473 00118831/"/dev/cons" 00000002 = 6 ""
0x11a74091cb6cbc58 0x11a74091cbd14a88
314 ssh Close 0xfb219 6 = 0 "" 0x11a74091ccaa7c18 0x11a74091ccf6c758
314 ssh Open 0xf9473 00123dc4/"/dev/cons" 00000000 = 6 ""
0x11a74091cdc7e680 0x11a74091ce207278
314 ssh Pwrite 0xfb50f 2
001a7704/"The.authenticity.of.host.'bitbucket.org.(184.73.226.175)'.can't."
80 -0x1 = 80 "" 0x11a74091ced11d08 0x11a74091ced1a9a8
314 ssh Pwrite 0xfb50f 2
001a7704/"RSA.key.fingerprint.is.97:8c:1b:f2:6f:14:6b:5c:3b:ec:aa:46:46:74"
72 -0x1 = 72 "" 0x11a74091cfbc86a8 0x11a74091cfbd4610
314 ssh Pwrite 0xfb50f 2
001a7704/"Are.you.sure.you.want.to.continue.connecting.(yes/no)?." 55
-0x1 = 55 "" 0x11a74091d0e9bc08 0x11a74091d0ea4c90

OK, so ssh opens /sys/lib/openssh -- what's up with that? I can bind
over it but still ..

But then,secondly, it opens /dev/cons and tries to push a message out.
What's weird is that it opens /dev/cons to get fd 6, but then writes
to fd 2 ...

Then waits a bit:
314 ssh Pread 0xfb793 6 060006b4/"" 8192 -0x1 = 0 ""
0x11a7409197ccbb78 0x11a740ac782dde58
319 ssh Pread 0xfb793 7 060006b4/"" 8192 -0x1 = 0 ""
0x11a740ac78cbfed0 0x11a740ac78ce40f0
319 ssh Pread 0xfb793 7 060006b4/"" 8192 -0x1 = 0 ""
0x11a740ac7a75c2e8 0x11a740ac7bc9c5e0
319 ssh Exits 0xfc301 0015e35c/""cwrite: /proc/319/syscall: failed 12
bytes: process exited

interestingly, reads from fd 6 (well, sure) but then fd *7*? that's weird.

Anyway, this points to a possible 2 bugs in ssh and a questionable
decision, to look in /sys/lib/openssh for known hosts.

And, oh yes, just typing 'yes' to hg when it hangs makes everything
move forward :-)

ron



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-04-23 21:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-23 21:14 [9fans] tracing considered helpful ron minnich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).