LS-GL:ファームウェア1.02


debian 化も一息ついたので、ファームウェア1.02を試す。

実験用 HDD の作成

ファームウェア 1.00 も温存したいので、 実験用 HDD をもうひとつ作る。

パーティションの設定

基本的にLS-GL:ディスク交換と同じ
root@UDE:~# fdisk /dev/sdb

フォーマット

root@UDE:~# mkfs.ext2 -j /dev/sdb1
root@UDE:~# mkfs.xfs /dev/sdb2
root@UDE:~# mkswap /dev/sdb5
root@UDE:~# mkfs.xfs /dev/sdb6

マウント

root@UDE:~# mkdir /tmp/root
root@UDE:~# mount /dev/sdb2 /tmp/root
root@UDE:~# mkdir /tmp/root/boot
root@UDE:~# mount /dev/sdb1 /tmp/root/boot
root@UDE:~# mkdir /tmp/root/mnt
root@UDE:~# mkdir /tmp/root/mnt/disk1
root@UDE:~# mount /dev/sdb6 /tmp/root/mnt/disk1

コピー

root@UDE:~# cd /
root@UDE:/# tar cf - bin/ boot/ dev/ etc/ home/ lib/ root/ sbin/ share/ usr/ var/ www/ |(cd /tmp/root; tar xvf -)
root@UDE:/# tar cf - mnt/authtest/ mnt/info/ mnt/usbdisk* |(cd /tmp/root; tar xvf -)
root@UDE:/# ln -s /mnt/ram /tmp/root/tmp
root@UDE:/# mkdir /tmp/root/proc
root@UDE:/# mkdir /tmp/root/mnt/ram

コピーしたHDDから起動

ファームウェアアップデータの実行

lsgl102.exe を実行すると、 C:\Documents and Settings\yasunari\デスクトップ\アップデート.htm がブラウザで開かれる。
3.アップデート手順 辺りを読んでいると、、、相変わらず確認不足。 なんで、LS-GL のアップデータなのに HD-HLAN の IP アドレスが関係あるの。

突っ込みはさておき、 LSUpdater.exe を実行する。
無事、LS-GL が見つかり、アップデートが始まる。

疑問。LSUpdater.exe はなぜ管理パスワードを知っているの?
セキュリティーホールの予感。

自動的に再起動される。

=== BUFFALO LS-GL U-Boot. ===
 ** LOADER **
 ** BUFFALO BOARD: BUFFALO_BOARD_LS_GL LE

U-Boot 1.1.1 (Jun 12 2006 - 10:32:00) Marvell version: 1.10.8

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]

Marvell Serial ATA Adapter
Intergrated Sata device found
  Device 1: OK
Model: WDC AC14300R                             Firm: 17.01J17 Ser#: WD-WM6261032684
            Type: Hard Disk
            Capacity: 4112.2 MB = 4.0 GB (8421840 x 512)

hit any key to switch tftp boot.
Hit any key to stop autoboot:  0
Hit any key to stop autoboot:  0

Reset IDE:
Marvell Serial ATA Adapter
Intergrated Sata device found
  Device 1: OK
Model: WDC AC14300R                             Firm: 17.01J17 Ser#: WD-WM6261032684
            Type: Hard Disk
            Capacity: 4112.2 MB = 4.0 GB (8421840 x 512)

Using device ide1, partition 1

Loading from block device ide device 1, partition 1: Name: hdb1
  Type: U-Boot  File:/uImage.buffalo

1790760 bytes read
Using device ide1, partition 1

Loading from block device ide device 1, partition 1: Name: hdb1
  Type: U-Boot  File:/initrd.buffalo

4390380 bytes read
<>
## Booting image at 00100000 ...
   Image Name:   Linux-2.6.12.6-arm1
   Created:      2006-08-08   8:16:10 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1790696 Bytes =  1.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 00800000 ...
   Image Name:   initrd
   Created:      2006-08-21   6:10:37 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4390316 Bytes =  4.2 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

もうこの時点で、カーネルと initrd は書き変わっている

Starting kernel ...

arg:console=ttyS0,115200 root=/dev/sda2 rw initrd=0x00800040,15M panic=5 BOOTVER=1.01
CONFIG_BUFFALO_PLATFORM CONFIG_BUFFALO_LINKSTATION_LSGL ---
Uncompressing Linux........................................................................................................
............ done, booting the kernel.
Linux version 2.6.12.6-arm1 (root@develop) (gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)) #33 Tue Aug 8 17:16:04 JST 2006

