Sleep Mode

LS-WSGL/R1

電源 SW を Auto にして、放置してみた。
sh-2.05b$ date
Thu Nov  1 00:08:07 JST 2007
sh-2.05b$ BuffaloSwPollingCheck> SW_POWER_AUTO
KERNELMOn (PSW_auto)
87853+1 records in
87853+1 records out

---- rcDown(standbying) ----

tar: Removing leading `/' from member names
===== shutdown_proc.sh stopping =====
Save current configuration files
delete unnecessary samba lock files on //etc/samba/lock...
tar: Removing leading `/' from member names
tar: Removing leading `/' from member names
Stop daemonwatch:done.
Stop logchkd:killall: logchkd: no process killed
done.
Stop lsprcvd:Stop services: crondStop inetd:done.
Stop errormon:killall: errormon: no process killed
done.
Stop clientUtil_server:rm: cannot remove `/var/run/clientUtil_server-eth0.pid': No such file or directory

Message from syslogd@LS-WSGL678 at Thu Nov  1 00:13:21 2007 ...
LS-WSGL678 clientUtil_server[1418]: ap_serv_exit() exit ap_servd. code=15
Shutting down FTPD services: killall: proftpd: no process killed


Shutting down SMB services:
killall: Could not kill pid '1406': No such process
Shutting down NMB services:

Cleanup msdfs symbolic links... [Success]

Shutting down WINBIND services:
killall: winbindd: no process killed

Shutting down PAMSMBD services:
killall: pamsmbd: no process killed

Stop servecies: atalkd afpd
/sbin/hotplug [module]
/sbin/hotplug [module]
/sbin/hotplug [module]
Can't unregister LS-WSGL678:Workstation@*
Can't unregister LS-WSGL678:netatalk@*
killall: atalkd: no process killed
killall: afpd: no process killed
killall: papd: no process killed
Starting Bonjour services: done
stop
Shutting down HTTPD services: /usr/local/apache/bin/apachectl stop: httpd stopped

killall: speedy: no process killed
killall: speedy_backend: no process killed
Deconfiguration network interface: lo eth0
Stop kernelmon:killall: /proc/buffalo/kernevnt: no process killed
done.
Stopping module subsystem ...
Shutting down webaxs ...               [Failed. ]
clearing printer queue
Printer lp@LS-WSGL678:
Printer lp-ps@LS-WSGL678:
Stop services: lpd
clearing printer queue
Printer 'lp@localhost' - cannot open connection - Connection refused
Make sure the remote host supports the LPD protocol
Printer 'lp-ps@localhost' - cannot open connection - Connection refused
Make sure the remote host supports the LPD protocol
Stop services: rarpd tftpd rarpcfgd fwupdated.
killall: miconmon_exec.sh: no process killed
Stop errormon:killall: errormon: no process killed
done.
killall: apcupsd: no process killed
killall: omronupsd: no process killed
errormon ver.1.01(BuildDate Jul 15 2008 15:16:01 compiled for LS-WSGL Series) Started
Shutting down kernel logger:
Shutting down system logger:
[Success]

===== umount_disk.sh stopping =====
\n==== unmounting all disks ====
umount2: Invalid argument
umount: /mnt/usbdisk1: Illegal seek
umount2: Invalid argument
umount: /mnt/usbdisk2: not mounted
umount2: Invalid argument
umount: /mnt/disk1: Illegal seek
umount2: Invalid argument
umount: /mnt/disk2: Illegal seek
/sbin/hotplug [block]
umount2: Invalid argument
umount: /mnt/usbdisk1: Illegal seek
/sbin/hotplug [block]
[Success]

===== start_data_array.sh stopping =====
umount2: Invalid argument
umount: /mnt/array1: Illegal seek
md: md2 stopped.
md: unbind<sdb6>
md: export_rdev(sdb6)
md: unbind<sda6>
md: export_rdev(sda6)
mdadm: stopped /dev/md2
[Success]

===== sendsigs.sh stopping =====
umount: /proc: device is busy
umount: /proc: device is busy
umount: /: device is busy
umount: /: device is busy
umount: /: device is busy
[Failed ]

