<?xml version="1.0" encoding="utf-8"?>

<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
<title type="text">Journal of Martin Michlmayr</title>
<subtitle type="html"><![CDATA[
Martin Michlmayr's journal
]]></subtitle>
<id>http://www.cyrius.com/journal/index.atom</id>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal" />
<link rel="self" type="text/xml" href="http://www.cyrius.com/journal/index.atom" />

<author>
<name>Martin Michlmayr</name>
<uri>http://www.cyrius.com/journal/index.atom</uri>
<email>tbm@cyrius.com</email>
</author>
<rights>Copyright 2003-2006 Martin Michlmayr</rights>
<generator uri="http://pyblosxom.sourceforge.net/" version="1.3.2 2/13/2006">
PyBlosxom http://pyblosxom.sourceforge.net/ 1.3.2 2/13/2006
</generator>

<updated>2008-10-02T22:33:24Z</updated>
<!-- icon?  logo?  -->

<entry>
<title type="html">Differences between paid and volunteer FOSS contributors</title>
<category term="/fossbazaar" />
<id>http://www.cyrius.com/journal/2008/10/02/#paid-vs-volunteer-foss-contributors</id>
<updated>2008-10-02T22:33:24Z</updated>
<published>2008-10-02T22:33:24Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/fossbazaar/paid-vs-volunteer-foss-contributors" />
<content type="html">
<p>

There's a lot of debate these days about the impact of the increasing
number of paid developers in FOSS communities that started as volunteer
efforts and still have significant numbers of volunteers.  Evangelia
Berdou's <a href = "http://opensource.mit.edu/papers/PhD_Berdou.pdf">PhD
thesis</a> "Managing the Bazaar: Commercialization and peripheral
participation in mature, community-led Free/Open source software projects"
contains a contains a wealth of information and insights about this topic.

</p>

<p>

Berdou conducted interviews with members of the GNOME and KDE projects.
She found that paid developers are often identified with the core developer
group which is responsible for key infrastructure and often make a large
number of commits.  Furthermore, she suggested that the groups may have
different priorities: "whereas [paid] developers focus on technical
excellence, peripheral contributors are more interested in access and
practical use".

</p>

<p>

Based on these interviews, she formulated the following hypotheses which
she subsequently analyzed in more detail:

</p>

<ol>

<li>Paid developers are more likely to contribute to critical parts of the
code base.</li>

<li>Paid developers are more likely to maintain critical parts of the code
base.</li>

<li>Volunteer contributors are more likely to participate in aspects of the
project that are geared towards the end-user.</li>

<li>Programmers and peripheral contributors are not likely to participate
equally in major community events.</li>

</ol>

<p>

Berdou found all hypotheses to be true for GNOME but only hypothesis two
and four were confirmed for KDE.

</p>

<p>

In the case of GNOME, Berdou found that hired developers contribute to the
most critical parts of the project, that they maintained most modules in
core areas and that they maintained a larger number modules than
volunteers.  Two important differences were found in KDE: paid developers
attend more conferences and they maintain more modules.

</p>

<p>

Berdou's research contains a number of important insights:

</p>

<ul>

<li>Corporate contributions are important because paid developers
contribute a lot of changes, and they maintain core modules and code.</li>

<li>While it's clear that the involvement of paid contributors is
influenced by the strategy of their company, Berdou wonders whether another
reason why they often contribute to core code is because they "develop
their technical skills and their understanding of the code base to a
greater extent than volunteers who usually contribute in their free time".
It's therefore important that projects provide good documentation and other
help so volunteers can get up to speed quickly.</li>

<li>Since many volunteers cannot afford to attend community events,
projects should provide travel funds.  This is something I see more and
more: for example, Debian funds some developers to attend Debian conference
and the Linux Foundation has a grant program to allow developers to attend
events.</li>

<li>Paid developers often maintain modules they are not paid to directly
contribute to.  A reason for this is that they continue to maintain modules
in their spare time when their company tells them to work on other parts of
the code.</li>

</ul>

<p>

Personally, I'm also wondering why there are some significant differences
between GNOME and KDE.  For example, about 67% of contributors where paid
to work on GNOME whereas only 38% were paid to work on KDE.  Why do some
projects attract more commercial involvement whereas other projects
continue to be mostly volunteer based?  [<em>Update:</em> it was pointed
out that I made a mistake with these numbers.  In reality, 37% of GNOME
developers are paid to work on GNOME or GNOME and other FOSS according to
the PhD thesis.  The number for KDE was correct (38%).  So according to
this PhD there is not a lot of difference in the percentage of paid
developers between GNOME and KDE.  My original question still stands though
because there are many projects that don't attract much commercial
involvement at all.]

