ts-7000
[Top] [All Lists]

hdparm & SATA on TS-7800

To:
Subject: hdparm & SATA on TS-7800
From: Andrew Taylor <>
Date: Thu, 15 Nov 2007 10:19:05 +1100
Has anyone successfully used hdparm to spin down SATA disks
on a TS-7800?  I get this:

TS-7800:/# hdparm -i /dev/sda
/dev/sda:
 HDIO_GET_IDENTITY failed: Invalid argument
TS-7800:/# hdparm -y /dev/sda
/dev/sda:
 issuing standby command
 HDIO_DRIVE_CMD(standby) failed: Invalid argument

Maybe someone can save me diving into the code?

Throughput is, as you'd expect, much better with the SATA intefrace.
I'm getting 22Mb/s write and 36Mb/s write (from bonnie++) with a 2.5"
160Gb 5400rpm Samsung.  Much better than TS72xx USB which was under 1Mb/s.

A couple of piece of info that might save others some time.

I made a bootable ts7800 SD-card effectively like this:
wget -O- ftp://ftp.embeddedarm.com/ts7800-512mbsd.dd.bz2|bunzip2 -c 
>/dev/mmcblk0
I haven't seen any info about the format of the first 3 partitions.

I used
ftp://ftp.embeddedarm.com/ts-7800-linux-sd/distributions/debian-etch-eabi-armel-512MB-oct042007.tar.gz
to set up an  ts7800 NFS file system with 2 changes.

I needed to create /dev/ttyS0 (mknod dev/ttyS0 c 4 64) before it
would boot.  Also /etc/hosts had an apparently incorrect address for
armel-debs.applieddata.net hard-wired which stopped apt-get working.

TS's scripts expect NFS server at 192.168.0.1 and gateway and nameserver
at 192.168.0.11.  Rather than change them I configured my linux box to
grab these addresses, basically:
ifconfig eth0:1 192.168.0.1
ifconfig eth0:2 192.168.0.11
echo 1 > /proc/sys/net/ipv4/ip_forward  

Also if someone from TS is reading, it be good to have rsync on the
distributed filesystems.  Although its easy to add once you have apt-get
working, its a tool that can be useful before then.

Andrew

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU