Jun 18 22:25:00 sil kernel: usb 1-1: new high speed USB device using ehci_platform and address 3 Jun 18 22:25:00 sil kernel: usb 1-1: configuration #1 chosen from 1 choice Jun 18 22:25:00 sil kernel: scsi3 : SCSI emulation for USB Mass Storage devices Jun 18 22:25:05 sil kernel: Vendor: SAMSUNG Model: JDPPB08546 Rev: 0-05 Jun 18 22:25:05 sil kernel: Type: Direct-Access ANSI SCSI revision: 02 Jun 18 22:25:05 sil kernel: SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB) Jun 18 22:25:05 sil kernel: sdb: Write Protect is off Jun 18 22:25:05 sil kernel: SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB) Jun 18 22:25:05 sil kernel: sdb: Write Protect is off Jun 18 22:25:05 sil kernel: sdb: sdb1 sdb2 sdb4 < sdb5 sdb6 > Jun 18 22:25:05 sil kernel: sd 3:0:0:0: Attached scsi disk sdb Jun 18 22:25:05 sil kernel: sd 3:0:0:0: Attached scsi generic sg1 type 0
sil:~# mkdir /tmp/boot sil:~# mount /dev/sdb1 /tmp/boot sil:~# ls -l /tmp/boot total 6488 -rw-r--r-- 1 root root 29093 Apr 18 09:26 conf_save.tgz -rw-r--r-- 1 root root 4712892 Nov 5 2007 initrd.buffalo -rw-r--r-- 1 root root 23523 Apr 18 09:26 log.tgz drwx------ 2 root root 12288 Dec 4 2007 lost+found -rw-r--r-- 1 root root 1834908 Apr 18 09:19 uImage.buffalo sil:~#/boot は、、、
sil:~# ls -l /boot total 6188 -rw-r--r-- 1 root root 4462508 Jun 24 2007 initrd.buffalo drwx------ 2 root root 12288 Jun 24 2007 lost+found -rw-r--r-- 1 root root 1834900 Jun 24 2007 uImage.buffalo sil:~#uimage が、8 バイトだけだが大きくなっている。
コピーする。
sil:~# cd /boot sil:/boot# ls initrd.buffalo lost+found uImage.buffalo sil:/boot# mv uImage.buffalo uImage.buffalo.110 sil:/boot# (cd /tmp/boot/; tar cf - uImage.buffalo)|tar xvf - uImage.buffalo sil:/boot# ls -l total 7988 -rw-r--r-- 1 root root 4462508 Jun 24 2007 initrd.buffalo drwx------ 2 root root 12288 Jun 24 2007 lost+found -rw-r--r-- 1 root root 1834908 Apr 18 09:19 uImage.buffalo -rw-r--r-- 1 root root 1834900 Jun 24 2007 uImage.buffalo.110 sil:/boot# umount /tmp/boot sil:/boot#
sil:/boot# cd /mnt sil:/mnt# ls Backup Music buffalo dap tmp videos wk sil:/mnt# mv buffalo buffalo.110 sil:/mnt# mkdir buffalo sil:/mnt# mkdir /tmp/root sil:/mnt# mount /dev/sdb2 /tmp/root sil:/mnt# ls /tmp/root bin boot dev etc home lib lost+found mnt proc root sbin share sys tmp usr var www sil:/mnt# (cd /tmp/root ; tar cf - . )|(cd buffalo; tar xvf -) : : sil:/mnt# umount /tmp/root sil:/mnt#
sil:/mnt# cd /mnt/buffalo/var/ sil:/mnt/buffalo/var# ls -l total 8 drwxr-xr-x 2 root root 6 Nov 6 2007 backup drwxr-xr-x 2 root root 6 Nov 6 2007 cache drwxr-xr-x 3 root root 17 Apr 18 09:22 empty drwxr-xr-x 4 root root 27 Apr 18 09:22 lib drwxrwxrwx 5 root root 81 Apr 18 09:26 lock drwxr-xr-x 6 root root 4096 Apr 18 09:23 log drwxr-xr-x 4 root root 4096 Apr 18 09:23 pcast drwxr-xr-x 2 root root 6 Apr 18 09:22 proftpd lrwxrwxrwx 1 root root 16 Jun 18 22:38 run -> /mnt/ram/var/run drwxr-xr-x 2 root root 17 Jun 18 22:38 spool lrwxrwxrwx 1 root root 16 Jun 18 22:38 tmp -> /mnt/ram/var/tmp drwxr-xr-x 2 48 48 6 Apr 18 09:22 www sil:/mnt/buffalo/var# rm run sil:/mnt/buffalo/var# mkdir -p run/apache sil:/mnt/buffalo/var# rm tmp sil:/mnt/buffalo/var# mkdir tmp sil:/mnt/buffalo/var# chmod 1777 tmp sil:/mnt/buffalo/var#/mnt/disk1/share は、バックアップから持ってくる。
sil:/mnt/buffalo/var# cd ../mnt/disk1/ sil:/mnt/buffalo/mnt/disk1# mv /mnt/buffalo.110/mnt/disk1/share . sil:/mnt/buffalo/mnt/disk1# ls -al total 0 drwx------ 5 root root 51 Jun 18 22:48 . drwxrwxrwx 9 root root 101 Apr 18 09:22 .. drwxrwxrwx 3 root root 17 Jun 18 22:48 mediaserver drwx------ 2 root root 22 Jun 18 22:48 mt-daapd drwxrwxrwx 6 root root 54 Jun 18 22:46 share sil:/mnt/buffalo/mnt/disk1# dhmod 755 . -su: dhmod: command not found sil:/mnt/buffalo/mnt/disk1# chmod 755 . sil:/mnt/buffalo/mnt/disk1#
sil:/mnt/buffalo/mnt/disk1# cd /mnt/buffalo/etc/melco/ sil:/mnt/buffalo/etc/melco# mv pcast_mp2000{,.orig} sil:/mnt/buffalo/etc/melco# cp pcast_mp2000{.orig,} sil:/mnt/buffalo/etc/melco# vi pcast_mp2000 : : sil:/mnt/buffalo/etc/melco# diff -c pcast_mp2000.orig pcast_mp2000 *** pcast_mp2000.orig Thu Oct 19 09:27:24 2006 --- pcast_mp2000 Wed Jun 18 22:51:22 2008 *************** *** 1,5 **** server=on ! media=/mnt/disk1/share usbdisk=1 limit_media= limit_pass= --- 1,5 ---- server=on ! media=/mnt/disk1/share/videos usbdisk=1 limit_media= limit_pass= sil:/mnt/buffalo/etc/melco#
やっぱり、ファームウェア 1.10 の不具合だったんだろうか???
/mnt/buffalo.110 から /mnt/buffalo へ、 何かファイルを持っていけばいいはずなんだけど、、、
|
← 新型 HS-DHGL のファームウェアのアップデート |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ 書籍「LinkStation LS-GL/HS-DHGL をハックしよう」のサポートページ開設 |