<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
<head>
<meta content="text/html; charset=windows-1255"
http-equiv="Content-Type">
<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">
On 19/03/11 14:42, Shachar Shemesh wrote:
<blockquote cite="mid:4D84A4A2.10201@shemesh.biz" type="cite">
<meta http-equiv="content-type"
content="text/html; charset=windows-1255">
<style>body p { margin-bottom: 0cm; margin-top: 0pt; }</style><br>
Now I'm stuck for idea as to what to try next. Anyone?<br>
<br>
</blockquote>
The problem turned out to be that the inittab was running everything it
had to do, and was done. It closed the serial line (had several "getty"
running on /dev/tty1 through /dev/tty6, for some reason), and that's
it. It wasn't doing anything because it ran out of things to do. I
removed the terminals from the non-existing virtual consoles, and added
one for /dev/ttyS0, and the problem was resolved.<br>
<br>
More importantly is how I figured it out. Once I realized that the
kernel was running fine, I ran "strace -o log -p 1 -f" from single user
mode, before letting it continue with the boot. This gave me a log of
everything init and its derivatives was doing, which allowed me to
debug what the system was doing. As usual, strace to the rescue.<br>
<br>
The only mystery now left is why magic sysreq wasn't working merely
because /dev/ttyS0 was closed. After all, console messages were still
going there. Still, that's a mystery for another time. I'm off to play
with my embedian system now....<br>
<br>
Shachar<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>