</p>


<p>

(Originally published on <a href = "http://fossbazaar.org/">FOSSBazaar</a>)

</p>

<!-- time: 2008-10-02 22:33:24 +0200 -->

</content>
</entry>

<entry>
<title type="html">Choosing language during NAS installations</title>
<category term="/debian" />
<id>http://www.cyrius.com/journal/2008/09/26/#nas-localechooser</id>
<updated>2008-09-26T19:03:33Z</updated>
<published>2008-09-26T19:03:33Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/nas-localechooser" />
<content type="html">
<p>

When the Debian installer starts, it will normally ask you what language
you want to install in and gives you a really long list of languages to
choose from.  Unfortunately, that's not how it works when you install on a
headless NAS device.  The reason for this is that installations on NAS
devices are done via SSH and the installer normally brings the network up
after asking the user for their language.  So we'd simply skip the language
question and go with English.

</p>

<p>

When Timo Jyrinki recently mentioned that he couldn't install in Finnish,
Frans Pop pointed out that localechooser has changed a lot since etch and
that it should now be possible to have the language question after setting
up the network.  This turned out to be correct and I managed to choose a
different language but the installer still showed everything in English.
Frans reminded me that the installer drops all translations that are not
necessary but unfortunately this happens too early in our case.  He pointed
me to a variable that determines whether translations will be dropped.  So
in lenny translations will not be dropped on NAS devices that have enough
RAM and users will be asked when they connect to the installer via SSH what
language they'd like to install in.

</p>

<!-- time: 2008-09-26 19:03:33 +0300 -->

</content>
</entry>

<entry>
<title type="html">Required installer modules installed automatically on NSLU2 now</title>
<category term="/debian/nslu2" />
<id>http://www.cyrius.com/journal/2008/09/15/#install-required-udebs</id>
<updated>2008-09-15T14:28:44Z</updated>
<published>2008-09-15T14:28:44Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/nslu2/install-required-udebs" />
<content type="html">
<p>

One thing that's annoying about the Debian installer on the NSLU2, as Joey
Hess <a href = "http://bugs.debian.org/498795">pointed out</a> a few months
ago when he reinstalled his NSLU2, is that you have to manually select some
installer modules.  The reason for this is that the NSLU2 only has 32 MB of
RAM and thus Debian installer runs in lowmem mode in which less
functionality is enabled by default.  As a result of this, you have to
select <tt>partman-auto</tt>, <tt>partman-ext3</tt> and
<tt>usb-storage-modules</tt> from a list of additional installer modules to
load so the installer will recognize your USB disk, offer guided
partitioning and format the disk with ext3.

</p>

<p>

When Joey submitted his installation report, Frans Pop suggested that we
could put a list of installer modules we want to have installed
automatically in <tt>/var/cache/anna/include</tt>.  I finally got around to
playing around with this yesterday and while this specific solution won't
work on lowmem systems we can use <tt>anna-install</tt> to automatically
queue installer modules for installation.  Since <tt>anna-install</tt>
works, I put some functionality into the installer today to automatically
load required installer modules on the Linksys NSLU2 and on Cobalt
machines.

</p>

<p>

This change is good for users because they don't have to select some
modules during the installation.  I'm a little bit worried that existing
users of the installer on the NSLU2 will be confused when they don't see
the modules in the list anymore, but I'll update the documentation
accordingly.

</p>

<!-- time: 2008-09-15 14:28:44 +0300 -->

</content>
</entry>

<entry>
<title type="html">Status of GCC 4.4 on Debian</title>
<category term="/gcc" />
<id>http://www.cyrius.com/journal/2008/09/13/#gcc-4.4-status</id>
<updated>2008-09-13T17:31:40Z</updated>
<published>2008-09-13T17:31:40Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/gcc/gcc-4.4-status" />
<content type="html">
<p>

I <a href = "http://www.cyrius.com/journal/gcc/gcc-4.4-testing">started
testing GCC 4.4</a> ten days ago and the results are in.  In total, I filed
28 new bugs and ran into 7 known issues.  More than half of the bugs I
filed have already been fixed and many of those that are still open have
already received some attention (debugging, suggested patches).  I sent a
<a href = "http://gcc.gnu.org/ml/gcc/2008-09/msg00258.html">complete report
to the GCC list</a>, although I forgot to mention that I set optimization
to <tt>-O3</tt> to catch more problems.

</p>

<p>