===== usb.sh stopping =====
usbcore: deregistering driver usblp
/sbin/hotplug [drivers]
/sbin/hotplug [module]
usbcore: deregistering driver usb-storage
/sbin/hotplug [drivers]
/sbin/hotplug [module]
/sbin/hotplug [drivers]
USB: ehci_platform_remove
ehci_platform ehci_platform.16781: remove, state 1
usb usb2: USB disconnect, address 1
/sbin/hotplug [usb]
/sbin/hotplug [usb_device]
[/etc/hotplug.d/usb_device/buffalo.hotplug] usb_device
/sbin/hotplug [usb]
ehci_platform ehci_platform.16781: USB bus 2 deregistered
/sbin/hotplug [usb_host]
USB: ehci_platform_remove
ehci_platform ehci_platform.4523: remove, state 1
usb usb1: USB disconnect, address 1
/sbin/hotplug [usb]
/sbin/hotplug [usb_device]
[/etc/hotplug.d/usb_device/buffalo.hotplug] usb_device
/sbin/hotplug [usb]
ehci_platform ehci_platform.4523: USB bus 1 deregistered
/sbin/hotplug [usb_host]
/sbin/hotplug [drivers]
/sbin/hotplug [module]
/sbin/hotplug [drivers]
/sbin/hotplug [class]
usbcore: deregistering driver usbfs
/sbin/hotplug [drivers]
/sbin/hotplug [class]
usbcore: deregistering driver hub
/sbin/hotplug [drivers]
/sbin/hotplug [class]
/sbin/hotplug [bus]
/sbin/hotplug [bus]
/sbin/hotplug [bus]
/sbin/hotplug [module]
[Success]

Service stopping :/etc/init.d/atalk.sh ...Stop servecies: atalkd afpd
Can't unregister LS-WSGL678:Workstation@*
Can't unregister LS-WSGL678:netatalk@*
killall: atalkd: no process killed
killall: afpd: no process killed
killall: papd: no process killed
killall: mDNSResponderPosix: no process killed
Starting Bonjour services: done
[Success.]
unloading :appletalk ...                NET: Unregistered protocol family 5
/sbin/hotplug [module]
/sbin/hotplug [module]
/sbin/hotplug [module]
[Success.]
unloading :psnap ...                    [Success.]
unloading :llc ...                      [Success.]
Service stopping :/etc/init.d/ftpd.sh ...Shutting down FTPD services: killall: proftpd: no process killed


[Failed. ]
Service stopping :/etc/init.d/stalk.sh ...[Skipped.]
Service stopping :/etc/init.d/smb.sh ...Shutting down SMB services:
killall: smbd: no process killed
Shutting down NMB services:
killall: nmbd: no process killed

Cleanup msdfs symbolic links... [Success]

Shutting down WINBIND services:
killall: winbindd: no process killed

Shutting down PAMSMBD services:
killall: pamsmbd: no process killed

[Failed. ]
umount2: Invalid argument
umount: /mnt/usbdisk1: Illegal seek
unloading :vfat ...                     [Success.]
unloading :fat ...                      [Success.]
Service stopping :/etc/init.d/ftpd.sh ...Shutting down FTPD services: killall: proftpd: no process killed


[Failed. ]
Service stopping :/etc/init.d/atalk.sh ...Stop servecies: atalkd afpd
/sbin/hotplug [module]
/sbin/hotplug [module]
/sbin/hotplug [module]
NET: Registered protocol family 5
Can't unregister LS-WSGL678:Workstation@*
Can't unregister LS-WSGL678:netatalk@*
killall: atalkd: no process killed
killall: afpd: no process killed
killall: papd: no process killed
killall: mDNSResponderPosix: no process killed
Starting Bonjour services: done
[Success.]
Service stopping :/etc/init.d/smb.sh ...Shutting down SMB services:
killall: smbd: no process killed
Shutting down NMB services:
killall: nmbd: no process killed

Cleanup msdfs symbolic links... [Success]

Shutting down WINBIND services:
killall: winbindd: no process killed

Shutting down PAMSMBD services:
killall: pamsmbd: no process killed

[Failed. ]
umount2: Invalid argument
umount: /mnt/usbdisk1: Illegal seek
unloading :ntfs ...                     [Success.]
Service stopping :/etc/init.d/ftpd.sh ...Shutting down FTPD services: killall: proftpd: no process killed


