<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Julie and list,<br>
<br>
there is a relative precise docu about all grub errors at
<a class="moz-txt-link-freetext" href="http://www.gentoo.org/doc/en/grub-error-guide.xml">http://www.gentoo.org/doc/en/grub-error-guide.xml</a><br>
<br>
There are a lot docus with technical aspects of Linux on Gentoo's
website, which are worth reading and can also be applied on nearly
every other Linux distribution.<br>
<br>
Enjoy<br>
<br>
On 03/24/2012 03:35 PM, <a class="moz-txt-link-abbreviated" href="mailto:jfh@greenhousepc.com">jfh@greenhousepc.com</a> wrote:
<blockquote
cite="mid:20120324073555.8ef0e5b4a80cef441275a6330ffad77d.de78601233.wbe@email13.secureserver.net"
type="cite"><span
style="font-family: Verdana; color: rgb(0, 0, 0); font-size: 10pt;">
<div>Frank,<br>
</div>
<div><br>
</div>
<div>Neither of those is the problem. The ALIX.3D2 doesn't recognize
a USB drive at boot time as a "BIOS Drive", so even if they had a USB
drive plugged in, that wouldn't cause the problem.<br>
</div>
<div><br>
</div>
<div>Also, these systems boot multiple times with the same partition
table and flash drive. Then, all of the sudden, they wind up with a
grub 17 error. When I look at the partition table later, nothing has
changed and nothing is wrong.</div>
<div><br>
</div>
<div>What I need is something that can read the grub information from
disk and determine why grub would fail. I've used debugfs to make sure
the filesystem is in proper order, and various fdisk tools to make sure
the partition table is in proper order, but there's no tool that can
indicate what might be wrong with the data grub has written to the MBR.</div>
<div><br>
</div>
<div>If someone has a map of which variables / data grub writes to
where in the MBR, that would be very helpful. I'm trying to get some
new hardware products developed (I have a nice DIN rail mountable board
that can be used with a 9.6 volt NiMH battery pack as a UPS, and
several other goodies that are likely less interesting) and trying to
debug grub at the same time has finally reached my limit of "things I
can do all at once."<br>
</div>
<div>--<br>
Julie Haugh<br>
Senior Design Engineer<br>
greenHouse Computers, LLC // jfh at <a moz-do-not-send="true"
target="_blank" href="http://greenhousepc.com">greenhousepc.com</a> //
greenHousePC on Skype</div>
<div><br>
<br>
</div>
<blockquote id="replyBlockquote" webmail="1"
style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size: 10pt; color: black; font-family: verdana;"
mce_style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size:10pt; color:black; font-family:verdana;">
<div id="wmQuoteWrapper"> -------- Original Message --------<br>
Subject: Re: [Voyage-linux] grub 17 errors<br>
From: Frank Hoeflich <<a moz-do-not-send="true" target="_blank"
href="mailto:frankhoeflich@yahoo.com">frankhoeflich@yahoo.com</a>><br>
Date: Sat, March 24, 2012 1:47 am<br>
To: <a moz-do-not-send="true" target="_blank"
href="mailto:voyage-linux@voyage.hk">voyage-linux@voyage.hk</a>, <a
moz-do-not-send="true" target="_blank"
href="mailto:jfh@greenhousepc.com">jfh@greenhousepc.com</a><br>
<br>
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td
style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -x-system-font: none;"
mce_style="font: inherit;" valign="top">Julie:
<div><br>
</div>
<div> Most of the Googling on this turns up partition
table disk order errors:</div>
<div><br>
</div>
<div><a moz-do-not-send="true" target="_blank"
href="http://stringofthoughts.wordpress.com/2009/05/24/grub-error-17-debianubuntu">http://stringofthoughts.wordpress.com/2009/05/24/grub-error-17-debianubuntu</a>/</div>
<div><a moz-do-not-send="true" target="_blank"
href="http://iknowkungfoo.com/blog/index.cfm/2008/6/16/Stupid-solution-for-Grub-error-17">http://iknowkungfoo.com/blog/index.cfm/2008/6/16/Stupid-solution-for-Grub-error-17</a></div>
<div><br>
</div>
<div>Note in the second one that people who have other drives
plugged in sometimes get relief by disconnecting them. Any chance that
in the field your units have USB drives plugged/unplugged into the Alix
that werent/were present at the factory? Does simply reinstalling grub
(regular, not debug version) do the trick as well?<br>
<div><br>
</div>
<div>--Frank</div>
<div><br>
--- On <b>Fri, 3/23/12, <a moz-do-not-send="true" target="_blank"
href="mailto:jfh@greenhousepc.com">jfh@greenhousepc.com</a> <i><<a
moz-do-not-send="true" target="_blank"
href="mailto:jfh@greenhousepc.com">jfh@greenhousepc.com</a>></i></b>
wrote:<br>
<blockquote
style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"
mce_style="border-left: 2px solid #1010ff; margin-left: 5px; padding-left: 5px;">From:
<a moz-do-not-send="true" target="_blank"
href="mailto:jfh@greenhousepc.com">jfh@greenhousepc.com</a> <<a
moz-do-not-send="true" target="_blank"
href="mailto:jfh@greenhousepc.com">jfh@greenhousepc.com</a>><br>
Subject: [Voyage-linux] grub 17 errors<br>
To: <a moz-do-not-send="true" target="_blank"
href="mailto:voyage-linux@voyage.hk">voyage-linux@voyage.hk</a><br>
Date: Friday, March 23, 2012, 10:25 AM<br>
<br>
<div id="yiv1551372724">
<div><span
mce_style="font-family: Verdana; color: #000000; font-size: 10pt;"
style="font-family: Verdana; color: rgb(0, 0, 0); font-size: 10pt;">
<div>Greets,<br>
</div>
<div><br>
</div>
<div>I have a client who has been plagued by Grub 17 errors
for the longest time. I'm using grub 0.97 ("legacy") on a version 0.6
version of Voyage. Please don't tell me to upgrade -- it takes months
to verify that a change of that nature is going to be safe.<br>
</div>
<div><br>
</div>
<div>I've done everything I can to debug the problem, but
the error path in fsys_ext2fs.c doesn't seem applicable -- the
partition sizes have been verified to be correct, there are no errors
from fsck (other than the expected ones because the ALIX.3D2 was power
cycled just before it happened) indicating the superblock had a bad
magic number.</div>
<div><br>
</div>
<div>I'm not able to recreate the problem here, and
updating the filesystem so it has a debugging version of grub fixes the
problem.</div>
<div><br>
</div>
<div>The systems are cloned from an image using "dd", but
grub is then re-installed manually. All of the system I have in house,
and all of the tests that I perform on systems I ship, are successful.
When they receive the systems they perform the exact same test, which
is also successful. It isn't until the systems are installed in the
field that they fail.</div>
<div><br>
</div>
<div>I'm using Kingston "Elite Pro" 8GB compact flash for
the O/S image and application. Although it isn't "industrial" grade
flash, the application was written so it minimizes the number of
modified filesystem blocks as much as possible.</div>
<div><br>
</div>
<div>Help?<br>
</div>
<div>--<br>
Julie Haugh<br>
Senior Design Engineer<br>
greenHouse Computers, LLC // jfh at <a moz-do-not-send="true"
rel="nofollow" target="_blank" href="http://greenhousepc.com"
mce_href="http://greenhousepc.com">greenhousepc.com</a> //
greenHousePC on Skype</div>
</span></div>
</div>
<br>
-----Inline Attachment Follows-----<br>
<br>
<div class="plainMail">_______________________________________________<br>
Voyage-linux mailing list<br>
<a moz-do-not-send="true" target="_blank"
ymailto="mailto:Voyage-linux@list.voyage.hk"
href="/mc/compose?to=Voyage-linux@list.voyage.hk"
mce_href="https://mce_host/mc/compose?to=Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br>
<a moz-do-not-send="true"
href="http://list.voyage.hk/mailman/listinfo/voyage-linux"
mce_href="http://list.voyage.hk/mailman/listinfo/voyage-linux"
target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
</div>
</blockquote>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</blockquote>
</span>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Voyage-linux mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a>
<a class="moz-txt-link-freetext" href="http://list.voyage.hk/mailman/listinfo/voyage-linux">http://list.voyage.hk/mailman/listinfo/voyage-linux</a>
</pre>
</blockquote>
<br>
</body>
</html>