: ---- in linuxrc --- Thu Nov 1 00:02:01 JST 2007 CheckDevices linuxrc:choose operation (timeout 4[s]) 1:RamRoot other:HddRoot ?Boot の途中、このプロンプトで 1 (RamRoot) を指定する。
1:RamRoot other:HddRoot ? 1 -RamdiskRoot- md: md0 stopped. mdadm: stopped /md: md1 stopped. dev/md0 mdadm: stopped /md: md10 stopped. dev/md1 mdadm: stopped /dev/md10 Freeing init memory: 112K init started: BusyBox v1.1.1 (2008.07.15-06:14+0000) multi-call binary Starting pid 329, console /dev/ttyS0: '/etc/init.d/rcS' --- rcStart (initrd) --- chmod: /home: No such file or directory Unable to find swap-space signature swapon: /dev/md10: Invalid argument create dir : /home create dir : /var/www -- rebuild mdadm.conf for BOOT, ROOTFS -- md: md10 stopped. mdadm: /dev/disk2_1 has wrong uuid. mdadm: /dev/disk1_1 has wrong uuid. mdadm: /dev/disk2_2 has wrong uuid. mdadm: /dev/disk1_2 has wrong uuid. md: bind<sda5> md: bind<sdb5> raid1: raid set md10 active with 2 out of 2 mirrors mdadm: /dev/md10md: md1 stopped. has been started with 2 drives. mdadm: /dev/disk2_1 has wrong uuid. mdadm: /dev/disk1_1 has wrong uuid. md: bind<sda2> md: bind<sdb2> raid1: raid set md1 active with 2 out of 2 mirrors mdadm: /dev/md1 md: md0 stopped. has been started with 2 drives. md: bind<sda1> md: bind<sdb1> raid1: raid set md0 active with 2 out of 2 mirrors mdadm: /dev/md0 has been started with 2 drives. -- setup max error counts -- /sys/block/md0/md/maxerr_cnt is setted to -1 /sys/block/md1/md/maxerr_cnt is setted to -1 /sys/block/md10/md/maxerr_cnt is setted to -1 umount: /boot: not mounted mkdir: Cannot create directory `/boot': File exists fwupdate.sh:FW not updated 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 configure files from Buffalo parameters. -- rebuild mdadm.conf for BOOT, ROOTFS -- md: md10 stopped. mdadm: /dev/disk2_1 has wrong uuid. mdadm: /dev/diskmd: md1 stopped. 1_1 has wrong uuid. mdadm: no devices found for /dev/md10 md: md0 stopped.2_1 has wrong uuid. mdadm: /dev/disk1_1 has wrong uuid. mdadm: no devices found for /dev/md1 md: bind<sda1> md: bind<sdb1> raid1: raid set md0 active with 2 out of 2 mirrors mdadm: /dev/md0 has been started with 2 drives. -- setup max error counts -- /sys/block/md0/md/maxerr_cnt is setted to -1 Restore previous configuration files /bin/tar: etc/resolv.conf: time stamp 2007-11-01 00:03:55 is 103.197083 s in the future /bin/tar: etc/atalk/AppleVolumes.system: time stamp 2008-03-24 18:45:19 is 12508987.194562 s in the future /bin/tar: etc/atalk/papd.conf: time stamp 2008-03-24 18:45:19 is 12508987.185919 s in the future /bin/tar: etc/atalk: time stamp 2008-05-20 11:20:51 is 17407119.18501 s in the future /bin/tar: etc/cron/crontabs/root: time stamp 2008-08-31 11:19:35 is 26306243.184485 s in the future /bin/tar: etc/melco/backup3: time stamp 2007-11-01 00:04:14 is 122.183853 s in the future /bin/tar: etc/melco/crontabs: time stamp 2008-05-20 11:20:51 is 17407119.183424 s in the future /bin/tar: etc/melco/pdcuserinfo: time stamp 2008-03-24 18:44:31 is 12508939.183117 s in the future /bin/tar: etc/melco/timer_status: time stamp 2007-11-01 00:04:30 is 138.182654 s in the future /bin/tar: etc/melco/raidscan: time stamp 2007-11-01 00:42:59 is 2447.182123 s in the future /bin/tar: etc/melco/email: time stamp 2007-11-01 00:04:11 is 119.181677 s in the future /bin/tar: etc/melco/lcdled: time stamp 2008-03-24 18:44:31 is 12508939.18122 s in the future /bin/tar: etc/melco/usbshareinfo: time stamp 2008-03-24 18:44:31 is 12508939.180715 s in the future /bin/tar: etc/melco/userinfo: time stamp 2007-11-01 00:04:38 is 146.180251 s in the future /bin/tar: etc/melco/autoadduserinfo: time stamp 2008-03-24 18:44:31 is 12508939.179851 s in the future /bin/tar: etc/melco/pdcgroupinfo: time stamp 2008-03-24 18:44:31 is 12508939.179454 s in the future /bin/tar: etc/melco/caution: time stamp 2008-03-24 18:44:31 is 12508939.178999 s in the future /bin/tar: etc/melco/DirectCopy: time stamp 2008-03-24 18:44:31 is 12508939.178524 s in the future /bin/tar: etc/melco/lcd_status: time stamp 2008-03-24 18:44:31 is 12508939.178059 s in the future /bin/tar: etc/melco/ups: time stamp 2008-03-24 18:44:31 is 12508939.177593 s in the future /bin/tar: etc/melco/groupinfo: time stamp 2008-03-24 18:44:31 is 12508939.172232 s in the future /bin/tar: etc/melco/ls_list: time stamp 2007-11-01 00:04:27 is 135.171747 s in the future /bin/tar: etc/melco/msdfs: time stamp 2008-03-24 18:44:31 is 12508939.17124 s in the future /bin/tar: etc/melco/seach_list: time stamp 2008-03-24 18:44:31 is 12508939.170842 s in the future /bin/tar: etc/melco/ituneserver: time stamp 2008-02-22 17:38:43 is 9826591.169824 s in the future /bin/tar: etc/melco/shareinfo: time stamp 2008-06-19 16:43:10 is 20018458.169362 s in the future /bin/tar: etc/melco/shareinfo.hidden: time stamp 2008-06-19 16:43:10 is 20018458.168899 s in the future /bin/tar: etc/melco/shareinfo.vfs: time stamp 2008-06-19 16:43:10 is 20018458.168421 s in the future /bin/tar: etc/melco/offlinefile: time stamp 2008-06-19 16:43:10 is 20018458.167878 s in the future /bin/tar: etc/melco/info: time stamp 2007-11-01 00:04:38 is 146.167382 s in the future /bin/tar: etc/melco/backup_dstlist: time stamp 2007-11-01 00:04:28 is 136.166898 s in the future /bin/tar: etc/melco/backup5: time stamp 2007-11-01 00:04:14 is 122.153838 s in the future /bin/tar: etc/melco/backup6: time stamp 2007-11-01 00:04:14 is 122.153356 s in the future /bin/tar: etc/melco/backup7: time stamp 2007-11-01 00:04:14 is 122.152911 s in the future /bin/tar: etc/melco/backup8: time stamp 2007-11-01 00:04:14 is 122.152467 s in the future /bin/tar: etc/melco/diskinfo: time stamp 2007-11-01 00:03:46 is 94.152008 s in the future /bin/tar: etc/melco/backup1: time stamp 2007-11-01 00:04:14 is 122.151522 s in the future /bin/tar: etc/melco/backup2: time stamp 2007-11-01 00:04:14 is 122.151077 s in the future /bin/tar: etc/melco/backup4: time stamp 2007-11-01 00:04:14 is 122.150524 s in the future /bin/tar: etc/melco: time stamp 2007-11-01 00:04:14 is 122.150202 s in the future /bin/tar: etc/pam.d/sudo: time stamp 2008-05-20 11:20:51 is 17407119.149423 s in the future /bin/tar: etc/pam.d: time stamp 2008-05-20 11:20:51 is 17407119.14373 s in the future /bin/tar: etc/proftpd: time stamp 2008-05-20 11:20:51 is 17407119.143056 s in the future /bin/tar: etc/samba/lock/gencache.tdb: time stamp 2008-06-19 16:42:46 is 20018434.142355 s in the future /bin/tar: etc/samba/lock/registry.tdb: time stamp 2008-06-19 16:42:47 is 20018435.141583 s in the future /bin/tar: etc/samba/lock/group_mapping.tdb: time stamp 2008-06-19 16:42:47 is 20018435.140928 s in the future /bin/tar: etc/samba/lock/account_policy.tdb: time stamp 2008-06-19 16:42:47 is 20018435.129034 s in the future /bin/tar: etc/samba/lock/perfmon: time stamp 2008-06-19 16:42:47 is 20018435.128502 s in the future /bin/tar: etc/samba/lock/printing/lp.tdb: time stamp 2008-06-19 16:42:47 is 20018435.127354 s in the future /bin/tar: etc/samba/lock/printing: time stamp 2008-06-19 16:42:47 is 20018435.12702 s in the future /bin/tar: etc/samba/lock/ntdrivers.tdb: time stamp 2008-06-19 16:42:47 is 20018435.126561 s in the future /bin/tar: etc/samba/lock/ntprinters.tdb: time stamp 2008-06-19 16:42:47 is 20018434.79504 s in the future /bin/tar: etc/samba/lock/ntforms.tdb: time stamp 2008-06-19 16:42:47 is 20018434.794563 s in the future /bin/tar: etc/samba/lock/share_info.tdb: time stamp 2007-11-01 00:48:11 is 2758.793931 s in the future /bin/tar: etc/samba/lock: time stamp 2007-11-01 00:54:17 is 3124.793611 s in the future /bin/tar: etc/samba/smb.conf: time stamp 2007-11-01 00:04:10 is 117.792782 s in the future /bin/tar: etc/samba: time stamp 2008-05-20 11:20:51 is 17407118.792043 s in the future /bin/tar: etc/ftpusers: time stamp 2008-03-24 18:44:31 is 12508938.791632 s in the future /bin/tar: etc/group: time stamp 2008-03-24 18:44:31 is 12508938.791161 s in the future /bin/tar: etc/gshadow: time stamp 2008-03-24 18:44:31 is 12508938.790621 s in the future /bin/tar: etc/hosts: time stamp 2007-11-01 00:04:00 is 107.790164 s in the future /bin/tar: etc/passwd: time stamp 2008-03-24 18:44:31 is 12508938.789495 s in the future /bin/tar: etc/shadow: time stamp 2008-09-06 12:11:41 is 26827768.789002 s in the future /bin/tar: etc/shadow.orig: time stamp 2008-03-24 18:44:31 is 12508938.78853 s in the future /bin/tar: modules/webaxs/etc/usbshare.pl: time stamp 2008-07-18 10:09:23 is 22500430.787843 s in the future /bin/tar: modules/webaxs/etc/webaxs.conf: time stamp 2007-11-01 00:03:46 is 93.787369 s in the future /bin/tar: modules/webaxs/etc: time stamp 2008-02-28 21:32:31 is 10359018.786937 s in the future 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: md10 stopped. mdadm: stopped /dev/md1 mdadm: stopped /dev/md10 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. Starting kernelmon:Starting clientUtil_server:starting on eth0 Starting daemonwatch:daemonwatch Ver.1.01 watch list file : /etc/daemonwatch.list KERNELMOn (lanact 0 half) usbcore: registered new driver usbfs usbcore: registered new driver hub ehci_platform ehci_platform.4523: EHCI Platform Host Controller ehci_platform ehci_platform.4523: new USB bus registered, assigned bus number 1 ehci_platform ehci_platform.4523: irq 17, io mem 0x00000000 ehci_platform ehci_platform.4523: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected ehci_platform ehci_platform.16781: EHCI Platform Host Controller ehci_platform ehci_platform.16781: new USB bus registered, assigned bus number 2 ehci_platform ehci_platform.16781: irq 12, io mem 0x00000000 ehci_platform ehci_platform.16781: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. usbcore: registered new driver usblp drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver KERNELMOn (lanact 1000 full) No need to run drivecheck.sh /etc/init.d/bootcomplete.sh: /etc/init.d/bootcomplete.sh: 47: /usr/local/bin/sendmail.sh: not found **** request DHCP Starting pid 1173, console /dev/ttyS0: '/sbin/getty' BUFFALO INC. LinkStation series LS-WSGL-EM678 login: BuffaloSwPollingCheck> SW_POWER_ON KERNELMOn (PSW_on) PING 192.168.2.39 (192.168.2.39): 56 data bytes 84 bytes from 192.168.2.39: icmp_seq=0 ttl=64 time=1.1 ms 84 bytes from 192.168.2.39: icmp_seq=1 ttl=64 time=0.3 ms 84 bytes from 192.168.2.39: icmp_seq=2 ttl=64 time=0.3 ms 84 bytes from 192.168.2.39: icmp_seq=3 ttl=64 time=0.3 ms 84 bytes from 192.168.2.39: icmp_seq=4 ttl=64 time=0.2 ms --- 192.168.2.39 ping statistics --- 5 packets transmitted, 5 packets received, 0% packet loss round-trip min/avg/max = 0.2/0.4/1.1 ms **** update DHCP IP BUFFALO INC. LinkStation series LS-WSGL-EM678 login:root でログインを試みる
LS-WSGL-EM678 login: root Password: Login incorrect LS-WSGL-EM678 login:駄目。initrd 内の /etc/shadow に納められているパスワードが必要。
LS-WSGL-EM678 login: admin Password: BusyBox v1.1.1 (2008.07.15-06:14+0000) Built-in shell (ash) Enter 'help' for a list of built-in commands. ~ $デフォルトの password でログインできた。
~ $ df Filesystem 1k-blocks Used Available Use% Mounted on /dev/root.old 15351 13898 1453 91% / /dev/ram1 15360 444 14916 3% /mnt/ram ~ $ ps PID Uid VmSize Stat Command 1 root 572 S init 2 root SWN [ksoftirqd/0] 3 root SW< [events/0] 4 root SW< [khelper] 5 root SW< [kthread] 11 root SW< [kblockd/0] 38 root SW [pdflush] 39 root SW [pdflush] 41 root SW< [aio/0] 40 root SW [kswapd0] 42 root SW< [xfslogd/0] 43 root SW< [xfsdatad/0] 44 root SW [crypto] 45 root SW [crypto_ret] 168 root SW< [scsi_eh_0] 169 root SW< [scsi_eh_1] 192 root SW [mtdblockd] 907 root 280 S /sbin/dhcpcd -L /etc/dhcpc -h LS-WSGL-EM678 -t 15 -x 974 root 616 S /bin/sh /usr/local/sbin/kernelmon 1006 root 276 S /usr/local/sbin/clientUtil_server -i eth0 1022 root 320 S /usr/local/sbin/daemonwatch -a /etc/daemonwatch.list 1053 root SW< [khubd] 1173 admin 856 S -sh 1219 root 508 S cat /proc/buffalo/kernevnt 1226 admin 796 R ps ~ $電源 SW を OFF にする。
~ $ BuffaloSwPollingCheck> SW_POWER_OFF KERNELMOn (PSW_off) CPU_STAT=normal_state ##### shutdown start Starting pid 1268, console /dev/ttyS0: '/etc/init.d/rcDown' --- rcDown --- ===== exec:shutdown_start.sh ===== called shutdown_start /etc/init.d/shutdown_start.sh err: ===== exec:shutdown_proc.sh ===== /etc/init.d/shutdown_proc.sh: /etc/init.d/shutdown_proc.sh: 50: /etc/init.d/save_config.sh: not found Stop daemonwatch:done. /etc/init.d/shutdown_proc.sh: /etc/init.d/shutdown_proc.sh: 52: /etc/init.d/logchkd.sh: not found /etc/init.d/shutdown_proc.sh: /etc/init.d/shutdown_proc.sh: 53: /etc/init.d/lsprcvd.sh: not found /etc/init.d/shutdown_proc.sh: /etc/init.d/shutdown_proc.sh: 54: /etc/init.d/cron.sh: not found /etc/init.d/shutdown_proc.sh: /etc/init.d/shutdown_proc.sh: 55: /etc/init.d/inetd.sh: not found 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 $Shutting down FTPD services: killall: proftpd: no process killed /etc/init.d/shutdown_proc.sh: /etc/init.d/shutdown_proc.sh: 59: /etc/init.d/smb.sh: not found /etc/init.d/shutdown_proc.sh: /etc/init.d/shutdown_proc.sh: 60: /etc/init.d/atalk.sh: not found /etc/init.d/shutdown_proc.sh: /etc/init.d/shutdown_proc.sh: 61: /etc/init.d/bonjour.sh: not found /etc/init.d/shutdown_proc.sh: /etc/init.d/shutdown_proc.sh: 62: /etc/init.d/httpd.sh: not found Deconfiguration network interface: lo eth0 cat: /var/run/diskmon.pid: No such file or directory kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec] killall: diskmon_exec.sh: no process killed Stop kernelmon:killall: /proc/buffalo/kernevnt: no process killed done. /etc/init.d/shutdown_proc.sh: /etc/init.d/shutdown_proc.sh: 66: /etc/init.d/modules.sh: not found /etc/init.d/shutdown_proc.sh: /etc/init.d/shutdown_proc.sh: 67: /etc/init.d/itunes.sh: not found /etc/init.d/shutdown_proc.sh: /etc/init.d/shutdown_proc.sh: 68: /etc/init.d/lprng.sh: not found /etc/init.d/shutdown_proc.sh: /etc/init.d/shutdown_proc.sh: 69: /etc/init.d/ltbootd.sh: not found killall: miconmon_exec.sh: no process killed Stop errormon:killall: errormon: no process killed done. cat: /var/run/pmcd.pid: No such file or directory kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec] killall: pmcd_exec.sh: no process killed /etc/init.d/shutdown_proc.sh: /etc/init.d/shutdown_proc.sh: 73: /etc/init.d/ups.sh: not found $Shutting down kernel logger: killall: klogd: no process killed $Shutting down system logger: killall: syslogd: no process killed ===== exec:umount_disk.sh ===== \n==== unmounting all disks ==== umount2: Invalid argument umount: /mnt/usbdisk1: Illegal seek umount2: No such file or directory umount: /mnt/usbdisk2: not found umount2: Invalid argument umount: /mnt/disk1: Illegal seek umount2: Invalid argument umount: /mnt/disk2: Illegal seek umount2: Invalid argument umount: /mnt/array1: Illegal seek umount2: Invalid argument umount: /mnt/usbdisk1: Illegal seek umount2: Invalid argument umount: /boot: Illegal seek swapoff: /dev/md10: Invalid argument ===== exec:sendsigs.sh ===== umount: /proc: device is busy umount: /proc: device is busy Starting pid 1489, console /dev/ttyS0: '/bin/umount' The system is going down NOW !! Sending SIGTERM to all processes. The system is halted. md: stopping all md devices. md: md10 switched to read-only mode. md: md1 switched to read-only mode. md: md0 switched to read-only mode. Synchronizing SCSI cache for disk sdb: Synchronizing SCSI cache for disk sda: System halted. BuffaloChangePowerStatusBeforeHalt > Check power status. MagicKey = 2 BuffaloChangePowerStatusBeforeHalt > Changed to 122 from 2 Orion1 CPU = Low > Checking hardware info ... === Strap status : 0x00802030 === === H/W boardId : 0x33 === === boardId : 0x1a === === micon_support: off === > OK. === BUFFALO LS-WSGL/R1 U-Boot. === ** LOADER ** ** BUFFALO BOARD: BUFFALO_BOARD_LS_WSGL/R1 LE (CFG_ENV_ADDR=fffff000) U-Boot 1.1.1 (Feb 22 2008 - 18:48:54) Marvell version: 1.12.1 - TINY Buffalo Version: 1.13-1.00 DRAM CS[0] base 0x00000000 size 128MB DRAM Total size 128MB [256kB@fffc0000] Flash: 256 kB Addresses 20M - 0M are saved for the U-Boot usage. Mem malloc Initialization (20M - 16M): Done Soc: 88F5182 A2 CPU: ARM926 (Rev 0) running @ 400Mhz Orion 1 streaming disabled SysClock = 200Mhz , TClock = 166Mhz USB 0: host mode PCI 0: PCI Express Root Complex Interface PCI 1: Conventional PCI, speed = 33000000 Net: egiga0 [PRIME] Using 88E1118 phy buffalo_change_power_status > Read 0x7a buffalo_IsStopAtUbootStatus > MagicKey=0x7a buffalo_change_power_status > Read 0x7a buffalo_change_power_status > Read 0x7a buffalo_change_power_status > Writing 0x5c Please Press HDD power button to continue ...相変わらず、エラーいっぱい。
|
← RAID |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ Sleep Mode |