[Failed. ]
Service stopping :/etc/init.d/atalk.sh ...Stop servecies: atalkd afpd
Can't unregister LS-WSGL678:Workstation@*
Can't unregister LS-WSGL678:netatalk@*
killall: atalkd: no process killed
killall: afpd: no process killed
killall: papd: no process killed
killall: mDNSResponderPosix: no process killed
Starting Bonjour services: done
[Success.]
Service stopping :/etc/init.d/smb.sh ...Shutting down SMB services:
killall: smbd: no process killed
Shutting down NMB services:
killall: nmbd: no process killed

Cleanup msdfs symbolic links... [Success]

Shutting down WINBIND services:
killall: winbindd: no process killed

Shutting down PAMSMBD services:
killall: pamsmbd: no process killed

[Failed. ]
umount2: Invalid argument
umount: /mnt/usbdisk1: Illegal seek
umount2: No such file or directory
umount: /proc/bus/usb: Illegal seek
unloading :ehci_marvell_hcd ...         [Success.]
unloading :usb_storage ...              [Success.]
unloading :usbcore ...                  [Success.]
===== errormon.sh stopping =====
Stop errormon:done.
[Success]


----- rcDown Finished. ----

RETVAL=1, but anyway go on the resume process.
killall: getty: no process killed
/sbin/hotplug [block]
pwrmgr[4337]: mkdir new pwrmgr dir failed: File exists
pwrmgr: mkdir new pwrmgr dir failed: File exists
Starting pid 8916, console /dev/ttyS0: '/etc/init.d/rcDown'
put nologin
create ram-rootfs
use /boot/initrd.buffalo
down all processes
restart init(1) with no respawn in inittab(5)
kills the survived processes
remove /etc/nologin
unmount some file-systems. and turn off swaps
mount new rootfs
copy the PC-list and inittab(5) into new rootfs
change rootfs
restart new rootfs
Starting pid 8922, console /dev/ttyS0: '/bin/umount'
The system is going down NOW !!
Sending SIGTERM to all processes.
Sending SIGKILL to all processes.
md: md0 in immediate safe mode
md: md10 in immediate safe mode
md: md1 in immediate safe mode
init started:  BusyBox v1.1.1 (2008.07.15-06:14+0000) multi-call binary
Starting pid 8927, console /dev/ttyS0: '/bin/umount'
Starting pid 8931, console /dev/ttyS0: '/bin/mount'
Starting pid 8934, console /dev/ttyS0: '/etc/init.d/standby.rcS'
--- rcStart (initrd standby mode) ---
tar: etc/melco/DirectCopy: time stamp 2008-03-24 18:44:31 is 12508231.086151 s in the future
tar: etc/melco/autoadduserinfo: time stamp 2008-03-24 18:44:31 is 12508231.083585 s in the future
tar: etc/melco/caution: time stamp 2008-03-24 18:44:31 is 12508231.079516 s in the future
tar: etc/melco/crontabs: time stamp 2008-05-20 11:20:51 is 17406411.078866 s in the future
tar: etc/melco/groupinfo: time stamp 2008-03-24 18:44:31 is 12508231.077047 s in the future
tar: etc/melco/ituneserver: time stamp 2008-02-22 17:38:43 is 9825883.075972 s in the future
tar: etc/melco/lcd_status: time stamp 2008-03-24 18:44:31 is 12508231.075281 s in the future
tar: etc/melco/lcdled: time stamp 2008-03-24 18:44:31 is 12508231.074693 s in the future
tar: etc/melco/msdfs: time stamp 2008-03-24 18:44:31 is 12508231.07373 s in the future
tar: etc/melco/offlinefile: time stamp 2008-06-19 16:43:10 is 20017750.073138 s in the future
tar: etc/melco/pdcgroupinfo: time stamp 2008-03-24 18:44:31 is 12508231.072613 s in the future
tar: etc/melco/pdcuserinfo: time stamp 2008-03-24 18:44:31 is 12508231.072154 s in the future
tar: etc/melco/raidscan: time stamp 2007-11-01 00:42:59 is 1739.071581 s in the future
tar: etc/melco/seach_list: time stamp 2008-03-24 18:44:31 is 12508231.071119 s in the future
tar: etc/melco/shareinfo: time stamp 2008-06-19 16:43:10 is 20017750.070448 s in the future
tar: etc/melco/shareinfo.hidden: time stamp 2008-06-19 16:43:10 is 20017750.069848 s in the future
tar: etc/melco/shareinfo.vfs: time stamp 2008-06-19 16:43:10 is 20017750.069254 s in the future
tar: etc/melco/ups: time stamp 2008-03-24 18:44:31 is 12508231.0682 s in the future
tar: etc/melco/usbshareinfo: time stamp 2008-03-24 18:44:31 is 12508231.067548 s in the future
=====  exec:create_devlink.sh  =====
=====  exec:sethostname.sh  =====
configure files from Buffalo parameters.
=====  exec:restore_config.sh  =====
mount: mount point /boot does not exist
Update configuration files
** fail. not fount initfile.tar.gz
=====  exec:networking.sh  =====
create network files..
IP=[dhcp], netmask=[], dgw=[], dns1=[], dns2=[]
killall: dhcpcd: no process killed
route: SIOC[ADD|DEL]RT: No such process
Configuration network interface: lo eth0
requesting DHCP  tout=30[s]
networking.sh: dhcp requesting...
DontDownIface
alwaysFork
eth0: link down
eth0: link up<5>, full duplex<5>, speed 1 Gbps<5>
sendto:  count 6   sync 1
sendto:  count 5   sync 0
sendto:  count 6   sync 0
dhcpcd.exe: interface eth0 has been configured with new IP=192.168.2.45 GATEWAY=192.168.2.1
** networking.sh dhcp fin.
configure files from Buffalo parameters.
=====  exec:create_usblink.sh  =====
umount2: No such file or directory
umount: /boot: Illegal seek
=====  exec:closeSysMd.sh  =====
md: md0 stopped.
md: unbind<sdb1>
md: export_rdev(sdb1)
md: unbind<sda1>
md: export_rdev(sda1)
mdadm: stopped /md: md1 stopped.
dev/md0
md: unbind<sdb2>
md: export_rdev(sdb2)
md: unbind<sda2>
md: export_rdev(sda2)
mdadm: stopped /md: md10 stopped.
dev/md1
md: unbind<sdb5>
md: export_rdev(sdb5)
md: unbind<sda5>
md: export_rdev(sda5)
mdadm: stopped /dev/md10
=====  exec:miconmon.sh  =====
err:
Core Driver (ERROR) 0 0: Edma Error Reg 0xa8
Core Driver (ERROR) 0 0: Flush DMA, type=CALLBACK, commands 0 (on EDMA 0)
Core Driver (ERROR) 0 1: Edma Error Reg 0x28
Core Driver (ERROR) 0 1: Flush DMA, type=CALLBACK, commands 0 (on EDMA 0)
sh: cannot create /proc/buffalo/gpio/power_control/hdd1: Directory nonexistent
=====  exec:kernelmon.sh  =====
Starting kernelmon:=====  exec:clientUtil_servd.sh  =====
Starting clientUtil_server:starting on eth0
=====  exec:pmcd.sh  =====
KERNELMOn (lanact 0 full)
Starting pid 9334, console /dev/ttyS0: '/usr/local/sbin/pwrmgr'
Starting pid 9338, console /dev/ttyS0: '/sbin/getty'
KERNELMOn (lanact 1000 full)

LS-WSGL678 login: admin
Password:
warning: cannot change to home directory


BusyBox v1.1.1 (2008.07.15-06:14+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

/ $ date
Thu Nov  1 00:14:25 JST 2007
/ $
どうやってスリープモードを実現しているのか、実は、ちゃんと調べきれていない。
スリープモードを実現できれば、第一世代の LinkStation にあった タイマースリープと同様の事ができそうなんだが。

LinkStation Mini
LS-WSGL
楽天市場
Amazon
Yahoo!ショッピング
Livedoor デパート
Sofmap
TSUKUMO ネットショップ
ムラウチドットコム
ヤマダ電機WEB
パソQ


EM Mode
ハックの記録
LinkStation/玄箱 をハックしよう

RAID (2)

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