root@LS-XHL8DF:~# cd /boot root@LS-XHL8DF:/boot# ls conf_save.tgz initrd.buffalo u-boot.buffalo.org hddrootfs.buffalo.updated.done u-boot.buffalo uImage.buffalo root@LS-XHL8DF:/boot# ftp ude.yamasita.jp Connected to ude.yamasita.jp. 220 ude FTP server (GNU inetutils 1.5) ready. 500 'AUTH GSSAPI': command not understood. 500 'AUTH KERBEROS_V4': command not understood. KERBEROS_V4 rejected as an authentication type Name (ude.yamasita.jp:root): yasunari 331 Password required for yasunari. Password: 230- Linux ude 2.6.16.16-arm1 #37 Tue May 20 10:01:57 JST 2008 armv5tejl 230- 230- The programs included with the Debian GNU/Linux system are free software; 230- the exact distribution terms for each program are described in the 230- individual files in /usr/share/doc/*/copyright. 230- 230- Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent 230- permitted by applicable law. 230 User yasunari logged in. Remote system type is UNIX. Using binary mode to transfer files. ftp> cd /srv 250 CWD command successful. ftp> ls 200 PORT command sucessful. 150 Opening ASCII mode data connection for '/bin/ls'. total 4 drwxrwsr-x 14 root 4096 May 17 15:21 tftp 226 Transfer complete. ftp> cd tftp 250 CWD command successful. ftp> ls 200 PORT command sucessful. 150 Opening ASCII mode data connection for '/bin/ls'. total 7288 drwxr-s--- 2 root 48 Mar 22 10:12 HS-DHGL_1.20 drwxrwxr-x 2 root 48 Jan 24 09:31 LS-CL+HackKit drwxr-sr-x 2 root 48 Mar 23 17:44 LS-CL_1.07 drwxrwxr-x 2 root 48 Mar 20 14:32 LS-GL_1.15 drwxr-sr-x 2 root 48 Mar 23 14:22 LS-HGL_1.07b drwxr-sr-x 2 root 48 Mar 23 13:31 LS-LGL_2.01 drwxrwxr-x 2 root 48 Feb 20 12:00 LS-QL_1.05+telnet drwxr-s--- 2 root 48 Mar 27 15:25 LS-QL_1.07b drwxr-sr-x 2 root 48 Mar 25 21:04 LS-WSGL_1.06 drwxrwxr-x 2 root 48 Jan 24 18:00 LS-XHL_1.02 drwxrwxr-x 2 root 64 Jan 24 22:17 LS-XHL_1.02+telnet drwxr-s--- 2 root 48 Mar 27 16:11 LS-XHL_1.04b -rw-r--r-- 2 root 5697905 Mar 25 21:04 initrd.buffalo -rw-r--r-- 2 root 1757604 Mar 25 21:04 uImage.buffalo 226 Transfer complete. ftp> mkdir LS-XHL_1.10 257 (unknown absolute name) new directory created. ftp> cd LS-XHL_1.10 250 CWD command successful. ftp> m^H ?Invalid command ftp> bin 200 Type set to I. ftp> hash Hash mark printing on (1024 bytes/hash mark). ftp> put initrd.buffalo local: initrd.buffalo remote: initrd.buffalo 200 PORT command sucessful. 150 Opening BINARY mode data connection for 'initrd.buffalo'. #############################################################(略) 226 Transfer complete. 8944729 bytes sent in 0.58 seconds (1.5e+04 Kbytes/s) ftp> put uImage.buffalo local: uImage.buffalo remote: uImage.buffalo 200 PORT command sucessful. 150 Opening BINARY mode data connection for 'uImage.buffalo'. #############################################################(略) 226 Transfer complete. 2088760 bytes sent in 0.13 seconds (1.5e+04 Kbytes/s) ftp> bye 221 Goodbye. root@LS-XHL8DF:/boot#
yasunari@ude:~$ cd /srv/tftp/ yasunari@ude:/srv/tftp$ ls -al total 7292 drwxrwsr-x 15 root root 4096 May 22 22:22 . drwxr-xr-x 3 root root 17 Jan 24 09:07 .. drwxr-s--- 2 yasunari root 48 Mar 22 10:12 HS-DHGL_1.20 drwxrwxr-x 2 root root 48 Jan 24 09:31 LS-CL+HackKit drwxr-sr-x 2 root root 48 Mar 23 17:44 LS-CL_1.07 drwxrwxr-x 2 yasunari root 48 Mar 20 14:32 LS-GL_1.15 drwxr-sr-x 2 root root 48 Mar 23 14:22 LS-HGL_1.07b drwxr-sr-x 2 root root 48 Mar 23 13:31 LS-LGL_2.01 drwxrwxr-x 2 root root 48 Feb 20 12:00 LS-QL_1.05+telnet drwxr-s--- 2 yasunari root 48 Mar 27 15:25 LS-QL_1.07b drwxr-sr-x 2 yasunari root 48 Mar 25 21:04 LS-WSGL_1.06 drwxrwxr-x 2 root root 48 Jan 24 18:00 LS-XHL_1.02 drwxrwxr-x 2 root root 64 Jan 24 22:17 LS-XHL_1.02+telnet drwxr-s--- 2 yasunari root 48 Mar 27 16:11 LS-XHL_1.04b drwxr-s--- 2 yasunari root 48 May 22 22:22 LS-XHL_1.10 -rw-r--r-- 2 yasunari root 5697905 Mar 25 21:04 initrd.buffalo -rw-r--r-- 2 yasunari root 1757604 Mar 25 21:04 uImage.buffalo yasunari@ude:/srv/tftp$ rm initrd.buffalo uImage.buffalo yasunari@ude:/srv/tftp$ ln LS-XHL_1.10/* . yasunari@ude:/srv/tftp$ ls -l total 10776 drwxr-s--- 2 yasunari root 48 Mar 22 10:12 HS-DHGL_1.20 drwxrwxr-x 2 root root 48 Jan 24 09:31 LS-CL+HackKit drwxr-sr-x 2 root root 48 Mar 23 17:44 LS-CL_1.07 drwxrwxr-x 2 yasunari root 48 Mar 20 14:32 LS-GL_1.15 drwxr-sr-x 2 root root 48 Mar 23 14:22 LS-HGL_1.07b drwxr-sr-x 2 root root 48 Mar 23 13:31 LS-LGL_2.01 drwxrwxr-x 2 root root 48 Feb 20 12:00 LS-QL_1.05+telnet drwxr-s--- 2 yasunari root 48 Mar 27 15:25 LS-QL_1.07b drwxr-sr-x 2 yasunari root 48 Mar 25 21:04 LS-WSGL_1.06 drwxrwxr-x 2 root root 48 Jan 24 18:00 LS-XHL_1.02 drwxrwxr-x 2 root root 64 Jan 24 22:17 LS-XHL_1.02+telnet drwxr-s--- 2 yasunari root 48 Mar 27 16:11 LS-XHL_1.04b drwxr-s--- 2 yasunari root 48 May 22 22:22 LS-XHL_1.10 -rw-r----- 2 yasunari root 8944729 May 22 22:22 initrd.buffalo -rw-r----- 2 yasunari root 2088760 May 22 22:22 uImage.buffalo yasunari@ude:/srv/tftp$ chmod +r initrd.buffalo uImage.buffalo LS-XHL_1.10/* yasunari@ude:/srv/tftp$ ls -l total 10776 drwxr-s--- 2 yasunari root 48 Mar 22 10:12 HS-DHGL_1.20 drwxrwxr-x 2 root root 48 Jan 24 09:31 LS-CL+HackKit drwxr-sr-x 2 root root 48 Mar 23 17:44 LS-CL_1.07 drwxrwxr-x 2 yasunari root 48 Mar 20 14:32 LS-GL_1.15 drwxr-sr-x 2 root root 48 Mar 23 14:22 LS-HGL_1.07b drwxr-sr-x 2 root root 48 Mar 23 13:31 LS-LGL_2.01 drwxrwxr-x 2 root root 48 Feb 20 12:00 LS-QL_1.05+telnet drwxr-s--- 2 yasunari root 48 Mar 27 15:25 LS-QL_1.07b drwxr-sr-x 2 yasunari root 48 Mar 25 21:04 LS-WSGL_1.06 drwxrwxr-x 2 root root 48 Jan 24 18:00 LS-XHL_1.02 drwxrwxr-x 2 root root 64 Jan 24 22:17 LS-XHL_1.02+telnet drwxr-s--- 2 yasunari root 48 Mar 27 16:11 LS-XHL_1.04b drwxr-s--- 2 yasunari root 48 May 22 22:22 LS-XHL_1.10 -rw-r--r-- 2 yasunari root 8944729 May 22 22:22 initrd.buffalo -rw-r--r-- 2 yasunari root 2088760 May 22 22:22 uImage.buffalo yasunari@ude:/srv/tftp$
root@LS-XHL8DF:~# fdisk /dev/sda The number of cylinders for this disk is set to 19457. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): p Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 125 1004031 83 Linux /dev/sda2 126 748 5004247+ 83 Linux /dev/sda4 749 19457 150280042+ 5 Extended /dev/sda5 749 873 1004031 82 Linux swap /dev/sda6 874 19354 148448601 83 Linux Command (m for help):気になる事というのは、これ。
root@LS-XHL8DF:~# parted -s /dev/sda print Model: WDC WD1600JS-00NCB1 (scsi) Disk /dev/sda: 160GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 32.3kB 1028MB 1028MB primary ext3 2 1028MB 6153MB 5124MB primary xfs 4 6153MB 160GB 154GB extended 5 6153MB 7181MB 1028MB logical linux-swap 6 7181MB 159GB 152GB logical xfs root@LS-XHL8DF:~#Partition Table も msdos と。
パーティションを消す。
root@LS-XHL8DF:~# fdisk /dev/sda The number of cylinders for this disk is set to 19457. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): d Partition number (1-6): 4 Command (m for help): d Partition number (1-4): 2 Command (m for help): d Selected partition 1 Command (m for help): p Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table fdisk: WARNING: rereading partition table failed, kernel still uses old table: Device or resource busy root@LS-XHL8DF:~#動いているシステムのパーティションを消すとはムチャクチャ。
E06 になるので、Func SW を押す。
May 22 22:37:29 ude in.tftpd[701]: connect from 192.168.11.150 (192.168.11.150) May 22 22:37:29 ude tftpd[702]: tftpd: trying to get file: uImage.buffalo May 22 22:37:29 ude tftpd[702]: tftpd: serving file from /srv/tftp May 22 22:37:30 ude in.tftpd[703]: connect from 192.168.11.150 (192.168.11.150) May 22 22:37:30 ude tftpd[704]: tftpd: trying to get file: initrd.buffalo May 22 22:37:30 ude tftpd[704]: tftpd: serving file from /srv/tftp無事 boot したようだ。
すんなり見つかると思ったのだが、
「アップデートが必要な LS-XHL は見つかりませんでした」
あかんちゃう?
LS-XHL が EM に落ちたら復旧できんのでは?
というわけでパーティションがどーのこーのに到達する前に 1.10 の別の問題(欠陥?)にたどり着いてしもた。
PRODUCTNAME や PRODUCTID を変えたのは意図的?
それなら EM からの復帰もちゃんと検証したの?
してるわけないわな。
そうか、最近は
「EM(復旧モード)になりましたらアップデートで復旧する場合があります。」
としか書いてないのか。
以前は「・・・EMモードでない場合はアップデートを行う必要はありません。」
と書いてあったのだが、、、
|
← UPS のバッテリ到着 |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ ファームウェア 1.10 をまっさらからインストール(2) |