I know that it's quite popular to complain about GCC, but I'd say that most
impressions people have about the GCC community no longer hold true.  The
GCC community is very active these days, bugs tend to get a lot of
attention and there are major infrastructure changes underway to improve
the compiler.

</p>

<!-- time: 2008-09-13 17:31:40 +0300 -->

</content>
</entry>

<entry>
<title type="html">More robust oldsys-preseed uploaded</title>
<category term="/debian/nslu2" />
<id>http://www.cyrius.com/journal/2008/09/09/#oldsys-preseed-more-robust</id>
<updated>2008-09-09T21:35:47Z</updated>
<published>2008-09-09T21:35:47Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/nslu2/oldsys-preseed-more-robust" />
<content type="html">
<p>

To follow-up on my <a href =
"http://www.cyrius.com/journal/debian/nslu2/oldsys-preseed-mystery">recent
posting about oldsys-preseed</a>: I uploaded a new version of netcfg
yesterday that can be told via preseeding not to use a gateway.  I also
uploaded a new version of oldsys-preseed that will properly handle static
IP configs without a netmask or gateway.  Additionally, oldsys-preseed will
now use DHCP when the static IP config is incomplete (i.e. when either the
IP address or DNS are missing).  This makes oldsys-preseed much more robust
and will hopefully get rid of many problems users ran into with etch.

</p>

<!-- time: 2008-09-09 21:35:47 +0300 -->

</content>
</entry>

<entry>
<title type="html">Visiting Marvell in Yoqne&apos;am</title>
<category term="/debian/orion" />
<id>http://www.cyrius.com/journal/2008/09/08/#marvell-yokneam</id>
<updated>2008-09-08T19:19:48Z</updated>
<published>2008-09-08T19:19:48Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/orion/marvell-yokneam" />
<content type="html">
<p>

<img src="http://www.cyrius.com/images/marvell.jpg"
 alt="Marvell in Yoqne'am" class="right" width="189" height="200" />

Since I'm spending the summer in Israel, I used the opportunity
yesterday to visit the Marvell site in Yoqne'am where the majority of
the NAS software engineering team is located.  They first gave me a
tour through the hardware labs which I found incredibly interesting.
It's amazing what equipment those folks use to perform QA tests of new
chips, how they can reverse engineer chips and even make some
modifications to test their theories about hardware bugs.  I found it
really amazing and at the same time felt glad that changing things in
software is so easy.

</p>

<p>

Later they showed me the software lab where they had an exhibition of
various devices based on the Orion chip, including NAS devices, but
also printers, wifi APs and game machines.  They also told me some
details of their product roadmap but unfortunately I cannot share that
information.  The only thing I can say is that we'll see a lot of new
devices to which it would be cool to port Debian.

</p>

<!-- time: 2008-09-08 19:19:48 +0300 -->

</content>
</entry>

<entry>
<title type="html">The European Open Source Observatory and Repository (OSOR)</title>
<category term="/fossbazaar" />
<id>http://www.cyrius.com/journal/2008/09/04/#osor</id>
<updated>2008-09-04T14:57Z</updated>
<published>2008-09-04T14:57Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/fossbazaar/osor" />
<content type="html">
<p>

I attended the Open Nordic Conference in Norway in June, a conference that
brought together people from Norway, Sweden, Finland and Denmark.
Attending the conference allowed me to find out what's going on with FOSS
in Northern Europe.  What I found interesting is that there was a lot of
talk about using FOSS in the public sector.  A number of countries are
working on repositories to exchange software, in particular for public
administration.

</p>

<p>

One example is the Software Exchange (softwareborsen.dk), a project by the
Danish National Software Knowledge Centre to promote the use of FOSS in
Danish public administration.  The Norwegian software exchange
(delingsbazaren.no) plays a similar role in Norway.

</p>

<p>

It seems as if every country is working on their own software repository to
share FOSS.  As such, it's great to see that the European Commission is
taking a step towards bringing everyone together by introducing the <a href
= "http://www.osor.eu/">Open Source Observatory and Repository (OSOR)</a>
for European public administrations.  The goal of OSOR is to provide a
platform for the exchange of information, experiences and FOSS code for the
use in public administrations.

</p>

<p>

OSOR will officially launch at the Open Source World Conference in Malaga
in October.  I've always thought that there is not enough cooperation and
communication between European countries, so I have high hopes for OSOR.

</p>

<p>

(Originally published on <a href = "http://fossbazaar.org/">FOSSBazaar</a>)

</p>

<!-- time: 2008-09-04 14:57:00 +0200 -->

</content>
</entry>

