LS-GL:シャットダウン、リブート


シャットダウン、リブート時に必要な操作を /etc/rc.d/init.d の reboot_start.sh と shutdown_start.sh から調べる。

シャットダウン

特別な処理といえば、
  • miconapl -a bz_on button

  • miconapl -a shutdown_wait

  • の2つ。

    miconapl -a bz_on button

    実行してみた。
    root@UDE:~# miconapl -a bz_on button
    
    「ピッ」と鳴った。鳴るだけ?

    miconapl -a shutdown_wait

    実行してみた。
    root@UDE:~# miconapl -a shutdown_wait
    
    POWER LED が点滅。
    しばらく待ってみたが、変化なし。

    シャットダウン

    root@UDE:~# shutdown -h now
    
    でふつーにシャットダウンした。

    リブート

    特別な処理といえば、
  • miconapl -a bz_on button

  • miconapl -a reboot

  • の2つ。

    miconapl -a bz_on button

    同上

    miconapl -a reboot_wait

    実行してみた。
    root@UDE:~# miconapl -a reboot
    

    しばらく待ってみたが、何の変化なし。

    リブート

    root@UDE:~# shutdown -r now
    
    でふつーにリブートした

    かなと思ったら、落ちたまま立ち上がってこなかった。

    root@UDE:~# shutdown -r now
    Starting pid 667, console /dev/ttyS0: '/etc/init.d/rcDown'
    --- rcDown ---
    =====  exec:shutdown_start.sh  =====
    root@UDE:~# called shutdown_start /etc/init.d/shutdown_start.sh
    =====  exec:shutdown_proc.sh  =====
    Stop logchkd:done.
    Stop services: crondStop daemonwatch:done.
    /etc/init.d/atalk.sh: line 13: LS-GL: command not found
    Stop servecies: atalkd afpd
    /sbin/hotplug [module]
    /sbin/hotplug [module]
    /sbin/hotplug [module]
    Can't unregister UDE:Workstation@*
    Can't unregister UDE:netatalk@*
    killall: atalkd: no process killed
    killall: afpd: no process killed
    killall: papd: no process killed
    /sbin/hotplug [module]
    ERROR: Module p8022 does not exist in /proc/modules
    /sbin/hotplug [module]
    /sbin/hotplug [module]
    Stop lsprcvd:/etc/init.d/shutdown_proc.sh: line 8: /etc/init.d/clientUtil_server.sh: No such file or directory
    /etc/init.d/ftpd.sh: line 13: LS-GL: command not found
    Shutting down FTPD services: killall: proftpd: no process killed
    
    
    stop
    Shutting down HTTPD services: /usr/local/apache/bin/apachectl stop: httpd stopped
    
    /etc/init.d/smb.sh: line 13: LS-GL: command not found
    Shutting down SMB services:
    Shutting down NMB services:
    Shutting down WINBIND services: killall: winbindd: no process killed
    
    Shutting down PAMSMBD services: killall: pamsmbd: no process killed
    
    /etc/init.d/networking.sh: line 13: LS-GL: command not found
    Deconfiguration network interface: lo eth0
    Stop inetd:done.
    Stop kernelmon:done.
    Stop errormon:done.
    Save current configuration files
    tar: Removing leading '/' from member names
    tar: Removing leading '/' from member names
    Stop logchkd:done.
    =====  exec:umount_disk.sh  =====
    killing all servers..
    /etc/init.d/smb.sh: line 13: LS-GL: command not found
    Shutting down SMB services:
    Shutting down NMB services:
    Shutting down WINBIND services: killall: winbindd: no process killed
    
    Shutting down PAMSMBD services: killall: pamsmbd: no process killed
    
    /etc/init.d/ftpd.sh: line 13: LS-GL: command not found
    Shutting down FTPD services: killall: proftpd: no process killed
    
    
    /etc/init.d/atalk.sh: line 13: LS-GL: command not found
    Stop servecies: atalkd afpd
    /sbin/hotplug [module]
    /sbin/hotplug [module]
    /sbin/hotplug [module]
    Can't unregister UDE:Workstation@*
    Can't unregister UDE:netatalk@*
    killall: atalkd: no process killed
    killall: afpd: no process killed
    killall: papd: no process killed
    /sbin/hotplug [module]
    ERROR: Module p8022 does not exist in /proc/modules
    /sbin/hotplug [module]
    /sbin/hotplug [module]
    killing all daemons
    Stop daemonwatch:done.
    killall: rsync: no process killed
    stop
    Shutting down HTTPD services: /usr/local/apache/bin/apachectl stop: httpd (no pid file) not running
    
    killall: sshd: no process killed
    \n==== unmounting all disks ====
    umount2: Invalid argument
    umount: /mnt/usbdisk1: Illegal seek
    umount2: Invalid argument
    umount: /mnt/usbdisk2: not mounted
    umount: /dev/usbdisk1_1: not found
    umount: /dev/usbdisk2_1: not found
    =====  exec:sendsigs.sh  =====
    Shutting down kernel logger:
    Shutting down system logger:
    Starting pid 808, console /dev/ttyS0: '/bin/umount'
    The system is going down NOW !!
    Sending SIGTERM to all processes.
    The system is halted.
    Synchronizing SCSI cache for disk sda:
    System halted.
    >miconCntl_PowerOff
    >miconCntl_ShutdownWait
    



    LS-GL:/etc/init.d/rcS
    ハックの記録
    LinkStation/玄箱 をハックしよう

    LS-GL:debian のインストール

    Copyright (C) 2006 Yasunari Yamashita. All Rights Reserved.
    yasunari @ yamasita.jp 山下康成@京都府向日市