デュアル S-ATA HDD

debian 玄箱/Pro

内蔵とサブボードの S-ATA コネクタ、両方の S-ATA HDD を接続してみた。

ide info

Marvell>> ide reset

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
  Device 0: OK
Model: ST3120026AS                              Firm: 3.18     Ser#: 3JT328G2
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 114473.4 MB = 111.7 GB (234441648 x 512)
  Device 1: OK
Model: WDC WD3200SD-01KNB0                      Firm: 08.05J08 Ser#:      WD-WCAMR1683855
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 305245.3 MB = 298.0 GB (625142448 x 512)

Marvell>>
U-Boot には認識されている

boot

debian を boot してみた
Marvell>> boot

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
  Device 0: OK
Model: ST3120026AS                              Firm: 3.18     Ser#: 3JT328G2
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 114473.4 MB = 111.7 GB (234441648 x 512)
  Device 1: OK
Model: WDC WD3200SD-01KNB0                      Firm: 08.05J08 Ser#:      WD-WCAMR1683855
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 305245.3 MB = 298.0 GB (625142448 x 512)

Using device ide0, partition 1

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

1736436 bytes read
	:
	:
Intergrated Sata device found
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
  Vendor: Seagate   Model: ST3120026AS       Rev: 3.18
  Type:   Direct-Access                      ANSI SCSI revision: 03
  Vendor: WDC       Model: WD3200SD-01KNB0   Rev: 08.0
  Type:   Direct-Access                      ANSI SCSI revision: 03
SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3 sda4
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sdb: 625142448 512-byte hdwr sectors (320073 MB)
SCSI device sdb: drive cache: write back
SCSI device sdb: 625142448 512-byte hdwr sectors (320073 MB)
SCSI device sdb: drive cache: write back
 sdb: sdb1 sdb2 sdb3 sdb4
Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
Attached scsi generic sg1 at scsi1, channel 0, id 0, lun 0,  type 0
	:
	:
Debian GNU/Linux 3.1 hackkit ttyS0

hackkit login:
内蔵が sda、サブボード側が sdb に認識されている。

マウント

マウントしてみる
hackkit:~# mkdir /tmp/root
hackkit:~# mount /dev/sdb2 /tmp/root
XFS mounting filesystem sdb2
Starting XFS recovery on filesystem: sdb2 (dev: sdb2)
Ending XFS recovery on filesystem: sdb2 (dev: sdb2)
hackkit:~# mount /dev/sdb1 /tmp/root/boot
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdb1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
hackkit:~# mount /dev/sdb4 /tmp/root/mnt
XFS mounting filesystem sdb4
hackkit:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda2              2929652    166752   2762900   6% /
tmpfs                    63164         0     63164   0% /dev/shm
/dev/sda1                54416      7588     44019  15% /boot
/dev/sda4            114029892       464 114029428   1% /mnt
/dev/sdb2              2929652    225420   2704232   8% /tmp/root
/dev/sdb1                54416      5831     45776  12% /tmp/root/boot
/dev/sdb4            309304924    857428 308447496   1% /tmp/root/mnt
hackkit:~#
問題なさそう


KURO-BOX/PRO
玄人志向
楽天市場
TSUKUMO ネットショップ
Yahoo!ショッピング
Sofmap
クレバリー
TwoTop New!


ide info
ハックの記録
LinkStation/玄箱 をハックしよう

nvram コマンド

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