<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1255">
<style>body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;" bidimailui-charset-is-forced="true"
bidimailui-detected-decoding-type="preferred-charset" bgcolor="#ffffff"
text="#000000">
<p>In 2009 I won a SheevaPlug as part of Hamakor Prize. At the time, I
made sure it was actually working (it wasn't at first. The problem
turned out to be that the MiniUSB cable that was bundled with the
device was too short to make contact with the MiniUSB connector inside
the device), and that I can connect to it, and that was it.</p>
<p>A little while ago I picked it up again, and found out it wasn't
booting. I managed to bootstrap uboot on it (which i compiled from the
kirkwood git repository), and boot it into the bundled jffs2 Ubuntu
9.04 image that came with it, using a kernel I compiled from git
(2.6.38-rc8, and later 2.6.38). So far, so good.</p>
<p>Now I wanted to replace the image on it with Debian. I managed to
debootstrap debian onto a disk on key, but when I try to boot it, it
hangs during boot. I moved the image to a UBIFS image on the internal
nand, but the problem persist. I can boot into single user mode, and
everything works, but if I try to let the system boot completely, it
just hangs.</p>
<p>Symptoms:</p>
<ul>
<li>Pressing anything on the keyboard does not echo</li>
<li>Magic sysrq key does not work (it does if I send the break before
the hang)</li>
<li>The boot sequence starts a couple of the init processes, and does
not continue.</li>
<li>The console is working. If I plug a disk on key, I see the
console message about it, and it detects the partitions on it a second
later.</li>
</ul>
I tried to connect via jtag and get a backtrace - the system is in the
cpu_idle routine - no panic and nothing out of the ordinary, except
that it is not doing what it was supposed to be doing at this point.<br>
<br>
I tried to remove the last loaded service from the startup. The result
is that it still loads two services and hangs (just, different
services).<br>
<br>
Now I'm stuck for idea as to what to try next. Anyone?<br>
<br>
Shachar<br>
<br>
<pre class="moz-signature" cols="72">--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
<a class="moz-txt-link-freetext" href="http://www.lingnu.com">http://www.lingnu.com</a>
</pre>
</body>
</html>