ファームウェア 1.11 β をインストールする。
yasunari@ude:~$ cd /srv/tftp/ yasunari@ude:/srv/tftp$ ls HS-DHGL_1.20 LS-HGL_1.07b LS-WSGL_1.06 initrd.buffalo LS-CHL_1.10 LS-LGL_2.01 LS-XHL_1.02 uImage.buffalo LS-CL+HackKit LS-QL_1.05+telnet LS-XHL_1.02+telnet LS-CL_1.07 LS-QL_1.07b LS-XHL_1.04b LS-GL_1.15 LS-QL_1.10b LS-XHL_1.10 yasunari@ude:/srv/tftp$ rm initrd.buffalo uImage.buffalo yasunari@ude:/srv/tftp$ ln HS-DHGL_1.20/* . yasunari@ude:/srv/tftp$HS-DHGL がブートすればよいので、1.20 のブートファイルでも かまわない。
Debian GNU/Linux 5.0 slam login: yasunari Password: Last login: Mon Jun 29 20:54:07 JST 2009 from uxl.yamasita.jp on pts/0 Linux slam 2.6.16.16-arm1 #69 Wed Oct 1 10:59:37 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. yasunari@slam:~$ su - root Password: slam:~#パーティションを削除する。
slam:~# fdisk /dev/sda The number of cylinders for this disk is set to 30401. 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: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sda1 1 25 200781 83 Linux /dev/sda2 26 524 4008217+ 83 Linux /dev/sda3 525 556 257040 82 Linux swap / Solaris /dev/sda4 557 30401 239729962+ 83 Linux Command (m for help): d Partition number (1-4): 1 Command (m for help): d Partition number (1-4): 2 Command (m for help): d Partition number (1-4): 3 Command (m for help): d Selected partition 4 Command (m for help): p Disk /dev/sda: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 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. WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next reboot. Syncing disks. slam:~#むちゃくちゃ。
コンセントを抜いて電源 OFF
Orion1 CPU = Low
=== BUFFALO LS-GL U-Boot. ===
** LOADER **
** BUFFALO BOARD: BUFFALO_BOARD_LS_GL LE (CFG_ENV_ADDR=fffff000)
U-Boot 1.1.1 (Apr 18 2007 - 18:35:44) Marvell version: 1.12.1 - TINY
DRAM CS[0] base 0x00000000 size 128MB
DRAM Total size 128MB
[256kB@fffc0000] [0kB@f8000000] ## Unknown FLASH at f8000000: Size = 0x00000000 = 0 MB
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
USB 1: host mode
PCI 0: PCI Express Root Complex Interface
PCI 1: Conventional PCI, speed = 33000000
Net: egiga0 [PRIME]
Using 88E1118 phy
Marvell Serial ATA Adapter
Integrated Sata device found
Device 0: OK
Model: SAMSUNG HD250HJ Firm: FH100-05 Ser#: S17TJDPPB08546
Type: Hard Disk
Supports 48-bit addressing
Capacity: 238475.1 MB = 232.8 GB (488397168 x 512)
Using device ide0, partition 1
** Bad partition 1 **
Using device ide1, partition 1
** Bad partition 1 **
Lost all init_rd
hit any key to switch tftp boot.
Hit any key to stop autoboot: 0
Using egiga0 device
TFTP from server 192.168.11.1; our IP address is 192.168.11.150
Filename 'uImage.buffalo'.
Load address: 0x100000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##################################
done
Bytes transferred = 1834900 (1bff94 hex)
Using egiga0 device
TFTP from server 192.168.11.1; our IP address is 192.168.11.150
Filename 'initrd.buffalo'.
Load address: 0x800000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#####################################################
done
Bytes transferred = 4926390 (4b2bb6 hex)
<>
## Booting image at 00100000 ...
Image Name: Linux-2.6.16.16-arm1
Created: 2008-10-01 1:59:41 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1834836 Bytes = 1.7 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 00800000 ...
Image Name: initrd
Created: 2008-10-01 1:59:57 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 4926326 Bytes = 4.7 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Starting kernel ...
arg:console=ttyS0,115200 root=/dev/sda2 rw initrd=0x00800040,15M panic=5 BOOTVER=1.10 tftpboot=yes
CONFIG_BUFFALO_PLATFORM CONFIG_BUFFALO_LINKSTATION_LSGL ---
Uncompressing
Linux.......................................................................................................................
done, booting the kernel.
:
:
BUFFALO INC. LinkStation series HS-DHGL(JINMU)
HS-DHGL-EMEA2 login:
いつもどおり、まっさらにできるかとおもったら、
sh-2.05b$ kjournald starting. Commit interval 5 seconds EXT3-fs warning: maximal mount count reached, running e2fsck is recommended EXT3 FS on sda1, internal journal EXT3-fs: mounted filesystem with ordered data mode.の連続で止ってしまった。
ファームウェアアップデータを強制終了し、 もう一度ファームウェアアップデータ 1.11 βを実行。
今度は、正常にアップデートできたようだ。
やれやれ
|
|
← NAS 2ドライブ搭載テラステーションの最大約29%値下げをはじめ、 ポータブルHDD、ネットワーク対応HDDなど計8製品の価格改定を実施 |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ いちからやり直し、、、(3)準備 |