<entry>
<title type="html">Starting to test GCC 4.4</title>
<category term="/gcc" />
<id>http://www.cyrius.com/journal/2008/09/03/#gcc-4.4-testing</id>
<updated>2008-09-03T21:15:37Z</updated>
<published>2008-09-03T21:15:37Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/gcc/gcc-4.4-testing" />
<content type="html">
<p>

I've been too busy to follow GCC development recently and haven't done any
testing of development snapshots during the GCC 4.4 development phase so
far.  However, GCC 4.4 moved to stage 3 yesterday, the development stage
dedicated to bug fixes and documentation.  Given that GCC is now in stage 3
and that Debian unstable has fairly little churn because of the freeze,
it's an ideal time to do some archive rebuilds.

</p>

<p>

I started archive rebuilds on amd64 and powerpc last night and added ia64
today.  I also tried to build GCC on armel, alpha and sparc but there are
compiler errors during bootstrap.  mips builds fine but I haven't started
any archive rebuilds.

</p>

<p>

I found and reported 9 compiler errors so far.  Most of them have already
received some attention and one of them has been fixed in the meantime.
I'm not looking at build failures of packages at the moment since that's
very time consuming and I'm not sure whether I'll find the time to report
build failures later as GCC becomes more stable, but we'll see.

</p>

<!-- time: 2008-09-03 21:15:37 +0300 -->

</content>
</entry>

<entry>
<title type="html">Cannot connect to debian-installer via SSH: mystery solved?</title>
<category term="/debian/nslu2" />
<id>http://www.cyrius.com/journal/2008/08/31/#oldsys-preseed-mystery</id>
<updated>2008-08-31T20:12:30Z</updated>
<published>2008-08-31T20:12:30Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/nslu2/oldsys-preseed-mystery" />
<content type="html">
<p>

I finally found the time today to dig into oldsys-preseed and what I
found wasn't pleasant.  In fact, I may have solved the mystery why some
people trying to install Debian on their NSLU2 cannot connect to the
installer via SSH.

</p>

<p>

oldsys-preseed is used on certain NAS devices to read the network
configuration from the original firmware and these values are used to
bring up SSH in debian-installer.  If you used DHCP in the original
firmware to obtain an IP address, debian-installer will do the same.  If
you have a static IP config, debian-installer will use it.  In theory,
it's all pretty simple, but users often run into troubles when a static
IP config is used (as is the case on the NSLU2).  While you only need an
IP address, netmask and gateway to bring up SSH (and then you could
configure the rest, such as DNS and hostname), debian-installer expects
everything at the same time.  I've seen many cases where users couldn't
connect to the installer because they forgot to configure their DNS in
the original firmware or some other values they didn't think were
important.

</p>

<p>

Anyway, right now oldsys-preseed will use a static configuration if the
firmware is configured this way even if it's clear that netcfg won't
like this configuration because of missing values.  The IP address and
DNS are always required, but the netmask and gateway can be figured out
automatically.  I wanted to add a sanity check that would choose DHCP in
case the IP address or DNS were not specified.

</p>

<p>

While working on this sanity check, I noticed two things: First, the
"empty" value oldsys-preseed preseeds when there's no netmask or gateway
is not accepted by netcfg and leads to an error message (which the user
cannot see because SSH is not up yet).  I'm pretty sure I tested this
scenario when I wrote oldsys-preseed but it clearly doesn't work today
and I don't see how it could ever have worked.  This is pretty
significant because having an empty gateway is a valid configuration (if
hopefully not too common).  Second, it seems that it's <a href =
"http://bugs.debian.org/497285">impossible to create a preseed file</a>
that tells netcfg that no gateway should be used.  If you preseed an
empty value, netcfg will simple use .1 as the gateway.

</p>

<p>

I've fixed the first problem and proposed a patch to put in a special
case to allow preseeding of no gateway.  The sanity check that chooses
DHCP when the network configuration is incomplete is also there now.

</p>

<!-- time: 2008-08-31 20:12:30 +0300 -->

</content>
</entry>

<entry>
<title type="html">Please test daily debian-installer images</title>
<category term="/debian" />
<id>http://www.cyrius.com/journal/2008/08/31/#test-daily-installer</id>
<updated>2008-08-31T11:43:01Z</updated>
<published>2008-08-31T11:43:01Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/test-daily-installer" />
<content type="html">
<p>

debian-installer is now using the 2.6.26 kernel (the version the
kernel team wants to release lenny with) and 2.6.26 has moved to
testing a few days ago.  As such, it's a great time to test the daily
installer images to make sure our installer for lenny is in a good
state.  There's still time to fix bugs in the installer, but we need
your feedback.

</p>

<p>

Daily images can be obtained from the <a href =
"http://www.debian.org/devel/debian-installer/">debian-installer web
site</a> which also contains instructions about how to submit installation
reports.  I'm particularly interested in reports about installations on ARM
and MIPS.  If you want to test debian-installer on these architectures,
please read my messages on <a href =
"http://lists.debian.org/debian-arm/2008/08/msg00240.html">debian-arm</a>
and <a href =
"http://lists.debian.org/debian-mips/2008/08/msg00049.html">debian-mips</a>.

</p>

<!-- time: 2008-08-31 11:43:01 +0300 -->

</content>
</entry>

<entry>
<title type="html">initramfs-tools MODULES=dep default on ARM</title>
<category term="/debian" />
<id>http://www.cyrius.com/journal/2008/08/25/#arm-modules-dep</id>
<updated>2008-08-25T16:31:17Z</updated>
<published>2008-08-25T16:31:17Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/arm-modules-dep" />
<content type="html">
<p>

Frans Pop reported recently that the initramfs did not fit in the
flash of the QNAP TS-109 when you used LVM.  We had problems with
initramfs images that were too large <a href =
"http://bugs.debian.org/480310">before (on the NSLU2)</a>.  By
default, initramfs-tools uses the MODULES=most setting which puts all
modules that might be of interest to booting a machine in the
initramfs.  This is a good idea on a PC where the hardware can change
a lot, but it makes less sense on most NAS devices.

</p>

<p>

Frans has now changed debian-installer so the MODULES policy can be
chosen during the installation.  His change allowed architecture
specific defaults, so I've changed ARM to use MODULES=dep.
debian-installer will now create the file
<tt>/etc/initramfs-tools/conf.d/driver-policy</tt> with a MODULES
setting that will override that from
<tt>/etc/initramfs-tools/initramfs.conf</tt>.  On QNAP devices, I
intend to only support MODULES=dep installations, so please change
your configuration if you've installed Debian already.  On the NSLU2,
MODULES=most will of course continue to be supported.

</p>

<!-- time: 2008-08-25 16:31:17 +0300 -->

</content>
</entry>

<entry>
<title type="html">OSI and License Proliferation</title>
<category term="/fossbazaar" />
<id>http://www.cyrius.com/journal/2008/08/21/#osi-and-license-proliferation</id>
<updated>2008-08-21T16:38Z</updated>
<published>2008-08-21T16:38Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/fossbazaar/osi-and-license-proliferation" />
<content type="html">
<p>

License proliferation has been a topic for discussion for quite a while now
in the FOSS community and many would like to see the Open Source Initiative
(OSI) fix this problem for good.  In a <a
href="http://www.opensource.org/proliferation-report">license proliferation
report</a>, the OSI lists three problems that people generally see with
license proliferation:

</p>

<ol>

<li>Too many different licenses makes it difficult for licensors to choose:
it's difficult to choose a good license for a project because there are so
many.</li>

<li>Some licenses do not play well together: some open source licenses do
not inter-operate well with other open source licenses, making it hard to
incorporate code from other projects.</li>

<li>Too many licenses makes it difficult to understand what you are
agreeing to in a multi-license distribution: since a FOSS application
typically contains code with different licenses and people use many
applications which each contain one or several licenses, it's difficult to
see what your obligations are.</li>

</ol>

<p>

License proliferation is a hard problem because nobody wants to give up
their favourite license and because it can be extremely difficult to
relicense a piece of code when there are multiple copyright holders, as is
the case in the majority of community projects.

</p>

<p>

It's a particularly hard problem for the OSI because of two conflicting
interests.  One the one hand, the OSI approves licenses as open source
based on the Open Source Definition (OSD).  Therefore, it seems natural
that a license that fulfils the OSD should be approved as open source.  On
the other hand, because of the problems of license proliferation, it's
beneficial to keep the number of open source approved licenses low.

</p>

<p>

At the OSI meeting in Portland a few weeks ago, the Board decided to tackle
this problem again and split licenses into two tiers.  The specific wording
has not been finalized yet, but &quot;recommended&quot; and
&quot;compliant&quot; have been suggested.  This would make it clear which
open source licenses are &quot;merely&quot; OSD compliant whereas a limited
number are recommended for use in projects.

</p>

<p>

The discussion about the two tiers has just started, so there are no
results yet.  But it's definitely an important discussion that needs to
take place.

</p>

<p>

(Originally published on <a href = "http://fossbazaar.org/">FOSSBazaar</a>)

</p>

