[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: "offline" install of Etch to SATA HDDs for MyBook World?



Kevin,




> -----Original Message-----
> From: Kevin Price [mailto:kp@kevin-price.de]
> Sent: Monday, August 18, 2008 5:06 PM
> To: Jonsen, Dan
> Cc: debian-arm@lists.debian.org
> Subject: Re: "offline" install of Etch to SATA HDDs for MyBook World?
>
> Hi,
>
> thanks for that description! We ought to document it publically, so that
> others can use this and hack any further.
>
> Jonsen, Dan schrieb:
> > See my reply to Bill Gatliff's post about performance issues before you consider
> > using this box as a NAS device...
>
> I see no reply to Bill's <[🔎] 48A9DBB8.9030005@billgatliff.com> from
> 15:29:44 -0500. Maybe you made a private reply rather than a group
> reply, just like the one you sent to me.

I was talking about the performance issues I mentioned in the message at
http://lists.debian.org/debian-arm/2008/08/msg00105.html ,
mostly the CPU itself acting as a bottleneck to NIC throughput.  Now I understand from
Bill that this is an issue with this type of low-cost device in general...

> > disks as one using a software RAID package (I think it was mdadm, but I'm not sure).
>
> True: This box uses linux software RAID on md2, md3, and md4, so you
> should be able to mount them from any other linux platform after
> re-assemling them each with "mdadm -A". (further options required)
>
> /etc lies on the / fs in /dev/root. This is probably also a linux RAID.
> (md1 perhaps) For further hacking it would be interesting to know what
> /etc/mdadm.conf says and what the kernel command line is.

/etc/mdadm.conf contents (striping mode on share partition):
======================================================================================
DEVICE partitions
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=65b1b98b:decc728b:491f46ad:3c042270
ARRAY /dev/md2 level=raid1 num-devices=2 UUID=2495e6db:48618489:d25c3483:5b58781a
ARRAY /dev/md3 level=raid1 num-devices=2 UUID=8d59d685:7700be3c:04a497c3:c22647c9
ARRAY /dev/md4 level=linear num-devices=2 UUID=4f410dca:7a52c8cf:fa6c245a:79394f0a
======================================================================================

I guess that either (1) this is a highly customized Linux distro from WD, or (2) the ARM architecture doesn't use GRUB, because I can't find a grub.conf file.  Nothing for LILO, either.  Even running 'find / -name *linu*' logged in as root returned no results.  Definitely no Linux I've ever seen.  I finally got the following from dmesg (WD firmware 02.00.18):

<5>Linux version 2.6.17.14 (clarke@mccoy.oxsemi.com.asic.oxsemi.com) (gcc version 4.1.1) #1 PREEMPT Fri Jan 18 10:40:25 GMT 2008
<4>CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)
<4>Machine: Oxsemi NAS
<4>Ignoring unrecognised tag 0x00000000
<4>Memory policy: ECC disabled, Data cache writeback
<7>On node 0 totalpages: 8192
<7>  DMA zone: 8192 pages, LIFO batch:1
<4>CPU0: D VIVT write-back cache
<4>CPU0: I cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
<4>CPU0: D cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
<4>Built 1 zonelists
<5>Kernel command line: mem=32M console=ttyS0,115200 root=/dev/md1 netdev=0,0,0x0090A945,0x4D4A,eth0
<4>PID hash table entries: 256 (order: 8, 1024 bytes)
<4>Console: colour dummy device 80x30
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<4>Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
<4>Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
<6>Memory: 32MB = 32MB total
...



Reply to: