Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Debian arm on WD Sharespace

735 views
Skip to first unread message

Todor Milkotev

unread,
Nov 14, 2013, 8:40:02 AM11/14/13
to
Dear Geeks and Hackers,

I come to seek help.
Recently, I've purchased one of the WD's doom devices a.k.a Sharespace and ever since I search for the propper way of using it.

My goal is to make it an iSCSI target and increase it's user/lab experience.
I don't feel confident playing with this little one, it is the first time I ssh to such dinosaur and i fear i may brick/fossil it.

Here are more details for the mentioned artifact (just in case ...):

Processor: ARM926EJ-Sid(wb) rev 0 (v5l)
BogoMIPS: 499.71
Features: swp half thumb fastmult vfp edsp
Hardware: Feroceon

running: Linux WDShareSpace 2.6.12.6-arm1 #47
loaded with: BusyBox v1.1.1 (2009.09.11-06:18+0000)

First I tried compiling netbsd-iscsi from but encountered an error as no acceptable C compiler is found.

Second, I aimed at iscsitarget_1.4.20.2-1_armel.deb, but before reaching it I had to went through the dependencies hell. It was not that bad, there were few pkg's to be installed.
I installed libc-bin_2.11.3-4_armel.deb, gcc-4.4-base_4.4.5-8_armel.deb, but i stucked on libgcc1_4.4.5-8_armel.deb libc6_2.11.3-4_armel.deb installation. I was not able to continue because of:
================================================
dpkg -i libgcc1_4.4.5-8_armel.deb libc6_2.11.3-4_armel.deb
...
...
WARNING: this version of the GNU libc requires kernel version
2.6.18 or later. Please upgrade your kernel before installing
glibc.

The installation of a 2.6 kernel _could_ ask you to install a new libc
first, this is NOT a bug, and should *NOT* be reported. In that case,
please add lenny sources to your /etc/apt/sources.list and run:
apt-get install -t lenny linux-image-2.6
Then reboot into this new kernel, and proceed with your upgrade
================================================

Instead of upgrading the kernel I guess it will be better if I just go with: http://www.cyrius.com/debian/ (kirkwood or orion ?!?).

Unfortunately, the proper installation of the right debian img is beyond my level of expertise.
My problems are: 
which debian img I need
do I have to modify it additionally
how to install img on the device using only ssh 

I will appreciate any comments, docs, guides, suggestions, links or other helping methods

Best Regards 
Todor


Martin Michlmayr

unread,
Nov 15, 2013, 12:40:01 PM11/15/13
to
Hi Todor,

* Todor Milkotev <todor.a....@gmail.com> [2013-11-14 15:18]:
> Instead of upgrading the kernel I guess it will be better if I just go
> with: http://www.cyrius.com/debian/ (kirkwood or orion ?!?).

Unfortunately, that won't work for you on the WD device. ARM is not
like PCs, where one installation image will pretty much work on any
PC. Debian doesn't have support for the WD Sharespace.

--
Martin Michlmayr
http://www.cyrius.com/


--
To UNSUBSCRIBE, email to debian-ar...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/2013111517...@jirafa.cyrius.com

David Hicks

unread,
Nov 17, 2013, 3:50:02 PM11/17/13
to
Hi Todor (and Martin),

I have debian running on mine, with a home-cobbled kernel. To get
debian up and running on this unsupported device is non-trivial. If
you want I can supply kernel/initramfs images (and source) but the
first step has to be getting serial access to the device so you can
mess with the bootloader*. This requires you to connect a
line-leveling serial cable to some pins on the board. Pin and cable
guide are at the end of the page here -
http://westerndigital.nas-central.org/wiki/Category:ShareSpace

After that you can try net-booting my kernel, then debian will need to
be installed to a drive using debootstrap... and eventually you'll get
a running system

Basically, let me know if you're interested in doing this and I'll be
happy to help you through it, but it's not quite as easy as "grab an
image and install" because it's not a supported device and I haven't
hacked a debian installer for it yet, just a kernel and a couple of
scripts. Totally understand if you don't because it will be some work.


David Hicks
da...@nastylittlehorse.net


*(in theory you may be able to mess with the variables by messing with
the NOR that stores the uboot variables directly from the shell on the
device, but.... well it would be easy to brick and you'd then need the
cable anyway)
Archive: http://lists.debian.org/CAHY+LM7Kk8a8-eyksUncAqbjOH4fuMt+TtubdTn2cQ=a1W...@mail.gmail.com
0 new messages