<!-- time: 2008-08-21 16:38:00 +0200 -->

</content>
</entry>

<entry>
<title type="html">TODO list for Debian on D-Link DNS-323</title>
<category term="/debian/orion/d-link/dns-323" />
<id>http://www.cyrius.com/journal/2008/08/17/#porting-debian</id>
<updated>2008-08-17T16:57:34Z</updated>
<published>2008-08-17T16:57:34Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/orion/d-link/dns-323/porting-debian" />
<content type="html">
<p>

Someone asked me the other day what it would take to add Debian support for
the D-Link DNS-323.  Since we support a number of Orion based devices in
debian-installer already, adding support for another device is typically
fairly easy.  I don't have a D-Link DNS-323 myself, but I looked around the
useful <a href = "http://wiki.dns323.info">DNS-323 wiki</a> and this is
what I came up.  I'm sharing this list in the hope that other people are
interested in working on DNS-323 support.

</p>

<ul>

<li>The Orion kernel in Debian has support for the D-Link DNS-323 but it
needs testing.  Also, some patches, such as support for the fan speed chip,
are not included in the mainline kernel yet.</li>

<li>flash-kernel (which writes the kernel and ramdisk to flash) needs
support for the DNS-323.  I actually implemented this in the meantime but
it's completely untested.</li>

<li>oldsys-preseed reads the network configuration from your existing
firmware and uses it to configure the network for debian-installer.  This
also needs support for the DNS-323.</li>

<li>Some tools to <a href = "http://hg.leschinsky.in.ua/makeFirmware/">
generate proper firmware images</a> need to be packaged for Debian.</li>

<li>The debian-installer needs to generate a boot image for the DNS-323
(easy once the tools are packaged).</li>

<li>Apparently the MAC address is not set automatically in u-boot and you
have to run a tool called mac_read to set it.  This is problematic because
at the moment there's no code to set the MAC address in d-i and to make
sure the newly installed system will automatically set the MAC address.
This needs some work.</li>

</ul>

<!-- time: 2008-08-17 16:57:34 +0300 -->

</content>
</entry>

<entry>
<title type="html">2.6.26 ARM and MIPS udebs on the way...</title>
<category term="/debian" />
<id>http://www.cyrius.com/journal/2008/08/10/#2.6.26-udebs</id>
<updated>2008-08-10T14:27:33Z</updated>
<published>2008-08-10T14:27:33Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/2.6.26-udebs" />
<content type="html">
<p>

Otavio has updated kernel-wedge in SVN to 2.6.26, so I updated ARM and MIPS
today.  The udebs built after minor modifications and I can also build
installer images after having fixed some bugs in the build process.  I
tested a 2.6.26 based image on the QNAP TS-409 (armel) as well as in QEMU
(mipsel).

</p>

<p>

2.6.26 will bring major improvements on ARM.  Orion support is much better
and our 2.6.26 has a number of patches from Marvell that help with
performance on Orion.  Our 2.6.26 also has Riku Voipio's LED driver for
Thecus N2100 which has been accepted for the 2.6.27 mainline kernel.

</p>

<p>

I haven't actually uploaded the udebs yet because I'm waiting for the
go-ahead as well as for the new version of the 2.6.26 kernel package to
build.  But at least we're getting closer to having 2.6.26 as the kernel
for lenny.

</p>

<!-- time: 2008-08-10 14:27:33 +0300 -->

</content>
</entry>

<entry>
<title type="html">Debian on HP mv2120 web site</title>
<category term="/debian/orion/hp/mv2120" />
<id>http://www.cyrius.com/journal/2008/07/30/#web-site</id>
<updated>2008-07-30T22:09Z</updated>
<published>2008-07-30T22:09Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/orion/hp/mv2120/web-site" />
<content type="html">
<p>

I've created a web site with information for running <a href =
"http://www.cyrius.com/debian/orion/hp/mv2120/">Debian on the HP
mv2120</a>.  The HP mv2120 is a NAS device based on Marvell's Orion
platform and has a 500 MHz ARM CPU, 128 MB RAM and two SATA slots.

</p>

<p>

All components needed to support Debian on the HP mv2120 have been
integrated into Debian and Debian installer.  However, a new release of the
Debian installer is required so installations of Debian testing are
actually possible.

</p>


<!-- time: 2008-07-30 22:09:00 +0300 -->

</content>
</entry>

<entry>
<title type="html">Daily installer image available for QNAP TS-109, TS-209 and TS-409</title>
<category term="/debian/orion/qnap" />
<id>http://www.cyrius.com/journal/2008/07/21/#daily-image</id>
<updated>2008-07-21T20:18:12Z</updated>
<published>2008-07-21T20:18:12Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/orion/qnap/daily-image" />
<content type="html">
<p>

