以下「正常に」とか「エラーなく」といった類いの 表現が出てくる(※をつけた)が、 こういう表現は人に依存し、実行する度に結果が変る可能性があり、 本来なら使うべきではない。 厳密には一字一句予想結果/期待値を書くべきである。
(a) データ領域に RAID が設定されていると何かと面倒なので、
RAID は解除しておく
(a-1) 標準ファームで起動する。
(a-2) データ領域にあるファイルを別のところに待避する。
(a-3) 標準ファームの Web 管理画面を用い RAID を解放、
このように、RAIDアレイが設定されていない状態にする。
(a-4) 電源 OFF。コンセントも抜く。
→ ここまでは、前回、実行済
(b) ハックキットをインストールする1台目の HDD に
標準ファームをコピーする。
(b-1) SATA2 にのみ HDD を接続し、起動する。
→ OK
(b-2) ハックキットをインストールする1台目の HDD を USB で接続する。
→ OK
(b-3) /mnt/usbdisk1 に自動的にマウントされた場合はアンマウントする。
# umount /mnt/usbdisk1→ おっと、アンマウントするには root でログインが必要。手順書修正
root@LS-WSGL678:~# df Filesystem 1k-blocks Used Available Use% Mounted on /dev/md1 4993920 292192 4701728 6% / /dev/ram1 15360 112 15248 1% /mnt/ram /dev/md0 988064 126436 861628 13% /boot /dev/disk1_6 187419092 142100 187276992 0% /mnt/disk1 /dev/usbdisk1_1 988064 137436 850628 14% /mnt/usbdisk1 root@LS-WSGL678:~#/mnt/usbdisk1 にマウントされたので、アンマウントする。
root@LS-WSGL678:~# umount /mnt/usbdisk1 /sbin/hotplug [block] root@LS-WSGL678:~# df Filesystem 1k-blocks Used Available Use% Mounted on /dev/md1 4993920 292192 4701728 6% / /dev/ram1 15360 108 15252 1% /mnt/ram /dev/md0 988064 126436 861628 13% /boot /dev/disk1_6 187419092 142100 187276992 0% /mnt/disk1 root@LS-WSGL678:~#(b-4) sdb にパーティションを切る。
パーティション | タイプ | cylinder | システム |
sdb1 | プライマリ | 1 - 125 | Linux |
sdb2 | プライマリ | 126 - 748 | Linux |
sdb4 | 拡張 | 749 - 残り全部 | |
sdb5 | 論理 | 749 - 873 | Linux swap |
sdb6 | 論理 | 874 - 残り全部 | Linux |
# fdisk /dev/sdb→ 先日パーティションを切ったのが残っているはず。
root@LS-WSGL678:~# fdisk -l /dev/sdb Disk /dev/sdb: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 125 1004031 83 Linux /dev/sdb2 126 748 5004247+ 83 Linux /dev/sdb4 749 30401 238187722+ 5 Extended /dev/sdb5 749 873 1004031 82 Linux swap /dev/sdb6 874 30295 236332183+ 83 Linux root@LS-WSGL678:~#
(b-5) フォーマットする(不要かも)
パーティション | フォーマット | コマンド |
sdb1 | ext2 | mkfs.ext2 /dev/sdb1 |
sdb2 | xfs | mkfs.xfs -f /dev/sdb2 |
sdb4 | - | - |
sdb5 | swap | mkswap /dev/sdb5 |
sdb6 | xfs | mkfs.xfs -f /dev/sdb6 |
→ ハックキットが入っているので、再フォーマット。
root@LS-WSGL678:~# mkfs.ext2 /dev/sdb1 mke2fs 1.27 (8-Mar-2002) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 125696 inodes, 251007 blocks 12550 blocks (5.00%) reserved for the super user First data block=0 8 block groups 32768 blocks per group, 32768 fragments per group 15712 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376 Writing inode tables: done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 22 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. root@LS-WSGL678:~# mkfs.xfs -f /dev/sdb2 meta-data=/dev/sdb2 isize=256 agcount=8, agsize=156383 blks = sectsz=512 data = bsize=4096 blocks=1251061, imaxpct=25 = sunit=0 swidth=0 blks, unwritten=1 naming =version 2 bsize=4096 log =internal log bsize=4096 blocks=2560, version=1 = sectsz=512 sunit=0 blks realtime =none extsz=65536 blocks=0, rtextents=0 root@LS-WSGL678:~# mkswap /dev/sdb5 Setting up swapspace version 1, size = 1028120576 bytes root@LS-WSGL678:~# mkfs.xfs -f /dev/sdb6 meta-data=/dev/sdb6 isize=256 agcount=57, agsize=1048576 blks = sectsz=512 data = bsize=4096 blocks=59083045, imaxpct=25 = sunit=0 swidth=0 blks, unwritten=1 naming =version 2 bsize=4096 log =internal log bsize=4096 blocks=28849, version=1 = sectsz=512 sunit=0 blks realtime =none extsz=65536 blocks=0, rtextents=0 root@LS-WSGL678:~#(b-6) RAID をリビルドする
# mdadm -a /dev/md0 /dev/sdb1 # mdadm -a /dev/md1 /dev/sdb2 # mdadm -a /dev/md10 /dev/sdb5/proc/mdstat を監視してリビルドの完了を待つ。
# cat /proc/mdstat→ OK
root@LS-WSGL678:~# cat /proc/mdstat Personalities : [raid0] [raid1] md1 : active raid1 sda2[0] 5004160 blocks [2/1] [U_] md10 : active raid1 sda5[0] 1003904 blocks [2/1] [U_] md0 : active raid1 sda1[0] 1003904 blocks [2/1] [U_] unused devices:しばらく待つ。root@LS-WSGL678:~# mdadm -a /dev/md0 /dev/sdb1 RAID1 conf printout: --- wd:1 rd:2 disk 0, wo:0, o:1, dev:sda1 disk 1, wo:1, o:1, dev:sdb1 mdadm: added /dev/sdb1 root@LS-WSGL678:~# KERNELMOn (raidrecovery 0 1 1 1 8 17) mdadm -a /dev/md1 /dev/sdb2 RAID1 conf printout: --- wd:1 rd:2 disk 0, wo:0, o:1, dev:sda2 disk 1, wo:1, o:1, dev:sdb2 mdadm: re-added /dev/sdb2 root@LS-WSGL678:~# mdadm -a /dev/md10 /dev/sdb5 RAID1 conf printout: --- wd:1 rd:2 disk 0, wo:0, o:1, dev:sda5 disk 1, wo:1, o:1, dev:sdb5 mdadm: re-added /dev/sdb5 root@LS-WSGL678:~# !cat cat /proc/mdstat Personalities : [raid0] [raid1] md1 : active raid1 sdb2[2] sda2[0] 5004160 blocks [2/1] [U_] resync=DELAYED md10 : active raid1 sdb5[1] sda5[0] 1003904 blocks [2/1] [U_] resync=DELAYED md0 : active raid1 sdb1[2] sda1[0] 1003904 blocks [2/1] [U_] [====>................] recovery = 23.4% (235520/1003904) finish=0.8min speed=14833K/sec unused devices: root@LS-WSGL678:~#
root@LS-WSGL678:~# RAID1 conf printout: --- wd:2 rd:2 disk 0, wo:0, o:1, dev:sda1 disk 1, wo:0, o:1, dev:sdb1 KERNELMOn (raidrecovery 0 0 0 1 8 17) KERNELMOn (raidrecovery 10 1 1 1 8 21) RAID1 conf printout: --- wd:2 rd:2 disk 0, wo:0, o:1, dev:sda5 disk 1, wo:0, o:1, dev:sdb5 KERNELMOn (raidrecovery 10 0 0 1 8 21) KERNELMOn (raidrecovery 1 1 1 1 8 18) RAID1 conf printout: --- wd:2 rd:2 disk 0, wo:0, o:1, dev:sda2 disk 1, wo:0, o:1, dev:sdb2 KERNELMOn (raidrecovery 1 0 0 1 8 18) root@LS-WSGL678:~# !cat cat /proc/mdstat Personalities : [raid0] [raid1] md1 : active raid1 sdb2[1] sda2[0] 5004160 blocks [2/2] [UU] md10 : active raid1 sdb5[1] sda5[0] 1003904 blocks [2/2] [UU] md0 : active raid1 sdb1[1] sda1[0] 1003904 blocks [2/2] [UU] unused devices:(b-7) 電源 OFF。コンセントも抜く。root@LS-WSGL678:~#
(c) ハックキットをインストールする2台目の HDD に
標準ファームをコピーする。
(c-1) 上記 (b) でコピーした HDD を SATA2 に接続し、起動する。
(c-2) ハックキットをインストールする2台目の HDD を USB で接続する。
以下、(b-3) ~ (b-7) を繰り返し。
→ OK 詳細略
このフォルダは、Linux 的には
/mnt/disk1/share/hackkit となる。
BUFFALO INC. LinkStation series LS-WSGL678 login: root root@LS-WSGL678:~# ls /mnt/disk1/share/hackkit/ hackkit_081209.tar.gz mkimage hackkit_081212.sh ramroot_081213.sh root@LS-WSGL678:~#(2) initrd.buffalo の変更
# cd /mnt/disk1/share/hackkit # sh ramroot_081213.sh→
root@LS-WSGL678:~# cd /mnt/disk1/share/hackkit root@LS-WSGL678:/mnt/disk1/share/hackkit# sh ramroot_081213.sh Extracting initrd... 89028+1 records in 89028+1 records out mounting initrd... /sbin/hotplug [block] editing linuxrc... clearing root's password... rebuilding initrd.buffalo... /sbin/hotplug [block] gziping initrd ... wait 5 minutes Image Name: initrd Created: Sat Dec 13 10:13:09 2008 Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 5675149 Bytes = 5542.14 kB = 5.41 MB Load Address: 0x00000000 Entry Point: 0x00000000 root@LS-WSGL678:/mnt/disk1/share/hackkit#エラーが出ずに※終了することを確認する。
(3) 電源 OFF。コンセントも抜く。
→ コンセントを抜く必要はないけど、、まぁいいか。
LS-WSGL の場合は、RamRoot モードで起動してくる。
→
BUFFALO INC. LinkStation series LS-WSGL-EM678 login:
BUFFALO INC. LinkStation series LS-WSGL-EM678 login: root login[1184]: root login on `ttyS0' BusyBox v1.1.1 (2008.11.04-08:25+0000) Built-in shell (ash) Enter 'help' for a list of built-in commands. #
# date MMDDHHMMYYYY→
# date 121310162008 Sat Dec 13 10:16:00 JST 2008 #
(1) ハックキットをインストールする HDD を USB で接続する。
(2) /mnt/usbdisk1 に自動的にマウントされた場合はアンマウントする。
(3) sdb にパーティションを切る。
パーティション | タイプ | サイズ | システム |
sdb1 | プライマリ | 200MB | Linux |
sdb2 | プライマリ | 2GB | Linux |
sdb3 | プライマリ | 256MB | Linux swap |
sdb4 | プライマリ | 残り全部 | Linux |
# mkdir /mnt/disk1 # mount /dev/sda6 /mnt/disk1→
# mkdir /mnt/disk1 mkdir: Cannot create directory `/mnt/disk1': File exists # mount /dev/sda6 /mnt/disk1 XFS mounting filesystem sda6 #
# cd /mnt/disk1/share/hackkit # sh hackkit_081209.shエラーが出ない※ことを確認する。
# cd /mnt/disk1/share/hackkit # sh hackkit_081209.sh sh: Can't open hackkit_081209.sh # ls hackkit_081209.tar.gz mkimage hackkit_081212.sh ramroot_081213.sh #手順書修正要
# sh hackkit_081212.sh PRODUCTID = 0x00003002 building md... -- 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相変わらず /boot はアンマウントできていない。md: bind 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 md: bind 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 md: bind 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 mounting root file system ... XFS mounting filesystem md1 extracting hackkit archive ... ./ ./var/ ./var/lib/ ./var/lib/apt/ ./var/lib/apt/lists/ ./var/lib/apt/lists/partial/ : : ./initrd/ creating /etc/fstab ... creating miconapl ... creating kernelmon ... creating usb ... checking /dev/md0 fsck 1.27 (8-Mar-2002) e2fsck 1.27 (8-Mar-2002) Pass 1: Checking inodes, blocks, and sizes Deleted inode 11 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: -(32115--32767) -(33264--36711) Fix? yes Free blocks count wrong for group #0 (22842, counted=23495). Fix? yes Free blocks count wrong for group #1 (28824, counted=32272). Fix? yes Free blocks count wrong (211267, counted=215368). Fix? yes Inode bitmap differences: -11 Fix? yes Free inodes count wrong for group #0 (15691, counted=15692). Fix? yes Free inodes count wrong (125675, counted=125676). Fix? yes /dev/md0: ***** FILE SYSTEM WAS MODIFIED ***** /dev/md0: 20/125696 files (5.0% non-contiguous), 35608/250976 blocks mounting /boot ... editing initrd ... 88674+1 records in 88674+1 records out gunziping /mnt/debinst/boot/initrd.gz ... gziping /mnt/debinst/boot/initrd ... wait 5 minutes Image Name: initrd Created: Sat Dec 13 10:23:01 2008 Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 5674707 Bytes = 5541.71 kB = 5.41 MB Load Address: 0x00000000 Entry Point: 0x00000000 unmount /boot ... umount: /mnt/debinst/boot: device is busy umount: /mnt/debinst/boot: device is busy #
電源 OFF。コンセントも抜く。
→ ここもコンセントを抜くほどでもないが。
---- 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<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 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 Setting the system clock. Activating swap...Adding 1003896k swap on /dev/md10. Priority:-1 extents:1 across:1003896k done. Setting the system clock. Cleaning up ifupdown.... Loading kernel modules...done. Checking file systems...fsck 1.41.3 (12-Oct-2008) done. Setting kernel variables (/etc/sysctl.conf)...done. Mounting local filesystems...EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended XFS mounting filesystem sda6 XFS mounting filesystem sdb6 done. Activating swapfile swap...done. Setting up networking.... Configuring network interfaces...eth0: link down done. INIT: Entering runlevel: 2 Starting enhanced syslogd: rsyslogdeth0: link up<5>, full duplex<5>, speed 1 Gbps<5> . 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 Starting internet superserver: inetd. Starting periodic command scheduler: crond. Debian GNU/Linux lenny/sid hackkit ttyS0 hackkit login: BuffaloSwPollingCheck> SW_POWER_ON無事起動。
警告らしき物は
Mounting local filesystems...EXT2-fs warning: mounting unchecked fs, running e2fsck is recommendedこれぐらいか。節穴かも。
LED | 状態 |
POWER | 点灯 |
LINK/ACT | ネットワークに応じてちらちら |
DIAG | 消灯 |
ERROR | 消灯 |
正常に※制御されていることを確認する。
温度変化が必要なので、確認は難しいかも。
Debian GNU/Linux lenny/sid hackkit ttyS0 hackkit login: guest Password: Linux hackkit 2.6.16.16-arm1 #383 Mon Nov 10 13:33:20 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. No directory, logging in with HOME=/ guest@hackkit:/$ su - root Password: hackkit:~#
# date MMDDHHMMYYYY→
hackkit:~# date Sat Dec 13 10:29:54 JST 2008 hackkit:~#時計合わせ不要
apt-get update apt-get -f install apt-get dist-upgrade→
hackkit:~# apt-get update Get:1 http://ftp.jp.debian.org lenny Release.gpg [189B] Get:2 http://security.debian.org lenny/updates Release.gpg [189B] Get:3 http://ftp.jp.debian.org lenny Release [74.5kB] Get:4 http://security.debian.org lenny/updates Release [40.8kB] : : Get:41 http://ftp.jp.debian.org lenny/main 2008-12-12-2040.32.pdiff [1256B] Get:42 http://ftp.jp.debian.org lenny/main 2008-12-12-2040.32.pdiff [1256B] Fetched 174kB in 2min23s (1219B/s) Reading package lists... Done hackkit:~# apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. hackkit:~# apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: apt apt-utils aptitude libgnutls26 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 5228kB of archives. After this operation, 131kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://ftp.jp.debian.org lenny/main apt 0.7.19 [1603kB] Get:2 http://ftp.jp.debian.org lenny/main apt-utils 0.7.19 [183kB] Get:3 http://ftp.jp.debian.org lenny/main aptitude 0.4.11.11-1~lenny1 [2989kB] Get:4 http://ftp.jp.debian.org lenny/main libgnutls26 2.4.2-4 [453kB] Fetched 5228kB in 13s (378kB/s) (Reading database ... 8599 files and directories currently installed.) Preparing to replace apt 0.7.18 (using .../archives/apt_0.7.19_armel.deb) ... Unpacking replacement apt ... Processing triggers for man-db ... Setting up apt (0.7.19) ... gpg: key 6070D3A1: "Debian Archive Automatic Signing Key (4.0/etch)問題なし。" not changed gpg: key ADB11277: "Etch Stable Release Key " not changed gpg: key BBE55AB3: "Debian-Volatile Archive Automatic Signing Key (4.0/etch)" not changed gpg: key F42584E6: "Lenny Stable Release Key " not changed gpg: Total number processed: 4 gpg: unchanged: 4 (Reading database ... 8599 files and directories currently installed.) Preparing to replace apt-utils 0.7.18 (using .../apt-utils_0.7.19_armel.deb) ... Unpacking replacement apt-utils ... Preparing to replace aptitude 0.4.11.10-1lenny1.1 (using .../aptitude_0.4.11.11-1~lenny1_armel.deb) ... Unpacking replacement aptitude ... Preparing to replace libgnutls26 2.4.2-3 (using .../libgnutls26_2.4.2-4_armel.deb) ... Unpacking replacement libgnutls26 ... Processing triggers for man-db ... Setting up apt-utils (0.7.19) ... Setting up aptitude (0.4.11.11-1~lenny1) ... Setting up libgnutls26 (2.4.2-4) ... hackkit:~#
hackkit:~# lsmod Module Size Used by vfat 13920 0 fat 56572 1 vfat usblp 14784 0 usb_storage 59975 0 ehci_marvell_hcd 33480 0 usbcore 127240 4 usblp,usb_storage,ehci_marvell_hcd hackkit:~#ehci_marvell_hcd がロードされている。
USB メモリを刺す
hackkit:~# tail -f /var/log/messages : : usb 1-1: new high speed USB device using ehci_platform and address 2 usb 1-1: configuration #1 chosen from 1 choice scsi2 : SCSI emulation for USB Mass Storage devices Dec 13 11:01:20 hackkit kernel: usb 1-1: new high speed USB device using ehci_platform and address 2 Dec 13 11:01:20 hackkit kernel: usb 1-1: configuration #1 chosen from 1 choice Dec 13 11:01:20 hackkit kernel: scsi2 : SCSI emulation for USB Mass Storage devices Vendor: BUFFALO Model: ClipDrive Rev: 2.00 Type: Direct-Access ANSI SCSI revision: 02 Dec 13 11:01:25 hackkit kernel: Vendor: BUFFALO Model: ClipDrive Rev: 2.00 Dec 13 11:01:25 hackkit kernel: Type: Direct-Access ANSI SCSI revision: 02 ready SCSI device sdc: 256000 512-byte hdwr sectors (131 MB) sdc: Write Protect is off sdc: assuming drive cache: write through SCSI device sdc: 256000 512-byte hdwr sectors (131 MB) sdc: Write Protect is off sdc: assuming drive cache: write through sdc: sdc1 sd 2:0:0:0: Attached scsi removable disk sdc sd 2:0:0:0: Attached scsi generic sg2 type 0 Dec 13 11:01:27 hackkit kernel: ready Dec 13 11:01:27 hackkit kernel: SCSI device sdc: 256000 512-byte hdwr sectors (131 MB) Dec 13 11:01:27 hackkit kernel: sdc: Write Protect is off Dec 13 11:01:27 hackkit kernel: SCSI device sdc: 256000 512-byte hdwr sectors (131 MB) Dec 13 11:01:27 hackkit kernel: sdc: Write Protect is off Dec 13 11:01:27 hackkit kernel: sdc: sdc1 Dec 13 11:01:27 hackkit kernel: sd 2:0:0:0: Attached scsi removable disk sdc Dec 13 11:01:27 hackkit kernel: sd 2:0:0:0: Attached scsi generic sg2 type 0マウントしてみる
hackkit:~# mkdir /tmp/usb hackkit:~# mount /dev/sdc1 /tmp/usb/ hackkit:~# ls /tmp/usb/ ないしょ hackkit:~# umount /tmp/usb/ hackkit:~#抜く
hackkit:~# tail -f /var/log/messages : : usb 1-1: USB disconnect, address 2 Dec 13 11:04:04 hackkit kernel: usb 1-1: USB disconnect, address 2OK だな。
hackkit:~# tail -f /var/log/messages : : usb 1-1: new full speed USB device using ehci_platform and address 2 usb 1-1: configuration #1 chosen from 1 choice drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04B8 pid 0x0005 Dec 13 11:11:19 hackkit kernel: usb 1-1: new full speed USB device using ehci_platform and address 2 Dec 13 11:11:19 hackkit kernel: usb 1-1: configuration #1 chosen from 1 choice Dec 13 11:11:19 hackkit kernel: drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04B8 pid 0x0005USB Bidirectional printer と認識された。
usb 1-1: USB disconnect, address 2 drivers/usb/class/usblp.c: usblp0: removed Dec 13 11:12:00 hackkit kernel: usb 1-1: USB disconnect, address 2 Dec 13 11:12:00 hackkit kernel: drivers/usb/class/usblp.c: usblp0: removedOK
# shutdown -r nowを実行し、正常に※リブートしてくることを確認する。
さぁ、年賀状作ろ。
|
← インストーラの修正 |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ 作り直したハックキットの再確認(2)LS-CL |