Google Groups Home
Help | Sign in
Experimental developer release for QNAP TS-109/TS-209
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Martin Michlmayr  
View profile
 More options May 11, 4:40 am
Newsgroups: linux.debian.ports.arm
From: Martin Michlmayr <t...@cyrius.com>
Date: Sun, 11 May 2008 10:40:10 +0200
Local: Sun, May 11 2008 4:40 am
Subject: Experimental developer release for QNAP TS-109/TS-209
I'm hereby making an experimental developer release of
debian-installer available for QNAP TS-109/TS-209.  And when I mean
"developer release", I mean it.  This is not for end-users but for
people who know what they are doing.  Also, it's quite experimental
and had little testing.  I performed a couple of successful
installation with these installer images, but that's it.  Note that
this release installs Debian unstable rather than testing (lenny)
because the 2.6.25 kernel is not in testing yet.  This means if
unstable is not installable on a given day, the installer will fail to
install Debian.

Prerequisites
-------------

 - A QNAP TS-109 or TS-209.  Support for TS-409 will be added soon.

 - A serial console.

 - A TFTP server.

Before making the installation
------------------------------

I recommend you boot the QNAP firmware and then make copies of your MTD
flash, i.e.
  cat /dev/mtdblockX > mtdX
for X = 0...5  Then copy mtd0...5 somewhere.

Also, make a backup of your hard drive in case you have any data on it
because debian-installer will wipe the whole disk.

Starting the installer
----------------------

Download the two files (initrd.gz and kernel) from
http://merkel.debian.org/~tbm/tmp/orion/qnap/ts-209/
and put them on your TFTP server.  Then boot your QNAP, press a key
on the serial console so you can enter commands and enter:

setenv bootargs console=ttyS0,115200n8 root=/dev/ram rw initrd=0x800000,0x3fffff
setenv serverip 192.168.1.4
setenv ipaddr 192.168.1.147
tftpboot 0x0800000 ts-209/armel/di/initrd.gz
tftpboot 0x400000 ts-209/armel/di/kernel
bootm 0x400000

Replace 192.168.1.4/192.168.1.147 with something appropriate for your
network and ts-209/armel/di/ with the path on your TFTP server.

The installation
----------------

When debian-installer starts it will show you a message after a few
minute saying that you can log in via SSH.  You can either follow
these instructions or simply press enter and go ahead with the
installation on the serial console.

After selecting the mirror, you will get a message "Download installer
components" saying "Continue the install without loading kernel
modules?".  Simply answer "yes", this is harmless.

Partition your disk (guided partition will do the right thing), and
install the system.  At some point it will ask you "Kernel to install:".
Choose "linux-image-2.6.25-1-orion5x" and go ahead.

At the end of the installation, the new kernel and ramdisk should be
written to flash and you should be able to boot into your new Debian
system.

Missing things
--------------

 - The PIC control tool is not installed automatically yet (needed for
   LEDs and fan) because it's not in Debian yet.

 - Add some more customizations for NAS devices, e.g. a config option
   for e2fsck so it won't prompt the user to press enter or something.

Future work
-----------

The current plan is to produce a beta2 release based on 2.6.24, but
we need 2.6.25 for Orion/QNAP support.  beta3 will be based on
2.6.25.  So we will continue to make unofficial test images based on
2.6.25 available for now, and then make sure everything is in place
for beta3.  beta3 will then be the first release of QNAP support aimed
at end users.

Some specific work that's needed:

 - Add TS-409 support (I just completed everything, but it needs a few
   days to enter the archive).

 - Test it more

 - Document it better.

 - Write a script to flash the installer in the QNAP firmware so people
   don't have to start it via TFTP and the serial console.

Thanks
------

QNAP for supporting this effort, Frans Pop for answering some questions
about debian-installer, Byron Bradley for adding TS-209 kernel support,
Sylver Bruneau for TS-409 kernel support, the Marvell team for all
their help.

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

--
To UNSUBSCRIBE, email to debian-arm-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Martin Michlmayr  
View profile
 More options May 12, 4:30 pm
Newsgroups: linux.debian.ports.arm
From: Martin Michlmayr <t...@cyrius.com>
Date: Mon, 12 May 2008 22:30:22 +0200
Local: Mon, May 12 2008 4:30 pm
Subject: Re: Experimental developer release for QNAP TS-109/TS-209
* Martin Michlmayr <t...@cyrius.com> [2008-05-11 10:33]:

> Download the two files (initrd.gz and kernel) from
> http://merkel.debian.org/~tbm/tmp/orion/qnap/ts-209/

Images for the QNAP TS-409 are now available at
http://merkel.debian.org/~tbm/tmp/orion/qnap/ts-409/
The same instructions apply as for TS-209.
--
Martin Michlmayr
http://www.cyrius.com/

--
To UNSUBSCRIBE, email to debian-arm-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Martin Michlmayr  
View profile
 More options Jun 12, 3:00 pm
Newsgroups: linux.debian.ports.arm
From: Martin Michlmayr <t...@cyrius.com>
Date: Thu, 12 Jun 2008 21:00:19 +0200
Local: Thurs, Jun 12 2008 3:00 pm
Subject: Re: Experimental developer release for QNAP TS-109/TS-209
* Martin Michlmayr <t...@cyrius.com> [2008-05-12 21:42]:

> * Martin Michlmayr <t...@cyrius.com> [2008-05-11 10:33]:
> > Download the two files (initrd.gz and kernel) from
> > http://merkel.debian.org/~tbm/tmp/orion/qnap/ts-209/

> Images for the QNAP TS-409 are now available at
> http://merkel.debian.org/~tbm/tmp/orion/qnap/ts-409/

I've updated both the TS-209 and TS-409 today and retested the
installer.  It still works.  You still have to install Debian unstable
though.
--
Martin Michlmayr
http://www.cyrius.com/

--
To UNSUBSCRIBE, email to debian-arm-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Frans Pop  
View profile
 More options Jun 13, 11:10 am
Newsgroups: linux.debian.ports.arm
From: Frans Pop <elen...@planet.nl>
Date: Fri, 13 Jun 2008 17:10:23 +0200
Local: Fri, Jun 13 2008 11:10 am
Subject: Re: Experimental developer release for QNAP TS-109/TS-209

Martin Michlmayr wrote:
> I've updated both the TS-209 and TS-409 today and retested the
> installer.  It still works.  You still have to install Debian unstable
> though.

I had enabled bootlogd on my TS-109, but it turns out this breaks the boot
for some reason.

My two options to correct this were to take out the harddisk and connect
it to my amd64 desktop, or run the experimental TS-209 D-I image for
rescue. Obviously I did the last and it worked perfectly.

I only ran the install up to partitioning though. Will try a full install
soon.

Cheers,
FJP

P.S. We're going to need some way to make it obvious that the TS-109 is
also supported by the TS-209 images. Add a symlink maybe?

  signature.asc
< 1K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google