Daily installer images are now available for the QNAP TS-109, TS-209 and
TS-409.  This means that complete installations of Debian testing are
possible now.

</p>

<p>

You can consider the daily image as a beta release of RC1 of the
debian-installer for Debian lenny.  It should only be used by experienced
users and only if you can make a serial console in case something goes
wrong.  As the name suggests, the daily images change on a daily basis and
they install Debian testing which also changes on a daily basis (although
testing should be fairly stable since we're close to the freeze of testing
in preparation for the release of Debian lenny).

</p>

<p>

If you install Debian with these installer images, please send an
installation report to debian-boot send an email to me so I can let you
know in case there are any important news you should be aware of.

</p>

<p>

There is a web site now with complete installation instructions and other
information about <a href =
"http://www.cyrius.com/debian/orion/qnap/">Debian on QNAP Turbo
Station</a>.  If you have any questions or suggestions, please let me know.

</p>

<!-- time: 2008-07-21 20:18:12 +0300 -->

</content>
</entry>

<entry>
<title type="html">New behaviour for oldsys-preseed regarding default settings</title>
<category term="/debian/nslu2" />
<id>http://www.cyrius.com/journal/2008/06/28/#oldsys-preseed-behaviour</id>
<updated>2008-06-28T13:25:22Z</updated>
<published>2008-06-28T13:25:22Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/nslu2/oldsys-preseed-behaviour" />
<content type="html">
<p>

I've just changed the behaviour of oldsys-preseed in the case when a
static IP address is set in the configuration of the device that is
the default setting from the vendor.  In the past, oldsys-preseed
would try to be smart in this case and do DHCP in the assumption that
the users never configured the static IP address themselves and might
not want to have that setting.  However, Mike (mwester) <a href =
"http://lists.debian.org/debian-arm/2008/01/msg00050.html">convinced
me</a> that doing DHCP when the configuration clearly says to use a
static IP is a bad idea.  Apparently quite a few users got confused by
the old behaviour of oldsys-preseed.  The new behaviour exists as of
version 2.0 of oldsys-preseed which will be in rc1 of debian-installer
for lenny.  This change affects the Linksys NSLU2 and Thecus N2100.

</p>

<!-- time: 2008-06-28 13:25:22 +0200 -->

</content>
</entry>

<entry>
<title type="html">Debian support for HP mv2120: putting everything together</title>
<category term="/debian/orion/hp/mv2120" />
<id>http://www.cyrius.com/journal/2008/06/28/#putting-it-together</id>
<updated>2008-06-28T09:31:02Z</updated>
<published>2008-06-28T09:31:02Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/orion/hp/mv2120/putting-it-together" />
<content type="html">
<p>

I managed to get my hands on a HP Media Vault mv2120, a nice ARM based NAS
device, a few months ago with the intentions of porting Debian to it.
Unfortunately, I have been really busy lately and most of my time was spent
on adding support for the QNAP TS-109/TS-209 and TS-409 (which required a
lot of generic work to get Marvell Orion support into Debian, a new SoC
used in many NAS devices, including the QNAP TS-x09 and HP mv2120).

</p>

<p>

There were a number of things that had to be worked out before Debian would
run on the mv2120.  The good news is that Marc Singer and Eugene San have
done all of the heavy lifting in the last few weeks in figuring out how the
mv2120 works and that now it's just a matter of putting everything together
for Debian to work.

</p>

<p>

Here are the issues that had to be worked out:

</p>

<ul>

<li>Figure out how the rescue mode works and how to construct a rescue
image that the device can boot: I knew that the mv2120 had a rescue mode
that can be activated by keeping the the power and reset buttons pressed
when starting that would request a rescue image via the network.  This
rescue mode can be used to start the Debian installer.  Eugene San figured
out how to construct a rescue image that the mv2120 would accept.  Marc
Singer has also written a tool, uphpmvault, to serve such rescue images
from Linux.</li>

<li>Figure out the best way to make one image that contains the kernel and
ramdisk: the mv2120 only loads a kernel and no ramdisk, but a ramdisk is
needed to start Debian.  I discussed some really ugly hacks with Marc
Singer to get the mv2120 to accept an image consisting of kernel and
ramdisk but Marc wanted to try something else first.  u-boot, the boot
loader used on the mv2120, can accept something called a multipart image
which can consist of a kernel and a ramdisk.  When Eugene San heard that we
were trying to load a multipart image, he went ahead and figured out how to
construct an image that the mv2120 would boot.</li>

