NSLU2-Linux
view · edit · print · history

Below is a copy of an OpenSlug reboot with an lsof stuck in sendsigs right before the exit 0 call. There is also an extra "echo Exiting" in there too before the lsof.

[g2]

  reboot

  Broadcast message from root (ttyS0) (Mon Jun 27 23:39:39 2005):

  The system is going down for reboot NOW!
  INIT: Switching to runlevel: 6
  INIT: Sending processes the TERM signal
  Terminated
  INIT: Sending processes the KILStopping? Dropbear SSH server: stopped /usr/sbin/dropbear (pid 823).
  dropbear.
  Stopping syslogd/klogd: stopped syslogd (pid 830).
  stopped klogd (pid 832).
  done
  Stopping portmap daemon: portmapstopped /sbin/portmap (pid 804).
  .
  Deconfiguring network interfaces... done.
  Sending all processes the TERM signal...
  Sending all processes the KILL signal...
  Exiting
  COMMAND   PID USER   FD      TYPE DEVICE    SIZE     NODE NAME
  init        1 root  cwd       DIR    8,1    1024        2 /
  init        1 root  rtd       DIR    8,1    1024        2 /
  init        1 root  txt       REG    8,1   29216    24631 /sbin/init.sysvinit
  init        1 root  mem       REG    8,1   89044    30728 /lib/ld-2.3.3.so
  init        1 root  mem       REG    8,1   57826    30727 /lib/libgcc_s.so.1
  init        1 root  mem       REG    8,1 1082232    30788 /lib/libc-2.3.3.so
  init        1 root   10u     FIFO   0,11             1030 /dev/initctl
  ksoftirqd   2 root  cwd       DIR    8,1    1024        2 /
  ksoftirqd   2 root  rtd       DIR    8,1    1024        2 /
  ksoftirqd   2 root  txt   unknown                         /proc/2/exe
  events/0    3 root  cwd       DIR    8,1    1024        2 /
  events/0    3 root  rtd       DIR    8,1    1024        2 /
  events/0    3 root  txt   unknown                         /proc/3/exe
  khelper     4 root  cwd       DIR    8,1    1024        2 /
  khelper     4 root  rtd       DIR    8,1    1024        2 /
  khelper     4 root  txt   unknown                         /proc/4/exe
  kthread     9 root  cwd       DIR    8,1    1024        2 /
  kthread     9 root  rtd       DIR    8,1    1024        2 /
  kthread     9 root  txt   unknown                         /proc/9/exe
  kblockd/0  23 root  cwd       DIR    8,1    1024        2 /
  kblockd/0  23 root  rtd       DIR    8,1    1024        2 /
  kblockd/0  23 root  txt   unknown                         /proc/23/exe
  khubd      36 root  cwd       DIR    8,1    1024        2 /
  khubd      36 root  rtd       DIR    8,1    1024        2 /
  khubd      36 root  txt   unknown                         /proc/36/exe
  kapmd      56 root  cwd       DIR    8,1    1024        2 /
  kapmd      56 root  rtd       DIR    8,1    1024        2 /
  kapmd      56 root  txt   unknown                         /proc/56/exe
  pdflush    78 root  cwd       DIR    8,1    1024        2 /
  pdflush    78 root  rtd       DIR    8,1    1024        2 /
  pdflush    78 root  txt   unknown                         /proc/78/exe
  pdflush    79 root  cwd       DIR    8,1    1024        2 /
  pdflush    79 root  rtd       DIR    8,1    1024        2 /
  pdflush    79 root  txt   unknown                         /proc/79/exe
  kswapd0    80 root  cwd       DIR    8,1    1024        2 /
  kswapd0    80 root  rtd       DIR    8,1    1024        2 /
  kswapd0    80 root  txt   unknown                         /proc/80/exe
  aio/0      81 root  cwd       DIR    8,1    1024        2 /
  aio/0      81 root  rtd       DIR    8,1    1024        2 /
  aio/0      81 root  txt   unknown                         /proc/81/exe
  mtdblockd 621 root  cwd       DIR    8,1    1024        2 /
  mtdblockd 621 root  rtd       DIR    8,1    1024        2 /
  mtdblockd 621 root  txt   unknown                         /proc/621/exe
  scsi_eh_0 643 root  cwd       DIR    8,1    1024        2 /
  scsi_eh_0 643 root  rtd       DIR    8,1    1024        2 /
  scsi_eh_0 643 root  txt   unknown                         /proc/643/exe
  usb-stora 644 root  cwd       DIR    8,1    1024        2 /
  usb-stora 644 root  rtd       DIR    8,1    1024        2 /
  usb-stora 644 root  txt   unknown                         /proc/644/exe
  jffs2_gcd 660 root  cwd       DIR    8,1    1024        2 /
  jffs2_gcd 660 root  rtd       DIR    8,1    1024        2 /
  jffs2_gcd 660 root  txt   unknown                         /proc/660/exe
  ixp425_cs 788 root  cwd       DIR    8,1    1024        2 /
  ixp425_cs 788 root  rtd       DIR    8,1    1024        2 /
  ixp425_cs 788 root  txt   unknown                         /proc/788/exe
  ixp425_et 789 root  cwd       DIR    8,1    1024        2 /
  ixp425_et 789 root  rtd       DIR    8,1    1024        2 /
  ixp425_et 789 root  txt   unknown                         /proc/789/exe
  rc        861 root  cwd       DIR    8,1    1024        2 /
  rc        861 root  rtd       DIR    8,1    1024        2 /
  rc        861 root  txt       REG    8,1  531044    53313 /bin/busybox
  rc        861 root  mem       REG    8,1   89044    30728 /lib/ld-2.3.3.so
  rc        861 root  mem       REG    8,1  682376    30726 /lib/libm-2.3.3.so
  rc        861 root  mem       REG    8,1   57826    30727 /lib/libgcc_s.so.1
  rc        861 root  mem       REG    8,1 1082232    30788 /lib/libc-2.3.3.so
  rc        861 root    0u      CHR    5,1              758 /dev/console
  rc        861 root    1u      CHR    5,1              758 /dev/console
  rc        861 root    2u      CHR    5,1              758 /dev/console
  rc        861 root   10r      REG    8,1    2199    22648 /etc/init.d/rc
  S20sendsi 896 root  cwd       DIR    8,1    1024        2 /
  S20sendsi 896 root  rtd       DIR    8,1    1024        2 /
  S20sendsi 896 root  txt       REG    8,1  531044    53313 /bin/busybox
  S20sendsi 896 root  mem       REG    8,1   89044    30728 /lib/ld-2.3.3.so
  S20sendsi 896 root  mem       REG    8,1  682376    30726 /lib/libm-2.3.3.so
  S20sendsi 896 root  mem       REG    8,1   57826    30727 /lib/libgcc_s.so.1
  S20sendsi 896 root  mem       REG    8,1 1082232    30788 /lib/libc-2.3.3.so
  S20sendsi 896 root    0u      CHR    5,1              758 /dev/console
  S20sendsi 896 root    1u      CHR    5,1              758 /dev/console
  S20sendsi 896 root    2u      CHR    5,1              758 /dev/console
  S20sendsi 896 root   10r      REG    8,1     345    22658 /etc/init.d/sendsigs
  lsof      900 root  cwd       DIR    8,1    1024        2 /
  lsof      900 root  rtd       DIR    8,1    1024        2 /
  lsof      900 root  txt       REG    8,1  103836     8500 /usr/sbin/lsof
  lsof      900 root  mem       REG    8,1   89044    30728 /lib/ld-2.3.3.so
  lsof      900 root  mem       REG    8,1   57826    30727 /lib/libgcc_s.so.1
  lsof      900 root  mem       REG    8,1 1082232    30788 /lib/libc-2.3.3.so
  lsof      900 root    0u      CHR    5,1              758 /dev/console
  lsof      900 root    1u      CHR    5,1              758 /dev/console
  lsof      900 root    2u      CHR    5,1              758 /dev/console
  lsof      900 root    3r      DIR    0,3       0        1 /proc
  lsof      900 root    4r      DIR    0,3       0 58982409 /proc/900/fd
  lsof      900 root    5w     FIFO    0,5             1424 pipe
  lsof      900 root    6r     FIFO    0,5             1425 pipe
  lsof      901 root  cwd       DIR    8,1    1024        2 /
  lsof      901 root  rtd       DIR    8,1    1024        2 /
  lsof      901 root  txt       REG    8,1  103836     8500 /usr/sbin/lsof
  lsof      901 root  mem       REG    8,1   89044    30728 /lib/ld-2.3.3.so
  lsof      901 root  mem       REG    8,1   57826    30727 /lib/libgcc_s.so.1
  lsof      901 root  mem       REG    8,1 1082232    30788 /lib/libc-2.3.3.so
  lsof      901 root    4r     FIFO    0,5             1424 pipe
  lsof      901 root    7w     FIFO    0,5             1425 pipe
  Unmounting remote filesystems...
  Rebooting... Restarting system.
view · edit · print · history · Last edited by g2.
Originally by g2.
Page last modified on May 27, 2005, at 08:37 AM