ビルド番号が以前(#75)より下がっている

CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ)
CPU0: D VIVT write-back cache
CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
Machine: MV-88fxx81
Using UBoot passing parameters structure
Sys Clk = 200000000, Tclk = 166664740


- Warning - This LSP release was tested only with U-Boot release 1.7.3

Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists
Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw initrd=0x00800040,15M panic=5 BOOTVER=1.01
PID hash table entries: 1024 (order: 10, 16384 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: = 128MB total
表示が変わった

Memory: 110592KB available (3065K code, 513K data, 112K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 15360K
NET: Registered protocol family 16
FLASH boardId = 12
Flash bankwidth 1, base ff800000, size 400000
BUFFALO LS_GL FLASH size 4096[KB]

  Marvell Development Board (LSP Version 1.7.8_NAS)-- BUFFALO_BOARD_LS_GL

 Detected Tclk 166664740 and SysClk 200000000
Marvell USB EHCI Host controller #0: c1702980
Marvell USB EHCI Host controller #1: c1702bc0
アドレスが少し変わった
pexBarOverlapDetect: winNum 2 overlap current 0
mvPexInit:Warning :Bar 2 size is illigal
it will be disabled
please check Pex and CPU windows configuration
PCI: bus0: Fast back to back transfers enabled
PCI: bus1: Fast back to back transfers enabled
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
use IDMA acceleration in copy to/from user buffers. used channels 2 and 3
Done.
cesadev_init(c00112f4)
アドレスが変わった
mvCesaInit: sessions=640, queue=32, pSram=f0000000
Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
SGI XFS with no debug enabled
Initializing Cryptographic API
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at MMIO 0x0 (irq = 3) is a 16550A
ttyS1 at MMIO 0x0 (irq = 4) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 3 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
Marvell Gigabit Ethernet Driver 'egiga':
  o Ethernet descriptors in DRAM
  o DRAM SW cache-coherency
  o Checksum offload enabled
  o Loading network interface ** egiga_init_module (0)
'eth0'
Intergrated Sata device found
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
  Vendor: WDC       Model: AC14300R          Rev: 17.0
  Type:   Direct-Access                      ANSI SCSI revision: 03
SCSI device sda: 8421840 512-byte hdwr sectors (4312 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 8421840 512-byte hdwr sectors (4312 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda4 < sda5 sda6 >
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0,  type 0
physmap flash device: 400000 at ff800000
>jedec_probe
Found: SST 39LF020
phys_mapped_flash: Found 1 x8 devices at 0x0 in 8-bit bank
number of JEDEC chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
cmdlinepart partition parsing not available
RedBoot partition parsing not available
ehci_platform ehci_platform.4523: EHCI 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: park 0
ehci_platform ehci_platform.4523: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci_platform ehci_platform.16781: EHCI 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: park 0
ehci_platform ehci_platform.16781: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
USB Universal Host Controller Interface driver v2.2
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
MICON ctrl (C) BUFFALO INC. V.1.00 installed.
Kernel event proc (C) BUFFALO INC. V.1.00 installed.
MICON V2 (C) BUFFALO INC. V.1.00 installed.
NET: Registered protocol family 2
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
---- in linuxrc ---
Thu Sep 21 21:35:06 JST 2006
err: >AnalyzeRecvPacket:This is invalid RespCode.(code=244)
CheckDevices
linuxrc:choose operation (timeout 4[s])
 1:RamRoot other:HddRoot  ? -HddRoot-
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
** has Updated Files **
アップデータの存在に気が付く(笑)
Freeing init memory: 112K
init started:  BusyBox v1.1.1 (2006.08.08-01:53+0000) multi-call binary
Starting pid 229, console /dev/ttyS0: '/etc/init.d/rcS'
--- rcStart (initrd) ---
=====  exec:checkroot.sh  =====
chmod: /home: No such file or directory
mkdir: Cannot create directory `/var/lock': File exists
rm: /var/lock/perfmon: is a directory
rm: /var/lock/printing: is a directory
rm: /var/lock/subsys: is a directory
Adding 136512k swap on /dev/ls_disk1_5.  Priority:-1 extents:1
create dir : /home
create dir : /var/www
=====  exec:create_devlink.sh  =====
=====  exec:fwupdate.sh  =====
umount: /boot: not mounted
mkdir: Cannot create directory `/boot': File exists
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
exist [u-boot.buffalo.updated]
updating boot...
fwupdate.sh:FW update start
exist [hddrootfs.buffalo.updated]
mkdir: Cannot create directory `/rootfs': File exists
1000+0 records in
1000+0 records out
meta-data=/dev/ls_disk1_2        isize=256    agcount=8, agsize=15563 blks
         =                       sectsz=512
data     =                       bsize=4096   blocks=124503, imaxpct=25
         =                       sunit=0      swidth=0 blks, unwritten=1
naming   =version 2              bsize=4096
log      =internal log           bsize=4096   blocks=1200, version=1
         =                       sectsz=512   sunit=0 blks
realtime =none                   extsz=65536  blocks=0, rtextents=0
format ls_disk1_2 success.
XFS mounting filesystem sda2
uncompressing tar image...
XFS mounting filesystem sda2
Starting pid 429, console /dev/ttyS0: '/etc/init.d/rcDown'
--- rcDown ---
=====  exec:shutdown_start.sh  =====
Starting pid 473, console /dev/ttyS0: '/bin/umount'
The system is going down NOW !!
Sending SIGTERM to all processes.
Sending SIGKILL to all processes.
Please stand by while rebooting the system.
Synchronizing SCSI cache for disk sda:
FAILED
  status = 1, message = 00, host = 0, driver = 08
  <6>sd: Current: sense key=0x3
    ASC=0x0 ASCQ=0x0
Info fld=0x0
Restarting system.
>miconCntl_Reboot
>miconCntl_ShutdownWait


=== BUFFALO LS-GL U-Boot. ===
 ** LOADER **
 ** BUFFALO BOARD: BUFFALO_BOARD_LS_GL LE

U-Boot 1.1.1 (Jun 12 2006 - 10:32:00) Marvell version: 1.10.8

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]

Marvell Serial ATA Adapter
Intergrated Sata device found
  Device 1: OK
Model: WDC AC14300R                             Firm: 17.01J17 Ser#: WD-WM6261032684
            Type: Hard Disk
            Capacity: 4112.2 MB = 4.0 GB (8421840 x 512)

hit any key to switch tftp boot.
Hit any key to stop autoboot:  0
Hit any key to stop autoboot:  0

Reset IDE:
Marvell Serial ATA Adapter
Intergrated Sata device found
  Device 1: OK
Model: WDC AC14300R                             Firm: 17.01J17 Ser#: WD-WM6261032684
            Type: Hard Disk
            Capacity: 4112.2 MB = 4.0 GB (8421840 x 512)

Using device ide1, partition 1

Loading from block device ide device 1, partition 1: Name: hdb1
  Type: U-Boot  File:/uImage.buffalo

1790760 bytes read
Using device ide1, partition 1

Loading from block device ide device 1, partition 1: Name: hdb1
  Type: U-Boot  File:/initrd.buffalo

4390380 bytes read
<>
## Booting image at 00100000 ...
   Image Name:   Linux-2.6.12.6-arm1
   Created:      2006-08-08   8:16:10 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1790696 Bytes =  1.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 00800000 ...
   Image Name:   initrd
   Created:      2006-08-21   6:10:37 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4390316 Bytes =  4.2 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.01
CONFIG_BUFFALO_PLATFORM CONFIG_BUFFALO_LINKSTATION_LSGL ---
Uncompressing Linux........................................................................................................
............ done, booting the kernel.
Linux version 2.6.12.6-arm1 (root@develop) (gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)) #33 Tue Aug 8 17:16:04 JST 2006
CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ)
CPU0: D VIVT write-back cache
CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
Machine: MV-88fxx81
Using UBoot passing parameters structure
Sys Clk = 200000000, Tclk = 166664740


- Warning - This LSP release was tested only with U-Boot release 1.7.3

Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists
Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw initrd=0x00800040,15M panic=5 BOOTVER=1.01
PID hash table entries: 1024 (order: 10, 16384 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: = 128MB total
Memory: 110592KB available (3065K code, 513K data, 112K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 15360K
NET: Registered protocol family 16
FLASH boardId = 12
Flash bankwidth 1, base ff800000, size 400000
BUFFALO LS_GL FLASH size 4096[KB]

  Marvell Development Board (LSP Version 1.7.8_NAS)-- BUFFALO_BOARD_LS_GL

 Detected Tclk 166664740 and SysClk 200000000
Marvell USB EHCI Host controller #0: c1702980
Marvell USB EHCI Host controller #1: c1702bc0
pexBarOverlapDetect: winNum 2 overlap current 0
mvPexInit:Warning :Bar 2 size is illigal
it will be disabled
please check Pex and CPU windows configuration
PCI: bus0: Fast back to back transfers enabled
PCI: bus1: Fast back to back transfers enabled
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
use IDMA acceleration in copy to/from user buffers. used channels 2 and 3
Done.
cesadev_init(c00112f4)
mvCesaInit: sessions=640, queue=32, pSram=f0000000
Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
SGI XFS with no debug enabled
Initializing Cryptographic API
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at MMIO 0x0 (irq = 3) is a 16550A
ttyS1 at MMIO 0x0 (irq = 4) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 3 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
Marvell Gigabit Ethernet Driver 'egiga':
  o Ethernet descriptors in DRAM
  o DRAM SW cache-coherency
  o Checksum offload enabled
  o Loading network interface ** egiga_init_module (0)
'eth0'
Intergrated Sata device found
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
  Vendor: WDC       Model: AC14300R          Rev: 17.0
  Type:   Direct-Access                      ANSI SCSI revision: 03
SCSI device sda: 8421840 512-byte hdwr sectors (4312 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 8421840 512-byte hdwr sectors (4312 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda4 < sda5 sda6 >
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0,  type 0
physmap flash device: 400000 at ff800000
>jedec_probe
Found: SST 39LF020
phys_mapped_flash: Found 1 x8 devices at 0x0 in 8-bit bank
number of JEDEC chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
cmdlinepart partition parsing not available
RedBoot partition parsing not available
ehci_platform ehci_platform.4523: EHCI 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: park 0
ehci_platform ehci_platform.4523: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci_platform ehci_platform.16781: EHCI 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: park 0
ehci_platform ehci_platform.16781: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
USB Universal Host Controller Interface driver v2.2
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
MICON ctrl (C) BUFFALO INC. V.1.00 installed.
Kernel event proc (C) BUFFALO INC. V.1.00 installed.
MICON V2 (C) BUFFALO INC. V.1.00 installed.
NET: Registered protocol family 2
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
---- in linuxrc ---
Thu Sep 21 21:37:29 JST 2006
err: >AnalyzeRecvPacket:This is invalid RespCode.(code=244)
CheckDevices
linuxrc:choose operation (timeout 4[s])
 1:RamRoot other:HddRoot  ? -HddRoot-
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
何で先に sda1 がマウントされている?
XFS mounting filesystem sda2
PRODUCTID=0x00000009 PRODUCTID=0x00000009
KERNEL:2006/8/8 17:16:1
HDD:2006/8/30 16:6:56
-- CopyFromInitrdToHdd --
cp: /etc/init.d/develop.sh: No such file or directory
checking local disk....
fsck 1.27 (8-Mar-2002)
e2fsck 1.27 (8-Mar-2002)
/dev/ls_disk1_1: clean, 18/50200 files, 75068/200781 blocks
done
XFS mounting filesystem sda2
VFS: Mounted root (xfs filesystem).
Trying to move old root to /initrd ... failed
Unmounting old root
Trying to free ramdisk memory ... okay
Freeing init memory: 112K
init started:  BusyBox v1.1.1 (2006.08.08-01:53+0000) multi-call binary
BusyBox もリビルドされた
Starting pid 270, console /dev/ttyS0: '/etc/init.d/rcS'
Pid が2増えた
--- rcStart (hddroot) ---
Thu Sep 21 21:37:33 JST 2006
** step1 **
=====  exec:checkroot.sh  =====
mount: /dev/pts already mounted or /dev/pts busy
mount: according to mtab, devpts is already mounted on /dev/pts
/var/lock のエラーがなくなった
rm: /var/lock/perfmon: is a directory
rm: /var/lock/printing: is a directory
rm: /var/lock/subsys: is a directory
Adding 136512k swap on /dev/ls_disk1_5.  Priority:-1 extents:1
create dir : /var/www
/var/www が増えた
=====  exec:create_devlink.sh  =====
=====  exec:procps.sh  =====
=====  exec:devpts.sh  =====
=====  exec:sethostname.sh  =====
LS-GL command not found が消えた。
configure files from Buffalo parameters.
=====  exec:restore_config.sh  =====
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ここでまた sda1 がマウントされている
Restore previous configuration files
** step2 **
=====  exec:networking.sh  =====
/etc/init.d/networking.sh: line 13: LS-GL: command not found
create network files..
IP=[dhcp], netmask=[], dgw=[], dns1=[], dns2=[]
killall: dhcpcd: no process killed
route: SIOC[ADD|DEL]RT: No such process
Configuration network interface: lo eth0
requesting DHCP  tout=30[s]
eth0: link down
eth0: link up<5>, full duplex<5>, speed 100 Mbps<5>
/etc/dhcpc/dhcpcd.exe ::: /etc/dhcpc/dhcpcd-eth0.info new
dhcpcd.exe: interface eth0 has been configured with new IP=192.168.1.38
/etc/init.d/sethostname.sh: line 13: LS-GL: command not found
configure files from Buffalo parameters.
=====  exec:syslog.sh  =====
Starting system logger:
Starting kernel logger:
=====  exec:inetd.sh  =====
Starting inetd:=====  exec:kernelmon.sh  =====
Starting kernelmon:=====  exec:miconmon.sh  =====
miconmon 1.00b3 started (Builddate May 27 2006 23:04:05)
=====  exec:mount_share.sh  =====
/usr/local/bin/kernelmon_exec.sh: line 13: LS-GL: command not found
XFS mounting filesystem sda6
/usr/local/bin/kernelmon_exec.sh: line 13: LS-GL: command not found
set_fan_speed_nonlinear>now_temperature=41[deg]
now_fanspeed=stop
set_fan_speed_nonlinear>setted_fanspeed=stop
share
=====  exec:diskmon.sh  =====
diskmon ver.1.01
=====  exec:errormon.sh  =====
Starting errormon:f_type=0x58465342
total_size=3444097024 free_byes=3443949568
errormon ver.1.00b4(BuildDate Jun  7 2006 13:57:11) Started
=====  exec:hotplug.sh  =====
ls: /proc/scsi/usb-storage/: No such file or directory
=====  exec:ups  =====
** step3 **
=====  exec:micon_setup.sh  =====
=====  exec:atalk.sh  =====
/etc/init.d/atalk.sh: line 13: LS-GL: command not found
atalk is OFF
=====  exec:ftpd.sh  =====
/etc/init.d/ftpd.sh: line 13: LS-GL: command not found
ftp is OFF
=====  exec:httpd.sh  =====
start
Starting HTTPD services: /usr/local/apache/bin/apachectl start: httpd started

=====  exec:smb.sh  =====
/etc/init.d/smb.sh: line 13: LS-GL: command not found
Starting SMB services: configure samba
optarg:samba
LoadConfFileString:key=[ad_dns] not found in /etc/melco/info.
file:/etc/samba/smb.conf
file:/etc/pam_smb.conf

Starting NMB services:
=====  exec:clientUtil_servd.sh  =====
Starting clientUtil_server:starting on eth0
=====  exec:lsprcvd.sh  =====
Starting lsprcvd:=====  exec:daemonwatch.sh  =====
Starting daemonwatch:watch list file : /etc/daemonwatch.list
=====  exec:cron.sh  =====
Start services: crond=====  exec:logchkd.sh  =====
Starting logchkd:logchkd ver.1.00(Aug  8 2006) started
=====  exec:bootcomplete.sh  =====
Starting pid 657, console /dev/ttyS0: '/sbin/getty'

BUFFALO INC. LinkStation series LS-GL(IESADA)
UDE login:

更新エラー

更新はできたようだが、アップデータが 「ファームウェアのアップデートに失敗した可能性があります」と 言ってきた。

何か怪しい。

管理者認証失敗

アップデートが終わってから「管理者認証に失敗しました」と 言ってきた。もう遅いっちゅうねん。

壊された?

もう一度 lsgl102.exe を実行すると、 「LS-GL 見つかりませんでした」だと。

ということでたいへん危険。 こうなったら自己責任で有料修理?

隠されたフィックス?

5.更新内容 では、
[SYSTEM]
・バックアップ先ハードディスク内の、バックアップされたデータが消去できない問題を修正しました。
とのことだが、 カーネルが修正されているなど、隠れたバグフィックスがされた可能性が大。


カルチャーショック
ハックの記録
LinkStation/玄箱 をハックしよう

LS-GL:ファームウェア 1.02 に telnet

Copyright (C) 2006 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市