</ul>

<p>

Now that these two issues are resolved, I simply need to put everything
together and add support for the mv2120 to a number of debian-installer
components.  We already have Orion kernel images in unstable that support
the HP mv2120 (along with a number of other Orion based NAS devices) and
the rest shouldn't take too long.

</p>

<!-- time: 2008-06-28 09:31:02 +0200 -->

</content>
</entry>

<entry>
<title type="html">NSLU2 Debian installer for lenny beta 2</title>
<category term="/debian/nslu2" />
<id>http://www.cyrius.com/journal/2008/06/09/#lenny-beta2</id>
<updated>2008-06-09T23:36:03Z</updated>
<published>2008-06-09T23:36:03Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/nslu2/lenny-beta2" />
<content type="html">
<p>

The Debian installer team has published the second beta release of the
installer for lenny (what will become Debian 5.0).  I repacked the
image for the Linksys NSLU2 with the proprietary IXP4xx microcode so
Ethernet will work.

</p>

<p>

The installer is now available in two flavours for the ARM architecture:
<tt>arm</tt> is the old ARM port whereas <tt>armel</tt> is the new ARM port
using the <a href = "http://wiki.debian.org/ArmEabiPort">EABI</a> which
offers better support for floating point and other features.  Both the arm
and armel architectures will be supported for lenny but the old arm port
will be dropped after the release of lenny.  At this point, I therefore
recommend that people use armel for new installations.

</p>

<p>

The beta 2 installer image for NSLU2 can be found on my site: <a href =
"http://www.cyrius.com/debian/nslu2/files/tmp/debian-armel-5.0beta2.zip">armel
image</a> (recommended) and <a href =
"http://www.cyrius.com/debian/nslu2/files/tmp/debian-arm-5.0beta2.zip">arm
image</a>.

</p>

<!-- time: 2008-06-09 23:36:03 +0200 -->

</content>
</entry>

<entry>
<title type="html">The NSLU2 causing trouble recently...</title>
<category term="/debian/nslu2" />
<id>http://www.cyrius.com/journal/2008/05/12/#recent-trouble</id>
<updated>2008-05-12T21:18:01Z</updated>
<published>2008-05-12T21:18:01Z</published>
<link rel="alternate" type="text/html" href="http://www.cyrius.com/journal/debian/nslu2/recent-trouble" />
<content type="html">
<p>

We've had two serious bugs on the NSLU2 recently that both caused the
system not too boot anymore.  The <a href =
"http://bugs.debian.org/478236">first one</a> was related to
initramfs-tools.  Kevin Price reported that after upgrading to
initramfs-tools 0.92 the system would hang during boot waiting for the root
filesystem.  When I booted my NSLU2 and looked at the output, I noticed
that no root device was set.  When I mentioned this to maks, the maintainer
of the initramfs-tools package, he immediately knew what was wrong and
uploaded a fix.  On the NSLU2, the boot loader doesn't pass a root device
to the kernel so we set one in the initramfs itself.  The code that loads
this config variable is not used by many devices so nobody noticed that
this got broken in 0.92 until the package moved to testing.

</p>

<p>

The <a href = "http://bugs.debian.org/480310">second problem</a>, reported
on Saturday by Paul Collins and diagnosed today with some help from Kevin
Price is also related to the strange way the NSLU2 boots.  The NSLU2 has 6
MB available for the ramdisk but due to a <a href =
"http://bugs.debian.org/451882">bug in APEX</a> (the second stage loader
used on the NSLU2 by Debian) only 4 MB are actually used.  When you write a
ramdisk that is larger than 4 MB but smaller than 6 MB, flash-kernel will
happily write the full image, but APEX will only tell the kernel about the
first 4 MB.  As it turns out, everything works fine on arm with 2.6.25, but
on armel some additional SCSI modules are enabled that result in the
ramdisk becoming too large.  The short term solution is to disable these
modules, but really APEX should finally be fixed (patches have been
available for quite a while thanks to Gordon Farquharson).  Fortunately
2.6.25 hasn't moved to testing yet and this problem only occurs on armel,
so few people were impacted.

</p>

<p>

The nice thing about the NSLU2 is that you can write a new flash image via
the network, so you can flash a good image in case your machine no longer
boots.  Nevertheless, we have to make sure such serious bugs don't occur in
the future or that they are at least caught very early.  Special thanks go
to testers like Kevin Price.

</p>

<!-- time: 2008-05-12 21:18:01 +0200 -->

</content>
</entry>
</feed>
