: : ---- in hackkit linuxrc --- -- 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<sdb5> md: bind<sda5> modprobe: FATAL: Could not load raid1: raid set md10 active with 2 out of 2 mirrors /lib/modules/2.6md: md1 stopped. .16.16-arm1/modules.dep: No such file or directory mdadm: /dev/md10 has been started with 2 drives. mdadm: /dev/disk2_1 has wrong uuid. mdadm: /dev/disk1_1 has wrong uuid. md: bind<sdb2> md: bind<sda2> modprobe: FATAL: Could not load raid1: raid set md1 active with 2 out of 2 mirrors /lib/modules/2.6md: md0 stopped. .16.16-arm1/modules.dep: No such file or directory mdadm: /dev/md1 has been started with 2 dmd: bind<sdb1> rives. md: bind<sda1> modprobe: FATAL: Could not load raid1: raid set md0 active with 2 out of 2 mirrors /lib/modules/2.6.16.16-arm1/modules.dep: No such file or directory 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 XFS mounting filesystem md1 VFS: Mounted root (xfs filesystem). Trying to move old root to /initrd ... okay Freeing init memory: 112K INIT: version 2.86 booting Activating swap:swapon on /dev/md10 Swap area shorter than signature indicates swapon: /dev/md10: Invalid argument failed! Setting the system clock.. System Clock set. Local time: Thu Nov 1 00:53:11 JST 2007. Cleaning up ifupdown.... Loading device-mapper support. Will now check all file systems. fsck 1.40-WIP (14-Nov-2006) Checking all file systems. Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable. Setting kernel variables...done. Will now mount local filesystems:ext3: No journal on filesystem on md0 mount: wrong fs type, bad option, bad superblock on /dev/md0, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so XFS mounting filesystem sda6 XFS mounting filesystem sdb6 failed! Will now activate swapfile swap:swapon on /dev/md10 Swap area shorter than signature indicates swapon: /dev/md10: Invalid argument failed. Cleaning /tmp...done. Cleaning /var/run...done. Cleaning /var/lock...done. Setting up networking.... Configuring network interfaces...eth0: link down done. Setting console screen modes and fonts. Initializing random number generator...done. INIT: Entering runlevel: 2 Starting system log daemon: syslogd. Starting kernel log daemon: klogdeth0: link up<5>, full duplex<5>, speed 1 Gbps<5> . Starting MTA: exim4. Starting internet superserver: inetd. Starting deferred execution scheduler: atdStarting periodic command scheduler: crond. 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 Running local boot scripts (/etc/rc.local). Debian GNU/Linux 4.0 hackkit ttyS0 hackkit login: BuffaloSwPollingCheck> SW_POWER_ONなんだか、md 系でfailが出ている。
Debian GNU/Linux 4.0 hackkit ttyS0 hackkit login: root Password: Linux hackkit 2.6.16.16-arm1 #316 Tue Jul 22 16:22:33 JST 2008 armv5tejl The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. hackkit:~# cat /proc/mdstat Personalities : [raid0] [raid1] md1 : active raid1 sda2[0] sdb2[1] 5004160 blocks [2/2] [UU] md10 : active raid1 sda5[0] sdb5[1] 1003904 blocks [2/2] [UU] md0 : active raid1 sda1[0] sdb1[1] 1003904 blocks [2/2] [UU] unused devices:一見、行けてる。hackkit:~#
hackkit:~# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/md1 4993920 469016 4524904 10% / tmpfs 63116 0 63116 0% /lib/init/rw tmpfs 63116 0 63116 0% /dev/shm /dev/root.old 15351 13821 1530 91% /initrd /dev/sda6 187419092 73048 187346044 1% /mnt/disk1 /dev/sdb6 187419092 736 187418356 1% /mnt/disk2 hackkit:~# free total used free shared buffers cached Mem: 126236 34708 91528 0 16384 11380 -/+ buffers/cache: 6944 119292 Swap: 0 0 0 hackkit:~#あかん。
hackkit:~# mount /dev/md0 /boot/ EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended hackkit:~# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/md1 4993920 469020 4524900 10% / tmpfs 63116 0 63116 0% /lib/init/rw tmpfs 63116 0 63116 0% /dev/shm /dev/root.old 15351 13821 1530 91% /initrd /dev/sda6 187419092 73048 187346044 1% /mnt/disk1 /dev/sdb6 187419092 736 187418356 1% /mnt/disk2 /dev/md0 988064 159060 829004 17% /boot hackkit:~#マウントできた。
hackkit:~# swapon -a /dev/md10 hackkit:~# free total used free shared buffers cached Mem: 126236 35320 90916 0 16428 11404 -/+ buffers/cache: 7488 118748 Swap: 1003896 0 1003896 hackkit:~#いけたみたい。
なんで、boot 時には fail?
hackkit:~# BuffaloSwPollingCheck> SW_POWER_OFF INIT: Sending processes the TERStopping periodic command scheduler: crond. Stopping MTA: exim4_listener. Stopping internet superserver: inetd. Saving the system clock.. Hardware Clock updated to Thu Nov 1 01:06:30 JST 2007. Stopping deferred execution scheduler: atd. Stopping kernel log daemon: klogd. Stopping system log daemon: syslogd. Asking all remaining processes to terminate...done. Killing all remaining processes...done. Saving random seed...done. Deconfiguring network interfaces...done. md: stopping all md devices. md: md1 still in use. md: md10 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 = 58 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 0x3a buffalo_IsStopAtUbootStatus > MagicKey=0x3a buffalo_change_power_status > Read 0x3a buffalo_change_power_status > Read 0x3a buffalo_change_power_status > Writing 0x5c Please Press HDD power button to continue ...問題なく落ちた。
: : ---- in hackkit linuxrc --- -- 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<sdb5> md: bind<sda5> modprobe: FATAL: Could not load raid1: raid set md10 active with 2 out of 2 mirrors /lib/modules/2.6md: md1 stopped. .16.16-arm1/modules.dep: No such file or directory mdadm: /dev/md10 has been started with 2 drives. mdadm: /dev/disk2_1 has wrong uuid. mdadm: /dev/disk1_1 has wrong uuid. md: bind<sdb2> md: bind<sda2> modprobe: FATAL: Could not load raid1: raid set md1 active with 2 out of 2 mirrors /lib/modules/2.6md: md0 stopped. .16.16-arm1/modules.dep: No such file or directory mdadm: /dev/md1 has been started with 2 dmd: bind<sdb1> rives. md: bind<sda1> modprobe: FATAL: Could not load raid1: raid set md0 active with 2 out of 2 mirrors /lib/modules/2.6.16.16-arm1/modules.dep: No such file or directory 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 XFS mounting filesystem md1 VFS: Mounted root (xfs filesystem). Trying to move old root to /initrd ... okay Freeing init memory: 112K INIT: version 2.86 booting Activating swap:swapon on /dev/md10 Adding 1003896k swap on /dev/md10. Priority:-1 extents:1 across:1003896k . Setting the system clock.. System Clock set. Local time: Thu Nov 1 01:08:40 JST 2007. Cleaning up ifupdown.... Loading device-mapper support. Will now check all file systems. fsck 1.40-WIP (14-Nov-2006) Checking all file systems. Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable. Setting kernel variables...done. Will now mount local filesystems:ext3: No journal on filesystem on md0 mount: wrong fs type, bad option, bad superblock on /dev/md0, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so XFS mounting filesystem sda6 XFS mounting filesystem sdb6 failed! Will now activate swapfile swap:done. Cleaning /tmp...done. Cleaning /var/run...done. Cleaning /var/lock...done. Setting up networking.... Configuring network interfaces...eth0: link down done. Setting console screen modes and fonts. Initializing random number generator...done. INIT: Entering runlevel: 2 Starting system log daemon: syslogd. Starting kernel log daemon: klogd. eth0: link up<5>, full duplex<5>, speed 1 Gbps<5> Starting MTA: exim4. Starting internet superserver: inetd. Starting deferred execution scheduler: atdStarting periodic command scheduler: crond. 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 Running local boot scripts (/etc/rc.local). Debian GNU/Linux 4.0 hackkit ttyS0 hackkit login: BuffaloSwPollingCheck> SW_POWER_ON今回は、faild 1回。ワケワカラン。
mount: wrong fs type, bad option, bad superblock on /dev/md0, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or soといわれているので、fsck をかけてみる。
hackkit:~# fsck /dev/md0 fsck 1.40-WIP (14-Nov-2006) e2fsck 1.40-WIP (14-Nov-2006) /dev/md0 was not cleanly unmounted, check forced. Pass 1: Checking inodes, blocks, and sizes Deleted inode 17 has zero dtime. Fixこれ固有の問題?? yes Deleted inode 21 has zero dtime. Fix ? yes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information Block bitmap differences: -(7520--11620) -(14336--16383) -(16390--18442) Fix ? yes Free blocks count wrong for group #0 (17209, counted=25411). Fix ? yes Free blocks count wrong (207251, counted=215453). Fix ? yes Inode bitmap differences: -17 -21 Fix ? yes Free inodes count wrong for group #0 (15690, counted=15692). Fix ? yes Free inodes count wrong (125674, counted=125676). Fix ? yes /dev/md0: ***** FILE SYSTEM WAS MODIFIED ***** /dev/md0: 20/125696 files (10.0% non-contiguous), 35523/250976 blocks hackkit:~#
root@LS-WSGL678:~# mount rootfs on / type rootfs (rw) /dev/root on / type xfs (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw) /dev/ram1 on /mnt/ram type tmpfs (rw) /dev/md0 on /boot type ext2 (rw,nogrpid) usbfs on /proc/bus/usb type usbfs (rw) /dev/disk1_6 on /mnt/disk1 type xfs (rw,noatime) /dev/disk2_6 on /mnt/disk2 type xfs (rw,noatime) root@LS-WSGL678:~#ext2 やん。fstab 作り直し。
fstab を修正して再起動したら、faild は消えた。
あとの問題は、、、
もう一回、ハックキットをインストールしてみて様子を見る事にする。
|
← メモリー、外付けHDD、ネットワーク対応HDDなど計44製品の価格改定を実施 |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ ハックキットの再確認 |