[3782] in testers

home help back first fref pref prev next nref lref last post

more xlogin stderr fun

daemon@ATHENA.MIT.EDU (Dan Winship)
Wed Jul 15 17:37:35 1998

Date: Wed, 15 Jul 1998 17:37:27 -0400
From: Dan Winship <danw@MIT.EDU>
To: testers@MIT.EDU

Nearly every time I log in to implementor (my 8.2 sun, currently at
8.2.7), I get:

  17:32 Waiting for workstation to finish activating...Workstation activation failed to finish normally.
  17:34 done.
  17:34 XLogin: child 11134 exited
  17:34 Athena Server (sun4) Version 8.2.7 Mon Jul 13 15:07:17 EDT 1998
  [ ... normal logging in messages ... ]
  17:34 detach: Filesystem "dialup" locked, not unmounted.

11134 is reactivate.

Investigating as root while the machine is hung shows:

    root 11162 11134  0 17:10:19 ttyp0    0:00 /bin/athena/detach -O -h -n -q -clean -a
    root 11134  9439  0 17:10:17 ttyp0    0:00 /bin/sh /etc/athena/reactivate
    root  9439  9436  0 14:41:03 ttyp0    0:01 /etc/athena/xlogin -config /etc/athena/login -display :0.0 -fp /usr/openwin/lib


Attaching a gdb to detach (yay attach.unstripped! :) shows:

(gdb) where
#0  0xef5b911c in _libc_write ()
#1  0xef5e6388 in _xflsbuf ()
#2  0xef5db4d0 in _doprnt ()
#3  0xef5e33c4 in fprintf ()
#4  0x20f40 in detach_all () at detach.c:213
#5  0x1a08c in detachcmd (argc=7, argv=0xeffffbd4) at main.c:806
#6  0x1858c in main (argc=7, argv=0xeffffbd4) at main.c:164
(gdb) up 4
#4  0x20f40 in detach_all () at detach.c:213
213                             fprintf(stderr,
(gdb) l
208                             lock_attachtab();
209                             get_attachtab();
210                             attachtab_replace(atp);
211                             put_attachtab();
212                             unlock_attachtab();
213                             fprintf(stderr,
214                                     "%s: Filesystem \"%s\" locked, not unmounted.\n", 
215                                     progname, atp->hesiodname);
216                         } else
217                             detach(atp->hesiodname);


This sounds vaguely like other problems people were reporting that I
wasn't paying attention to. :)

-- Dan

home help back first fref pref prev next nref lref last post